10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_core')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_core')
25 _IMP_core = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
43 _IMP_core = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_CORE_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
126 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
131 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
132 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
134 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
139 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
140 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
142 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
151 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
152 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
156 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
157 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
161 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
162 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
166 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
167 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
171 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
172 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
177 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
182 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
187 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
192 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
197 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
202 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
208 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
214 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
215 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
223 IMP_DEBUG = _IMP_core.IMP_DEBUG
224 IMP_RELEASE = _IMP_core.IMP_RELEASE
225 IMP_SILENT = _IMP_core.IMP_SILENT
226 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
227 IMP_TERSE = _IMP_core.IMP_TERSE
228 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
229 IMP_MEMORY = _IMP_core.IMP_MEMORY
230 IMP_NONE = _IMP_core.IMP_NONE
231 IMP_USAGE = _IMP_core.IMP_USAGE
232 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_core._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_core._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
304 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
305 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
306 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
307 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
308 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
309 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
310 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
312 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
313 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
314 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
315 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
316 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
317 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
318 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
319 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
321 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
322 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
323 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
324 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
325 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
326 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
327 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
328 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
329 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
331 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class."""
333 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
334 __repr__ = _swig_repr
336 def __init__(self, *args):
338 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
339 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
341 this = _IMP_core.new__OpenCubicSplineBase(*args)
343 self.this.append(this)
344 except __builtin__.Exception:
347 def get_version_info(self):
348 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
349 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
351 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
352 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
355 _object_types.append(
"MonteCarloMover")
358 def _object_cast_to_MonteCarloMover(o):
359 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
360 return _IMP_core._object_cast_to_MonteCarloMover(o)
362 MonteCarloMoverResults=list
363 _plural_types.append(
"MonteCarloMoverResults")
364 _value_types.append(
"MonteCarloMoverResult")
367 _object_types.append(
"AngleRestraint")
370 def _object_cast_to_AngleRestraint(o):
371 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
372 return _IMP_core._object_cast_to_AngleRestraint(o)
374 _object_types.append(
"AngleTripletScore")
377 def _object_cast_to_AngleTripletScore(o):
378 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
379 return _IMP_core._object_cast_to_AngleTripletScore(o)
381 _object_types.append(
"AttributeSingletonScore")
384 def _object_cast_to_AttributeSingletonScore(o):
385 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
386 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
388 _object_types.append(
"BallMover")
391 def _object_cast_to_BallMover(o):
392 """_object_cast_to_BallMover(Object o) -> BallMover"""
393 return _IMP_core._object_cast_to_BallMover(o)
395 _object_types.append(
"SerialMover")
398 def _object_cast_to_SerialMover(o):
399 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
400 return _IMP_core._object_cast_to_SerialMover(o)
402 _object_types.append(
"SubsetMover")
405 def _object_cast_to_SubsetMover(o):
406 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
407 return _IMP_core._object_cast_to_SubsetMover(o)
409 _object_types.append(
"DirectionMover")
412 def _object_cast_to_DirectionMover(o):
413 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
414 return _IMP_core._object_cast_to_DirectionMover(o)
416 _object_types.append(
"SurfaceMover")
419 def _object_cast_to_SurfaceMover(o):
420 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
421 return _IMP_core._object_cast_to_SurfaceMover(o)
423 _object_types.append(
"BoundingBox3DSingletonScore")
426 def _object_cast_to_BoundingBox3DSingletonScore(o):
427 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
428 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
430 _object_types.append(
"BoxSweepClosePairsFinder")
433 def _object_cast_to_BoxSweepClosePairsFinder(o):
434 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
435 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
437 _object_types.append(
"NearestNeighborsClosePairsFinder")
440 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
441 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
442 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
444 _object_types.append(
"CentroidOfRefined")
447 def _object_cast_to_CentroidOfRefined(o):
448 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
449 return _IMP_core._object_cast_to_CentroidOfRefined(o)
451 _object_types.append(
"ChecksScoreState")
454 def _object_cast_to_ChecksScoreState(o):
455 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
456 return _IMP_core._object_cast_to_ChecksScoreState(o)
458 _object_types.append(
"ChildrenRefiner")
461 def _object_cast_to_ChildrenRefiner(o):
462 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
463 return _IMP_core._object_cast_to_ChildrenRefiner(o)
465 _object_types.append(
"ClosePairsFinder")
468 def _object_cast_to_ClosePairsFinder(o):
469 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
470 return _IMP_core._object_cast_to_ClosePairsFinder(o)
472 _object_types.append(
"ClosePairsPairScore")
475 def _object_cast_to_ClosePairsPairScore(o):
476 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
477 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
479 _object_types.append(
"ClosedCubicSpline")
482 def _object_cast_to_ClosedCubicSpline(o):
483 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
484 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
486 _object_types.append(
"ConjugateGradients")
489 def _object_cast_to_ConjugateGradients(o):
490 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
491 return _IMP_core._object_cast_to_ConjugateGradients(o)
493 _object_types.append(
"ConnectivityRestraint")
496 def _object_cast_to_ConnectivityRestraint(o):
497 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
498 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
500 _object_types.append(
"ConstantRestraint")
503 def _object_cast_to_ConstantRestraint(o):
504 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
505 return _IMP_core._object_cast_to_ConstantRestraint(o)
507 _object_types.append(
"Cosine")
510 def _object_cast_to_Cosine(o):
511 """_object_cast_to_Cosine(Object o) -> Cosine"""
512 return _IMP_core._object_cast_to_Cosine(o)
514 _object_types.append(
"CoverRefined")
517 def _object_cast_to_CoverRefined(o):
518 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
519 return _IMP_core._object_cast_to_CoverRefined(o)
521 _object_types.append(
"DerivativesFromRefined")
524 def _object_cast_to_DerivativesFromRefined(o):
525 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
526 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
528 _object_types.append(
"DerivativesToRefined")
531 def _object_cast_to_DerivativesToRefined(o):
532 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
533 return _IMP_core._object_cast_to_DerivativesToRefined(o)
535 _object_types.append(
"WeightedDerivativesToRefined")
538 def _object_cast_to_WeightedDerivativesToRefined(o):
539 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
540 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
542 _object_types.append(
"DiameterRestraint")
545 def _object_cast_to_DiameterRestraint(o):
546 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
547 return _IMP_core._object_cast_to_DiameterRestraint(o)
549 _object_types.append(
"DihedralRestraint")
552 def _object_cast_to_DihedralRestraint(o):
553 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
554 return _IMP_core._object_cast_to_DihedralRestraint(o)
556 _object_types.append(
"DistanceRestraint")
559 def _object_cast_to_DistanceRestraint(o):
560 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
561 return _IMP_core._object_cast_to_DistanceRestraint(o)
563 _object_types.append(
"DistanceToSingletonScore")
566 def _object_cast_to_DistanceToSingletonScore(o):
567 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
568 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
570 _object_types.append(
"ExcludedVolumeRestraint")
573 def _object_cast_to_ExcludedVolumeRestraint(o):
574 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
575 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
577 _object_types.append(
"FixedRefiner")
580 def _object_cast_to_FixedRefiner(o):
581 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
582 return _IMP_core._object_cast_to_FixedRefiner(o)
584 _object_types.append(
"GridClosePairsFinder")
587 def _object_cast_to_GridClosePairsFinder(o):
588 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
589 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
591 _object_types.append(
"Harmonic")
594 def _object_cast_to_Harmonic(o):
595 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
596 return _IMP_core._object_cast_to_Harmonic(o)
598 _object_types.append(
"HarmonicWell")
601 def _object_cast_to_HarmonicWell(o):
602 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
603 return _IMP_core._object_cast_to_HarmonicWell(o)
605 _object_types.append(
"HarmonicLowerBound")
608 def _object_cast_to_HarmonicLowerBound(o):
609 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
610 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
612 _object_types.append(
"HarmonicUpperBound")
615 def _object_cast_to_HarmonicUpperBound(o):
616 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
617 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
619 _object_types.append(
"HarmonicSphereDistancePairScore")
622 def _object_cast_to_HarmonicSphereDistancePairScore(o):
623 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
624 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
626 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
629 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
630 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
631 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
633 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
636 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
637 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
638 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
640 _object_types.append(
"HarmonicSurfaceDistancePairScore")
643 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
644 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
645 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
647 _object_types.append(
"HarmonicSurfaceHeightPairScore")
650 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
651 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
652 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
654 _object_types.append(
"HarmonicSurfaceDepthPairScore")
657 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
658 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
659 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
661 _object_types.append(
"WeightedSum")
664 def _object_cast_to_WeightedSum(o):
665 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
666 return _IMP_core._object_cast_to_WeightedSum(o)
668 _object_types.append(
"WeightedSumOfExponential")
671 def _object_cast_to_WeightedSumOfExponential(o):
672 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
673 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
675 _object_types.append(
"IncrementalScoringFunction")
678 def _object_cast_to_IncrementalScoringFunction(o):
679 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
680 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
682 _object_types.append(
"KClosePairsPairScore")
685 def _object_cast_to_KClosePairsPairScore(o):
686 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
687 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
689 _object_types.append(
"LeavesRefiner")
692 def _object_cast_to_LeavesRefiner(o):
693 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
694 return _IMP_core._object_cast_to_LeavesRefiner(o)
696 _object_types.append(
"Linear")
699 def _object_cast_to_Linear(o):
700 """_object_cast_to_Linear(Object o) -> Linear"""
701 return _IMP_core._object_cast_to_Linear(o)
703 _object_types.append(
"LogNormalMover")
706 def _object_cast_to_LogNormalMover(o):
707 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
708 return _IMP_core._object_cast_to_LogNormalMover(o)
710 _object_types.append(
"MCCGSampler")
713 def _object_cast_to_MCCGSampler(o):
714 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
715 return _IMP_core._object_cast_to_MCCGSampler(o)
717 _object_types.append(
"MonteCarlo")
720 def _object_cast_to_MonteCarlo(o):
721 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
722 return _IMP_core._object_cast_to_MonteCarlo(o)
724 _object_types.append(
"MonteCarloWithLocalOptimization")
727 def _object_cast_to_MonteCarloWithLocalOptimization(o):
728 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
729 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
731 _object_types.append(
"MonteCarloWithBasinHopping")
734 def _object_cast_to_MonteCarloWithBasinHopping(o):
735 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
736 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
738 _object_types.append(
"MSConnectivityRestraint")
741 def _object_cast_to_MSConnectivityRestraint(o):
742 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
743 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
745 _object_types.append(
"NeighborsTable")
748 def _object_cast_to_NeighborsTable(o):
749 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
750 return _IMP_core._object_cast_to_NeighborsTable(o)
752 _object_types.append(
"NormalMover")
755 def _object_cast_to_NormalMover(o):
756 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
757 return _IMP_core._object_cast_to_NormalMover(o)
759 _object_types.append(
"NormalizedSphereDistancePairScore")
762 def _object_cast_to_NormalizedSphereDistancePairScore(o):
763 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
764 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
766 _object_types.append(
"OpenCubicSpline")
769 def _object_cast_to_OpenCubicSpline(o):
770 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
771 return _IMP_core._object_cast_to_OpenCubicSpline(o)
773 _object_types.append(
"PairConstraint")
776 def _object_cast_to_PairConstraint(o):
777 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
778 return _IMP_core._object_cast_to_PairConstraint(o)
780 _object_types.append(
"PairRestraint")
783 def _object_cast_to_PairRestraint(o):
784 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
785 return _IMP_core._object_cast_to_PairRestraint(o)
787 _object_types.append(
"QuadConstraint")
790 def _object_cast_to_QuadConstraint(o):
791 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
792 return _IMP_core._object_cast_to_QuadConstraint(o)
794 _object_types.append(
"QuadRestraint")
797 def _object_cast_to_QuadRestraint(o):
798 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
799 return _IMP_core._object_cast_to_QuadRestraint(o)
801 _object_types.append(
"QuadraticClosePairsFinder")
804 def _object_cast_to_QuadraticClosePairsFinder(o):
805 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
806 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
808 _object_types.append(
"RefinedPairsPairScore")
811 def _object_cast_to_RefinedPairsPairScore(o):
812 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
813 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
815 _object_types.append(
"RestraintsScoringFunction")
818 def _object_cast_to_RestraintsScoringFunction(o):
819 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
820 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
822 _object_types.append(
"RigidBodyDistancePairScore")
825 def _object_cast_to_RigidBodyDistancePairScore(o):
826 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
827 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
829 _object_types.append(
"RigidBodyAnglePairScore")
832 def _object_cast_to_RigidBodyAnglePairScore(o):
833 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
834 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
836 _object_types.append(
"RigidBodyMover")
839 def _object_cast_to_RigidBodyMover(o):
840 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
841 return _IMP_core._object_cast_to_RigidBodyMover(o)
843 _object_types.append(
"RigidBodyTunneler")
846 def _object_cast_to_RigidBodyTunneler(o):
847 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
848 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
850 _object_types.append(
"RigidBodyUmbrella")
853 def _object_cast_to_RigidBodyUmbrella(o):
854 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
855 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
857 _object_types.append(
"RigidClosePairsFinder")
860 def _object_cast_to_RigidClosePairsFinder(o):
861 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
862 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
864 _object_types.append(
"RigidMembersRefiner")
867 def _object_cast_to_RigidMembersRefiner(o):
868 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
869 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
871 _object_types.append(
"SingletonConstraint")
874 def _object_cast_to_SingletonConstraint(o):
875 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
876 return _IMP_core._object_cast_to_SingletonConstraint(o)
878 _object_types.append(
"SingletonRestraint")
881 def _object_cast_to_SingletonRestraint(o):
882 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
883 return _IMP_core._object_cast_to_SingletonRestraint(o)
885 _object_types.append(
"SoftSpherePairScore")
888 def _object_cast_to_SoftSpherePairScore(o):
889 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
890 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
892 _object_types.append(
"SphereDistancePairScore")
895 def _object_cast_to_SphereDistancePairScore(o):
896 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
897 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
899 _object_types.append(
"SphereDistanceToSingletonScore")
902 def _object_cast_to_SphereDistanceToSingletonScore(o):
903 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
904 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
906 _object_types.append(
"SoftSubSurfacePairScore")
909 def _object_cast_to_SoftSubSurfacePairScore(o):
910 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
911 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
913 _object_types.append(
"SoftSuperSurfacePairScore")
916 def _object_cast_to_SoftSuperSurfacePairScore(o):
917 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
918 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
920 _object_types.append(
"SurfaceDistancePairScore")
923 def _object_cast_to_SurfaceDistancePairScore(o):
924 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
925 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
927 _object_types.append(
"SurfaceHeightPairScore")
930 def _object_cast_to_SurfaceHeightPairScore(o):
931 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
932 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
934 _object_types.append(
"SurfaceDepthPairScore")
937 def _object_cast_to_SurfaceDepthPairScore(o):
938 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
939 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
941 _object_types.append(
"SurfaceTetheredChain")
944 def _object_cast_to_SurfaceTetheredChain(o):
945 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
946 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
948 _object_types.append(
"SurfaceSymmetryConstraint")
951 def _object_cast_to_SurfaceSymmetryConstraint(o):
952 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
953 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
955 _object_types.append(
"SteepestDescent")
958 def _object_cast_to_SteepestDescent(o):
959 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
960 return _IMP_core._object_cast_to_SteepestDescent(o)
962 _object_types.append(
"TableRefiner")
965 def _object_cast_to_TableRefiner(o):
966 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
967 return _IMP_core._object_cast_to_TableRefiner(o)
969 _object_types.append(
"Transform")
972 def _object_cast_to_Transform(o):
973 """_object_cast_to_Transform(Object o) -> Transform"""
974 return _IMP_core._object_cast_to_Transform(o)
976 _object_types.append(
"TransformationAndReflectionSymmetry")
979 def _object_cast_to_TransformationAndReflectionSymmetry(o):
980 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
981 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
983 _object_types.append(
"TransformationSymmetry")
986 def _object_cast_to_TransformationSymmetry(o):
987 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
988 return _IMP_core._object_cast_to_TransformationSymmetry(o)
990 _object_types.append(
"TransformationSymmetryMover")
993 def _object_cast_to_TransformationSymmetryMover(o):
994 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
995 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
997 _object_types.append(
"TransformedDistancePairScore")
1000 def _object_cast_to_TransformedDistancePairScore(o):
1001 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1002 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1004 _object_types.append(
"TripletConstraint")
1007 def _object_cast_to_TripletConstraint(o):
1008 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1009 return _IMP_core._object_cast_to_TripletConstraint(o)
1011 _object_types.append(
"TripletRestraint")
1014 def _object_cast_to_TripletRestraint(o):
1015 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1016 return _IMP_core._object_cast_to_TripletRestraint(o)
1018 _object_types.append(
"TypedPairScore")
1021 def _object_cast_to_TypedPairScore(o):
1022 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1023 return _IMP_core._object_cast_to_TypedPairScore(o)
1025 _object_types.append(
"VolumeRestraint")
1028 def _object_cast_to_VolumeRestraint(o):
1029 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1030 return _IMP_core._object_cast_to_VolumeRestraint(o)
1032 _object_types.append(
"WeightedSphereDistancePairScore")
1035 def _object_cast_to_WeightedSphereDistancePairScore(o):
1036 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1037 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1039 _object_types.append(
"MoveStatisticsScoreState")
1042 def _object_cast_to_MoveStatisticsScoreState(o):
1043 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1044 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1046 _object_types.append(
"MinimumRestraint")
1049 def _object_cast_to_MinimumRestraint(o):
1050 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1051 return _IMP_core._object_cast_to_MinimumRestraint(o)
1053 _object_types.append(
"WriteRestraintScoresOptimizerState")
1056 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1057 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1058 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1060 _object_types.append(
"LateralSurfaceConstraint")
1063 def _object_cast_to_LateralSurfaceConstraint(o):
1064 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1065 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1067 _object_types.append(
"ConstantSingletonPredicate")
1070 def _object_cast_to_ConstantSingletonPredicate(o):
1071 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1072 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1074 _object_types.append(
"ConstantPairPredicate")
1077 def _object_cast_to_ConstantPairPredicate(o):
1078 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1079 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1081 _object_types.append(
"ConstantTripletPredicate")
1084 def _object_cast_to_ConstantTripletPredicate(o):
1085 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1086 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1088 _object_types.append(
"ConstantQuadPredicate")
1091 def _object_cast_to_ConstantQuadPredicate(o):
1092 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1093 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1095 _object_types.append(
"CoinFlipSingletonPredicate")
1098 def _object_cast_to_CoinFlipSingletonPredicate(o):
1099 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1100 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1102 _object_types.append(
"CoinFlipPairPredicate")
1105 def _object_cast_to_CoinFlipPairPredicate(o):
1106 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1107 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1109 _object_types.append(
"CoinFlipTripletPredicate")
1112 def _object_cast_to_CoinFlipTripletPredicate(o):
1113 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1114 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1116 _object_types.append(
"CoinFlipQuadPredicate")
1119 def _object_cast_to_CoinFlipQuadPredicate(o):
1120 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1121 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1123 _object_types.append(
"UnorderedTypeSingletonPredicate")
1126 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1127 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1128 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1130 _object_types.append(
"UnorderedTypePairPredicate")
1133 def _object_cast_to_UnorderedTypePairPredicate(o):
1134 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1135 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1137 _object_types.append(
"UnorderedTypeTripletPredicate")
1140 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1141 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1142 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1144 _object_types.append(
"UnorderedTypeQuadPredicate")
1147 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1148 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1149 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1151 _object_types.append(
"OrderedTypeSingletonPredicate")
1154 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1155 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1156 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1158 _object_types.append(
"OrderedTypePairPredicate")
1161 def _object_cast_to_OrderedTypePairPredicate(o):
1162 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1163 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1165 _object_types.append(
"OrderedTypeTripletPredicate")
1168 def _object_cast_to_OrderedTypeTripletPredicate(o):
1169 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1170 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1172 _object_types.append(
"OrderedTypeQuadPredicate")
1175 def _object_cast_to_OrderedTypeQuadPredicate(o):
1176 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1177 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1179 _object_types.append(
"AllSameSingletonPredicate")
1182 def _object_cast_to_AllSameSingletonPredicate(o):
1183 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1184 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1186 _object_types.append(
"AllSamePairPredicate")
1189 def _object_cast_to_AllSamePairPredicate(o):
1190 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1191 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1193 _object_types.append(
"AllSameTripletPredicate")
1196 def _object_cast_to_AllSameTripletPredicate(o):
1197 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1198 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1200 _object_types.append(
"AllSameQuadPredicate")
1203 def _object_cast_to_AllSameQuadPredicate(o):
1204 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1205 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1208 return [XYZ(x)
for x
in l]
1209 _plural_types.append(
"XYZs")
1212 _value_types.append(
"XYZ")
1216 return [XYZR(x)
for x
in l]
1217 _plural_types.append(
"XYZRs")
1220 _value_types.append(
"XYZR")
1223 def RigidBodies(l=[]):
1224 return [RigidBody(x)
for x
in l]
1225 _plural_types.append(
"RigidBodies")
1228 _value_types.append(
"RigidBody")
1231 def RigidBodyMembers(l=[]):
1232 return [RigidBodyMember(x)
for x
in l]
1233 _plural_types.append(
"RigidBodyMembers")
1236 _value_types.append(
"RigidBodyMember")
1239 def RigidMembers(l=[]):
1240 return [RigidMember(x)
for x
in l]
1241 _plural_types.append(
"RigidMembers")
1244 _value_types.append(
"RigidMember")
1247 def NonRigidMembers(l=[]):
1248 return [NonRigidMember(x)
for x
in l]
1249 _plural_types.append(
"NonRigidMembers")
1252 _value_types.append(
"NonRigidMember")
1255 def Centroids(l=[]):
1256 return [Centroid(x)
for x
in l]
1257 _plural_types.append(
"Centroids")
1260 _value_types.append(
"Centroid")
1264 return [Cover(x)
for x
in l]
1265 _plural_types.append(
"Covers")
1268 _value_types.append(
"Cover")
1271 def References(l=[]):
1272 return [Reference(x)
for x
in l]
1273 _plural_types.append(
"References")
1276 _value_types.append(
"Reference")
1280 _plural_types.append(
"ParticleTypes")
1281 _value_types.append(
"ParticleType")
1285 return [Typed(x)
for x
in l]
1286 _plural_types.append(
"Typeds")
1289 _value_types.append(
"Typed")
1292 def GenericHierarchies(l=[]):
1293 return [Hierarchy(x)
for x
in l]
1294 _plural_types.append(
"GenericHierarchies")
1297 _value_types.append(
"Hierarchy")
1300 def Gaussians(l=[]):
1301 return [Gaussian(x)
for x
in l]
1302 _plural_types.append(
"Gaussians")
1305 _value_types.append(
"Gaussian")
1308 def Directions(l=[]):
1309 return [Direction(x)
for x
in l]
1310 _plural_types.append(
"Directions")
1313 _value_types.append(
"Direction")
1316 def DirectionAngles(l=[]):
1317 return [DirectionAngle(x)
for x
in l]
1318 _plural_types.append(
"DirectionAngles")
1321 _value_types.append(
"DirectionAngle")
1325 return [Surface(x)
for x
in l]
1326 _plural_types.append(
"Surfaces")
1329 _value_types.append(
"Surface")
1332 HierarchyCounters=list
1333 _plural_types.append(
"HierarchyCounters")
1334 _value_types.append(
"HierarchyCounter")
1337 HierarchyTraitsList=list
1338 _plural_types.append(
"HierarchyTraitsList")
1339 _value_types.append(
"HierarchyTraits")
1342 _object_types.append(
"TruncatedHarmonicBound")
1345 def _object_cast_to_TruncatedHarmonicBound(o):
1346 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1347 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1349 _object_types.append(
"TruncatedHarmonicLowerBound")
1352 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1353 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1354 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1356 _object_types.append(
"TruncatedHarmonicUpperBound")
1359 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1360 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1361 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1363 _object_types.append(
"HarmonicDistancePairScore")
1366 def _object_cast_to_HarmonicDistancePairScore(o):
1367 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1368 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1370 _object_types.append(
"DistancePairScore")
1373 def _object_cast_to_DistancePairScore(o):
1374 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1375 return _IMP_core._object_cast_to_DistancePairScore(o)
1377 _object_types.append(
"XYZRGeometry")
1380 def _object_cast_to_XYZRGeometry(o):
1381 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1382 return _IMP_core._object_cast_to_XYZRGeometry(o)
1384 _object_types.append(
"XYZRsGeometry")
1387 def _object_cast_to_XYZRsGeometry(o):
1388 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1389 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1391 _object_types.append(
"XYZDerivativeGeometry")
1394 def _object_cast_to_XYZDerivativeGeometry(o):
1395 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1396 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1398 _object_types.append(
"XYZDerivativesGeometry")
1401 def _object_cast_to_XYZDerivativesGeometry(o):
1402 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1403 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1405 _object_types.append(
"RigidBodyDerivativeGeometry")
1408 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1409 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1410 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1412 _object_types.append(
"RigidBodyDerivativesGeometry")
1415 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1416 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1417 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1419 _object_types.append(
"RigidBodyHierarchyGeometry")
1422 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1423 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1424 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1426 _object_types.append(
"RigidBodyFrameGeometry")
1429 def _object_cast_to_RigidBodyFrameGeometry(o):
1430 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1431 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1433 _object_types.append(
"RigidBodyFramesGeometry")
1436 def _object_cast_to_RigidBodyFramesGeometry(o):
1437 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1438 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1440 _object_types.append(
"RigidBodyTorque")
1443 def _object_cast_to_RigidBodyTorque(o):
1444 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1445 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1447 _object_types.append(
"EdgePairGeometry")
1450 def _object_cast_to_EdgePairGeometry(o):
1451 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1452 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1454 _object_types.append(
"EdgePairsGeometry")
1457 def _object_cast_to_EdgePairsGeometry(o):
1458 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1459 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1461 _object_types.append(
"SurfaceGeometry")
1464 def _object_cast_to_SurfaceGeometry(o):
1465 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1466 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1468 _object_types.append(
"SurfaceGeometryConstraint")
1471 def _object_cast_to_SurfaceGeometryConstraint(o):
1472 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1473 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1475 _object_types.append(
"AttributeSingletonPredicate")
1478 def _object_cast_to_AttributeSingletonPredicate(o):
1479 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1480 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1482 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1485 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1486 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1487 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1489 _object_types.append(
"IsCollisionPairPredicate")
1492 def _object_cast_to_IsCollisionPairPredicate(o):
1493 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1494 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1496 BinormalTermList=list
1497 _plural_types.append(
"BinormalTermList")
1498 _value_types.append(
"BinormalTerm")
1501 _object_types.append(
"MultipleBinormalRestraint")
1504 def _object_cast_to_MultipleBinormalRestraint(o):
1505 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1506 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1507 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1508 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1512 def __init__(self, *args, **kwargs):
1513 raise AttributeError(
"No constructor defined - class is abstract")
1514 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1515 __del__ =
lambda self:
None
1517 def get_close_pairs(self, *args):
1519 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1520 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1521 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1522 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1524 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1527 def set_distance(self, d):
1528 """set_distance(ClosePairsFinder self, double d)"""
1529 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1533 """get_distance(ClosePairsFinder self) -> double"""
1534 return _IMP_core.ClosePairsFinder_get_distance(self)
1537 def remove_pair_filter(self, d):
1538 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1539 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1542 def remove_pair_filters(self, d):
1543 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1544 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1547 def set_pair_filters(self, ps):
1548 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1549 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1552 def set_pair_filters_order(self, objs):
1553 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1554 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1557 def add_pair_filter(self, obj):
1558 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1559 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1562 def add_pair_filters(self, objs):
1563 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1564 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1567 def clear_pair_filters(self):
1568 """clear_pair_filters(ClosePairsFinder self)"""
1569 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1572 def get_number_of_pair_filters(self):
1573 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1574 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1577 def get_has_pair_filters(self):
1578 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1579 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1582 def get_pair_filter(self, i):
1583 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1584 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1587 def get_pair_filters(self):
1588 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1589 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1592 def reserve_pair_filters(self, sz):
1593 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1594 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1598 """__str__(ClosePairsFinder self) -> std::string"""
1599 return _IMP_core.ClosePairsFinder___str__(self)
1603 """__repr__(ClosePairsFinder self) -> std::string"""
1604 return _IMP_core.ClosePairsFinder___repr__(self)
1609 return _object_cast_to_ClosePairsFinder(o)
1611 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1612 ClosePairsFinder_swigregister(ClosePairsFinder)
1614 class MonteCarloMoverResult(IMP._Value):
1615 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1619 def __init__(self, *args):
1621 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1622 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1623 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1625 this = _IMP_core.new_MonteCarloMoverResult(*args)
1627 self.this.append(this)
1628 except __builtin__.Exception:
1632 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1633 return _IMP_core.MonteCarloMoverResult___hash__(self)
1636 def show(self, *args):
1638 show(MonteCarloMoverResult self, _ostream out)
1639 show(MonteCarloMoverResult self)
1641 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1644 def __cmp__(self, o):
1645 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1646 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1649 def __eq__(self, o):
1650 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1651 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1654 def __ne__(self, o):
1655 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1656 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1659 def __lt__(self, o):
1660 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1661 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1664 def __gt__(self, o):
1665 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1666 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1669 def __ge__(self, o):
1670 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1671 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1674 def __le__(self, o):
1675 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1676 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1679 def get_moved_particles(self):
1680 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1681 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1684 def set_moved_particles(self, v):
1685 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1686 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1689 def get_proposal_ratio(self):
1690 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1691 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1694 def set_proposal_ratio(self, v):
1695 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1696 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1700 """__str__(MonteCarloMoverResult self) -> std::string"""
1701 return _IMP_core.MonteCarloMoverResult___str__(self)
1705 """__repr__(MonteCarloMoverResult self) -> std::string"""
1706 return _IMP_core.MonteCarloMoverResult___repr__(self)
1708 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1709 __del__ =
lambda self:
None
1710 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1711 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1714 """Proxy of C++ IMP::core::MonteCarloMover class."""
1716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1718 def __init__(self, m, name):
1719 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1720 if self.__class__ == MonteCarloMover:
1724 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1726 self.this.append(this)
1727 except __builtin__.Exception:
1730 if self.__class__ != MonteCarloMover:
1731 _director_objects.register(self)
1737 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1738 return _IMP_core.MonteCarloMover_propose(self)
1742 """reject(MonteCarloMover self)"""
1743 return _IMP_core.MonteCarloMover_reject(self)
1747 """accept(MonteCarloMover self)"""
1748 return _IMP_core.MonteCarloMover_accept(self)
1751 def get_number_of_proposed(self):
1752 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1753 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1756 def get_number_of_accepted(self):
1757 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1758 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1761 def reset_statistics(self):
1762 """reset_statistics(MonteCarloMover self)"""
1763 return _IMP_core.MonteCarloMover_reset_statistics(self)
1766 def do_propose(self):
1767 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1768 return _IMP_core.MonteCarloMover_do_propose(self)
1771 def do_reject(self):
1772 """do_reject(MonteCarloMover self)"""
1773 return _IMP_core.MonteCarloMover_do_reject(self)
1776 def do_accept(self):
1777 """do_accept(MonteCarloMover self)"""
1778 return _IMP_core.MonteCarloMover_do_accept(self)
1781 def do_get_outputs(self):
1782 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1783 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1787 """__str__(MonteCarloMover self) -> std::string"""
1788 return _IMP_core.MonteCarloMover___str__(self)
1792 """__repr__(MonteCarloMover self) -> std::string"""
1793 return _IMP_core.MonteCarloMover___repr__(self)
1798 return _object_cast_to_MonteCarloMover(o)
1801 def get_type_name(self):
1802 return self.__class__.__name__
1803 def do_show(self, out):
1805 def get_version_info(self):
1806 if"IMP::core" ==
"IMP":
1807 return VersionInfo(self.__module__,
1808 __import__(self.__module__).get_module_version())
1811 __import__(self.__module__).get_module_version())
1814 return _object_cast_to_MonteCarloMover(o)
1816 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1817 __del__ =
lambda self:
None
1818 def __disown__(self):
1820 _IMP_core.disown_MonteCarloMover(self)
1821 return weakref_proxy(self)
1823 def do_destroy(self):
1824 """do_destroy(MonteCarloMover self)"""
1825 return _IMP_core.MonteCarloMover_do_destroy(self)
1828 def handle_set_has_required_score_states(self, arg0):
1829 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1830 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1833 def do_get_inputs(self):
1834 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1835 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1838 def do_get_interactions(self):
1839 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1840 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1842 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1843 MonteCarloMover_swigregister(MonteCarloMover)
1846 """Proxy of C++ IMP::core::XYZ class."""
1848 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1850 def get_coordinate_key(i):
1851 """get_coordinate_key(unsigned int i) -> FloatKey"""
1852 return _IMP_core.XYZ_get_coordinate_key(i)
1854 get_coordinate_key = staticmethod(get_coordinate_key)
1856 def __init__(self, *args):
1858 __init__(IMP::core::XYZ self) -> XYZ
1859 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1860 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1862 this = _IMP_core.new_XYZ(*args)
1864 self.this.append(this)
1865 except __builtin__.Exception:
1868 def show(self, *args):
1870 show(XYZ self, _ostream out)
1873 return _IMP_core.XYZ_show(self, *args)
1876 def setup_particle(*args):
1878 setup_particle(Model m, ParticleIndex pi) -> XYZ
1879 setup_particle(_ParticleAdaptor decorator) -> XYZ
1880 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1881 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1883 return _IMP_core.XYZ_setup_particle(*args)
1885 setup_particle = staticmethod(setup_particle)
1888 """get_x(XYZ self) -> IMP::Float"""
1889 return _IMP_core.XYZ_get_x(self)
1893 """set_x(XYZ self, IMP::Float t)"""
1894 return _IMP_core.XYZ_set_x(self, t)
1898 """get_y(XYZ self) -> IMP::Float"""
1899 return _IMP_core.XYZ_get_y(self)
1903 """set_y(XYZ self, IMP::Float t)"""
1904 return _IMP_core.XYZ_set_y(self, t)
1908 """get_z(XYZ self) -> IMP::Float"""
1909 return _IMP_core.XYZ_get_z(self)
1913 """set_z(XYZ self, IMP::Float t)"""
1914 return _IMP_core.XYZ_set_z(self, t)
1917 def set_coordinate(self, i, v):
1918 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1919 return _IMP_core.XYZ_set_coordinate(self, i, v)
1922 def set_coordinates(self, v):
1923 """set_coordinates(XYZ self, Vector3D v)"""
1924 return _IMP_core.XYZ_set_coordinates(self, v)
1927 def get_coordinate(self, i):
1928 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1929 return _IMP_core.XYZ_get_coordinate(self, i)
1932 def add_to_derivatives(self, v, d):
1933 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1934 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1937 def get_coordinates_are_optimized(self):
1938 """get_coordinates_are_optimized(XYZ self) -> bool"""
1939 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1942 def set_coordinates_are_optimized(self, tf):
1943 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1944 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1947 def get_vector_to(self, b):
1948 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1949 return _IMP_core.XYZ_get_vector_to(self, b)
1952 def get_coordinates(self):
1953 """get_coordinates(XYZ self) -> Vector3D"""
1954 return _IMP_core.XYZ_get_coordinates(self)
1957 def get_derivatives(self):
1958 """get_derivatives(XYZ self) -> Vector3D"""
1959 return _IMP_core.XYZ_get_derivatives(self)
1962 def get_is_setup(*args):
1964 get_is_setup(_ParticleAdaptor p) -> bool
1965 get_is_setup(Model m, ParticleIndex pi) -> bool
1967 return _IMP_core.XYZ_get_is_setup(*args)
1969 get_is_setup = staticmethod(get_is_setup)
1972 """get_xyz_keys() -> IMP::FloatKeys const &"""
1973 return _IMP_core.XYZ_get_xyz_keys()
1975 get_xyz_keys = staticmethod(get_xyz_keys)
1977 def add_attribute(self, *args):
1979 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1980 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1981 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1982 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1983 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1984 add_attribute(XYZ self, ObjectKey a0, Object a1)
1986 return _IMP_core.XYZ_add_attribute(self, *args)
1989 def get_value(self, *args):
1991 get_value(XYZ self, FloatKey a0) -> IMP::Float
1992 get_value(XYZ self, IntKey a0) -> IMP::Int
1993 get_value(XYZ self, StringKey a0) -> IMP::String
1994 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1995 get_value(XYZ self, ObjectKey a0) -> Object
1997 return _IMP_core.XYZ_get_value(self, *args)
2000 def set_value(self, *args):
2002 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2003 set_value(XYZ self, IntKey a0, IMP::Int a1)
2004 set_value(XYZ self, StringKey a0, IMP::String a1)
2005 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2006 set_value(XYZ self, ObjectKey a0, Object a1)
2008 return _IMP_core.XYZ_set_value(self, *args)
2011 def remove_attribute(self, *args):
2013 remove_attribute(XYZ self, FloatKey a0)
2014 remove_attribute(XYZ self, IntKey a0)
2015 remove_attribute(XYZ self, StringKey a0)
2016 remove_attribute(XYZ self, ParticleIndexKey a0)
2017 remove_attribute(XYZ self, ObjectKey a0)
2019 return _IMP_core.XYZ_remove_attribute(self, *args)
2022 def has_attribute(self, *args):
2024 has_attribute(XYZ self, FloatKey a0) -> bool
2025 has_attribute(XYZ self, IntKey a0) -> bool
2026 has_attribute(XYZ self, StringKey a0) -> bool
2027 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2028 has_attribute(XYZ self, ObjectKey a0) -> bool
2030 return _IMP_core.XYZ_has_attribute(self, *args)
2033 def get_derivative(self, *args):
2035 get_derivative(XYZ self, int i) -> IMP::Float
2036 get_derivative(XYZ self, FloatKey a0) -> double
2038 return _IMP_core.XYZ_get_derivative(self, *args)
2042 """get_name(XYZ self) -> std::string"""
2043 return _IMP_core.XYZ_get_name(self)
2046 def clear_caches(self):
2047 """clear_caches(XYZ self)"""
2048 return _IMP_core.XYZ_clear_caches(self)
2051 def set_name(self, a0):
2052 """set_name(XYZ self, std::string a0)"""
2053 return _IMP_core.XYZ_set_name(self, a0)
2057 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2058 return _IMP_core.XYZ_set_check_level(self, a0)
2061 def add_to_derivative(self, *args):
2063 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2064 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2066 return _IMP_core.XYZ_add_to_derivative(self, *args)
2069 def set_is_optimized(self, a0, a1):
2070 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2071 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2074 def get_is_optimized(self, a0):
2075 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2076 return _IMP_core.XYZ_get_is_optimized(self, a0)
2080 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2081 return _IMP_core.XYZ_get_check_level(self)
2084 def __eq__(self, *args):
2086 __eq__(XYZ self, XYZ o) -> bool
2087 __eq__(XYZ self, Particle d) -> bool
2089 return _IMP_core.XYZ___eq__(self, *args)
2092 def __ne__(self, *args):
2094 __ne__(XYZ self, XYZ o) -> bool
2095 __ne__(XYZ self, Particle d) -> bool
2097 return _IMP_core.XYZ___ne__(self, *args)
2100 def __le__(self, *args):
2102 __le__(XYZ self, XYZ o) -> bool
2103 __le__(XYZ self, Particle d) -> bool
2105 return _IMP_core.XYZ___le__(self, *args)
2108 def __lt__(self, *args):
2110 __lt__(XYZ self, XYZ o) -> bool
2111 __lt__(XYZ self, Particle d) -> bool
2113 return _IMP_core.XYZ___lt__(self, *args)
2116 def __ge__(self, *args):
2118 __ge__(XYZ self, XYZ o) -> bool
2119 __ge__(XYZ self, Particle d) -> bool
2121 return _IMP_core.XYZ___ge__(self, *args)
2124 def __gt__(self, *args):
2126 __gt__(XYZ self, XYZ o) -> bool
2127 __gt__(XYZ self, Particle d) -> bool
2129 return _IMP_core.XYZ___gt__(self, *args)
2133 """__hash__(XYZ self) -> std::size_t"""
2134 return _IMP_core.XYZ___hash__(self)
2138 """__str__(XYZ self) -> std::string"""
2139 return _IMP_core.XYZ___str__(self)
2143 """__repr__(XYZ self) -> std::string"""
2144 return _IMP_core.XYZ___repr__(self)
2146 __swig_destroy__ = _IMP_core.delete_XYZ
2147 __del__ =
lambda self:
None
2148 XYZ_swigregister = _IMP_core.XYZ_swigregister
2149 XYZ_swigregister(XYZ)
2151 def XYZ_get_coordinate_key(i):
2152 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2153 return _IMP_core.XYZ_get_coordinate_key(i)
2155 def XYZ_setup_particle(*args):
2157 setup_particle(Model m, ParticleIndex pi) -> XYZ
2158 setup_particle(_ParticleAdaptor decorator) -> XYZ
2159 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2160 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2162 return _IMP_core.XYZ_setup_particle(*args)
2164 def XYZ_get_is_setup(*args):
2166 get_is_setup(_ParticleAdaptor p) -> bool
2167 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2169 return _IMP_core.XYZ_get_is_setup(*args)
2171 def XYZ_get_xyz_keys():
2172 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2173 return _IMP_core.XYZ_get_xyz_keys()
2177 """set_vector_geometry(XYZ d, Vector3D v)"""
2178 return _IMP_core.set_vector_geometry(d, v)
2181 """get_vector_geometry(XYZ d) -> Vector3D"""
2182 return _IMP_core.get_vector_geometry(d)
2185 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2186 return _IMP_core.get_dihedral(a, b, c, d)
2188 """Proxy of C++ IMP::core::XYZR class."""
2190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2192 def __init__(self, *args):
2194 __init__(IMP::core::XYZR self) -> XYZR
2195 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2196 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2198 this = _IMP_core.new_XYZR(*args)
2200 self.this.append(this)
2201 except __builtin__.Exception:
2204 def show(self, *args):
2206 show(XYZR self, _ostream out)
2209 return _IMP_core.XYZR_show(self, *args)
2212 def setup_particle(*args):
2214 setup_particle(Model m, ParticleIndex pi) -> XYZR
2215 setup_particle(_ParticleAdaptor decorator) -> XYZR
2216 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2217 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2218 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2219 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2221 return _IMP_core.XYZR_setup_particle(*args)
2223 setup_particle = staticmethod(setup_particle)
2225 def get_is_setup(*args):
2227 get_is_setup(_ParticleAdaptor p) -> bool
2228 get_is_setup(Model m, ParticleIndex pi) -> bool
2230 return _IMP_core.XYZR_get_is_setup(*args)
2232 get_is_setup = staticmethod(get_is_setup)
2234 def get_radius(self):
2235 """get_radius(XYZR self) -> double"""
2236 return _IMP_core.XYZR_get_radius(self)
2239 def set_radius(self, r):
2240 """set_radius(XYZR self, double r)"""
2241 return _IMP_core.XYZR_set_radius(self, r)
2244 def get_sphere(self):
2245 """get_sphere(XYZR self) -> Sphere3D"""
2246 return _IMP_core.XYZR_get_sphere(self)
2249 def set_sphere(self, s):
2250 """set_sphere(XYZR self, Sphere3D s)"""
2251 return _IMP_core.XYZR_set_sphere(self, s)
2254 def get_radius_key():
2255 """get_radius_key() -> FloatKey"""
2256 return _IMP_core.XYZR_get_radius_key()
2258 get_radius_key = staticmethod(get_radius_key)
2260 def add_to_radius_derivative(self, v, d):
2261 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2262 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2265 def add_attribute(self, *args):
2267 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2268 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2269 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2270 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2271 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2272 add_attribute(XYZR self, ObjectKey a0, Object a1)
2274 return _IMP_core.XYZR_add_attribute(self, *args)
2277 def get_value(self, *args):
2279 get_value(XYZR self, FloatKey a0) -> IMP::Float
2280 get_value(XYZR self, IntKey a0) -> IMP::Int
2281 get_value(XYZR self, StringKey a0) -> IMP::String
2282 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2283 get_value(XYZR self, ObjectKey a0) -> Object
2285 return _IMP_core.XYZR_get_value(self, *args)
2288 def set_value(self, *args):
2290 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2291 set_value(XYZR self, IntKey a0, IMP::Int a1)
2292 set_value(XYZR self, StringKey a0, IMP::String a1)
2293 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2294 set_value(XYZR self, ObjectKey a0, Object a1)
2296 return _IMP_core.XYZR_set_value(self, *args)
2299 def remove_attribute(self, *args):
2301 remove_attribute(XYZR self, FloatKey a0)
2302 remove_attribute(XYZR self, IntKey a0)
2303 remove_attribute(XYZR self, StringKey a0)
2304 remove_attribute(XYZR self, ParticleIndexKey a0)
2305 remove_attribute(XYZR self, ObjectKey a0)
2307 return _IMP_core.XYZR_remove_attribute(self, *args)
2310 def has_attribute(self, *args):
2312 has_attribute(XYZR self, FloatKey a0) -> bool
2313 has_attribute(XYZR self, IntKey a0) -> bool
2314 has_attribute(XYZR self, StringKey a0) -> bool
2315 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2316 has_attribute(XYZR self, ObjectKey a0) -> bool
2318 return _IMP_core.XYZR_has_attribute(self, *args)
2321 def get_derivative(self, a0):
2322 """get_derivative(XYZR self, FloatKey a0) -> double"""
2323 return _IMP_core.XYZR_get_derivative(self, a0)
2327 """get_name(XYZR self) -> std::string"""
2328 return _IMP_core.XYZR_get_name(self)
2331 def clear_caches(self):
2332 """clear_caches(XYZR self)"""
2333 return _IMP_core.XYZR_clear_caches(self)
2336 def set_name(self, a0):
2337 """set_name(XYZR self, std::string a0)"""
2338 return _IMP_core.XYZR_set_name(self, a0)
2342 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2343 return _IMP_core.XYZR_set_check_level(self, a0)
2346 def add_to_derivative(self, a0, a1, a2):
2347 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2348 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2351 def set_is_optimized(self, a0, a1):
2352 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2353 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2356 def get_is_optimized(self, a0):
2357 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2358 return _IMP_core.XYZR_get_is_optimized(self, a0)
2362 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2363 return _IMP_core.XYZR_get_check_level(self)
2366 def __eq__(self, *args):
2368 __eq__(XYZR self, XYZR o) -> bool
2369 __eq__(XYZR self, Particle d) -> bool
2371 return _IMP_core.XYZR___eq__(self, *args)
2374 def __ne__(self, *args):
2376 __ne__(XYZR self, XYZR o) -> bool
2377 __ne__(XYZR self, Particle d) -> bool
2379 return _IMP_core.XYZR___ne__(self, *args)
2382 def __le__(self, *args):
2384 __le__(XYZR self, XYZR o) -> bool
2385 __le__(XYZR self, Particle d) -> bool
2387 return _IMP_core.XYZR___le__(self, *args)
2390 def __lt__(self, *args):
2392 __lt__(XYZR self, XYZR o) -> bool
2393 __lt__(XYZR self, Particle d) -> bool
2395 return _IMP_core.XYZR___lt__(self, *args)
2398 def __ge__(self, *args):
2400 __ge__(XYZR self, XYZR o) -> bool
2401 __ge__(XYZR self, Particle d) -> bool
2403 return _IMP_core.XYZR___ge__(self, *args)
2406 def __gt__(self, *args):
2408 __gt__(XYZR self, XYZR o) -> bool
2409 __gt__(XYZR self, Particle d) -> bool
2411 return _IMP_core.XYZR___gt__(self, *args)
2415 """__hash__(XYZR self) -> std::size_t"""
2416 return _IMP_core.XYZR___hash__(self)
2420 """__str__(XYZR self) -> std::string"""
2421 return _IMP_core.XYZR___str__(self)
2425 """__repr__(XYZR self) -> std::string"""
2426 return _IMP_core.XYZR___repr__(self)
2428 __swig_destroy__ = _IMP_core.delete_XYZR
2429 __del__ =
lambda self:
None
2430 XYZR_swigregister = _IMP_core.XYZR_swigregister
2431 XYZR_swigregister(XYZR)
2433 def XYZR_setup_particle(*args):
2435 setup_particle(Model m, ParticleIndex pi) -> XYZR
2436 setup_particle(_ParticleAdaptor decorator) -> XYZR
2437 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2438 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2439 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2440 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2442 return _IMP_core.XYZR_setup_particle(*args)
2444 def XYZR_get_is_setup(*args):
2446 get_is_setup(_ParticleAdaptor p) -> bool
2447 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2449 return _IMP_core.XYZR_get_is_setup(*args)
2451 def XYZR_get_radius_key():
2452 """XYZR_get_radius_key() -> FloatKey"""
2453 return _IMP_core.XYZR_get_radius_key()
2458 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2459 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2461 return _IMP_core.set_enclosing_sphere(b, v, slack)
2464 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2465 return _IMP_core.set_enclosing_radius(b, v)
2468 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2469 return _IMP_core.get_enclosing_sphere(v)
2473 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2474 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2476 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2478 """Proxy of C++ IMP::core::XYZRGeometry class."""
2480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2482 def __init__(self, *args):
2484 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2485 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2487 this = _IMP_core.new_XYZRGeometry(*args)
2489 self.this.append(this)
2490 except __builtin__.Exception:
2493 def get_version_info(self):
2494 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2495 return _IMP_core.XYZRGeometry_get_version_info(self)
2499 """__str__(XYZRGeometry self) -> std::string"""
2500 return _IMP_core.XYZRGeometry___str__(self)
2504 """__repr__(XYZRGeometry self) -> std::string"""
2505 return _IMP_core.XYZRGeometry___repr__(self)
2510 return _object_cast_to_XYZRGeometry(o)
2512 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2513 XYZRGeometry_swigregister(XYZRGeometry)
2516 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2520 def __init__(self, sc):
2521 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2522 this = _IMP_core.new_XYZRsGeometry(sc)
2524 self.this.append(this)
2525 except __builtin__.Exception:
2528 def get_version_info(self):
2529 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2530 return _IMP_core.XYZRsGeometry_get_version_info(self)
2534 """__str__(XYZRsGeometry self) -> std::string"""
2535 return _IMP_core.XYZRsGeometry___str__(self)
2539 """__repr__(XYZRsGeometry self) -> std::string"""
2540 return _IMP_core.XYZRsGeometry___repr__(self)
2545 return _object_cast_to_XYZRsGeometry(o)
2547 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2548 XYZRsGeometry_swigregister(XYZRsGeometry)
2551 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2555 def __init__(self, *args):
2557 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2558 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2560 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2562 self.this.append(this)
2563 except __builtin__.Exception:
2566 def get_version_info(self):
2567 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2568 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2572 """__str__(XYZDerivativeGeometry self) -> std::string"""
2573 return _IMP_core.XYZDerivativeGeometry___str__(self)
2577 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2578 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2583 return _object_cast_to_XYZDerivativeGeometry(o)
2585 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2586 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2589 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2593 def __init__(self, sc):
2594 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2595 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2597 self.this.append(this)
2598 except __builtin__.Exception:
2601 def get_version_info(self):
2602 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2603 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2607 """__str__(XYZDerivativesGeometry self) -> std::string"""
2608 return _IMP_core.XYZDerivativesGeometry___str__(self)
2612 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2613 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2618 return _object_cast_to_XYZDerivativesGeometry(o)
2620 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2621 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2624 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2628 def __init__(self, pp):
2629 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2630 this = _IMP_core.new_EdgePairGeometry(pp)
2632 self.this.append(this)
2633 except __builtin__.Exception:
2636 def get_version_info(self):
2637 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2638 return _IMP_core.EdgePairGeometry_get_version_info(self)
2642 """__str__(EdgePairGeometry self) -> std::string"""
2643 return _IMP_core.EdgePairGeometry___str__(self)
2647 """__repr__(EdgePairGeometry self) -> std::string"""
2648 return _IMP_core.EdgePairGeometry___repr__(self)
2653 return _object_cast_to_EdgePairGeometry(o)
2655 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2656 EdgePairGeometry_swigregister(EdgePairGeometry)
2659 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2663 def __init__(self, sc):
2664 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2665 this = _IMP_core.new_EdgePairsGeometry(sc)
2667 self.this.append(this)
2668 except __builtin__.Exception:
2671 def get_version_info(self):
2672 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2673 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2677 """__str__(EdgePairsGeometry self) -> std::string"""
2678 return _IMP_core.EdgePairsGeometry___str__(self)
2682 """__repr__(EdgePairsGeometry self) -> std::string"""
2683 return _IMP_core.EdgePairsGeometry___repr__(self)
2688 return _object_cast_to_EdgePairsGeometry(o)
2690 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2691 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2694 """Proxy of C++ IMP::core::Direction class."""
2696 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2698 def do_setup_particle(m, pi, v):
2699 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2700 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2702 do_setup_particle = staticmethod(do_setup_particle)
2704 def __init__(self, *args):
2706 __init__(IMP::core::Direction self) -> Direction
2707 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2708 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2710 this = _IMP_core.new_Direction(*args)
2712 self.this.append(this)
2713 except __builtin__.Exception:
2716 def show(self, *args):
2718 show(Direction self, _ostream out)
2719 show(Direction self)
2721 return _IMP_core.Direction_show(self, *args)
2724 def setup_particle(*args):
2726 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2727 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2729 return _IMP_core.Direction_setup_particle(*args)
2731 setup_particle = staticmethod(setup_particle)
2733 def get_is_setup(*args):
2735 get_is_setup(_ParticleAdaptor p) -> bool
2736 get_is_setup(Model m, ParticleIndex pi) -> bool
2738 return _IMP_core.Direction_get_is_setup(*args)
2740 get_is_setup = staticmethod(get_is_setup)
2742 def get_direction_key(i):
2743 """get_direction_key(unsigned int i) -> FloatKey"""
2744 return _IMP_core.Direction_get_direction_key(i)
2746 get_direction_key = staticmethod(get_direction_key)
2748 def get_direction_derivative(self, i):
2749 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2750 return _IMP_core.Direction_get_direction_derivative(self, i)
2753 def get_direction_derivatives(self):
2754 """get_direction_derivatives(Direction self) -> Vector3D"""
2755 return _IMP_core.Direction_get_direction_derivatives(self)
2758 def add_to_direction_derivative(self, i, v, d):
2759 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2760 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2763 def add_to_direction_derivatives(self, v, d):
2764 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2765 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2768 def get_direction_is_optimized(self):
2769 """get_direction_is_optimized(Direction self) -> bool"""
2770 return _IMP_core.Direction_get_direction_is_optimized(self)
2773 def set_direction_is_optimized(self, tf):
2774 """set_direction_is_optimized(Direction self, bool tf)"""
2775 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2778 def get_direction(self):
2779 """get_direction(Direction self) -> Vector3D"""
2780 return _IMP_core.Direction_get_direction(self)
2783 def set_direction(self, v):
2784 """set_direction(Direction self, Vector3D v)"""
2785 return _IMP_core.Direction_set_direction(self, v)
2789 """reflect(Direction self)"""
2790 return _IMP_core.Direction_reflect(self)
2793 def add_attribute(self, *args):
2795 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2796 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2797 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2798 add_attribute(Direction self, StringKey a0, IMP::String a1)
2799 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2800 add_attribute(Direction self, ObjectKey a0, Object a1)
2802 return _IMP_core.Direction_add_attribute(self, *args)
2805 def get_value(self, *args):
2807 get_value(Direction self, FloatKey a0) -> IMP::Float
2808 get_value(Direction self, IntKey a0) -> IMP::Int
2809 get_value(Direction self, StringKey a0) -> IMP::String
2810 get_value(Direction self, ParticleIndexKey a0) -> Particle
2811 get_value(Direction self, ObjectKey a0) -> Object
2813 return _IMP_core.Direction_get_value(self, *args)
2816 def set_value(self, *args):
2818 set_value(Direction self, FloatKey a0, IMP::Float a1)
2819 set_value(Direction self, IntKey a0, IMP::Int a1)
2820 set_value(Direction self, StringKey a0, IMP::String a1)
2821 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2822 set_value(Direction self, ObjectKey a0, Object a1)
2824 return _IMP_core.Direction_set_value(self, *args)
2827 def remove_attribute(self, *args):
2829 remove_attribute(Direction self, FloatKey a0)
2830 remove_attribute(Direction self, IntKey a0)
2831 remove_attribute(Direction self, StringKey a0)
2832 remove_attribute(Direction self, ParticleIndexKey a0)
2833 remove_attribute(Direction self, ObjectKey a0)
2835 return _IMP_core.Direction_remove_attribute(self, *args)
2838 def has_attribute(self, *args):
2840 has_attribute(Direction self, FloatKey a0) -> bool
2841 has_attribute(Direction self, IntKey a0) -> bool
2842 has_attribute(Direction self, StringKey a0) -> bool
2843 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2844 has_attribute(Direction self, ObjectKey a0) -> bool
2846 return _IMP_core.Direction_has_attribute(self, *args)
2849 def get_derivative(self, a0):
2850 """get_derivative(Direction self, FloatKey a0) -> double"""
2851 return _IMP_core.Direction_get_derivative(self, a0)
2855 """get_name(Direction self) -> std::string"""
2856 return _IMP_core.Direction_get_name(self)
2859 def clear_caches(self):
2860 """clear_caches(Direction self)"""
2861 return _IMP_core.Direction_clear_caches(self)
2864 def set_name(self, a0):
2865 """set_name(Direction self, std::string a0)"""
2866 return _IMP_core.Direction_set_name(self, a0)
2870 """set_check_level(Direction self, IMP::CheckLevel a0)"""
2871 return _IMP_core.Direction_set_check_level(self, a0)
2874 def add_to_derivative(self, a0, a1, a2):
2875 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2876 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2879 def set_is_optimized(self, a0, a1):
2880 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2881 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
2884 def get_is_optimized(self, a0):
2885 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
2886 return _IMP_core.Direction_get_is_optimized(self, a0)
2890 """get_check_level(Direction self) -> IMP::CheckLevel"""
2891 return _IMP_core.Direction_get_check_level(self)
2894 def __eq__(self, *args):
2896 __eq__(Direction self, Direction o) -> bool
2897 __eq__(Direction self, Particle d) -> bool
2899 return _IMP_core.Direction___eq__(self, *args)
2902 def __ne__(self, *args):
2904 __ne__(Direction self, Direction o) -> bool
2905 __ne__(Direction self, Particle d) -> bool
2907 return _IMP_core.Direction___ne__(self, *args)
2910 def __le__(self, *args):
2912 __le__(Direction self, Direction o) -> bool
2913 __le__(Direction self, Particle d) -> bool
2915 return _IMP_core.Direction___le__(self, *args)
2918 def __lt__(self, *args):
2920 __lt__(Direction self, Direction o) -> bool
2921 __lt__(Direction self, Particle d) -> bool
2923 return _IMP_core.Direction___lt__(self, *args)
2926 def __ge__(self, *args):
2928 __ge__(Direction self, Direction o) -> bool
2929 __ge__(Direction self, Particle d) -> bool
2931 return _IMP_core.Direction___ge__(self, *args)
2934 def __gt__(self, *args):
2936 __gt__(Direction self, Direction o) -> bool
2937 __gt__(Direction self, Particle d) -> bool
2939 return _IMP_core.Direction___gt__(self, *args)
2943 """__hash__(Direction self) -> std::size_t"""
2944 return _IMP_core.Direction___hash__(self)
2948 """__str__(Direction self) -> std::string"""
2949 return _IMP_core.Direction___str__(self)
2953 """__repr__(Direction self) -> std::string"""
2954 return _IMP_core.Direction___repr__(self)
2956 __swig_destroy__ = _IMP_core.delete_Direction
2957 __del__ =
lambda self:
None
2958 Direction_swigregister = _IMP_core.Direction_swigregister
2959 Direction_swigregister(Direction)
2961 def Direction_do_setup_particle(m, pi, v):
2962 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2963 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2965 def Direction_setup_particle(*args):
2967 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2968 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2970 return _IMP_core.Direction_setup_particle(*args)
2972 def Direction_get_is_setup(*args):
2974 get_is_setup(_ParticleAdaptor p) -> bool
2975 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
2977 return _IMP_core.Direction_get_is_setup(*args)
2979 def Direction_get_direction_key(i):
2980 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
2981 return _IMP_core.Direction_get_direction_key(i)
2985 """get_angle(Direction a, Direction b) -> double"""
2986 return _IMP_core.get_angle(a, b)
2988 """Proxy of C++ IMP::core::DirectionAngle class."""
2990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2992 def __init__(self, *args):
2994 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
2995 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
2996 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
2998 this = _IMP_core.new_DirectionAngle(*args)
3000 self.this.append(this)
3001 except __builtin__.Exception:
3004 def show(self, *args):
3006 show(DirectionAngle self, _ostream out)
3007 show(DirectionAngle self)
3009 return _IMP_core.DirectionAngle_show(self, *args)
3012 def setup_particle(*args):
3014 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3015 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3016 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3017 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3019 return _IMP_core.DirectionAngle_setup_particle(*args)
3021 setup_particle = staticmethod(setup_particle)
3023 def get_is_setup(*args):
3025 get_is_setup(_ParticleAdaptor p) -> bool
3026 get_is_setup(Model m, ParticleIndex pi) -> bool
3028 return _IMP_core.DirectionAngle_get_is_setup(*args)
3030 get_is_setup = staticmethod(get_is_setup)
3032 def get_angle_key():
3033 """get_angle_key() -> FloatKey"""
3034 return _IMP_core.DirectionAngle_get_angle_key()
3036 get_angle_key = staticmethod(get_angle_key)
3038 def get_particle_key(i):
3039 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3040 return _IMP_core.DirectionAngle_get_particle_key(i)
3042 get_particle_key = staticmethod(get_particle_key)
3044 def get_particle(self, *args):
3046 get_particle(DirectionAngle self, unsigned int i) -> Particle
3047 get_particle(DirectionAngle self) -> Particle
3049 return _IMP_core.DirectionAngle_get_particle(self, *args)
3052 def get_particle_index(self, *args):
3054 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3055 get_particle_index(DirectionAngle self) -> ParticleIndex
3057 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3061 """get_angle(DirectionAngle self) -> IMP::Float"""
3062 return _IMP_core.DirectionAngle_get_angle(self)
3065 def get_angle_derivative(self):
3066 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3067 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3070 def add_to_angle_derivative(self, v, d):
3071 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3072 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3075 def add_attribute(self, *args):
3077 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3078 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3079 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3080 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3081 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3082 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3084 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3087 def get_value(self, *args):
3089 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3090 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3091 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3092 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3093 get_value(DirectionAngle self, ObjectKey a0) -> Object
3095 return _IMP_core.DirectionAngle_get_value(self, *args)
3098 def set_value(self, *args):
3100 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3101 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3102 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3103 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3104 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3106 return _IMP_core.DirectionAngle_set_value(self, *args)
3109 def remove_attribute(self, *args):
3111 remove_attribute(DirectionAngle self, FloatKey a0)
3112 remove_attribute(DirectionAngle self, IntKey a0)
3113 remove_attribute(DirectionAngle self, StringKey a0)
3114 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3115 remove_attribute(DirectionAngle self, ObjectKey a0)
3117 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3120 def has_attribute(self, *args):
3122 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3123 has_attribute(DirectionAngle self, IntKey a0) -> bool
3124 has_attribute(DirectionAngle self, StringKey a0) -> bool
3125 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3126 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3128 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3131 def get_derivative(self, a0):
3132 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3133 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3137 """get_name(DirectionAngle self) -> std::string"""
3138 return _IMP_core.DirectionAngle_get_name(self)
3141 def clear_caches(self):
3142 """clear_caches(DirectionAngle self)"""
3143 return _IMP_core.DirectionAngle_clear_caches(self)
3146 def set_name(self, a0):
3147 """set_name(DirectionAngle self, std::string a0)"""
3148 return _IMP_core.DirectionAngle_set_name(self, a0)
3152 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3153 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3156 def add_to_derivative(self, a0, a1, a2):
3157 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3158 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3161 def set_is_optimized(self, a0, a1):
3162 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3163 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3166 def get_is_optimized(self, a0):
3167 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3168 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3172 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3173 return _IMP_core.DirectionAngle_get_check_level(self)
3176 def __eq__(self, *args):
3178 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3179 __eq__(DirectionAngle self, Particle d) -> bool
3181 return _IMP_core.DirectionAngle___eq__(self, *args)
3184 def __ne__(self, *args):
3186 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3187 __ne__(DirectionAngle self, Particle d) -> bool
3189 return _IMP_core.DirectionAngle___ne__(self, *args)
3192 def __le__(self, *args):
3194 __le__(DirectionAngle self, DirectionAngle o) -> bool
3195 __le__(DirectionAngle self, Particle d) -> bool
3197 return _IMP_core.DirectionAngle___le__(self, *args)
3200 def __lt__(self, *args):
3202 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3203 __lt__(DirectionAngle self, Particle d) -> bool
3205 return _IMP_core.DirectionAngle___lt__(self, *args)
3208 def __ge__(self, *args):
3210 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3211 __ge__(DirectionAngle self, Particle d) -> bool
3213 return _IMP_core.DirectionAngle___ge__(self, *args)
3216 def __gt__(self, *args):
3218 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3219 __gt__(DirectionAngle self, Particle d) -> bool
3221 return _IMP_core.DirectionAngle___gt__(self, *args)
3225 """__hash__(DirectionAngle self) -> std::size_t"""
3226 return _IMP_core.DirectionAngle___hash__(self)
3230 """__str__(DirectionAngle self) -> std::string"""
3231 return _IMP_core.DirectionAngle___str__(self)
3235 """__repr__(DirectionAngle self) -> std::string"""
3236 return _IMP_core.DirectionAngle___repr__(self)
3238 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3239 __del__ =
lambda self:
None
3240 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3241 DirectionAngle_swigregister(DirectionAngle)
3243 def DirectionAngle_setup_particle(*args):
3245 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3246 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3247 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3248 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3250 return _IMP_core.DirectionAngle_setup_particle(*args)
3252 def DirectionAngle_get_is_setup(*args):
3254 get_is_setup(_ParticleAdaptor p) -> bool
3255 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3257 return _IMP_core.DirectionAngle_get_is_setup(*args)
3259 def DirectionAngle_get_angle_key():
3260 """DirectionAngle_get_angle_key() -> FloatKey"""
3261 return _IMP_core.DirectionAngle_get_angle_key()
3263 def DirectionAngle_get_particle_key(i):
3264 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3265 return _IMP_core.DirectionAngle_get_particle_key(i)
3268 """Proxy of C++ IMP::core::Surface class."""
3270 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3272 def do_setup_particle(*args):
3274 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3275 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3276 do_setup_particle(Model m, ParticleIndex pi)
3277 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3279 return _IMP_core.Surface_do_setup_particle(*args)
3281 do_setup_particle = staticmethod(do_setup_particle)
3283 def __init__(self, *args):
3285 __init__(IMP::core::Surface self) -> Surface
3286 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3287 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3289 this = _IMP_core.new_Surface(*args)
3291 self.this.append(this)
3292 except __builtin__.Exception:
3295 def show(self, *args):
3297 show(Surface self, _ostream out)
3300 return _IMP_core.Surface_show(self, *args)
3303 def setup_particle(*args):
3305 setup_particle(Model m, ParticleIndex pi) -> Surface
3306 setup_particle(_ParticleAdaptor decorator) -> Surface
3307 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3308 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3309 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3310 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3311 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3312 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3314 return _IMP_core.Surface_setup_particle(*args)
3316 setup_particle = staticmethod(setup_particle)
3318 def get_normal_x(self):
3319 """get_normal_x(Surface self) -> IMP::Float"""
3320 return _IMP_core.Surface_get_normal_x(self)
3323 def set_normal_x(self, t):
3324 """set_normal_x(Surface self, IMP::Float t)"""
3325 return _IMP_core.Surface_set_normal_x(self, t)
3328 def get_normal_y(self):
3329 """get_normal_y(Surface self) -> IMP::Float"""
3330 return _IMP_core.Surface_get_normal_y(self)
3333 def set_normal_y(self, t):
3334 """set_normal_y(Surface self, IMP::Float t)"""
3335 return _IMP_core.Surface_set_normal_y(self, t)
3338 def get_normal_z(self):
3339 """get_normal_z(Surface self) -> IMP::Float"""
3340 return _IMP_core.Surface_get_normal_z(self)
3343 def set_normal_z(self, t):
3344 """set_normal_z(Surface self, IMP::Float t)"""
3345 return _IMP_core.Surface_set_normal_z(self, t)
3348 def get_is_setup(*args):
3350 get_is_setup(_ParticleAdaptor p) -> bool
3351 get_is_setup(Model m, ParticleIndex pi) -> bool
3353 return _IMP_core.Surface_get_is_setup(*args)
3355 get_is_setup = staticmethod(get_is_setup)
3357 def get_normal_key(i):
3358 """get_normal_key(unsigned int i) -> FloatKey"""
3359 return _IMP_core.Surface_get_normal_key(i)
3361 get_normal_key = staticmethod(get_normal_key)
3363 def get_normal_derivative(self, i):
3364 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3365 return _IMP_core.Surface_get_normal_derivative(self, i)
3368 def get_normal_derivatives(self):
3369 """get_normal_derivatives(Surface self) -> Vector3D"""
3370 return _IMP_core.Surface_get_normal_derivatives(self)
3373 def add_to_normal_derivative(self, i, v, d):
3374 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3375 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3378 def add_to_normal_derivatives(self, v, d):
3379 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3380 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3383 def get_normal_is_optimized(self):
3384 """get_normal_is_optimized(Surface self) -> bool"""
3385 return _IMP_core.Surface_get_normal_is_optimized(self)
3388 def set_normal_is_optimized(self, tf):
3389 """set_normal_is_optimized(Surface self, bool tf)"""
3390 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3393 def get_normal(self):
3394 """get_normal(Surface self) -> Vector3D"""
3395 return _IMP_core.Surface_get_normal(self)
3398 def set_normal(self, normal):
3399 """set_normal(Surface self, Vector3D normal)"""
3400 return _IMP_core.Surface_set_normal(self, normal)
3404 """reflect(Surface self)"""
3405 return _IMP_core.Surface_reflect(self)
3409 """get_height(Surface self, Vector3D v) -> double"""
3410 return _IMP_core.Surface_get_height(self, v)
3414 """get_depth(Surface self, Vector3D v) -> double"""
3415 return _IMP_core.Surface_get_depth(self, v)
3418 def get_distance_to(self, v):
3419 """get_distance_to(Surface self, Vector3D v) -> double"""
3420 return _IMP_core.Surface_get_distance_to(self, v)
3423 def get_distance_to_center(self, v):
3424 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3425 return _IMP_core.Surface_get_distance_to_center(self, v)
3428 def set_reference_frame(self, rf):
3429 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3430 return _IMP_core.Surface_set_reference_frame(self, rf)
3433 def get_reference_frame(self):
3434 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3435 return _IMP_core.Surface_get_reference_frame(self)
3438 def get_plane(self):
3439 """get_plane(Surface self) -> Plane3D"""
3440 return _IMP_core.Surface_get_plane(self)
3443 def add_attribute(self, *args):
3445 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3446 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3447 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3448 add_attribute(Surface self, StringKey a0, IMP::String a1)
3449 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3450 add_attribute(Surface self, ObjectKey a0, Object a1)
3452 return _IMP_core.Surface_add_attribute(self, *args)
3455 def get_value(self, *args):
3457 get_value(Surface self, FloatKey a0) -> IMP::Float
3458 get_value(Surface self, IntKey a0) -> IMP::Int
3459 get_value(Surface self, StringKey a0) -> IMP::String
3460 get_value(Surface self, ParticleIndexKey a0) -> Particle
3461 get_value(Surface self, ObjectKey a0) -> Object
3463 return _IMP_core.Surface_get_value(self, *args)
3466 def set_value(self, *args):
3468 set_value(Surface self, FloatKey a0, IMP::Float a1)
3469 set_value(Surface self, IntKey a0, IMP::Int a1)
3470 set_value(Surface self, StringKey a0, IMP::String a1)
3471 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3472 set_value(Surface self, ObjectKey a0, Object a1)
3474 return _IMP_core.Surface_set_value(self, *args)
3477 def remove_attribute(self, *args):
3479 remove_attribute(Surface self, FloatKey a0)
3480 remove_attribute(Surface self, IntKey a0)
3481 remove_attribute(Surface self, StringKey a0)
3482 remove_attribute(Surface self, ParticleIndexKey a0)
3483 remove_attribute(Surface self, ObjectKey a0)
3485 return _IMP_core.Surface_remove_attribute(self, *args)
3488 def has_attribute(self, *args):
3490 has_attribute(Surface self, FloatKey a0) -> bool
3491 has_attribute(Surface self, IntKey a0) -> bool
3492 has_attribute(Surface self, StringKey a0) -> bool
3493 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3494 has_attribute(Surface self, ObjectKey a0) -> bool
3496 return _IMP_core.Surface_has_attribute(self, *args)
3499 def get_derivative(self, a0):
3500 """get_derivative(Surface self, FloatKey a0) -> double"""
3501 return _IMP_core.Surface_get_derivative(self, a0)
3505 """get_name(Surface self) -> std::string"""
3506 return _IMP_core.Surface_get_name(self)
3509 def clear_caches(self):
3510 """clear_caches(Surface self)"""
3511 return _IMP_core.Surface_clear_caches(self)
3514 def set_name(self, a0):
3515 """set_name(Surface self, std::string a0)"""
3516 return _IMP_core.Surface_set_name(self, a0)
3520 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3521 return _IMP_core.Surface_set_check_level(self, a0)
3524 def add_to_derivative(self, a0, a1, a2):
3525 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3526 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3529 def set_is_optimized(self, a0, a1):
3530 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3531 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3534 def get_is_optimized(self, a0):
3535 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3536 return _IMP_core.Surface_get_is_optimized(self, a0)
3540 """get_check_level(Surface self) -> IMP::CheckLevel"""
3541 return _IMP_core.Surface_get_check_level(self)
3544 def __eq__(self, *args):
3546 __eq__(Surface self, Surface o) -> bool
3547 __eq__(Surface self, Particle d) -> bool
3549 return _IMP_core.Surface___eq__(self, *args)
3552 def __ne__(self, *args):
3554 __ne__(Surface self, Surface o) -> bool
3555 __ne__(Surface self, Particle d) -> bool
3557 return _IMP_core.Surface___ne__(self, *args)
3560 def __le__(self, *args):
3562 __le__(Surface self, Surface o) -> bool
3563 __le__(Surface self, Particle d) -> bool
3565 return _IMP_core.Surface___le__(self, *args)
3568 def __lt__(self, *args):
3570 __lt__(Surface self, Surface o) -> bool
3571 __lt__(Surface self, Particle d) -> bool
3573 return _IMP_core.Surface___lt__(self, *args)
3576 def __ge__(self, *args):
3578 __ge__(Surface self, Surface o) -> bool
3579 __ge__(Surface self, Particle d) -> bool
3581 return _IMP_core.Surface___ge__(self, *args)
3584 def __gt__(self, *args):
3586 __gt__(Surface self, Surface o) -> bool
3587 __gt__(Surface self, Particle d) -> bool
3589 return _IMP_core.Surface___gt__(self, *args)
3593 """__hash__(Surface self) -> std::size_t"""
3594 return _IMP_core.Surface___hash__(self)
3598 """__str__(Surface self) -> std::string"""
3599 return _IMP_core.Surface___str__(self)
3603 """__repr__(Surface self) -> std::string"""
3604 return _IMP_core.Surface___repr__(self)
3606 __swig_destroy__ = _IMP_core.delete_Surface
3607 __del__ =
lambda self:
None
3608 Surface_swigregister = _IMP_core.Surface_swigregister
3609 Surface_swigregister(Surface)
3611 def Surface_do_setup_particle(*args):
3613 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3614 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3615 do_setup_particle(Model m, ParticleIndex pi)
3616 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3618 return _IMP_core.Surface_do_setup_particle(*args)
3620 def Surface_setup_particle(*args):
3622 setup_particle(Model m, ParticleIndex pi) -> Surface
3623 setup_particle(_ParticleAdaptor decorator) -> Surface
3624 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3625 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3626 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3627 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3628 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3629 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3631 return _IMP_core.Surface_setup_particle(*args)
3633 def Surface_get_is_setup(*args):
3635 get_is_setup(_ParticleAdaptor p) -> bool
3636 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3638 return _IMP_core.Surface_get_is_setup(*args)
3640 def Surface_get_normal_key(i):
3641 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3642 return _IMP_core.Surface_get_normal_key(i)
3647 get_height(Surface s, XYZR d) -> double
3648 get_height(Surface s, XYZ d) -> double
3650 return _IMP_core.get_height(*args)
3654 get_depth(Surface s, XYZR d) -> double
3655 get_depth(Surface s, XYZ d) -> double
3657 return _IMP_core.get_depth(*args)
3661 get_distance(XYZ a, XYZ b) -> double
3662 get_distance(XYZR a, XYZR b) -> double
3663 get_distance(Surface s, XYZR d) -> double
3664 get_distance(Surface s, XYZ d) -> double
3666 return _IMP_core.get_distance(*args)
3668 """Proxy of C++ IMP::core::SurfaceGeometry class."""
3670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3672 def __init__(self, *args):
3674 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3675 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3676 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3677 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3678 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3679 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3681 this = _IMP_core.new_SurfaceGeometry(*args)
3683 self.this.append(this)
3684 except __builtin__.Exception:
3687 def get_geometry(self):
3688 """get_geometry(SurfaceGeometry self) -> Surface"""
3689 return _IMP_core.SurfaceGeometry_get_geometry(self)
3692 def set_geometry(self, s):
3693 """set_geometry(SurfaceGeometry self, Surface s)"""
3694 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3697 def get_version_info(self):
3698 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3699 return _IMP_core.SurfaceGeometry_get_version_info(self)
3703 """__str__(SurfaceGeometry self) -> std::string"""
3704 return _IMP_core.SurfaceGeometry___str__(self)
3708 """__repr__(SurfaceGeometry self) -> std::string"""
3709 return _IMP_core.SurfaceGeometry___repr__(self)
3714 return _object_cast_to_SurfaceGeometry(o)
3716 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3717 SurfaceGeometry_swigregister(SurfaceGeometry)
3722 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3723 create_geometry(Surface s) -> SurfaceGeometry
3725 return _IMP_core.create_geometry(*args)
3727 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3729 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3731 def __init__(self, s, g):
3732 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3733 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3735 self.this.append(this)
3736 except __builtin__.Exception:
3739 def get_surface(self):
3740 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3741 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3744 def get_geometry(self):
3745 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3746 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3749 def do_get_inputs(self):
3750 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3751 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3754 def do_get_outputs(self):
3755 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3756 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3759 def get_version_info(self):
3760 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3761 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3765 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3766 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3770 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3771 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3776 return _object_cast_to_SurfaceGeometryConstraint(o)
3778 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3779 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3784 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3785 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3787 return _IMP_core.get_constrained_surface_geometry(*args)
3789 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3793 def __init__(self, s, d):
3794 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3795 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3797 self.this.append(this)
3798 except __builtin__.Exception:
3801 def do_get_inputs(self):
3802 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3803 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3806 def do_get_outputs(self):
3807 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3808 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3811 def get_version_info(self):
3812 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3813 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3817 """__str__(LateralSurfaceConstraint self) -> std::string"""
3818 return _IMP_core.LateralSurfaceConstraint___str__(self)
3822 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3823 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3828 return _object_cast_to_LateralSurfaceConstraint(o)
3830 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3831 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3834 """Proxy of C++ IMP::core::AngleTripletScore class."""
3836 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3838 def __init__(self, f):
3839 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3840 this = _IMP_core.new_AngleTripletScore(f)
3842 self.this.append(this)
3843 except __builtin__.Exception:
3846 def do_get_inputs(self, m, pis):
3847 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3848 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3851 def get_version_info(self):
3852 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3853 return _IMP_core.AngleTripletScore_get_version_info(self)
3857 """__str__(AngleTripletScore self) -> std::string"""
3858 return _IMP_core.AngleTripletScore___str__(self)
3862 """__repr__(AngleTripletScore self) -> std::string"""
3863 return _IMP_core.AngleTripletScore___repr__(self)
3868 return _object_cast_to_AngleTripletScore(o)
3870 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
3871 AngleTripletScore_swigregister(AngleTripletScore)
3873 class BallMover(MonteCarloMover):
3874 """Proxy of C++ IMP::core::BallMover class."""
3876 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3878 def __init__(self, *args):
3880 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3881 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3882 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3883 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3884 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3885 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
3887 this = _IMP_core.new_BallMover(*args)
3889 self.this.append(this)
3890 except __builtin__.Exception:
3893 def set_radius(self, radius):
3894 """set_radius(BallMover self, IMP::Float radius)"""
3895 return _IMP_core.BallMover_set_radius(self, radius)
3898 def get_radius(self):
3899 """get_radius(BallMover self) -> IMP::Float"""
3900 return _IMP_core.BallMover_get_radius(self)
3903 def get_version_info(self):
3904 """get_version_info(BallMover self) -> VersionInfo"""
3905 return _IMP_core.BallMover_get_version_info(self)
3909 """__str__(BallMover self) -> std::string"""
3910 return _IMP_core.BallMover___str__(self)
3914 """__repr__(BallMover self) -> std::string"""
3915 return _IMP_core.BallMover___repr__(self)
3920 return _object_cast_to_BallMover(o)
3922 BallMover_swigregister = _IMP_core.BallMover_swigregister
3923 BallMover_swigregister(BallMover)
3925 class SerialMover(MonteCarloMover):
3926 """Proxy of C++ IMP::core::SerialMover class."""
3928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3930 def __init__(self, mvs):
3931 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
3932 this = _IMP_core.new_SerialMover(mvs)
3934 self.this.append(this)
3935 except __builtin__.Exception:
3938 def get_movers(self):
3939 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
3940 return _IMP_core.SerialMover_get_movers(self)
3943 def get_version_info(self):
3944 """get_version_info(SerialMover self) -> VersionInfo"""
3945 return _IMP_core.SerialMover_get_version_info(self)
3949 """__str__(SerialMover self) -> std::string"""
3950 return _IMP_core.SerialMover___str__(self)
3954 """__repr__(SerialMover self) -> std::string"""
3955 return _IMP_core.SerialMover___repr__(self)
3960 return _object_cast_to_SerialMover(o)
3962 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
3963 SerialMover_swigregister(SerialMover)
3965 class SubsetMover(MonteCarloMover):
3966 """Proxy of C++ IMP::core::SubsetMover class."""
3968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3970 def __init__(self, mvs, n):
3971 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
3972 this = _IMP_core.new_SubsetMover(mvs, n)
3974 self.this.append(this)
3975 except __builtin__.Exception:
3978 def get_movers(self):
3979 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
3980 return _IMP_core.SubsetMover_get_movers(self)
3983 def get_subset_size(self):
3984 """get_subset_size(SubsetMover self) -> unsigned int"""
3985 return _IMP_core.SubsetMover_get_subset_size(self)
3988 def get_version_info(self):
3989 """get_version_info(SubsetMover self) -> VersionInfo"""
3990 return _IMP_core.SubsetMover_get_version_info(self)
3994 """__str__(SubsetMover self) -> std::string"""
3995 return _IMP_core.SubsetMover___str__(self)
3999 """__repr__(SubsetMover self) -> std::string"""
4000 return _IMP_core.SubsetMover___repr__(self)
4005 return _object_cast_to_SubsetMover(o)
4007 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4008 SubsetMover_swigregister(SubsetMover)
4010 class DirectionMover(MonteCarloMover):
4011 """Proxy of C++ IMP::core::DirectionMover class."""
4013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4015 def __init__(self, *args):
4017 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4018 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4020 this = _IMP_core.new_DirectionMover(*args)
4022 self.this.append(this)
4023 except __builtin__.Exception:
4026 def set_maximum_rotation(self, mr):
4027 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4028 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4031 def set_reflect_probability(self, rp):
4032 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4033 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4036 def get_maximum_rotation(self):
4037 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4038 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4041 def get_reflect_probability(self):
4042 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4043 return _IMP_core.DirectionMover_get_reflect_probability(self)
4046 def get_direction(self):
4047 """get_direction(DirectionMover self) -> Direction"""
4048 return _IMP_core.DirectionMover_get_direction(self)
4051 def get_version_info(self):
4052 """get_version_info(DirectionMover self) -> VersionInfo"""
4053 return _IMP_core.DirectionMover_get_version_info(self)
4057 """__str__(DirectionMover self) -> std::string"""
4058 return _IMP_core.DirectionMover___str__(self)
4062 """__repr__(DirectionMover self) -> std::string"""
4063 return _IMP_core.DirectionMover___repr__(self)
4068 return _object_cast_to_DirectionMover(o)
4070 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4071 DirectionMover_swigregister(DirectionMover)
4073 class SurfaceMover(MonteCarloMover):
4074 """Proxy of C++ IMP::core::SurfaceMover class."""
4076 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4078 def __init__(self, *args):
4080 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4081 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4083 this = _IMP_core.new_SurfaceMover(*args)
4085 self.this.append(this)
4086 except __builtin__.Exception:
4089 def set_maximum_translation(self, mt):
4090 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4091 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4094 def set_maximum_rotation(self, mr):
4095 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4096 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4099 def set_reflect_probability(self, rp):
4100 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4101 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4104 def get_maximum_translation(self):
4105 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4106 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4109 def get_maximum_rotation(self):
4110 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4111 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4114 def get_reflect_probability(self):
4115 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4116 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4119 def get_surface(self):
4120 """get_surface(SurfaceMover self) -> Surface"""
4121 return _IMP_core.SurfaceMover_get_surface(self)
4124 def get_version_info(self):
4125 """get_version_info(SurfaceMover self) -> VersionInfo"""
4126 return _IMP_core.SurfaceMover_get_version_info(self)
4130 """__str__(SurfaceMover self) -> std::string"""
4131 return _IMP_core.SurfaceMover___str__(self)
4135 """__repr__(SurfaceMover self) -> std::string"""
4136 return _IMP_core.SurfaceMover___repr__(self)
4141 return _object_cast_to_SurfaceMover(o)
4143 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4144 SurfaceMover_swigregister(SurfaceMover)
4146 class BoxSweepClosePairsFinder(ClosePairsFinder):
4147 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
4149 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4152 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4153 this = _IMP_core.new_BoxSweepClosePairsFinder()
4155 self.this.append(this)
4156 except __builtin__.Exception:
4159 def get_close_pairs(self, *args):
4161 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4162 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4163 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4164 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4166 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4169 def do_get_inputs(self, m, pis):
4170 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4171 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4174 def get_version_info(self):
4175 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4176 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4180 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4181 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4185 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4186 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4191 return _object_cast_to_BoxSweepClosePairsFinder(o)
4193 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4194 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4197 """Proxy of C++ IMP::core::CentroidOfRefined class."""
4199 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4201 def __init__(self, *args):
4203 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4204 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4205 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4207 this = _IMP_core.new_CentroidOfRefined(*args)
4209 self.this.append(this)
4210 except __builtin__.Exception:
4213 def do_get_inputs(self, m, pis):
4214 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4215 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4218 def do_get_outputs(self, m, pis):
4219 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4220 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4223 def get_version_info(self):
4224 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4225 return _IMP_core.CentroidOfRefined_get_version_info(self)
4229 """__str__(CentroidOfRefined self) -> std::string"""
4230 return _IMP_core.CentroidOfRefined___str__(self)
4234 """__repr__(CentroidOfRefined self) -> std::string"""
4235 return _IMP_core.CentroidOfRefined___repr__(self)
4240 return _object_cast_to_CentroidOfRefined(o)
4242 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4243 CentroidOfRefined_swigregister(CentroidOfRefined)
4245 class Centroid(XYZ):
4246 """Proxy of C++ IMP::core::Centroid class."""
4248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4250 def get_constraint(self):
4251 """get_constraint(Centroid self) -> Constraint"""
4252 return _IMP_core.Centroid_get_constraint(self)
4255 def __init__(self, *args):
4257 __init__(IMP::core::Centroid self) -> Centroid
4258 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4259 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4261 this = _IMP_core.new_Centroid(*args)
4263 self.this.append(this)
4264 except __builtin__.Exception:
4267 def show(self, *args):
4269 show(Centroid self, _ostream out)
4272 return _IMP_core.Centroid_show(self, *args)
4275 def setup_particle(*args):
4277 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4278 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4279 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4280 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4282 return _IMP_core.Centroid_setup_particle(*args)
4284 setup_particle = staticmethod(setup_particle)
4286 def get_is_setup(*args):
4288 get_is_setup(_ParticleAdaptor p) -> bool
4289 get_is_setup(Model m, ParticleIndex pi) -> bool
4291 return _IMP_core.Centroid_get_is_setup(*args)
4293 get_is_setup = staticmethod(get_is_setup)
4295 def add_attribute(self, *args):
4297 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4298 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4299 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4300 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4301 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4302 add_attribute(Centroid self, ObjectKey a0, Object a1)
4304 return _IMP_core.Centroid_add_attribute(self, *args)
4307 def get_value(self, *args):
4309 get_value(Centroid self, FloatKey a0) -> IMP::Float
4310 get_value(Centroid self, IntKey a0) -> IMP::Int
4311 get_value(Centroid self, StringKey a0) -> IMP::String
4312 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4313 get_value(Centroid self, ObjectKey a0) -> Object
4315 return _IMP_core.Centroid_get_value(self, *args)
4318 def set_value(self, *args):
4320 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4321 set_value(Centroid self, IntKey a0, IMP::Int a1)
4322 set_value(Centroid self, StringKey a0, IMP::String a1)
4323 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4324 set_value(Centroid self, ObjectKey a0, Object a1)
4326 return _IMP_core.Centroid_set_value(self, *args)
4329 def remove_attribute(self, *args):
4331 remove_attribute(Centroid self, FloatKey a0)
4332 remove_attribute(Centroid self, IntKey a0)
4333 remove_attribute(Centroid self, StringKey a0)
4334 remove_attribute(Centroid self, ParticleIndexKey a0)
4335 remove_attribute(Centroid self, ObjectKey a0)
4337 return _IMP_core.Centroid_remove_attribute(self, *args)
4340 def has_attribute(self, *args):
4342 has_attribute(Centroid self, FloatKey a0) -> bool
4343 has_attribute(Centroid self, IntKey a0) -> bool
4344 has_attribute(Centroid self, StringKey a0) -> bool
4345 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4346 has_attribute(Centroid self, ObjectKey a0) -> bool
4348 return _IMP_core.Centroid_has_attribute(self, *args)
4351 def get_derivative(self, a0):
4352 """get_derivative(Centroid self, FloatKey a0) -> double"""
4353 return _IMP_core.Centroid_get_derivative(self, a0)
4357 """get_name(Centroid self) -> std::string"""
4358 return _IMP_core.Centroid_get_name(self)
4361 def clear_caches(self):
4362 """clear_caches(Centroid self)"""
4363 return _IMP_core.Centroid_clear_caches(self)
4366 def set_name(self, a0):
4367 """set_name(Centroid self, std::string a0)"""
4368 return _IMP_core.Centroid_set_name(self, a0)
4372 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4373 return _IMP_core.Centroid_set_check_level(self, a0)
4376 def add_to_derivative(self, a0, a1, a2):
4377 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4378 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4381 def set_is_optimized(self, a0, a1):
4382 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4383 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4386 def get_is_optimized(self, a0):
4387 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4388 return _IMP_core.Centroid_get_is_optimized(self, a0)
4392 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4393 return _IMP_core.Centroid_get_check_level(self)
4396 def __eq__(self, *args):
4398 __eq__(Centroid self, Centroid o) -> bool
4399 __eq__(Centroid self, Particle d) -> bool
4401 return _IMP_core.Centroid___eq__(self, *args)
4404 def __ne__(self, *args):
4406 __ne__(Centroid self, Centroid o) -> bool
4407 __ne__(Centroid self, Particle d) -> bool
4409 return _IMP_core.Centroid___ne__(self, *args)
4412 def __le__(self, *args):
4414 __le__(Centroid self, Centroid o) -> bool
4415 __le__(Centroid self, Particle d) -> bool
4417 return _IMP_core.Centroid___le__(self, *args)
4420 def __lt__(self, *args):
4422 __lt__(Centroid self, Centroid o) -> bool
4423 __lt__(Centroid self, Particle d) -> bool
4425 return _IMP_core.Centroid___lt__(self, *args)
4428 def __ge__(self, *args):
4430 __ge__(Centroid self, Centroid o) -> bool
4431 __ge__(Centroid self, Particle d) -> bool
4433 return _IMP_core.Centroid___ge__(self, *args)
4436 def __gt__(self, *args):
4438 __gt__(Centroid self, Centroid o) -> bool
4439 __gt__(Centroid self, Particle d) -> bool
4441 return _IMP_core.Centroid___gt__(self, *args)
4445 """__hash__(Centroid self) -> std::size_t"""
4446 return _IMP_core.Centroid___hash__(self)
4450 """__str__(Centroid self) -> std::string"""
4451 return _IMP_core.Centroid___str__(self)
4455 """__repr__(Centroid self) -> std::string"""
4456 return _IMP_core.Centroid___repr__(self)
4458 __swig_destroy__ = _IMP_core.delete_Centroid
4459 __del__ =
lambda self:
None
4460 Centroid_swigregister = _IMP_core.Centroid_swigregister
4461 Centroid_swigregister(Centroid)
4463 def Centroid_setup_particle(*args):
4465 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4466 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4467 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4468 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4470 return _IMP_core.Centroid_setup_particle(*args)
4472 def Centroid_get_is_setup(*args):
4474 get_is_setup(_ParticleAdaptor p) -> bool
4475 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4477 return _IMP_core.Centroid_get_is_setup(*args)
4480 """Proxy of C++ IMP::core::ChecksScoreState class."""
4482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4484 def __init__(self, m, probability):
4485 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4486 this = _IMP_core.new_ChecksScoreState(m, probability)
4488 self.this.append(this)
4489 except __builtin__.Exception:
4492 def get_number_of_checked(self):
4493 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4494 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4497 def do_before_evaluate(self):
4498 """do_before_evaluate(ChecksScoreState self)"""
4499 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4502 def do_after_evaluate(self, da):
4503 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4504 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4507 def do_get_outputs(self):
4508 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4509 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4512 def do_get_inputs(self):
4513 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4514 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4517 def get_version_info(self):
4518 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4519 return _IMP_core.ChecksScoreState_get_version_info(self)
4523 """__str__(ChecksScoreState self) -> std::string"""
4524 return _IMP_core.ChecksScoreState___str__(self)
4528 """__repr__(ChecksScoreState self) -> std::string"""
4529 return _IMP_core.ChecksScoreState___repr__(self)
4534 return _object_cast_to_ChecksScoreState(o)
4536 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4537 ChecksScoreState_swigregister(ChecksScoreState)
4540 """Proxy of C++ IMP::core::ChildrenRefiner class."""
4542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4544 def __init__(self, tr):
4545 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4546 this = _IMP_core.new_ChildrenRefiner(tr)
4548 self.this.append(this)
4549 except __builtin__.Exception:
4552 def do_get_inputs(self, m, pis):
4553 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4554 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4557 def get_version_info(self):
4558 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4559 return _IMP_core.ChildrenRefiner_get_version_info(self)
4563 """__str__(ChildrenRefiner self) -> std::string"""
4564 return _IMP_core.ChildrenRefiner___str__(self)
4568 """__repr__(ChildrenRefiner self) -> std::string"""
4569 return _IMP_core.ChildrenRefiner___repr__(self)
4574 return _object_cast_to_ChildrenRefiner(o)
4576 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4577 ChildrenRefiner_swigregister(ChildrenRefiner)
4580 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
4582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4584 def __init__(self, values, minrange, spacing):
4585 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4586 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4588 self.this.append(this)
4589 except __builtin__.Exception:
4592 def get_version_info(self):
4593 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4594 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4597 def do_show(self, out):
4598 """do_show(ClosedCubicSpline self, _ostream out)"""
4599 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4603 """__str__(ClosedCubicSpline self) -> std::string"""
4604 return _IMP_core.ClosedCubicSpline___str__(self)
4608 """__repr__(ClosedCubicSpline self) -> std::string"""
4609 return _IMP_core.ClosedCubicSpline___repr__(self)
4614 return _object_cast_to_ClosedCubicSpline(o)
4616 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4617 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4620 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
4622 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4624 def __init__(self, f, r, k=1):
4626 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4627 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4629 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4631 self.this.append(this)
4632 except __builtin__.Exception:
4635 def get_close_pairs(self, pp):
4636 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4637 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4640 def create_current_decomposition(self, m, vt):
4641 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4642 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4645 def do_get_inputs(self, m, pis):
4646 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4647 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4650 def get_version_info(self):
4651 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4652 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4656 """__str__(KClosePairsPairScore self) -> std::string"""
4657 return _IMP_core.KClosePairsPairScore___str__(self)
4661 """__repr__(KClosePairsPairScore self) -> std::string"""
4662 return _IMP_core.KClosePairsPairScore___repr__(self)
4667 return _object_cast_to_KClosePairsPairScore(o)
4669 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4670 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4673 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4675 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4677 def __init__(self, f, r, max_distance):
4678 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4679 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4681 self.this.append(this)
4682 except __builtin__.Exception:
4685 def get_close_pairs(self, pp):
4686 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4687 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4690 def create_current_decomposition(self, m, vt):
4691 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4692 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4695 def do_get_inputs(self, m, pis):
4696 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4697 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4700 def get_version_info(self):
4701 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4702 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4706 """__str__(ClosePairsPairScore self) -> std::string"""
4707 return _IMP_core.ClosePairsPairScore___str__(self)
4711 """__repr__(ClosePairsPairScore self) -> std::string"""
4712 return _IMP_core.ClosePairsPairScore___repr__(self)
4717 return _object_cast_to_ClosePairsPairScore(o)
4719 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4720 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4723 """Proxy of C++ IMP::core::ConjugateGradients class."""
4725 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4727 def __init__(self, *args):
4729 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4730 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4732 this = _IMP_core.new_ConjugateGradients(*args)
4734 self.this.append(this)
4735 except __builtin__.Exception:
4738 def set_gradient_threshold(self, t):
4739 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4740 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4743 def set_threshold(self, t):
4744 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4745 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4748 def set_max_change(self, t):
4749 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4750 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4753 def do_optimize(self, max_steps):
4754 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4755 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4758 def get_version_info(self):
4759 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4760 return _IMP_core.ConjugateGradients_get_version_info(self)
4764 """__str__(ConjugateGradients self) -> std::string"""
4765 return _IMP_core.ConjugateGradients___str__(self)
4769 """__repr__(ConjugateGradients self) -> std::string"""
4770 return _IMP_core.ConjugateGradients___repr__(self)
4775 return _object_cast_to_ConjugateGradients(o)
4777 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4778 ConjugateGradients_swigregister(ConjugateGradients)
4781 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4785 def __init__(self, ps, sc):
4786 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4787 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4789 self.this.append(this)
4790 except __builtin__.Exception:
4793 def get_connected_index_pairs(self):
4794 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4795 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4798 def get_connected_pairs(self):
4799 """get_connected_pairs(ConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
4800 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
4803 def get_pair_score(self):
4804 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4805 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4808 def do_create_current_decomposition(self):
4809 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4810 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4813 def do_get_inputs(self):
4814 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4815 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4818 def get_version_info(self):
4819 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4820 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4824 """__str__(ConnectivityRestraint self) -> std::string"""
4825 return _IMP_core.ConnectivityRestraint___str__(self)
4829 """__repr__(ConnectivityRestraint self) -> std::string"""
4830 return _IMP_core.ConnectivityRestraint___repr__(self)
4835 return _object_cast_to_ConnectivityRestraint(o)
4837 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4838 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4841 """Proxy of C++ IMP::core::ConstantRestraint class."""
4843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4845 def __init__(self, m, v):
4846 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4847 this = _IMP_core.new_ConstantRestraint(m, v)
4849 self.this.append(this)
4850 except __builtin__.Exception:
4853 def do_get_inputs(self):
4854 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4855 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4858 def get_version_info(self):
4859 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4860 return _IMP_core.ConstantRestraint_get_version_info(self)
4864 """__str__(ConstantRestraint self) -> std::string"""
4865 return _IMP_core.ConstantRestraint___str__(self)
4869 """__repr__(ConstantRestraint self) -> std::string"""
4870 return _IMP_core.ConstantRestraint___repr__(self)
4875 return _object_cast_to_ConstantRestraint(o)
4877 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
4878 ConstantRestraint_swigregister(ConstantRestraint)
4881 """Proxy of C++ IMP::core::Cosine class."""
4883 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4885 def __init__(self, force_constant, periodicity, phase):
4886 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
4887 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
4889 self.this.append(this)
4890 except __builtin__.Exception:
4893 def get_version_info(self):
4894 """get_version_info(Cosine self) -> VersionInfo"""
4895 return _IMP_core.Cosine_get_version_info(self)
4898 def do_show(self, out):
4899 """do_show(Cosine self, _ostream out)"""
4900 return _IMP_core.Cosine_do_show(self, out)
4904 """__str__(Cosine self) -> std::string"""
4905 return _IMP_core.Cosine___str__(self)
4909 """__repr__(Cosine self) -> std::string"""
4910 return _IMP_core.Cosine___repr__(self)
4915 return _object_cast_to_Cosine(o)
4917 Cosine_swigregister = _IMP_core.Cosine_swigregister
4918 Cosine_swigregister(Cosine)
4921 """Proxy of C++ IMP::core::CoverRefined class."""
4923 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4925 def __init__(self, ref, slack=0):
4927 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
4928 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
4930 this = _IMP_core.new_CoverRefined(ref, slack)
4932 self.this.append(this)
4933 except __builtin__.Exception:
4936 def set_slack(self, slack):
4937 """set_slack(CoverRefined self, IMP::Float slack)"""
4938 return _IMP_core.CoverRefined_set_slack(self, slack)
4941 def do_get_inputs(self, m, pis):
4942 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4943 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
4946 def do_get_outputs(self, m, pis):
4947 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4948 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
4951 def get_version_info(self):
4952 """get_version_info(CoverRefined self) -> VersionInfo"""
4953 return _IMP_core.CoverRefined_get_version_info(self)
4957 """__str__(CoverRefined self) -> std::string"""
4958 return _IMP_core.CoverRefined___str__(self)
4962 """__repr__(CoverRefined self) -> std::string"""
4963 return _IMP_core.CoverRefined___repr__(self)
4968 return _object_cast_to_CoverRefined(o)
4970 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
4971 CoverRefined_swigregister(CoverRefined)
4974 """Proxy of C++ IMP::core::Cover class."""
4976 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4978 def get_constraint(self):
4979 """get_constraint(Cover self) -> Constraint"""
4980 return _IMP_core.Cover_get_constraint(self)
4983 def __init__(self, *args):
4985 __init__(IMP::core::Cover self) -> Cover
4986 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
4987 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
4989 this = _IMP_core.new_Cover(*args)
4991 self.this.append(this)
4992 except __builtin__.Exception:
4995 def show(self, *args):
4997 show(Cover self, _ostream out)
5000 return _IMP_core.Cover_show(self, *args)
5003 def setup_particle(*args):
5005 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5006 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5007 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5008 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5010 return _IMP_core.Cover_setup_particle(*args)
5012 setup_particle = staticmethod(setup_particle)
5014 def get_is_setup(*args):
5016 get_is_setup(_ParticleAdaptor p) -> bool
5017 get_is_setup(Model m, ParticleIndex pi) -> bool
5019 return _IMP_core.Cover_get_is_setup(*args)
5021 get_is_setup = staticmethod(get_is_setup)
5023 def add_attribute(self, *args):
5025 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5026 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5027 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5028 add_attribute(Cover self, StringKey a0, IMP::String a1)
5029 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5030 add_attribute(Cover self, ObjectKey a0, Object a1)
5032 return _IMP_core.Cover_add_attribute(self, *args)
5035 def get_value(self, *args):
5037 get_value(Cover self, FloatKey a0) -> IMP::Float
5038 get_value(Cover self, IntKey a0) -> IMP::Int
5039 get_value(Cover self, StringKey a0) -> IMP::String
5040 get_value(Cover self, ParticleIndexKey a0) -> Particle
5041 get_value(Cover self, ObjectKey a0) -> Object
5043 return _IMP_core.Cover_get_value(self, *args)
5046 def set_value(self, *args):
5048 set_value(Cover self, FloatKey a0, IMP::Float a1)
5049 set_value(Cover self, IntKey a0, IMP::Int a1)
5050 set_value(Cover self, StringKey a0, IMP::String a1)
5051 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5052 set_value(Cover self, ObjectKey a0, Object a1)
5054 return _IMP_core.Cover_set_value(self, *args)
5057 def remove_attribute(self, *args):
5059 remove_attribute(Cover self, FloatKey a0)
5060 remove_attribute(Cover self, IntKey a0)
5061 remove_attribute(Cover self, StringKey a0)
5062 remove_attribute(Cover self, ParticleIndexKey a0)
5063 remove_attribute(Cover self, ObjectKey a0)
5065 return _IMP_core.Cover_remove_attribute(self, *args)
5068 def has_attribute(self, *args):
5070 has_attribute(Cover self, FloatKey a0) -> bool
5071 has_attribute(Cover self, IntKey a0) -> bool
5072 has_attribute(Cover self, StringKey a0) -> bool
5073 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5074 has_attribute(Cover self, ObjectKey a0) -> bool
5076 return _IMP_core.Cover_has_attribute(self, *args)
5079 def get_derivative(self, a0):
5080 """get_derivative(Cover self, FloatKey a0) -> double"""
5081 return _IMP_core.Cover_get_derivative(self, a0)
5085 """get_name(Cover self) -> std::string"""
5086 return _IMP_core.Cover_get_name(self)
5089 def clear_caches(self):
5090 """clear_caches(Cover self)"""
5091 return _IMP_core.Cover_clear_caches(self)
5094 def set_name(self, a0):
5095 """set_name(Cover self, std::string a0)"""
5096 return _IMP_core.Cover_set_name(self, a0)
5100 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5101 return _IMP_core.Cover_set_check_level(self, a0)
5104 def add_to_derivative(self, a0, a1, a2):
5105 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5106 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5109 def set_is_optimized(self, a0, a1):
5110 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5111 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5114 def get_is_optimized(self, a0):
5115 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5116 return _IMP_core.Cover_get_is_optimized(self, a0)
5120 """get_check_level(Cover self) -> IMP::CheckLevel"""
5121 return _IMP_core.Cover_get_check_level(self)
5124 def __eq__(self, *args):
5126 __eq__(Cover self, Cover o) -> bool
5127 __eq__(Cover self, Particle d) -> bool
5129 return _IMP_core.Cover___eq__(self, *args)
5132 def __ne__(self, *args):
5134 __ne__(Cover self, Cover o) -> bool
5135 __ne__(Cover self, Particle d) -> bool
5137 return _IMP_core.Cover___ne__(self, *args)
5140 def __le__(self, *args):
5142 __le__(Cover self, Cover o) -> bool
5143 __le__(Cover self, Particle d) -> bool
5145 return _IMP_core.Cover___le__(self, *args)
5148 def __lt__(self, *args):
5150 __lt__(Cover self, Cover o) -> bool
5151 __lt__(Cover self, Particle d) -> bool
5153 return _IMP_core.Cover___lt__(self, *args)
5156 def __ge__(self, *args):
5158 __ge__(Cover self, Cover o) -> bool
5159 __ge__(Cover self, Particle d) -> bool
5161 return _IMP_core.Cover___ge__(self, *args)
5164 def __gt__(self, *args):
5166 __gt__(Cover self, Cover o) -> bool
5167 __gt__(Cover self, Particle d) -> bool
5169 return _IMP_core.Cover___gt__(self, *args)
5173 """__hash__(Cover self) -> std::size_t"""
5174 return _IMP_core.Cover___hash__(self)
5178 """__str__(Cover self) -> std::string"""
5179 return _IMP_core.Cover___str__(self)
5183 """__repr__(Cover self) -> std::string"""
5184 return _IMP_core.Cover___repr__(self)
5186 __swig_destroy__ = _IMP_core.delete_Cover
5187 __del__ =
lambda self:
None
5188 Cover_swigregister = _IMP_core.Cover_swigregister
5189 Cover_swigregister(Cover)
5191 def Cover_setup_particle(*args):
5193 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5194 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5195 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5196 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5198 return _IMP_core.Cover_setup_particle(*args)
5200 def Cover_get_is_setup(*args):
5202 get_is_setup(_ParticleAdaptor p) -> bool
5203 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5205 return _IMP_core.Cover_get_is_setup(*args)
5208 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
5210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5212 def __init__(self, *args):
5214 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5215 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5217 this = _IMP_core.new_DerivativesFromRefined(*args)
5219 self.this.append(this)
5220 except __builtin__.Exception:
5223 def do_get_inputs(self, m, pis):
5224 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5225 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5228 def do_get_outputs(self, m, pis):
5229 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5230 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5233 def get_version_info(self):
5234 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5235 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5239 """__str__(DerivativesFromRefined self) -> std::string"""
5240 return _IMP_core.DerivativesFromRefined___str__(self)
5244 """__repr__(DerivativesFromRefined self) -> std::string"""
5245 return _IMP_core.DerivativesFromRefined___repr__(self)
5250 return _object_cast_to_DerivativesFromRefined(o)
5252 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5253 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5256 """Proxy of C++ IMP::core::DerivativesToRefined class."""
5258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5260 def __init__(self, *args):
5262 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5263 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5265 this = _IMP_core.new_DerivativesToRefined(*args)
5267 self.this.append(this)
5268 except __builtin__.Exception:
5271 def do_get_inputs(self, m, pis):
5272 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5273 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5276 def do_get_outputs(self, m, pis):
5277 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5278 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5281 def get_version_info(self):
5282 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5283 return _IMP_core.DerivativesToRefined_get_version_info(self)
5287 """__str__(DerivativesToRefined self) -> std::string"""
5288 return _IMP_core.DerivativesToRefined___str__(self)
5292 """__repr__(DerivativesToRefined self) -> std::string"""
5293 return _IMP_core.DerivativesToRefined___repr__(self)
5298 return _object_cast_to_DerivativesToRefined(o)
5300 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5301 DerivativesToRefined_swigregister(DerivativesToRefined)
5304 """Proxy of C++ IMP::core::DiameterRestraint class."""
5306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5308 def __init__(self, f, sc, diameter):
5309 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5310 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5312 self.this.append(this)
5313 except __builtin__.Exception:
5316 def do_get_inputs(self):
5317 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5318 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5321 def get_version_info(self):
5322 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5323 return _IMP_core.DiameterRestraint_get_version_info(self)
5326 def do_create_decomposition(self):
5327 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5328 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5331 def do_create_current_decomposition(self):
5332 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5333 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5337 """__str__(DiameterRestraint self) -> std::string"""
5338 return _IMP_core.DiameterRestraint___str__(self)
5342 """__repr__(DiameterRestraint self) -> std::string"""
5343 return _IMP_core.DiameterRestraint___repr__(self)
5348 return _object_cast_to_DiameterRestraint(o)
5350 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5351 DiameterRestraint_swigregister(DiameterRestraint)
5354 """Proxy of C++ IMP::core::Transform class."""
5356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5358 def __init__(self, t, ignore_non_xyz=False):
5360 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5361 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5363 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5365 self.this.append(this)
5366 except __builtin__.Exception:
5369 def do_get_inputs(self, m, pis):
5370 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5371 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5374 def do_get_outputs(self, m, pis):
5375 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5376 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5379 def get_version_info(self):
5380 """get_version_info(Transform self) -> VersionInfo"""
5381 return _IMP_core.Transform_get_version_info(self)
5385 """__str__(Transform self) -> std::string"""
5386 return _IMP_core.Transform___str__(self)
5390 """__repr__(Transform self) -> std::string"""
5391 return _IMP_core.Transform___repr__(self)
5396 return _object_cast_to_Transform(o)
5398 Transform_swigregister = _IMP_core.Transform_swigregister
5399 Transform_swigregister(Transform)
5402 """Proxy of C++ IMP::core::Reference class."""
5404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5406 def __init__(self, *args):
5408 __init__(IMP::core::Reference self) -> Reference
5409 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5410 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5412 this = _IMP_core.new_Reference(*args)
5414 self.this.append(this)
5415 except __builtin__.Exception:
5418 def show(self, *args):
5420 show(Reference self, _ostream out)
5421 show(Reference self)
5423 return _IMP_core.Reference_show(self, *args)
5426 def setup_particle(*args):
5428 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5429 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5431 return _IMP_core.Reference_setup_particle(*args)
5433 setup_particle = staticmethod(setup_particle)
5435 def get_reference_particle(self):
5436 """get_reference_particle(Reference self) -> Particle"""
5437 return _IMP_core.Reference_get_reference_particle(self)
5440 def get_is_setup(*args):
5442 get_is_setup(_ParticleAdaptor p) -> bool
5443 get_is_setup(Model m, ParticleIndex pi) -> bool
5445 return _IMP_core.Reference_get_is_setup(*args)
5447 get_is_setup = staticmethod(get_is_setup)
5449 def get_reference_key():
5450 """get_reference_key() -> ParticleIndexKey"""
5451 return _IMP_core.Reference_get_reference_key()
5453 get_reference_key = staticmethod(get_reference_key)
5455 def add_attribute(self, *args):
5457 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5458 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5459 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5460 add_attribute(Reference self, StringKey a0, IMP::String a1)
5461 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5462 add_attribute(Reference self, ObjectKey a0, Object a1)
5464 return _IMP_core.Reference_add_attribute(self, *args)
5467 def get_value(self, *args):
5469 get_value(Reference self, FloatKey a0) -> IMP::Float
5470 get_value(Reference self, IntKey a0) -> IMP::Int
5471 get_value(Reference self, StringKey a0) -> IMP::String
5472 get_value(Reference self, ParticleIndexKey a0) -> Particle
5473 get_value(Reference self, ObjectKey a0) -> Object
5475 return _IMP_core.Reference_get_value(self, *args)
5478 def set_value(self, *args):
5480 set_value(Reference self, FloatKey a0, IMP::Float a1)
5481 set_value(Reference self, IntKey a0, IMP::Int a1)
5482 set_value(Reference self, StringKey a0, IMP::String a1)
5483 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5484 set_value(Reference self, ObjectKey a0, Object a1)
5486 return _IMP_core.Reference_set_value(self, *args)
5489 def remove_attribute(self, *args):
5491 remove_attribute(Reference self, FloatKey a0)
5492 remove_attribute(Reference self, IntKey a0)
5493 remove_attribute(Reference self, StringKey a0)
5494 remove_attribute(Reference self, ParticleIndexKey a0)
5495 remove_attribute(Reference self, ObjectKey a0)
5497 return _IMP_core.Reference_remove_attribute(self, *args)
5500 def has_attribute(self, *args):
5502 has_attribute(Reference self, FloatKey a0) -> bool
5503 has_attribute(Reference self, IntKey a0) -> bool
5504 has_attribute(Reference self, StringKey a0) -> bool
5505 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5506 has_attribute(Reference self, ObjectKey a0) -> bool
5508 return _IMP_core.Reference_has_attribute(self, *args)
5511 def get_derivative(self, a0):
5512 """get_derivative(Reference self, FloatKey a0) -> double"""
5513 return _IMP_core.Reference_get_derivative(self, a0)
5517 """get_name(Reference self) -> std::string"""
5518 return _IMP_core.Reference_get_name(self)
5521 def clear_caches(self):
5522 """clear_caches(Reference self)"""
5523 return _IMP_core.Reference_clear_caches(self)
5526 def set_name(self, a0):
5527 """set_name(Reference self, std::string a0)"""
5528 return _IMP_core.Reference_set_name(self, a0)
5532 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5533 return _IMP_core.Reference_set_check_level(self, a0)
5536 def add_to_derivative(self, a0, a1, a2):
5537 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5538 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5541 def set_is_optimized(self, a0, a1):
5542 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5543 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5546 def get_is_optimized(self, a0):
5547 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5548 return _IMP_core.Reference_get_is_optimized(self, a0)
5552 """get_check_level(Reference self) -> IMP::CheckLevel"""
5553 return _IMP_core.Reference_get_check_level(self)
5556 def __eq__(self, *args):
5558 __eq__(Reference self, Reference o) -> bool
5559 __eq__(Reference self, Particle d) -> bool
5561 return _IMP_core.Reference___eq__(self, *args)
5564 def __ne__(self, *args):
5566 __ne__(Reference self, Reference o) -> bool
5567 __ne__(Reference self, Particle d) -> bool
5569 return _IMP_core.Reference___ne__(self, *args)
5572 def __le__(self, *args):
5574 __le__(Reference self, Reference o) -> bool
5575 __le__(Reference self, Particle d) -> bool
5577 return _IMP_core.Reference___le__(self, *args)
5580 def __lt__(self, *args):
5582 __lt__(Reference self, Reference o) -> bool
5583 __lt__(Reference self, Particle d) -> bool
5585 return _IMP_core.Reference___lt__(self, *args)
5588 def __ge__(self, *args):
5590 __ge__(Reference self, Reference o) -> bool
5591 __ge__(Reference self, Particle d) -> bool
5593 return _IMP_core.Reference___ge__(self, *args)
5596 def __gt__(self, *args):
5598 __gt__(Reference self, Reference o) -> bool
5599 __gt__(Reference self, Particle d) -> bool
5601 return _IMP_core.Reference___gt__(self, *args)
5605 """__hash__(Reference self) -> std::size_t"""
5606 return _IMP_core.Reference___hash__(self)
5610 """__str__(Reference self) -> std::string"""
5611 return _IMP_core.Reference___str__(self)
5615 """__repr__(Reference self) -> std::string"""
5616 return _IMP_core.Reference___repr__(self)
5618 __swig_destroy__ = _IMP_core.delete_Reference
5619 __del__ =
lambda self:
None
5620 Reference_swigregister = _IMP_core.Reference_swigregister
5621 Reference_swigregister(Reference)
5623 def Reference_setup_particle(*args):
5625 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5626 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5628 return _IMP_core.Reference_setup_particle(*args)
5630 def Reference_get_is_setup(*args):
5632 get_is_setup(_ParticleAdaptor p) -> bool
5633 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5635 return _IMP_core.Reference_get_is_setup(*args)
5637 def Reference_get_reference_key():
5638 """Reference_get_reference_key() -> ParticleIndexKey"""
5639 return _IMP_core.Reference_get_reference_key()
5642 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5646 def __init__(self, t, r):
5647 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5648 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5650 self.this.append(this)
5651 except __builtin__.Exception:
5654 def do_get_inputs(self, m, pis):
5655 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5656 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5659 def do_get_outputs(self, m, pis):
5660 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5661 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5664 def get_version_info(self):
5665 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5666 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5670 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5671 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5675 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5676 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5681 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5683 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5684 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5687 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5691 def __init__(self, *args):
5693 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5694 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5696 this = _IMP_core.new_TransformationSymmetry(*args)
5698 self.this.append(this)
5699 except __builtin__.Exception:
5702 def get_transformation(self):
5703 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5704 return _IMP_core.TransformationSymmetry_get_transformation(self)
5707 def set_transformation(self, t):
5708 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5709 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5712 def do_get_inputs(self, m, pis):
5713 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5714 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5717 def do_get_outputs(self, m, pis):
5718 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5719 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5722 def get_version_info(self):
5723 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5724 return _IMP_core.TransformationSymmetry_get_version_info(self)
5728 """__str__(TransformationSymmetry self) -> std::string"""
5729 return _IMP_core.TransformationSymmetry___str__(self)
5733 """__repr__(TransformationSymmetry self) -> std::string"""
5734 return _IMP_core.TransformationSymmetry___repr__(self)
5739 return _object_cast_to_TransformationSymmetry(o)
5741 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5742 TransformationSymmetry_swigregister(TransformationSymmetry)
5744 class TransformationSymmetryMover(MonteCarloMover):
5745 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5747 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5749 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5750 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5751 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5753 self.this.append(this)
5754 except __builtin__.Exception:
5757 def set_maximum_translation(self, mt):
5758 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5759 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5762 def set_maximum_rotation(self, mr):
5763 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5764 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5767 def get_maximum_translation(self):
5768 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5769 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5772 def get_maximum_rotation(self):
5773 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5774 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5777 def get_version_info(self):
5778 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5779 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5783 """__str__(TransformationSymmetryMover self) -> std::string"""
5784 return _IMP_core.TransformationSymmetryMover___str__(self)
5788 """__repr__(TransformationSymmetryMover self) -> std::string"""
5789 return _IMP_core.TransformationSymmetryMover___repr__(self)
5794 return _object_cast_to_TransformationSymmetryMover(o)
5796 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5797 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5800 """Proxy of C++ IMP::core::DihedralRestraint class."""
5802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5804 def __init__(self, m, score_func, p1, p2, p3, p4):
5805 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5806 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5808 self.this.append(this)
5809 except __builtin__.Exception:
5812 def do_get_inputs(self):
5813 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5814 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5817 def get_version_info(self):
5818 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5819 return _IMP_core.DihedralRestraint_get_version_info(self)
5823 """__str__(DihedralRestraint self) -> std::string"""
5824 return _IMP_core.DihedralRestraint___str__(self)
5828 """__repr__(DihedralRestraint self) -> std::string"""
5829 return _IMP_core.DihedralRestraint___repr__(self)
5834 return _object_cast_to_DihedralRestraint(o)
5836 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5837 DihedralRestraint_swigregister(DihedralRestraint)
5840 """Proxy of C++ IMP::core::DistancePairScore class."""
5842 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5844 def __init__(self, *args):
5846 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
5847 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
5849 this = _IMP_core.new_DistancePairScore(*args)
5851 self.this.append(this)
5852 except __builtin__.Exception:
5855 def do_get_inputs(self, m, pis):
5856 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5857 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5860 def get_version_info(self):
5861 """get_version_info(DistancePairScore self) -> VersionInfo"""
5862 return _IMP_core.DistancePairScore_get_version_info(self)
5866 """__str__(DistancePairScore self) -> std::string"""
5867 return _IMP_core.DistancePairScore___str__(self)
5871 """__repr__(DistancePairScore self) -> std::string"""
5872 return _IMP_core.DistancePairScore___repr__(self)
5877 return _object_cast_to_DistancePairScore(o)
5879 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
5880 DistancePairScore_swigregister(DistancePairScore)
5883 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5885 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5887 def __init__(self, *args):
5889 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
5890 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
5892 this = _IMP_core.new_HarmonicDistancePairScore(*args)
5894 self.this.append(this)
5895 except __builtin__.Exception:
5898 def do_get_inputs(self, m, pis):
5899 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5900 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5903 def get_version_info(self):
5904 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5905 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5909 """__str__(HarmonicDistancePairScore self) -> std::string"""
5910 return _IMP_core.HarmonicDistancePairScore___str__(self)
5914 """__repr__(HarmonicDistancePairScore self) -> std::string"""
5915 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5920 return _object_cast_to_HarmonicDistancePairScore(o)
5922 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
5923 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
5926 """Proxy of C++ IMP::core::DistanceRestraint class."""
5928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5930 def __init__(self, *args):
5932 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
5933 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
5935 this = _IMP_core.new_DistanceRestraint(*args)
5937 self.this.append(this)
5938 except __builtin__.Exception:
5941 def get_version_info(self):
5942 """get_version_info(DistanceRestraint self) -> VersionInfo"""
5943 return _IMP_core.DistanceRestraint_get_version_info(self)
5947 """__str__(DistanceRestraint self) -> std::string"""
5948 return _IMP_core.DistanceRestraint___str__(self)
5952 """__repr__(DistanceRestraint self) -> std::string"""
5953 return _IMP_core.DistanceRestraint___repr__(self)
5958 return _object_cast_to_DistanceRestraint(o)
5960 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
5961 DistanceRestraint_swigregister(DistanceRestraint)
5964 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
5966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5968 def __init__(self, f, pt):
5969 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
5970 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
5972 self.this.append(this)
5973 except __builtin__.Exception:
5976 def do_get_inputs(self, m, pis):
5977 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5978 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
5981 def get_version_info(self):
5982 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
5983 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
5987 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
5988 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
5992 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
5993 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
5998 return _object_cast_to_SphereDistanceToSingletonScore(o)
6000 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6001 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6004 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
6006 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6008 def __init__(self, *args):
6010 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6011 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6012 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6013 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6015 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6017 self.this.append(this)
6018 except __builtin__.Exception:
6021 def do_get_inputs(self):
6022 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6023 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6026 def get_version_info(self):
6027 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6028 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6031 def do_create_decomposition(self):
6032 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6033 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6036 def do_create_current_decomposition(self):
6037 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6038 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6042 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6043 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6046 def remove_pair_filter(self, d):
6047 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6048 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6051 def remove_pair_filters(self, d):
6052 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6053 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6056 def set_pair_filters(self, ps):
6057 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6058 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6061 def set_pair_filters_order(self, objs):
6062 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6063 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6066 def add_pair_filter(self, obj):
6067 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6068 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6071 def add_pair_filters(self, objs):
6072 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6073 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6076 def clear_pair_filters(self):
6077 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6078 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6081 def get_number_of_pair_filters(self):
6082 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6083 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6086 def get_has_pair_filters(self):
6087 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6088 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6091 def get_pair_filter(self, i):
6092 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6093 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6096 def get_pair_filters(self):
6097 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6098 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6101 def reserve_pair_filters(self, sz):
6102 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6103 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6107 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6108 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6112 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6113 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6118 return _object_cast_to_ExcludedVolumeRestraint(o)
6120 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6121 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6124 """Proxy of C++ IMP::core::FixedRefiner class."""
6126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6128 def __init__(self, *args):
6130 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6131 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6133 this = _IMP_core.new_FixedRefiner(*args)
6135 self.this.append(this)
6136 except __builtin__.Exception:
6139 def do_get_inputs(self, m, pis):
6140 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6141 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6144 def get_version_info(self):
6145 """get_version_info(FixedRefiner self) -> VersionInfo"""
6146 return _IMP_core.FixedRefiner_get_version_info(self)
6150 """__str__(FixedRefiner self) -> std::string"""
6151 return _IMP_core.FixedRefiner___str__(self)
6155 """__repr__(FixedRefiner self) -> std::string"""
6156 return _IMP_core.FixedRefiner___repr__(self)
6161 return _object_cast_to_FixedRefiner(o)
6163 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6164 FixedRefiner_swigregister(FixedRefiner)
6166 class GridClosePairsFinder(ClosePairsFinder):
6167 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
6169 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6172 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6173 this = _IMP_core.new_GridClosePairsFinder()
6175 self.this.append(this)
6176 except __builtin__.Exception:
6179 def get_close_pairs(self, *args):
6181 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6182 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6183 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6184 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6186 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6189 def do_get_inputs(self, m, pis):
6190 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6191 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6194 def get_version_info(self):
6195 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6196 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6200 """__str__(GridClosePairsFinder self) -> std::string"""
6201 return _IMP_core.GridClosePairsFinder___str__(self)
6205 """__repr__(GridClosePairsFinder self) -> std::string"""
6206 return _IMP_core.GridClosePairsFinder___repr__(self)
6211 return _object_cast_to_GridClosePairsFinder(o)
6213 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6214 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6217 """Proxy of C++ IMP::core::Harmonic class."""
6219 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6221 def __init__(self, mean, k):
6222 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6223 this = _IMP_core.new_Harmonic(mean, k)
6225 self.this.append(this)
6226 except __builtin__.Exception:
6229 def get_version_info(self):
6230 """get_version_info(Harmonic self) -> VersionInfo"""
6231 return _IMP_core.Harmonic_get_version_info(self)
6235 """get_mean(Harmonic self) -> IMP::Float"""
6236 return _IMP_core.Harmonic_get_mean(self)
6240 """get_k(Harmonic self) -> IMP::Float"""
6241 return _IMP_core.Harmonic_get_k(self)
6244 def set_mean(self, mean):
6245 """set_mean(Harmonic self, IMP::Float mean)"""
6246 return _IMP_core.Harmonic_set_mean(self, mean)
6250 """set_k(Harmonic self, IMP::Float k)"""
6251 return _IMP_core.Harmonic_set_k(self, k)
6254 def get_k_from_standard_deviation(sd, t=297.15):
6256 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6257 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6259 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6261 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6264 """__str__(Harmonic self) -> std::string"""
6265 return _IMP_core.Harmonic___str__(self)
6269 """__repr__(Harmonic self) -> std::string"""
6270 return _IMP_core.Harmonic___repr__(self)
6275 return _object_cast_to_Harmonic(o)
6277 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6278 Harmonic_swigregister(Harmonic)
6280 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6282 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6283 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6285 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6288 """Proxy of C++ IMP::core::HarmonicWell class."""
6290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6292 def __init__(self, well, k):
6293 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6294 this = _IMP_core.new_HarmonicWell(well, k)
6296 self.this.append(this)
6297 except __builtin__.Exception:
6300 def get_version_info(self):
6301 """get_version_info(HarmonicWell self) -> VersionInfo"""
6302 return _IMP_core.HarmonicWell_get_version_info(self)
6306 """__str__(HarmonicWell self) -> std::string"""
6307 return _IMP_core.HarmonicWell___str__(self)
6311 """__repr__(HarmonicWell self) -> std::string"""
6312 return _IMP_core.HarmonicWell___repr__(self)
6317 return _object_cast_to_HarmonicWell(o)
6319 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6320 HarmonicWell_swigregister(HarmonicWell)
6322 class HarmonicLowerBound(Harmonic):
6323 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
6325 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6327 def __init__(self, mean, k):
6328 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6329 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6331 self.this.append(this)
6332 except __builtin__.Exception:
6336 """__str__(HarmonicLowerBound self) -> std::string"""
6337 return _IMP_core.HarmonicLowerBound___str__(self)
6341 """__repr__(HarmonicLowerBound self) -> std::string"""
6342 return _IMP_core.HarmonicLowerBound___repr__(self)
6347 return _object_cast_to_HarmonicLowerBound(o)
6349 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6350 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6352 class HarmonicUpperBound(Harmonic):
6353 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
6355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6357 def __init__(self, mean, k):
6358 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6359 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6361 self.this.append(this)
6362 except __builtin__.Exception:
6366 """__str__(HarmonicUpperBound self) -> std::string"""
6367 return _IMP_core.HarmonicUpperBound___str__(self)
6371 """__repr__(HarmonicUpperBound self) -> std::string"""
6372 return _IMP_core.HarmonicUpperBound___repr__(self)
6377 return _object_cast_to_HarmonicUpperBound(o)
6379 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6380 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6383 """Proxy of C++ IMP::core::WeightedSum class."""
6385 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6387 def __init__(self, funcs, weights):
6388 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6389 this = _IMP_core.new_WeightedSum(funcs, weights)
6391 self.this.append(this)
6392 except __builtin__.Exception:
6395 def get_function_number(self):
6396 """get_function_number(WeightedSum self) -> unsigned int"""
6397 return _IMP_core.WeightedSum_get_function_number(self)
6400 def set_weights(self, weights):
6401 """set_weights(WeightedSum self, IMP::Floats weights)"""
6402 return _IMP_core.WeightedSum_set_weights(self, weights)
6405 def get_weights(self):
6406 """get_weights(WeightedSum self) -> IMP::Floats"""
6407 return _IMP_core.WeightedSum_get_weights(self)
6410 def get_weight(self, i):
6411 """get_weight(WeightedSum self, unsigned int i) -> double"""
6412 return _IMP_core.WeightedSum_get_weight(self, i)
6415 def get_function(self, i):
6416 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6417 return _IMP_core.WeightedSum_get_function(self, i)
6420 def get_version_info(self):
6421 """get_version_info(WeightedSum self) -> VersionInfo"""
6422 return _IMP_core.WeightedSum_get_version_info(self)
6426 """__str__(WeightedSum self) -> std::string"""
6427 return _IMP_core.WeightedSum___str__(self)
6431 """__repr__(WeightedSum self) -> std::string"""
6432 return _IMP_core.WeightedSum___repr__(self)
6437 return _object_cast_to_WeightedSum(o)
6439 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6440 WeightedSum_swigregister(WeightedSum)
6443 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6445 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6447 def __init__(self, funcs, weights, denom=1.0):
6449 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6450 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6452 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6454 self.this.append(this)
6455 except __builtin__.Exception:
6458 def get_function_number(self):
6459 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6460 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6463 def set_weights(self, weights):
6464 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6465 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6468 def get_weights(self):
6469 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6470 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6473 def get_weight(self, i):
6474 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6475 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6478 def get_function(self, i):
6479 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6480 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6483 def set_denominator(self, denom):
6484 """set_denominator(WeightedSumOfExponential self, double denom)"""
6485 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6488 def get_denominator(self):
6489 """get_denominator(WeightedSumOfExponential self) -> double"""
6490 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6493 def get_version_info(self):
6494 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6495 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6499 """__str__(WeightedSumOfExponential self) -> std::string"""
6500 return _IMP_core.WeightedSumOfExponential___str__(self)
6504 """__repr__(WeightedSumOfExponential self) -> std::string"""
6505 return _IMP_core.WeightedSumOfExponential___repr__(self)
6510 return _object_cast_to_WeightedSumOfExponential(o)
6512 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6513 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6516 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6520 def __init__(self, m, ps, eps=0.1):
6522 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6523 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6525 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6527 self.this.append(this)
6528 except __builtin__.Exception:
6531 def add_type(self, ps):
6532 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6533 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6536 def add_composite(self, *args):
6538 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6539 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6541 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6544 def get_connected_pairs(self):
6545 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6546 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6549 def get_pair_score(self):
6550 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6551 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6554 def do_create_current_decomposition(self):
6555 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6556 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6559 def do_get_inputs(self):
6560 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6561 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6564 def get_version_info(self):
6565 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6566 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6570 """__str__(MSConnectivityRestraint self) -> std::string"""
6571 return _IMP_core.MSConnectivityRestraint___str__(self)
6575 """__repr__(MSConnectivityRestraint self) -> std::string"""
6576 return _IMP_core.MSConnectivityRestraint___repr__(self)
6581 return _object_cast_to_MSConnectivityRestraint(o)
6583 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6584 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6586 class HierarchyTraits(object):
6587 """Proxy of C++ IMP::core::HierarchyTraits class."""
6589 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6591 def __init__(self, *args):
6593 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6594 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6596 this = _IMP_core.new_HierarchyTraits(*args)
6598 self.this.append(this)
6599 except __builtin__.Exception:
6602 def get_children_key(self):
6603 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6604 return _IMP_core.HierarchyTraits_get_children_key(self)
6607 def get_parent_key(self):
6608 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6609 return _IMP_core.HierarchyTraits_get_parent_key(self)
6612 def __eq__(self, o):
6613 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6614 return _IMP_core.HierarchyTraits___eq__(self, o)
6617 def show(self, *args):
6619 show(HierarchyTraits self, _ostream out)
6620 show(HierarchyTraits self)
6622 return _IMP_core.HierarchyTraits_show(self, *args)
6626 """__str__(HierarchyTraits self) -> std::string"""
6627 return _IMP_core.HierarchyTraits___str__(self)
6631 """__repr__(HierarchyTraits self) -> std::string"""
6632 return _IMP_core.HierarchyTraits___repr__(self)
6634 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6635 __del__ =
lambda self:
None
6636 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6637 HierarchyTraits_swigregister(HierarchyTraits)
6640 """Proxy of C++ IMP::core::Hierarchy class."""
6642 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6644 def get_decorator_traits(self):
6645 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6646 return _IMP_core.Hierarchy_get_decorator_traits(self)
6649 def get_default_decorator_traits():
6650 """get_default_decorator_traits() -> HierarchyTraits"""
6651 return _IMP_core.Hierarchy_get_default_decorator_traits()
6653 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6655 def __init__(self, *args):
6657 __init__(IMP::core::Hierarchy self) -> Hierarchy
6658 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6659 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6660 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6661 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6663 this = _IMP_core.new_Hierarchy(*args)
6665 self.this.append(this)
6666 except __builtin__.Exception:
6669 def show(self, *args):
6671 show(Hierarchy self, _ostream out)
6672 show(Hierarchy self)
6674 return _IMP_core.Hierarchy_show(self, *args)
6677 def setup_particle(*args):
6679 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6680 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6681 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6682 setup_particle(_ParticleAdaptor d) -> Hierarchy
6683 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6684 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6685 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6686 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6687 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6688 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6689 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6690 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6692 return _IMP_core.Hierarchy_setup_particle(*args)
6694 setup_particle = staticmethod(setup_particle)
6696 def get_is_setup(*args):
6698 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6699 get_is_setup(_ParticleAdaptor p) -> bool
6700 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6701 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6703 return _IMP_core.Hierarchy_get_is_setup(*args)
6705 get_is_setup = staticmethod(get_is_setup)
6707 def get_parent(self):
6708 """get_parent(Hierarchy self) -> Hierarchy"""
6709 return _IMP_core.Hierarchy_get_parent(self)
6712 def get_number_of_children(self):
6713 """get_number_of_children(Hierarchy self) -> unsigned int"""
6714 return _IMP_core.Hierarchy_get_number_of_children(self)
6717 def get_child(self, i):
6718 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6719 return _IMP_core.Hierarchy_get_child(self, i)
6722 def get_children_indexes(self):
6723 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6724 return _IMP_core.Hierarchy_get_children_indexes(self)
6727 def get_children(self):
6728 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6729 return _IMP_core.Hierarchy_get_children(self)
6732 def remove_child(self, *args):
6734 remove_child(Hierarchy self, unsigned int i)
6735 remove_child(Hierarchy self, Hierarchy h)
6737 return _IMP_core.Hierarchy_remove_child(self, *args)
6740 def clear_children(self):
6741 """clear_children(Hierarchy self)"""
6742 return _IMP_core.Hierarchy_clear_children(self)
6745 def add_child(self, h):
6746 """add_child(Hierarchy self, Hierarchy h)"""
6747 return _IMP_core.Hierarchy_add_child(self, h)
6750 def add_child_at(self, h, pos):
6751 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6752 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6755 def get_child_index(self, *args):
6757 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6758 get_child_index(Hierarchy self) -> int
6760 return _IMP_core.Hierarchy_get_child_index(self, *args)
6763 def get_default_traits():
6764 """get_default_traits() -> HierarchyTraits"""
6765 return _IMP_core.Hierarchy_get_default_traits()
6767 get_default_traits = staticmethod(get_default_traits)
6769 def get_traits(self):
6770 """get_traits(Hierarchy self) -> HierarchyTraits"""
6771 return _IMP_core.Hierarchy_get_traits(self)
6774 def add_attribute(self, *args):
6776 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6777 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6778 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6779 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6780 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6781 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6783 return _IMP_core.Hierarchy_add_attribute(self, *args)
6786 def get_value(self, *args):
6788 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6789 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6790 get_value(Hierarchy self, StringKey a0) -> IMP::String
6791 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6792 get_value(Hierarchy self, ObjectKey a0) -> Object
6794 return _IMP_core.Hierarchy_get_value(self, *args)
6797 def set_value(self, *args):
6799 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6800 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6801 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6802 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6803 set_value(Hierarchy self, ObjectKey a0, Object a1)
6805 return _IMP_core.Hierarchy_set_value(self, *args)
6808 def remove_attribute(self, *args):
6810 remove_attribute(Hierarchy self, FloatKey a0)
6811 remove_attribute(Hierarchy self, IntKey a0)
6812 remove_attribute(Hierarchy self, StringKey a0)
6813 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6814 remove_attribute(Hierarchy self, ObjectKey a0)
6816 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6819 def has_attribute(self, *args):
6821 has_attribute(Hierarchy self, FloatKey a0) -> bool
6822 has_attribute(Hierarchy self, IntKey a0) -> bool
6823 has_attribute(Hierarchy self, StringKey a0) -> bool
6824 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6825 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6827 return _IMP_core.Hierarchy_has_attribute(self, *args)
6830 def get_derivative(self, a0):
6831 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
6832 return _IMP_core.Hierarchy_get_derivative(self, a0)
6836 """get_name(Hierarchy self) -> std::string"""
6837 return _IMP_core.Hierarchy_get_name(self)
6840 def clear_caches(self):
6841 """clear_caches(Hierarchy self)"""
6842 return _IMP_core.Hierarchy_clear_caches(self)
6845 def set_name(self, a0):
6846 """set_name(Hierarchy self, std::string a0)"""
6847 return _IMP_core.Hierarchy_set_name(self, a0)
6851 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6852 return _IMP_core.Hierarchy_set_check_level(self, a0)
6855 def add_to_derivative(self, a0, a1, a2):
6856 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6857 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6860 def set_is_optimized(self, a0, a1):
6861 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6862 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6865 def get_is_optimized(self, a0):
6866 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6867 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6871 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6872 return _IMP_core.Hierarchy_get_check_level(self)
6875 def __eq__(self, *args):
6877 __eq__(Hierarchy self, Hierarchy o) -> bool
6878 __eq__(Hierarchy self, Particle d) -> bool
6880 return _IMP_core.Hierarchy___eq__(self, *args)
6883 def __ne__(self, *args):
6885 __ne__(Hierarchy self, Hierarchy o) -> bool
6886 __ne__(Hierarchy self, Particle d) -> bool
6888 return _IMP_core.Hierarchy___ne__(self, *args)
6891 def __le__(self, *args):
6893 __le__(Hierarchy self, Hierarchy o) -> bool
6894 __le__(Hierarchy self, Particle d) -> bool
6896 return _IMP_core.Hierarchy___le__(self, *args)
6899 def __lt__(self, *args):
6901 __lt__(Hierarchy self, Hierarchy o) -> bool
6902 __lt__(Hierarchy self, Particle d) -> bool
6904 return _IMP_core.Hierarchy___lt__(self, *args)
6907 def __ge__(self, *args):
6909 __ge__(Hierarchy self, Hierarchy o) -> bool
6910 __ge__(Hierarchy self, Particle d) -> bool
6912 return _IMP_core.Hierarchy___ge__(self, *args)
6915 def __gt__(self, *args):
6917 __gt__(Hierarchy self, Hierarchy o) -> bool
6918 __gt__(Hierarchy self, Particle d) -> bool
6920 return _IMP_core.Hierarchy___gt__(self, *args)
6924 """__hash__(Hierarchy self) -> std::size_t"""
6925 return _IMP_core.Hierarchy___hash__(self)
6929 """__str__(Hierarchy self) -> std::string"""
6930 return _IMP_core.Hierarchy___str__(self)
6934 """__repr__(Hierarchy self) -> std::string"""
6935 return _IMP_core.Hierarchy___repr__(self)
6937 __swig_destroy__ = _IMP_core.delete_Hierarchy
6938 __del__ =
lambda self:
None
6939 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
6940 Hierarchy_swigregister(Hierarchy)
6942 def Hierarchy_get_default_decorator_traits():
6943 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
6944 return _IMP_core.Hierarchy_get_default_decorator_traits()
6946 def Hierarchy_setup_particle(*args):
6948 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6949 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6950 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6951 setup_particle(_ParticleAdaptor d) -> Hierarchy
6952 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6953 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6954 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6955 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6956 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6957 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6958 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6959 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6961 return _IMP_core.Hierarchy_setup_particle(*args)
6963 def Hierarchy_get_is_setup(*args):
6965 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6966 get_is_setup(_ParticleAdaptor p) -> bool
6967 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6968 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
6970 return _IMP_core.Hierarchy_get_is_setup(*args)
6972 def Hierarchy_get_default_traits():
6973 """Hierarchy_get_default_traits() -> HierarchyTraits"""
6974 return _IMP_core.Hierarchy_get_default_traits()
6976 class HierarchyVisitor(object):
6977 """Proxy of C++ IMP::core::HierarchyVisitor class."""
6979 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6980 __repr__ = _swig_repr
6983 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
6984 if self.__class__ == HierarchyVisitor:
6988 this = _IMP_core.new_HierarchyVisitor(_self, )
6990 self.this.append(this)
6991 except __builtin__.Exception:
6994 if self.__class__ != HierarchyVisitor:
6995 _director_objects.register(self)
7000 def __call__(self, p):
7001 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7002 return _IMP_core.HierarchyVisitor___call__(self, p)
7004 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7005 __del__ =
lambda self:
None
7006 def __disown__(self):
7008 _IMP_core.disown_HierarchyVisitor(self)
7009 return weakref_proxy(self)
7010 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7011 HierarchyVisitor_swigregister(HierarchyVisitor)
7013 class ModifierVisitor(HierarchyVisitor):
7014 """Proxy of C++ IMP::core::ModifierVisitor class."""
7016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7017 __repr__ = _swig_repr
7019 def __init__(self, sm):
7020 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7021 this = _IMP_core.new_ModifierVisitor(sm)
7023 self.this.append(this)
7024 except __builtin__.Exception:
7026 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7027 __del__ =
lambda self:
None
7028 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7029 ModifierVisitor_swigregister(ModifierVisitor)
7031 class HierarchyCounter(HierarchyVisitor):
7032 """Proxy of C++ IMP::core::HierarchyCounter class."""
7034 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7037 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7038 this = _IMP_core.new_HierarchyCounter()
7040 self.this.append(this)
7041 except __builtin__.Exception:
7044 def get_count(self):
7045 """get_count(HierarchyCounter self) -> unsigned int"""
7046 return _IMP_core.HierarchyCounter_get_count(self)
7049 def show(self, *args):
7051 show(HierarchyCounter self, _ostream out)
7052 show(HierarchyCounter self)
7054 return _IMP_core.HierarchyCounter_show(self, *args)
7058 """__str__(HierarchyCounter self) -> std::string"""
7059 return _IMP_core.HierarchyCounter___str__(self)
7063 """__repr__(HierarchyCounter self) -> std::string"""
7064 return _IMP_core.HierarchyCounter___repr__(self)
7066 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7067 __del__ =
lambda self:
None
7068 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7069 HierarchyCounter_swigregister(HierarchyCounter)
7073 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7074 return _IMP_core.get_leaves(mhd)
7077 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7078 return _IMP_core.get_internal(mhd)
7081 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7082 return _IMP_core.get_all_descendants(mhd)
7085 """get_root(Hierarchy h) -> Hierarchy"""
7086 return _IMP_core.get_root(h)
7089 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7090 return _IMP_core.visit_breadth_first(d, f)
7093 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7094 return _IMP_core.visit_depth_first(d, f)
7096 """Proxy of C++ IMP::core::LeavesRefiner class."""
7098 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7100 def __init__(self, tr):
7101 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7102 this = _IMP_core.new_LeavesRefiner(tr)
7104 self.this.append(this)
7105 except __builtin__.Exception:
7108 def do_get_inputs(self, m, pis):
7109 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7110 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7113 def get_version_info(self):
7114 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7115 return _IMP_core.LeavesRefiner_get_version_info(self)
7119 """__str__(LeavesRefiner self) -> std::string"""
7120 return _IMP_core.LeavesRefiner___str__(self)
7124 """__repr__(LeavesRefiner self) -> std::string"""
7125 return _IMP_core.LeavesRefiner___repr__(self)
7130 return _object_cast_to_LeavesRefiner(o)
7132 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7133 LeavesRefiner_swigregister(LeavesRefiner)
7136 """Proxy of C++ IMP::core::Linear class."""
7138 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7140 def __init__(self, offset, slope):
7141 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7142 this = _IMP_core.new_Linear(offset, slope)
7144 self.this.append(this)
7145 except __builtin__.Exception:
7148 def set_slope(self, f):
7149 """set_slope(Linear self, double f)"""
7150 return _IMP_core.Linear_set_slope(self, f)
7153 def set_offset(self, f):
7154 """set_offset(Linear self, double f)"""
7155 return _IMP_core.Linear_set_offset(self, f)
7158 def get_version_info(self):
7159 """get_version_info(Linear self) -> VersionInfo"""
7160 return _IMP_core.Linear_get_version_info(self)
7164 """__str__(Linear self) -> std::string"""
7165 return _IMP_core.Linear___str__(self)
7169 """__repr__(Linear self) -> std::string"""
7170 return _IMP_core.Linear___repr__(self)
7175 return _object_cast_to_Linear(o)
7177 Linear_swigregister = _IMP_core.Linear_swigregister
7178 Linear_swigregister(Linear)
7180 class LogNormalMover(MonteCarloMover):
7181 """Proxy of C++ IMP::core::LogNormalMover class."""
7183 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7185 def __init__(self, *args):
7187 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7188 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7189 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7190 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7192 this = _IMP_core.new_LogNormalMover(*args)
7194 self.this.append(this)
7195 except __builtin__.Exception:
7198 def set_sigma(self, sigma):
7199 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7200 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7203 def get_sigma(self):
7204 """get_sigma(LogNormalMover self) -> IMP::Float"""
7205 return _IMP_core.LogNormalMover_get_sigma(self)
7208 def get_version_info(self):
7209 """get_version_info(LogNormalMover self) -> VersionInfo"""
7210 return _IMP_core.LogNormalMover_get_version_info(self)
7214 """__str__(LogNormalMover self) -> std::string"""
7215 return _IMP_core.LogNormalMover___str__(self)
7219 """__repr__(LogNormalMover self) -> std::string"""
7220 return _IMP_core.LogNormalMover___repr__(self)
7225 return _object_cast_to_LogNormalMover(o)
7227 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7228 LogNormalMover_swigregister(LogNormalMover)
7231 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
7233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7235 def __init__(self, *args):
7237 __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
7238 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7239 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7240 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7241 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
7242 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7243 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7244 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7246 this = _IMP_core.new_IncrementalScoringFunction(*args)
7248 self.this.append(this)
7249 except __builtin__.Exception:
7252 def reset_moved_particles(self):
7253 """reset_moved_particles(IncrementalScoringFunction self)"""
7254 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7257 def set_moved_particles(self, p):
7258 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7259 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7262 def add_close_pair_score(self, *args):
7264 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7265 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7267 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7270 def clear_close_pair_scores(self):
7271 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7272 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7275 def get_movable_indexes(self):
7276 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7277 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7280 def do_add_score_and_derivatives(self, sa, ss):
7281 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7282 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7285 def do_get_inputs(self):
7286 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7287 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7290 def handle_set_has_required_score_states(self, arg2):
7291 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7292 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7295 def get_version_info(self):
7296 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7297 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7301 """__str__(IncrementalScoringFunction self) -> std::string"""
7302 return _IMP_core.IncrementalScoringFunction___str__(self)
7306 """__repr__(IncrementalScoringFunction self) -> std::string"""
7307 return _IMP_core.IncrementalScoringFunction___repr__(self)
7312 return _object_cast_to_IncrementalScoringFunction(o)
7314 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7315 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7317 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7319 """Proxy of C++ IMP::core::MonteCarlo class."""
7321 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7323 def __init__(self, m):
7324 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7325 this = _IMP_core.new_MonteCarlo(m)
7327 self.this.append(this)
7328 except __builtin__.Exception:
7331 def get_version_info(self):
7332 """get_version_info(MonteCarlo self) -> VersionInfo"""
7333 return _IMP_core.MonteCarlo_get_version_info(self)
7336 def set_return_best(self, tf):
7337 """set_return_best(MonteCarlo self, bool tf)"""
7338 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7341 def set_kt(self, t):
7342 """set_kt(MonteCarlo self, IMP::Float t)"""
7343 return _IMP_core.MonteCarlo_set_kt(self, t)
7347 """get_kt(MonteCarlo self) -> IMP::Float"""
7348 return _IMP_core.MonteCarlo_get_kt(self)
7351 def get_last_accepted_energy(self):
7352 """get_last_accepted_energy(MonteCarlo self) -> double"""
7353 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7356 def get_best_accepted_energy(self):
7357 """get_best_accepted_energy(MonteCarlo self) -> double"""
7358 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7361 def get_number_of_downward_steps(self):
7362 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7363 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7366 def get_number_of_upward_steps(self):
7367 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7368 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7371 def get_number_of_proposed_steps(self):
7372 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7373 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7376 def get_number_of_accepted_steps(self):
7377 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7378 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7381 def reset_statistics(self):
7382 """reset_statistics(MonteCarlo self)"""
7383 return _IMP_core.MonteCarlo_reset_statistics(self)
7386 def set_score_threshold(self, s):
7387 """set_score_threshold(MonteCarlo self, double s)"""
7388 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7391 def get_score_threshold(self):
7392 """get_score_threshold(MonteCarlo self) -> double"""
7393 return _IMP_core.MonteCarlo_get_score_threshold(self)
7396 def set_maximum_difference(self, d):
7397 """set_maximum_difference(MonteCarlo self, double d)"""
7398 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7401 def get_maximum_difference(self):
7402 """get_maximum_difference(MonteCarlo self) -> double"""
7403 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7406 def remove_mover(self, d):
7407 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7408 return _IMP_core.MonteCarlo_remove_mover(self, d)
7411 def remove_movers(self, d):
7412 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7413 return _IMP_core.MonteCarlo_remove_movers(self, d)
7416 def set_movers(self, ps):
7417 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7418 return _IMP_core.MonteCarlo_set_movers(self, ps)
7421 def set_movers_order(self, objs):
7422 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7423 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7426 def add_mover(self, obj):
7427 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7428 return _IMP_core.MonteCarlo_add_mover(self, obj)
7431 def add_movers(self, objs):
7432 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7433 return _IMP_core.MonteCarlo_add_movers(self, objs)
7436 def clear_movers(self):
7437 """clear_movers(MonteCarlo self)"""
7438 return _IMP_core.MonteCarlo_clear_movers(self)
7441 def get_number_of_movers(self):
7442 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7443 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7446 def get_has_movers(self):
7447 """get_has_movers(MonteCarlo self) -> bool"""
7448 return _IMP_core.MonteCarlo_get_has_movers(self)
7451 def get_mover(self, i):
7452 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7453 return _IMP_core.MonteCarlo_get_mover(self, i)
7456 def get_movers(self):
7457 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7458 return _IMP_core.MonteCarlo_get_movers(self)
7461 def reserve_movers(self, sz):
7462 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7463 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7466 def set_incremental_scoring_function(self, isf):
7467 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7468 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7471 def get_use_incremental_scoring_function(self):
7472 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7473 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7476 def get_incremental_scoring_function(self):
7477 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7478 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7482 """__str__(MonteCarlo self) -> std::string"""
7483 return _IMP_core.MonteCarlo___str__(self)
7487 """__repr__(MonteCarlo self) -> std::string"""
7488 return _IMP_core.MonteCarlo___repr__(self)
7493 return _object_cast_to_MonteCarlo(o)
7495 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7496 MonteCarlo_swigregister(MonteCarlo)
7498 class MonteCarloWithLocalOptimization(MonteCarlo):
7499 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7501 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7503 def __init__(self, opt, steps):
7504 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7505 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7507 self.this.append(this)
7508 except __builtin__.Exception:
7511 def get_number_of_steps(self):
7512 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7513 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7516 def get_local_optimizer(self):
7517 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7518 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7522 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7523 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7527 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7528 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7533 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7535 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7536 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7538 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7539 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7541 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7543 def __init__(self, opt, ns):
7544 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7545 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7547 self.this.append(this)
7548 except __builtin__.Exception:
7552 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7553 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7557 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7558 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7563 return _object_cast_to_MonteCarloWithBasinHopping(o)
7565 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7566 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7569 """Proxy of C++ IMP::core::NeighborsTable class."""
7571 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7573 def __init__(self, *args):
7575 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7576 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7578 this = _IMP_core.new_NeighborsTable(*args)
7580 self.this.append(this)
7581 except __builtin__.Exception:
7584 def get_neighbors(self, pi):
7585 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7586 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7589 def get_version_info(self):
7590 """get_version_info(NeighborsTable self) -> VersionInfo"""
7591 return _IMP_core.NeighborsTable_get_version_info(self)
7595 """__str__(NeighborsTable self) -> std::string"""
7596 return _IMP_core.NeighborsTable___str__(self)
7600 """__repr__(NeighborsTable self) -> std::string"""
7601 return _IMP_core.NeighborsTable___repr__(self)
7606 return _object_cast_to_NeighborsTable(o)
7608 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7609 NeighborsTable_swigregister(NeighborsTable)
7611 class NormalMover(MonteCarloMover):
7612 """Proxy of C++ IMP::core::NormalMover class."""
7614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7616 def __init__(self, *args):
7618 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7619 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7620 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7621 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7623 this = _IMP_core.new_NormalMover(*args)
7625 self.this.append(this)
7626 except __builtin__.Exception:
7629 def set_sigma(self, sigma):
7630 """set_sigma(NormalMover self, IMP::Float sigma)"""
7631 return _IMP_core.NormalMover_set_sigma(self, sigma)
7634 def get_sigma(self):
7635 """get_sigma(NormalMover self) -> IMP::Float"""
7636 return _IMP_core.NormalMover_get_sigma(self)
7639 def get_version_info(self):
7640 """get_version_info(NormalMover self) -> VersionInfo"""
7641 return _IMP_core.NormalMover_get_version_info(self)
7645 """__str__(NormalMover self) -> std::string"""
7646 return _IMP_core.NormalMover___str__(self)
7650 """__repr__(NormalMover self) -> std::string"""
7651 return _IMP_core.NormalMover___repr__(self)
7656 return _object_cast_to_NormalMover(o)
7658 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7659 NormalMover_swigregister(NormalMover)
7661 class OpenCubicSpline(_OpenCubicSplineBase):
7662 """Proxy of C++ IMP::core::OpenCubicSpline class."""
7664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7666 def __init__(self, values, minrange, spacing, extend=False):
7668 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7669 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7671 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7673 self.this.append(this)
7674 except __builtin__.Exception:
7678 """__str__(OpenCubicSpline self) -> std::string"""
7679 return _IMP_core.OpenCubicSpline___str__(self)
7683 """__repr__(OpenCubicSpline self) -> std::string"""
7684 return _IMP_core.OpenCubicSpline___repr__(self)
7689 return _object_cast_to_OpenCubicSpline(o)
7691 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7692 __del__ =
lambda self:
None
7693 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7694 OpenCubicSpline_swigregister(OpenCubicSpline)
7696 class QuadraticClosePairsFinder(ClosePairsFinder):
7697 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7702 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7703 this = _IMP_core.new_QuadraticClosePairsFinder()
7705 self.this.append(this)
7706 except __builtin__.Exception:
7709 def get_are_close(self, *args):
7711 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7712 get_are_close(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7714 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
7717 def get_close_pairs(self, *args):
7719 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7720 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7721 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7722 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7724 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7727 def do_get_inputs(self, m, pis):
7728 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7729 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7732 def get_version_info(self):
7733 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7734 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7738 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7739 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7743 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7744 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7749 return _object_cast_to_QuadraticClosePairsFinder(o)
7751 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7752 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7755 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7759 def __init__(self, r, f):
7760 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7761 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7763 self.this.append(this)
7764 except __builtin__.Exception:
7767 def do_get_inputs(self, m, pis):
7768 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7769 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7772 def get_version_info(self):
7773 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7774 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7778 """__str__(RefinedPairsPairScore self) -> std::string"""
7779 return _IMP_core.RefinedPairsPairScore___str__(self)
7783 """__repr__(RefinedPairsPairScore self) -> std::string"""
7784 return _IMP_core.RefinedPairsPairScore___repr__(self)
7789 return _object_cast_to_RefinedPairsPairScore(o)
7791 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7792 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7794 class RigidBody(XYZ):
7795 """Proxy of C++ IMP::core::RigidBody class."""
7797 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7799 def get_rigid_members(self):
7800 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7801 return _IMP_core.RigidBody_get_rigid_members(self)
7804 def get_member_particle_indexes(self):
7805 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7806 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7809 def get_body_member_particle_indexes(self):
7810 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7811 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7814 def get_member_indexes(self):
7815 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7816 return _IMP_core.RigidBody_get_member_indexes(self)
7819 def __init__(self, *args):
7821 __init__(IMP::core::RigidBody self) -> RigidBody
7822 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7823 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7825 this = _IMP_core.new_RigidBody(*args)
7827 self.this.append(this)
7828 except __builtin__.Exception:
7831 def show(self, *args):
7833 show(RigidBody self, _ostream out)
7834 show(RigidBody self)
7836 return _IMP_core.RigidBody_show(self, *args)
7839 def setup_particle(*args):
7841 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7842 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7843 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7844 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7846 return _IMP_core.RigidBody_setup_particle(*args)
7848 setup_particle = staticmethod(setup_particle)
7850 def teardown_particle(rb):
7851 """teardown_particle(RigidBody rb)"""
7852 return _IMP_core.RigidBody_teardown_particle(rb)
7854 teardown_particle = staticmethod(teardown_particle)
7855 __swig_destroy__ = _IMP_core.delete_RigidBody
7856 __del__ =
lambda self:
None
7858 def get_is_setup(*args):
7860 get_is_setup(_ParticleAdaptor p) -> bool
7861 get_is_setup(Model m, ParticleIndex pi) -> bool
7863 return _IMP_core.RigidBody_get_is_setup(*args)
7865 get_is_setup = staticmethod(get_is_setup)
7867 def get_coordinates(self):
7868 """get_coordinates(RigidBody self) -> Vector3D"""
7869 return _IMP_core.RigidBody_get_coordinates(self)
7872 def get_rotation(self):
7873 """get_rotation(RigidBody self) -> Rotation3D"""
7874 return _IMP_core.RigidBody_get_rotation(self)
7877 def get_reference_frame(self):
7878 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7879 return _IMP_core.RigidBody_get_reference_frame(self)
7882 def set_reference_frame(self, tr):
7883 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7884 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7887 def set_reference_frame_lazy(self, tr):
7888 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7889 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7892 def set_reference_frame_from_members(self, members):
7893 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7894 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7897 def add_to_derivatives(self, *args):
7899 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7900 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7902 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7905 def add_to_torque(self, torque_local, da):
7906 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7907 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7910 def get_torque(self):
7911 """get_torque(RigidBody self) -> Vector3D"""
7912 return _IMP_core.RigidBody_get_torque(self)
7915 def get_coordinates_are_optimized(self):
7916 """get_coordinates_are_optimized(RigidBody self) -> bool"""
7917 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
7920 def set_coordinates_are_optimized(self, tf):
7921 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
7922 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
7925 def normalize_rotation(self):
7926 """normalize_rotation(RigidBody self)"""
7927 return _IMP_core.RigidBody_normalize_rotation(self)
7930 def update_members(self):
7931 """update_members(RigidBody self)"""
7932 return _IMP_core.RigidBody_update_members(self)
7935 def get_rotational_derivatives(self):
7936 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
7937 return _IMP_core.RigidBody_get_rotational_derivatives(self)
7940 def get_number_of_members(self):
7941 """get_number_of_members(RigidBody self) -> unsigned int"""
7942 return _IMP_core.RigidBody_get_number_of_members(self)
7945 def get_member(self, i):
7946 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
7947 return _IMP_core.RigidBody_get_member(self, i)
7950 def add_member(self, p):
7951 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
7952 return _IMP_core.RigidBody_add_member(self, p)
7955 def add_non_rigid_member(self, p):
7956 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
7957 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
7960 def set_is_rigid_member(self, pi, tf):
7961 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
7962 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
7965 def add_attribute(self, *args):
7967 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
7968 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
7969 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
7970 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
7971 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
7972 add_attribute(RigidBody self, ObjectKey a0, Object a1)
7974 return _IMP_core.RigidBody_add_attribute(self, *args)
7977 def get_value(self, *args):
7979 get_value(RigidBody self, FloatKey a0) -> IMP::Float
7980 get_value(RigidBody self, IntKey a0) -> IMP::Int
7981 get_value(RigidBody self, StringKey a0) -> IMP::String
7982 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
7983 get_value(RigidBody self, ObjectKey a0) -> Object
7985 return _IMP_core.RigidBody_get_value(self, *args)
7988 def set_value(self, *args):
7990 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
7991 set_value(RigidBody self, IntKey a0, IMP::Int a1)
7992 set_value(RigidBody self, StringKey a0, IMP::String a1)
7993 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
7994 set_value(RigidBody self, ObjectKey a0, Object a1)
7996 return _IMP_core.RigidBody_set_value(self, *args)
7999 def remove_attribute(self, *args):
8001 remove_attribute(RigidBody self, FloatKey a0)
8002 remove_attribute(RigidBody self, IntKey a0)
8003 remove_attribute(RigidBody self, StringKey a0)
8004 remove_attribute(RigidBody self, ParticleIndexKey a0)
8005 remove_attribute(RigidBody self, ObjectKey a0)
8007 return _IMP_core.RigidBody_remove_attribute(self, *args)
8010 def has_attribute(self, *args):
8012 has_attribute(RigidBody self, FloatKey a0) -> bool
8013 has_attribute(RigidBody self, IntKey a0) -> bool
8014 has_attribute(RigidBody self, StringKey a0) -> bool
8015 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8016 has_attribute(RigidBody self, ObjectKey a0) -> bool
8018 return _IMP_core.RigidBody_has_attribute(self, *args)
8021 def get_derivative(self, a0):
8022 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8023 return _IMP_core.RigidBody_get_derivative(self, a0)
8027 """get_name(RigidBody self) -> std::string"""
8028 return _IMP_core.RigidBody_get_name(self)
8031 def clear_caches(self):
8032 """clear_caches(RigidBody self)"""
8033 return _IMP_core.RigidBody_clear_caches(self)
8036 def set_name(self, a0):
8037 """set_name(RigidBody self, std::string a0)"""
8038 return _IMP_core.RigidBody_set_name(self, a0)
8042 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8043 return _IMP_core.RigidBody_set_check_level(self, a0)
8046 def add_to_derivative(self, a0, a1, a2):
8047 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8048 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8051 def set_is_optimized(self, a0, a1):
8052 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8053 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8056 def get_is_optimized(self, a0):
8057 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8058 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8062 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8063 return _IMP_core.RigidBody_get_check_level(self)
8066 def __eq__(self, *args):
8068 __eq__(RigidBody self, RigidBody o) -> bool
8069 __eq__(RigidBody self, Particle d) -> bool
8071 return _IMP_core.RigidBody___eq__(self, *args)
8074 def __ne__(self, *args):
8076 __ne__(RigidBody self, RigidBody o) -> bool
8077 __ne__(RigidBody self, Particle d) -> bool
8079 return _IMP_core.RigidBody___ne__(self, *args)
8082 def __le__(self, *args):
8084 __le__(RigidBody self, RigidBody o) -> bool
8085 __le__(RigidBody self, Particle d) -> bool
8087 return _IMP_core.RigidBody___le__(self, *args)
8090 def __lt__(self, *args):
8092 __lt__(RigidBody self, RigidBody o) -> bool
8093 __lt__(RigidBody self, Particle d) -> bool
8095 return _IMP_core.RigidBody___lt__(self, *args)
8098 def __ge__(self, *args):
8100 __ge__(RigidBody self, RigidBody o) -> bool
8101 __ge__(RigidBody self, Particle d) -> bool
8103 return _IMP_core.RigidBody___ge__(self, *args)
8106 def __gt__(self, *args):
8108 __gt__(RigidBody self, RigidBody o) -> bool
8109 __gt__(RigidBody self, Particle d) -> bool
8111 return _IMP_core.RigidBody___gt__(self, *args)
8115 """__hash__(RigidBody self) -> std::size_t"""
8116 return _IMP_core.RigidBody___hash__(self)
8120 """__str__(RigidBody self) -> std::string"""
8121 return _IMP_core.RigidBody___str__(self)
8125 """__repr__(RigidBody self) -> std::string"""
8126 return _IMP_core.RigidBody___repr__(self)
8128 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8129 RigidBody_swigregister(RigidBody)
8131 def RigidBody_setup_particle(*args):
8133 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8134 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8135 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8136 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8138 return _IMP_core.RigidBody_setup_particle(*args)
8140 def RigidBody_teardown_particle(rb):
8141 """RigidBody_teardown_particle(RigidBody rb)"""
8142 return _IMP_core.RigidBody_teardown_particle(rb)
8144 def RigidBody_get_is_setup(*args):
8146 get_is_setup(_ParticleAdaptor p) -> bool
8147 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8149 return _IMP_core.RigidBody_get_is_setup(*args)
8153 """add_rigid_body_cache_key(ObjectKey k)"""
8154 return _IMP_core.add_rigid_body_cache_key(k)
8155 class RigidBodyMember(XYZ):
8156 """Proxy of C++ IMP::core::RigidBodyMember class."""
8158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8160 def __init__(self, *args):
8162 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8163 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8164 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8166 this = _IMP_core.new_RigidBodyMember(*args)
8168 self.this.append(this)
8169 except __builtin__.Exception:
8172 def show(self, *args):
8174 show(RigidBodyMember self, _ostream out)
8175 show(RigidBodyMember self)
8177 return _IMP_core.RigidBodyMember_show(self, *args)
8180 def get_rigid_body(self):
8181 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8182 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8185 def get_internal_coordinates(self):
8186 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8187 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8190 def set_internal_coordinates(self, v):
8191 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8192 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8195 def set_internal_transformation(self, v):
8196 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8197 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8200 def get_internal_transformation(self):
8201 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8202 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8204 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8205 __del__ =
lambda self:
None
8207 def set_coordinates(self, *args):
8209 set_coordinates(RigidBodyMember self, Vector3D center)
8210 set_coordinates(RigidBodyMember self, Transformation3D tr)
8212 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8215 def get_is_setup(*args):
8217 get_is_setup(_ParticleAdaptor p) -> bool
8218 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8220 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8222 get_is_setup = staticmethod(get_is_setup)
8224 def get_internal_coordinate_keys():
8225 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8226 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8228 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8230 def add_attribute(self, *args):
8232 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8233 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8234 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8235 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8236 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8237 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8239 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8242 def get_value(self, *args):
8244 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8245 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8246 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8247 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8248 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8250 return _IMP_core.RigidBodyMember_get_value(self, *args)
8253 def set_value(self, *args):
8255 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8256 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8257 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8258 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8259 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8261 return _IMP_core.RigidBodyMember_set_value(self, *args)
8264 def remove_attribute(self, *args):
8266 remove_attribute(RigidBodyMember self, FloatKey a0)
8267 remove_attribute(RigidBodyMember self, IntKey a0)
8268 remove_attribute(RigidBodyMember self, StringKey a0)
8269 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8270 remove_attribute(RigidBodyMember self, ObjectKey a0)
8272 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8275 def has_attribute(self, *args):
8277 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8278 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8279 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8280 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8281 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8283 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8286 def get_derivative(self, a0):
8287 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8288 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8292 """get_name(RigidBodyMember self) -> std::string"""
8293 return _IMP_core.RigidBodyMember_get_name(self)
8296 def clear_caches(self):
8297 """clear_caches(RigidBodyMember self)"""
8298 return _IMP_core.RigidBodyMember_clear_caches(self)
8301 def set_name(self, a0):
8302 """set_name(RigidBodyMember self, std::string a0)"""
8303 return _IMP_core.RigidBodyMember_set_name(self, a0)
8307 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8308 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8311 def add_to_derivative(self, a0, a1, a2):
8312 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8313 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8316 def set_is_optimized(self, a0, a1):
8317 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8318 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8321 def get_is_optimized(self, a0):
8322 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8323 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8327 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8328 return _IMP_core.RigidBodyMember_get_check_level(self)
8331 def __eq__(self, *args):
8333 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8334 __eq__(RigidBodyMember self, Particle d) -> bool
8336 return _IMP_core.RigidBodyMember___eq__(self, *args)
8339 def __ne__(self, *args):
8341 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8342 __ne__(RigidBodyMember self, Particle d) -> bool
8344 return _IMP_core.RigidBodyMember___ne__(self, *args)
8347 def __le__(self, *args):
8349 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8350 __le__(RigidBodyMember self, Particle d) -> bool
8352 return _IMP_core.RigidBodyMember___le__(self, *args)
8355 def __lt__(self, *args):
8357 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8358 __lt__(RigidBodyMember self, Particle d) -> bool
8360 return _IMP_core.RigidBodyMember___lt__(self, *args)
8363 def __ge__(self, *args):
8365 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8366 __ge__(RigidBodyMember self, Particle d) -> bool
8368 return _IMP_core.RigidBodyMember___ge__(self, *args)
8371 def __gt__(self, *args):
8373 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8374 __gt__(RigidBodyMember self, Particle d) -> bool
8376 return _IMP_core.RigidBodyMember___gt__(self, *args)
8380 """__hash__(RigidBodyMember self) -> std::size_t"""
8381 return _IMP_core.RigidBodyMember___hash__(self)
8385 """__str__(RigidBodyMember self) -> std::string"""
8386 return _IMP_core.RigidBodyMember___str__(self)
8390 """__repr__(RigidBodyMember self) -> std::string"""
8391 return _IMP_core.RigidBodyMember___repr__(self)
8393 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8394 RigidBodyMember_swigregister(RigidBodyMember)
8396 def RigidBodyMember_get_is_setup(*args):
8398 get_is_setup(_ParticleAdaptor p) -> bool
8399 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8401 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8403 def RigidBodyMember_get_internal_coordinate_keys():
8404 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8405 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8407 class RigidMember(RigidBodyMember):
8408 """Proxy of C++ IMP::core::RigidMember class."""
8410 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8412 def __init__(self, *args):
8414 __init__(IMP::core::RigidMember self) -> RigidMember
8415 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8416 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8418 this = _IMP_core.new_RigidMember(*args)
8420 self.this.append(this)
8421 except __builtin__.Exception:
8424 def show(self, *args):
8426 show(RigidMember self, _ostream out)
8427 show(RigidMember self)
8429 return _IMP_core.RigidMember_show(self, *args)
8431 __swig_destroy__ = _IMP_core.delete_RigidMember
8432 __del__ =
lambda self:
None
8434 def get_is_setup(*args):
8436 get_is_setup(_ParticleAdaptor p) -> bool
8437 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8439 return _IMP_core.RigidMember_get_is_setup(*args)
8441 get_is_setup = staticmethod(get_is_setup)
8443 def add_attribute(self, *args):
8445 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8446 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8447 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8448 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8449 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8450 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8452 return _IMP_core.RigidMember_add_attribute(self, *args)
8455 def get_value(self, *args):
8457 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8458 get_value(RigidMember self, IntKey a0) -> IMP::Int
8459 get_value(RigidMember self, StringKey a0) -> IMP::String
8460 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8461 get_value(RigidMember self, ObjectKey a0) -> Object
8463 return _IMP_core.RigidMember_get_value(self, *args)
8466 def set_value(self, *args):
8468 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8469 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8470 set_value(RigidMember self, StringKey a0, IMP::String a1)
8471 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8472 set_value(RigidMember self, ObjectKey a0, Object a1)
8474 return _IMP_core.RigidMember_set_value(self, *args)
8477 def remove_attribute(self, *args):
8479 remove_attribute(RigidMember self, FloatKey a0)
8480 remove_attribute(RigidMember self, IntKey a0)
8481 remove_attribute(RigidMember self, StringKey a0)
8482 remove_attribute(RigidMember self, ParticleIndexKey a0)
8483 remove_attribute(RigidMember self, ObjectKey a0)
8485 return _IMP_core.RigidMember_remove_attribute(self, *args)
8488 def has_attribute(self, *args):
8490 has_attribute(RigidMember self, FloatKey a0) -> bool
8491 has_attribute(RigidMember self, IntKey a0) -> bool
8492 has_attribute(RigidMember self, StringKey a0) -> bool
8493 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8494 has_attribute(RigidMember self, ObjectKey a0) -> bool
8496 return _IMP_core.RigidMember_has_attribute(self, *args)
8499 def get_derivative(self, a0):
8500 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8501 return _IMP_core.RigidMember_get_derivative(self, a0)
8505 """get_name(RigidMember self) -> std::string"""
8506 return _IMP_core.RigidMember_get_name(self)
8509 def clear_caches(self):
8510 """clear_caches(RigidMember self)"""
8511 return _IMP_core.RigidMember_clear_caches(self)
8514 def set_name(self, a0):
8515 """set_name(RigidMember self, std::string a0)"""
8516 return _IMP_core.RigidMember_set_name(self, a0)
8520 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8521 return _IMP_core.RigidMember_set_check_level(self, a0)
8524 def add_to_derivative(self, a0, a1, a2):
8525 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8526 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8529 def set_is_optimized(self, a0, a1):
8530 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8531 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8534 def get_is_optimized(self, a0):
8535 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8536 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8540 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8541 return _IMP_core.RigidMember_get_check_level(self)
8544 def __eq__(self, *args):
8546 __eq__(RigidMember self, RigidMember o) -> bool
8547 __eq__(RigidMember self, Particle d) -> bool
8549 return _IMP_core.RigidMember___eq__(self, *args)
8552 def __ne__(self, *args):
8554 __ne__(RigidMember self, RigidMember o) -> bool
8555 __ne__(RigidMember self, Particle d) -> bool
8557 return _IMP_core.RigidMember___ne__(self, *args)
8560 def __le__(self, *args):
8562 __le__(RigidMember self, RigidMember o) -> bool
8563 __le__(RigidMember self, Particle d) -> bool
8565 return _IMP_core.RigidMember___le__(self, *args)
8568 def __lt__(self, *args):
8570 __lt__(RigidMember self, RigidMember o) -> bool
8571 __lt__(RigidMember self, Particle d) -> bool
8573 return _IMP_core.RigidMember___lt__(self, *args)
8576 def __ge__(self, *args):
8578 __ge__(RigidMember self, RigidMember o) -> bool
8579 __ge__(RigidMember self, Particle d) -> bool
8581 return _IMP_core.RigidMember___ge__(self, *args)
8584 def __gt__(self, *args):
8586 __gt__(RigidMember self, RigidMember o) -> bool
8587 __gt__(RigidMember self, Particle d) -> bool
8589 return _IMP_core.RigidMember___gt__(self, *args)
8593 """__hash__(RigidMember self) -> std::size_t"""
8594 return _IMP_core.RigidMember___hash__(self)
8598 """__str__(RigidMember self) -> std::string"""
8599 return _IMP_core.RigidMember___str__(self)
8603 """__repr__(RigidMember self) -> std::string"""
8604 return _IMP_core.RigidMember___repr__(self)
8606 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8607 RigidMember_swigregister(RigidMember)
8609 def RigidMember_get_is_setup(*args):
8611 get_is_setup(_ParticleAdaptor p) -> bool
8612 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8614 return _IMP_core.RigidMember_get_is_setup(*args)
8616 class NonRigidMember(RigidBodyMember):
8617 """Proxy of C++ IMP::core::NonRigidMember class."""
8619 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8621 def __init__(self, *args):
8623 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8624 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8625 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8627 this = _IMP_core.new_NonRigidMember(*args)
8629 self.this.append(this)
8630 except __builtin__.Exception:
8633 def show(self, *args):
8635 show(NonRigidMember self, _ostream out)
8636 show(NonRigidMember self)
8638 return _IMP_core.NonRigidMember_show(self, *args)
8640 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8641 __del__ =
lambda self:
None
8643 def get_is_setup(*args):
8645 get_is_setup(_ParticleAdaptor p) -> bool
8646 get_is_setup(Model m, ParticleIndex p) -> bool
8648 return _IMP_core.NonRigidMember_get_is_setup(*args)
8650 get_is_setup = staticmethod(get_is_setup)
8652 def add_attribute(self, *args):
8654 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8655 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8656 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8657 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8658 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8659 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8661 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8664 def get_value(self, *args):
8666 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8667 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8668 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8669 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8670 get_value(NonRigidMember self, ObjectKey a0) -> Object
8672 return _IMP_core.NonRigidMember_get_value(self, *args)
8675 def set_value(self, *args):
8677 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8678 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8679 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8680 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8681 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8683 return _IMP_core.NonRigidMember_set_value(self, *args)
8686 def remove_attribute(self, *args):
8688 remove_attribute(NonRigidMember self, FloatKey a0)
8689 remove_attribute(NonRigidMember self, IntKey a0)
8690 remove_attribute(NonRigidMember self, StringKey a0)
8691 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8692 remove_attribute(NonRigidMember self, ObjectKey a0)
8694 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8697 def has_attribute(self, *args):
8699 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8700 has_attribute(NonRigidMember self, IntKey a0) -> bool
8701 has_attribute(NonRigidMember self, StringKey a0) -> bool
8702 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8703 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8705 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8708 def get_derivative(self, a0):
8709 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8710 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8714 """get_name(NonRigidMember self) -> std::string"""
8715 return _IMP_core.NonRigidMember_get_name(self)
8718 def clear_caches(self):
8719 """clear_caches(NonRigidMember self)"""
8720 return _IMP_core.NonRigidMember_clear_caches(self)
8723 def set_name(self, a0):
8724 """set_name(NonRigidMember self, std::string a0)"""
8725 return _IMP_core.NonRigidMember_set_name(self, a0)
8729 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8730 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8733 def add_to_derivative(self, a0, a1, a2):
8734 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8735 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8738 def set_is_optimized(self, a0, a1):
8739 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8740 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8743 def get_is_optimized(self, a0):
8744 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8745 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8749 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8750 return _IMP_core.NonRigidMember_get_check_level(self)
8753 def __eq__(self, *args):
8755 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8756 __eq__(NonRigidMember self, Particle d) -> bool
8758 return _IMP_core.NonRigidMember___eq__(self, *args)
8761 def __ne__(self, *args):
8763 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8764 __ne__(NonRigidMember self, Particle d) -> bool
8766 return _IMP_core.NonRigidMember___ne__(self, *args)
8769 def __le__(self, *args):
8771 __le__(NonRigidMember self, NonRigidMember o) -> bool
8772 __le__(NonRigidMember self, Particle d) -> bool
8774 return _IMP_core.NonRigidMember___le__(self, *args)
8777 def __lt__(self, *args):
8779 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8780 __lt__(NonRigidMember self, Particle d) -> bool
8782 return _IMP_core.NonRigidMember___lt__(self, *args)
8785 def __ge__(self, *args):
8787 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8788 __ge__(NonRigidMember self, Particle d) -> bool
8790 return _IMP_core.NonRigidMember___ge__(self, *args)
8793 def __gt__(self, *args):
8795 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8796 __gt__(NonRigidMember self, Particle d) -> bool
8798 return _IMP_core.NonRigidMember___gt__(self, *args)
8802 """__hash__(NonRigidMember self) -> std::size_t"""
8803 return _IMP_core.NonRigidMember___hash__(self)
8807 """__str__(NonRigidMember self) -> std::string"""
8808 return _IMP_core.NonRigidMember___str__(self)
8812 """__repr__(NonRigidMember self) -> std::string"""
8813 return _IMP_core.NonRigidMember___repr__(self)
8815 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8816 NonRigidMember_swigregister(NonRigidMember)
8818 def NonRigidMember_get_is_setup(*args):
8820 get_is_setup(_ParticleAdaptor p) -> bool
8821 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8823 return _IMP_core.NonRigidMember_get_is_setup(*args)
8826 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8830 def __init__(self, *args):
8832 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8833 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8835 this = _IMP_core.new_RigidMembersRefiner(*args)
8837 self.this.append(this)
8838 except __builtin__.Exception:
8841 def do_get_inputs(self, m, pis):
8842 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8843 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8846 def get_version_info(self):
8847 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8848 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8852 """__str__(RigidMembersRefiner self) -> std::string"""
8853 return _IMP_core.RigidMembersRefiner___str__(self)
8857 """__repr__(RigidMembersRefiner self) -> std::string"""
8858 return _IMP_core.RigidMembersRefiner___repr__(self)
8863 return _object_cast_to_RigidMembersRefiner(o)
8865 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
8866 RigidMembersRefiner_swigregister(RigidMembersRefiner)
8869 def get_rigid_members_refiner():
8870 """get_rigid_members_refiner() -> RigidMembersRefiner"""
8871 return _IMP_core.get_rigid_members_refiner()
8875 transform(XYZ a, Transformation3D tr)
8876 transform(RigidBody a, Transformation3D tr)
8878 return _IMP_core.transform(*args)
8882 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8883 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
8885 return _IMP_core.get_initial_reference_frame(*args)
8889 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
8890 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
8892 return _IMP_core.create_rigid_bodies(m, n, no_members)
8896 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
8897 show_rigid_body_hierarchy(RigidBody rb)
8899 return _IMP_core.show_rigid_body_hierarchy(*args)
8902 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
8903 return _IMP_core.get_root_rigid_body(m)
8905 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
8907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8909 def __init__(self, rb, constituents):
8910 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
8911 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
8913 self.this.append(this)
8914 except __builtin__.Exception:
8917 def get_version_info(self):
8918 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
8919 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
8923 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
8924 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
8928 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
8929 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
8934 return _object_cast_to_RigidBodyHierarchyGeometry(o)
8936 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
8937 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
8940 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
8942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8944 def __init__(self, *args):
8946 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
8947 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
8949 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
8951 self.this.append(this)
8952 except __builtin__.Exception:
8955 def get_version_info(self):
8956 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
8957 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
8961 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
8962 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
8966 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
8967 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
8972 return _object_cast_to_RigidBodyDerivativeGeometry(o)
8974 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
8975 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
8978 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
8980 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8982 def __init__(self, sc):
8983 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
8984 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
8986 self.this.append(this)
8987 except __builtin__.Exception:
8990 def get_version_info(self):
8991 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
8992 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
8996 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
8997 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9001 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9002 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9007 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9009 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9010 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9013 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
9015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9017 def __init__(self, *args):
9019 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9020 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9022 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9024 self.this.append(this)
9025 except __builtin__.Exception:
9028 def get_version_info(self):
9029 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9030 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9034 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9035 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9039 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9040 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9045 return _object_cast_to_RigidBodyFrameGeometry(o)
9047 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9048 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9051 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
9053 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9055 def __init__(self, sc):
9056 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9057 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9059 self.this.append(this)
9060 except __builtin__.Exception:
9063 def get_version_info(self):
9064 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9065 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9069 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9070 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9074 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9075 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9080 return _object_cast_to_RigidBodyFramesGeometry(o)
9082 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9083 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9086 """Proxy of C++ IMP::core::RigidBodyTorque class."""
9088 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9090 def __init__(self, p):
9091 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9092 this = _IMP_core.new_RigidBodyTorque(p)
9094 self.this.append(this)
9095 except __builtin__.Exception:
9099 """__str__(RigidBodyTorque self) -> std::string"""
9100 return _IMP_core.RigidBodyTorque___str__(self)
9104 """__repr__(RigidBodyTorque self) -> std::string"""
9105 return _IMP_core.RigidBodyTorque___repr__(self)
9110 return _object_cast_to_RigidBodyTorque(o)
9112 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9113 __del__ =
lambda self:
None
9114 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9115 RigidBodyTorque_swigregister(RigidBodyTorque)
9117 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9118 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
9120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9123 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9124 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9126 self.this.append(this)
9127 except __builtin__.Exception:
9130 def get_close_pairs(self, *args):
9132 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9133 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9134 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9135 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9137 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9140 def do_get_inputs(self, m, pis):
9141 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9142 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9145 def get_version_info(self):
9146 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9147 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9151 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9152 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9156 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9157 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9162 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9164 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9165 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9168 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
9170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9172 def __init__(self, *args):
9174 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9175 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9176 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9177 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9178 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9180 this = _IMP_core.new_RestraintsScoringFunction(*args)
9182 self.this.append(this)
9183 except __builtin__.Exception:
9186 def do_add_score_and_derivatives(self, sa, ss):
9187 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9188 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9191 def do_get_inputs(self):
9192 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9193 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9196 def get_version_info(self):
9197 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9198 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9202 """__str__(RestraintsScoringFunction self) -> std::string"""
9203 return _IMP_core.RestraintsScoringFunction___str__(self)
9207 """__repr__(RestraintsScoringFunction self) -> std::string"""
9208 return _IMP_core.RestraintsScoringFunction___repr__(self)
9213 return _object_cast_to_RestraintsScoringFunction(o)
9215 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9216 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9218 class RigidClosePairsFinder(ClosePairsFinder):
9219 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
9221 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9223 def __init__(self, cpf=None):
9225 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9226 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9228 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9230 self.this.append(this)
9231 except __builtin__.Exception:
9234 def do_get_inputs(self, m, pis):
9235 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9236 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9239 def get_close_pairs(self, *args):
9241 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9242 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9243 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9244 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9245 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9247 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9250 def get_version_info(self):
9251 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9252 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9256 """__str__(RigidClosePairsFinder self) -> std::string"""
9257 return _IMP_core.RigidClosePairsFinder___str__(self)
9261 """__repr__(RigidClosePairsFinder self) -> std::string"""
9262 return _IMP_core.RigidClosePairsFinder___repr__(self)
9267 return _object_cast_to_RigidClosePairsFinder(o)
9269 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9270 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9273 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
9275 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9277 def __init__(self, *args):
9279 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9280 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9282 this = _IMP_core.new_SphereDistancePairScore(*args)
9284 self.this.append(this)
9285 except __builtin__.Exception:
9288 def do_get_inputs(self, m, pis):
9289 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9290 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9293 def get_version_info(self):
9294 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9295 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9299 """__str__(SphereDistancePairScore self) -> std::string"""
9300 return _IMP_core.SphereDistancePairScore___str__(self)
9304 """__repr__(SphereDistancePairScore self) -> std::string"""
9305 return _IMP_core.SphereDistancePairScore___repr__(self)
9310 return _object_cast_to_SphereDistancePairScore(o)
9312 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9313 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9315 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9316 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
9318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9320 def __init__(self, *args):
9322 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9323 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9325 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9327 self.this.append(this)
9328 except __builtin__.Exception:
9331 def do_get_inputs(self, m, pis):
9332 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9333 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9336 def get_version_info(self):
9337 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9338 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9342 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9343 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9347 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9348 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9353 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9355 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9356 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9358 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9359 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
9361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9363 def __init__(self, d0, k):
9364 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9365 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9367 self.this.append(this)
9368 except __builtin__.Exception:
9371 def get_rest_length(self):
9372 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9373 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9376 def get_stiffness(self):
9377 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9378 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9381 def do_get_inputs(self, m, pis):
9382 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9383 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9386 def get_version_info(self):
9387 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9388 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9392 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9393 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9397 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9398 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9403 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9405 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9406 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9409 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9413 def __init__(self, *args):
9415 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9416 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9418 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9420 self.this.append(this)
9421 except __builtin__.Exception:
9424 def do_get_inputs(self, m, pis):
9425 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9426 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9429 def get_version_info(self):
9430 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9431 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9435 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9436 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9440 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9441 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9446 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9448 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9449 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9452 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9456 def __init__(self, *args):
9458 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9459 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9461 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9463 self.this.append(this)
9464 except __builtin__.Exception:
9467 def do_get_inputs(self, m, pis):
9468 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9469 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9472 def get_version_info(self):
9473 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9474 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9478 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9479 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9483 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9484 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9489 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9491 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9492 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9495 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9499 def __init__(self, *args):
9501 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9502 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9504 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9506 self.this.append(this)
9507 except __builtin__.Exception:
9510 def do_get_inputs(self, m, pis):
9511 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9512 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9515 def get_version_info(self):
9516 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9517 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9521 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9522 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9526 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9527 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9532 return _object_cast_to_WeightedSphereDistancePairScore(o)
9534 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9535 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9538 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
9540 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9542 def __init__(self, *args):
9544 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9545 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9547 this = _IMP_core.new_SoftSpherePairScore(*args)
9549 self.this.append(this)
9550 except __builtin__.Exception:
9553 def do_get_inputs(self, m, pis):
9554 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9555 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9558 def get_version_info(self):
9559 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9560 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9564 """__str__(SoftSpherePairScore self) -> std::string"""
9565 return _IMP_core.SoftSpherePairScore___str__(self)
9569 """__repr__(SoftSpherePairScore self) -> std::string"""
9570 return _IMP_core.SoftSpherePairScore___repr__(self)
9575 return _object_cast_to_SoftSpherePairScore(o)
9577 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9578 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9581 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9585 def __init__(self, *args):
9587 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9588 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9590 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9592 self.this.append(this)
9593 except __builtin__.Exception:
9596 def do_get_inputs(self, m, pis):
9597 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9598 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9601 def get_version_info(self):
9602 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9603 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9607 """__str__(SurfaceDistancePairScore self) -> std::string"""
9608 return _IMP_core.SurfaceDistancePairScore___str__(self)
9612 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9613 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9618 return _object_cast_to_SurfaceDistancePairScore(o)
9620 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9621 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9624 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9628 def __init__(self, *args):
9630 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9631 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9633 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9635 self.this.append(this)
9636 except __builtin__.Exception:
9639 def do_get_inputs(self, m, pis):
9640 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9641 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9644 def get_version_info(self):
9645 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9646 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9650 """__str__(SurfaceHeightPairScore self) -> std::string"""
9651 return _IMP_core.SurfaceHeightPairScore___str__(self)
9655 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9656 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9661 return _object_cast_to_SurfaceHeightPairScore(o)
9663 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9664 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9667 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9671 def __init__(self, *args):
9673 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9674 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9676 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9678 self.this.append(this)
9679 except __builtin__.Exception:
9682 def do_get_inputs(self, m, pis):
9683 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9684 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9687 def get_version_info(self):
9688 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9689 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9693 """__str__(SurfaceDepthPairScore self) -> std::string"""
9694 return _IMP_core.SurfaceDepthPairScore___str__(self)
9698 """__repr__(SurfaceDepthPairScore self) -> std::string"""
9699 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9704 return _object_cast_to_SurfaceDepthPairScore(o)
9706 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
9707 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9710 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9712 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9714 def __init__(self, *args):
9716 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9717 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9719 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9721 self.this.append(this)
9722 except __builtin__.Exception:
9725 def do_get_inputs(self, m, pis):
9726 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9727 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9730 def get_version_info(self):
9731 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9732 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9736 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9737 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9741 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9742 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9747 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9749 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9750 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9753 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9757 def __init__(self, *args):
9759 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9760 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9762 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9764 self.this.append(this)
9765 except __builtin__.Exception:
9768 def do_get_inputs(self, m, pis):
9769 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9770 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9773 def get_version_info(self):
9774 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9775 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9779 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9780 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9784 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9785 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9790 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9792 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9793 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9796 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9800 def __init__(self, *args):
9802 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9803 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9805 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9807 self.this.append(this)
9808 except __builtin__.Exception:
9811 def do_get_inputs(self, m, pis):
9812 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9813 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9816 def get_version_info(self):
9817 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9818 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9822 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9823 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9827 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9828 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9833 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9835 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9836 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9839 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9841 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9843 def __init__(self, *args):
9845 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9846 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9848 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9850 self.this.append(this)
9851 except __builtin__.Exception:
9854 def do_get_inputs(self, m, pis):
9855 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9856 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9859 def get_version_info(self):
9860 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9861 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9865 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
9866 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9870 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9871 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9876 return _object_cast_to_SoftSuperSurfacePairScore(o)
9878 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
9879 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9882 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
9884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9886 def __init__(self, *args):
9888 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
9889 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
9891 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
9893 self.this.append(this)
9894 except __builtin__.Exception:
9897 def do_get_inputs(self, m, pis):
9898 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9899 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
9902 def get_version_info(self):
9903 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
9904 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
9908 """__str__(SoftSubSurfacePairScore self) -> std::string"""
9909 return _IMP_core.SoftSubSurfacePairScore___str__(self)
9913 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
9914 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
9919 return _object_cast_to_SoftSubSurfacePairScore(o)
9921 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
9922 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
9925 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
9927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9929 def __init__(self, link_num, link_length):
9930 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
9931 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
9933 self.this.append(this)
9934 except __builtin__.Exception:
9937 def get_version_info(self):
9938 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
9939 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
9942 def get_link_number(self):
9943 """get_link_number(SurfaceTetheredChain self) -> int"""
9944 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
9947 def get_link_length(self):
9948 """get_link_length(SurfaceTetheredChain self) -> double"""
9949 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
9952 def set_link_number(self, N):
9953 """set_link_number(SurfaceTetheredChain self, int N)"""
9954 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
9957 def set_link_length(self, b):
9958 """set_link_length(SurfaceTetheredChain self, double b)"""
9959 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
9962 def get_distance_at_minimum(self):
9963 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
9964 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
9967 def get_average_distance(self):
9968 """get_average_distance(SurfaceTetheredChain self) -> double"""
9969 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
9973 """__str__(SurfaceTetheredChain self) -> std::string"""
9974 return _IMP_core.SurfaceTetheredChain___str__(self)
9978 """__repr__(SurfaceTetheredChain self) -> std::string"""
9979 return _IMP_core.SurfaceTetheredChain___repr__(self)
9984 return _object_cast_to_SurfaceTetheredChain(o)
9986 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
9987 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
9990 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
9992 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9994 def __init__(self, m, ss, rbs):
9995 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
9996 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
9998 self.this.append(this)
9999 except __builtin__.Exception:
10002 def do_get_inputs(self):
10003 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10004 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10007 def do_get_outputs(self):
10008 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10009 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10012 def get_version_info(self):
10013 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10014 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10018 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10019 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10022 def __repr__(self):
10023 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10024 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10029 return _object_cast_to_SurfaceSymmetryConstraint(o)
10031 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10032 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10035 """Proxy of C++ IMP::core::SteepestDescent class."""
10037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10039 def __init__(self, *args):
10041 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10042 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10044 this = _IMP_core.new_SteepestDescent(*args)
10046 self.this.append(this)
10047 except __builtin__.Exception:
10050 def do_optimize(self, max_steps):
10051 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10052 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10055 def get_version_info(self):
10056 """get_version_info(SteepestDescent self) -> VersionInfo"""
10057 return _IMP_core.SteepestDescent_get_version_info(self)
10060 def set_threshold(self, t):
10061 """set_threshold(SteepestDescent self, IMP::Float t)"""
10062 return _IMP_core.SteepestDescent_set_threshold(self, t)
10065 def set_step_size(self, t):
10066 """set_step_size(SteepestDescent self, IMP::Float t)"""
10067 return _IMP_core.SteepestDescent_set_step_size(self, t)
10070 def set_maximum_step_size(self, t):
10071 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10072 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10076 """__str__(SteepestDescent self) -> std::string"""
10077 return _IMP_core.SteepestDescent___str__(self)
10080 def __repr__(self):
10081 """__repr__(SteepestDescent self) -> std::string"""
10082 return _IMP_core.SteepestDescent___repr__(self)
10087 return _object_cast_to_SteepestDescent(o)
10089 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10090 SteepestDescent_swigregister(SteepestDescent)
10093 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
10095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10097 def __init__(self, f, transformation):
10098 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10099 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10101 self.this.append(this)
10102 except __builtin__.Exception:
10105 def set_transformation(self, rot):
10106 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10107 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10110 def do_get_inputs(self, m, pis):
10111 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10112 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10115 def get_version_info(self):
10116 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10117 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10121 """__str__(TransformedDistancePairScore self) -> std::string"""
10122 return _IMP_core.TransformedDistancePairScore___str__(self)
10125 def __repr__(self):
10126 """__repr__(TransformedDistancePairScore self) -> std::string"""
10127 return _IMP_core.TransformedDistancePairScore___repr__(self)
10132 return _object_cast_to_TransformedDistancePairScore(o)
10134 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10135 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10138 """Proxy of C++ IMP::core::TypedPairScore class."""
10140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10142 def __init__(self, typekey, allow_invalid_types=True):
10144 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10145 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10147 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10149 self.this.append(this)
10150 except __builtin__.Exception:
10153 def set_particle_type(self, arg2):
10154 """set_particle_type(TypedPairScore self, Particle arg2)"""
10155 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10158 def set_pair_score(self, ps, atype, btype):
10159 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10160 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10163 def do_get_inputs(self, m, pis):
10164 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10165 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10168 def get_version_info(self):
10169 """get_version_info(TypedPairScore self) -> VersionInfo"""
10170 return _IMP_core.TypedPairScore_get_version_info(self)
10174 """__str__(TypedPairScore self) -> std::string"""
10175 return _IMP_core.TypedPairScore___str__(self)
10178 def __repr__(self):
10179 """__repr__(TypedPairScore self) -> std::string"""
10180 return _IMP_core.TypedPairScore___repr__(self)
10185 return _object_cast_to_TypedPairScore(o)
10187 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10188 TypedPairScore_swigregister(TypedPairScore)
10190 class RigidBodyDistancePairScore(KClosePairsPairScore):
10191 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
10193 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10195 def __init__(self, ps, r):
10196 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10197 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10199 self.this.append(this)
10200 except __builtin__.Exception:
10204 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10205 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10208 def __repr__(self):
10209 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10210 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10215 return _object_cast_to_RigidBodyDistancePairScore(o)
10217 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10218 __del__ =
lambda self:
None
10219 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10220 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10223 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
10225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10227 def __init__(self, f):
10228 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10229 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10231 self.this.append(this)
10232 except __builtin__.Exception:
10235 def do_get_inputs(self, m, pis):
10236 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10237 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10240 def get_version_info(self):
10241 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10242 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10246 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10247 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10250 def __repr__(self):
10251 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10252 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10257 return _object_cast_to_RigidBodyAnglePairScore(o)
10259 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10260 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10263 """Proxy of C++ IMP::core::TableRefiner class."""
10265 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10267 def __init__(self):
10268 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10269 this = _IMP_core.new_TableRefiner()
10271 self.this.append(this)
10272 except __builtin__.Exception:
10276 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10277 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10280 def remove_particle(self, p):
10281 """remove_particle(TableRefiner self, Particle p)"""
10282 return _IMP_core.TableRefiner_remove_particle(self, p)
10285 def set_particle(self, p, ps):
10286 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10287 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10290 def do_get_inputs(self, m, pis):
10291 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10292 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10295 def get_version_info(self):
10296 """get_version_info(TableRefiner self) -> VersionInfo"""
10297 return _IMP_core.TableRefiner_get_version_info(self)
10301 """__str__(TableRefiner self) -> std::string"""
10302 return _IMP_core.TableRefiner___str__(self)
10305 def __repr__(self):
10306 """__repr__(TableRefiner self) -> std::string"""
10307 return _IMP_core.TableRefiner___repr__(self)
10312 return _object_cast_to_TableRefiner(o)
10314 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10315 TableRefiner_swigregister(TableRefiner)
10317 LOWER = _IMP_core.LOWER
10318 BOTH = _IMP_core.BOTH
10319 UPPER = _IMP_core.UPPER
10321 """Proxy of C++ IMP::core::MCCGSampler class."""
10323 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10325 def __init__(self, *args):
10327 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10328 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10330 this = _IMP_core.new_MCCGSampler(*args)
10332 self.this.append(this)
10333 except __builtin__.Exception:
10336 def set_bounding_box(self, bb):
10337 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10338 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10341 def set_number_of_attempts(self, att):
10342 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10343 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10346 def set_number_of_monte_carlo_steps(self, cg):
10347 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10348 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10351 def set_number_of_conjugate_gradient_steps(self, cg):
10352 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10353 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10356 def set_max_monte_carlo_step_size(self, *args):
10358 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10359 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10361 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10364 def set_is_refining(self, tf):
10365 """set_is_refining(MCCGSampler self, bool tf)"""
10366 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10369 def set_local_optimizer(self, opt):
10370 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10371 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10374 def set_save_rejected_configurations(self, tf):
10375 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10376 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10379 def get_rejected_configurations(self):
10380 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10381 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10384 def remove_optimizer_state(self, d):
10385 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10386 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10389 def remove_optimizer_states(self, d):
10390 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10391 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10394 def set_optimizer_states(self, ps):
10395 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10396 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10399 def set_optimizer_states_order(self, objs):
10400 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10401 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10404 def add_optimizer_state(self, obj):
10405 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10406 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10409 def add_optimizer_states(self, objs):
10410 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10411 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10414 def clear_optimizer_states(self):
10415 """clear_optimizer_states(MCCGSampler self)"""
10416 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10419 def get_number_of_optimizer_states(self):
10420 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10421 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10424 def get_has_optimizer_states(self):
10425 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10426 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10429 def get_optimizer_state(self, i):
10430 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10431 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10434 def get_optimizer_states(self):
10435 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10436 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10439 def reserve_optimizer_states(self, sz):
10440 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10441 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10444 def do_sample(self):
10445 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10446 return _IMP_core.MCCGSampler_do_sample(self)
10449 def get_version_info(self):
10450 """get_version_info(MCCGSampler self) -> VersionInfo"""
10451 return _IMP_core.MCCGSampler_get_version_info(self)
10455 """__str__(MCCGSampler self) -> std::string"""
10456 return _IMP_core.MCCGSampler___str__(self)
10459 def __repr__(self):
10460 """__repr__(MCCGSampler self) -> std::string"""
10461 return _IMP_core.MCCGSampler___repr__(self)
10466 return _object_cast_to_MCCGSampler(o)
10468 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10469 MCCGSampler_swigregister(MCCGSampler)
10472 """Proxy of C++ IMP::core::MinimumRestraint class."""
10474 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10476 def __init__(self, *args):
10478 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10479 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10480 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10482 this = _IMP_core.new_MinimumRestraint(*args)
10484 self.this.append(this)
10485 except __builtin__.Exception:
10488 def do_get_inputs(self):
10489 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10490 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10493 def get_version_info(self):
10494 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10495 return _IMP_core.MinimumRestraint_get_version_info(self)
10498 def remove_restraint(self, d):
10499 """remove_restraint(MinimumRestraint self, Restraint d)"""
10500 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10503 def remove_restraints(self, d):
10504 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10505 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10508 def set_restraints(self, ps):
10509 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10510 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10513 def set_restraints_order(self, objs):
10514 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10515 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10519 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10520 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10524 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10525 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10528 def clear_restraints(self):
10529 """clear_restraints(MinimumRestraint self)"""
10530 return _IMP_core.MinimumRestraint_clear_restraints(self)
10533 def get_number_of_restraints(self):
10534 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10535 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10538 def get_has_restraints(self):
10539 """get_has_restraints(MinimumRestraint self) -> bool"""
10540 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10543 def get_restraint(self, i):
10544 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10545 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10548 def get_restraints(self):
10549 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10550 return _IMP_core.MinimumRestraint_get_restraints(self)
10553 def reserve_restraints(self, sz):
10554 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10555 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10559 """__str__(MinimumRestraint self) -> std::string"""
10560 return _IMP_core.MinimumRestraint___str__(self)
10563 def __repr__(self):
10564 """__repr__(MinimumRestraint self) -> std::string"""
10565 return _IMP_core.MinimumRestraint___repr__(self)
10570 return _object_cast_to_MinimumRestraint(o)
10572 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10573 MinimumRestraint_swigregister(MinimumRestraint)
10575 class Gaussian(RigidBody):
10576 """Proxy of C++ IMP::core::Gaussian class."""
10578 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10580 def __init__(self, *args):
10582 __init__(IMP::core::Gaussian self) -> Gaussian
10583 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10584 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10586 this = _IMP_core.new_Gaussian(*args)
10588 self.this.append(this)
10589 except __builtin__.Exception:
10592 def show(self, *args):
10594 show(Gaussian self, _ostream out)
10595 show(Gaussian self)
10597 return _IMP_core.Gaussian_show(self, *args)
10600 def setup_particle(*args):
10602 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10603 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10604 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10605 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10607 return _IMP_core.Gaussian_setup_particle(*args)
10609 setup_particle = staticmethod(setup_particle)
10611 def get_local_covariance_key():
10612 """get_local_covariance_key() -> ObjectKey"""
10613 return _IMP_core.Gaussian_get_local_covariance_key()
10615 get_local_covariance_key = staticmethod(get_local_covariance_key)
10617 def get_global_covariance_key():
10618 """get_global_covariance_key() -> ObjectKey"""
10619 return _IMP_core.Gaussian_get_global_covariance_key()
10621 get_global_covariance_key = staticmethod(get_global_covariance_key)
10623 def get_is_setup(*args):
10625 get_is_setup(_ParticleAdaptor p) -> bool
10626 get_is_setup(Model m, ParticleIndex pi) -> bool
10628 return _IMP_core.Gaussian_get_is_setup(*args)
10630 get_is_setup = staticmethod(get_is_setup)
10632 def get_local_covariance(self):
10633 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
10634 return _IMP_core.Gaussian_get_local_covariance(self)
10637 def get_variances(self):
10638 """get_variances(Gaussian self) -> Vector3D"""
10639 return _IMP_core.Gaussian_get_variances(self)
10642 def get_global_covariance(self):
10643 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
10644 return _IMP_core.Gaussian_get_global_covariance(self)
10647 def get_gaussian(self):
10648 """get_gaussian(Gaussian self) -> Gaussian3D"""
10649 return _IMP_core.Gaussian_get_gaussian(self)
10652 def set_gaussian(self, g):
10653 """set_gaussian(Gaussian self, Gaussian3D g)"""
10654 return _IMP_core.Gaussian_set_gaussian(self, g)
10657 def set_local_covariance(self, covar):
10658 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
10659 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10662 def set_variances(self, v):
10663 """set_variances(Gaussian self, Vector3D v)"""
10664 return _IMP_core.Gaussian_set_variances(self, v)
10667 def set_global_covariance(self, covar):
10668 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
10669 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10672 def update_global_covariance(self):
10673 """update_global_covariance(Gaussian self)"""
10674 return _IMP_core.Gaussian_update_global_covariance(self)
10677 def add_attribute(self, *args):
10679 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10680 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10681 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10682 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10683 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10684 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10686 return _IMP_core.Gaussian_add_attribute(self, *args)
10689 def get_value(self, *args):
10691 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10692 get_value(Gaussian self, IntKey a0) -> IMP::Int
10693 get_value(Gaussian self, StringKey a0) -> IMP::String
10694 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10695 get_value(Gaussian self, ObjectKey a0) -> Object
10697 return _IMP_core.Gaussian_get_value(self, *args)
10700 def set_value(self, *args):
10702 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10703 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10704 set_value(Gaussian self, StringKey a0, IMP::String a1)
10705 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10706 set_value(Gaussian self, ObjectKey a0, Object a1)
10708 return _IMP_core.Gaussian_set_value(self, *args)
10711 def remove_attribute(self, *args):
10713 remove_attribute(Gaussian self, FloatKey a0)
10714 remove_attribute(Gaussian self, IntKey a0)
10715 remove_attribute(Gaussian self, StringKey a0)
10716 remove_attribute(Gaussian self, ParticleIndexKey a0)
10717 remove_attribute(Gaussian self, ObjectKey a0)
10719 return _IMP_core.Gaussian_remove_attribute(self, *args)
10722 def has_attribute(self, *args):
10724 has_attribute(Gaussian self, FloatKey a0) -> bool
10725 has_attribute(Gaussian self, IntKey a0) -> bool
10726 has_attribute(Gaussian self, StringKey a0) -> bool
10727 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10728 has_attribute(Gaussian self, ObjectKey a0) -> bool
10730 return _IMP_core.Gaussian_has_attribute(self, *args)
10733 def get_derivative(self, a0):
10734 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10735 return _IMP_core.Gaussian_get_derivative(self, a0)
10738 def get_name(self):
10739 """get_name(Gaussian self) -> std::string"""
10740 return _IMP_core.Gaussian_get_name(self)
10743 def clear_caches(self):
10744 """clear_caches(Gaussian self)"""
10745 return _IMP_core.Gaussian_clear_caches(self)
10748 def set_name(self, a0):
10749 """set_name(Gaussian self, std::string a0)"""
10750 return _IMP_core.Gaussian_set_name(self, a0)
10754 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10755 return _IMP_core.Gaussian_set_check_level(self, a0)
10758 def add_to_derivative(self, a0, a1, a2):
10759 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10760 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10763 def set_is_optimized(self, a0, a1):
10764 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10765 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10768 def get_is_optimized(self, a0):
10769 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10770 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10774 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10775 return _IMP_core.Gaussian_get_check_level(self)
10778 def __eq__(self, *args):
10780 __eq__(Gaussian self, Gaussian o) -> bool
10781 __eq__(Gaussian self, Particle d) -> bool
10783 return _IMP_core.Gaussian___eq__(self, *args)
10786 def __ne__(self, *args):
10788 __ne__(Gaussian self, Gaussian o) -> bool
10789 __ne__(Gaussian self, Particle d) -> bool
10791 return _IMP_core.Gaussian___ne__(self, *args)
10794 def __le__(self, *args):
10796 __le__(Gaussian self, Gaussian o) -> bool
10797 __le__(Gaussian self, Particle d) -> bool
10799 return _IMP_core.Gaussian___le__(self, *args)
10802 def __lt__(self, *args):
10804 __lt__(Gaussian self, Gaussian o) -> bool
10805 __lt__(Gaussian self, Particle d) -> bool
10807 return _IMP_core.Gaussian___lt__(self, *args)
10810 def __ge__(self, *args):
10812 __ge__(Gaussian self, Gaussian o) -> bool
10813 __ge__(Gaussian self, Particle d) -> bool
10815 return _IMP_core.Gaussian___ge__(self, *args)
10818 def __gt__(self, *args):
10820 __gt__(Gaussian self, Gaussian o) -> bool
10821 __gt__(Gaussian self, Particle d) -> bool
10823 return _IMP_core.Gaussian___gt__(self, *args)
10826 def __hash__(self):
10827 """__hash__(Gaussian self) -> std::size_t"""
10828 return _IMP_core.Gaussian___hash__(self)
10832 """__str__(Gaussian self) -> std::string"""
10833 return _IMP_core.Gaussian___str__(self)
10836 def __repr__(self):
10837 """__repr__(Gaussian self) -> std::string"""
10838 return _IMP_core.Gaussian___repr__(self)
10840 __swig_destroy__ = _IMP_core.delete_Gaussian
10841 __del__ =
lambda self:
None
10842 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10843 Gaussian_swigregister(Gaussian)
10845 def Gaussian_setup_particle(*args):
10847 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10848 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10849 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10850 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10852 return _IMP_core.Gaussian_setup_particle(*args)
10854 def Gaussian_get_local_covariance_key():
10855 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10856 return _IMP_core.Gaussian_get_local_covariance_key()
10858 def Gaussian_get_global_covariance_key():
10859 """Gaussian_get_global_covariance_key() -> ObjectKey"""
10860 return _IMP_core.Gaussian_get_global_covariance_key()
10862 def Gaussian_get_is_setup(*args):
10864 get_is_setup(_ParticleAdaptor p) -> bool
10865 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
10867 return _IMP_core.Gaussian_get_is_setup(*args)
10870 """Proxy of C++ IMP::core::PairRestraint class."""
10872 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10874 def __init__(self, *args):
10876 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
10877 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
10879 this = _IMP_core.new_PairRestraint(*args)
10881 self.this.append(this)
10882 except __builtin__.Exception:
10885 def get_version_info(self):
10886 """get_version_info(PairRestraint self) -> VersionInfo"""
10887 return _IMP_core.PairRestraint_get_version_info(self)
10891 """__str__(PairRestraint self) -> std::string"""
10892 return _IMP_core.PairRestraint___str__(self)
10895 def __repr__(self):
10896 """__repr__(PairRestraint self) -> std::string"""
10897 return _IMP_core.PairRestraint___repr__(self)
10902 return _object_cast_to_PairRestraint(o)
10904 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
10905 PairRestraint_swigregister(PairRestraint)
10908 """Proxy of C++ IMP::core::SingletonRestraint class."""
10910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10912 def __init__(self, *args):
10914 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
10915 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
10917 this = _IMP_core.new_SingletonRestraint(*args)
10919 self.this.append(this)
10920 except __builtin__.Exception:
10923 def get_version_info(self):
10924 """get_version_info(SingletonRestraint self) -> VersionInfo"""
10925 return _IMP_core.SingletonRestraint_get_version_info(self)
10929 """__str__(SingletonRestraint self) -> std::string"""
10930 return _IMP_core.SingletonRestraint___str__(self)
10933 def __repr__(self):
10934 """__repr__(SingletonRestraint self) -> std::string"""
10935 return _IMP_core.SingletonRestraint___repr__(self)
10940 return _object_cast_to_SingletonRestraint(o)
10942 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
10943 SingletonRestraint_swigregister(SingletonRestraint)
10946 """Proxy of C++ IMP::core::TripletRestraint class."""
10948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10950 def __init__(self, *args):
10952 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
10953 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
10955 this = _IMP_core.new_TripletRestraint(*args)
10957 self.this.append(this)
10958 except __builtin__.Exception:
10961 def get_version_info(self):
10962 """get_version_info(TripletRestraint self) -> VersionInfo"""
10963 return _IMP_core.TripletRestraint_get_version_info(self)
10967 """__str__(TripletRestraint self) -> std::string"""
10968 return _IMP_core.TripletRestraint___str__(self)
10971 def __repr__(self):
10972 """__repr__(TripletRestraint self) -> std::string"""
10973 return _IMP_core.TripletRestraint___repr__(self)
10978 return _object_cast_to_TripletRestraint(o)
10980 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
10981 TripletRestraint_swigregister(TripletRestraint)
10984 """Proxy of C++ IMP::core::QuadRestraint class."""
10986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10988 def __init__(self, *args):
10990 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
10991 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
10993 this = _IMP_core.new_QuadRestraint(*args)
10995 self.this.append(this)
10996 except __builtin__.Exception:
10999 def get_version_info(self):
11000 """get_version_info(QuadRestraint self) -> VersionInfo"""
11001 return _IMP_core.QuadRestraint_get_version_info(self)
11005 """__str__(QuadRestraint self) -> std::string"""
11006 return _IMP_core.QuadRestraint___str__(self)
11009 def __repr__(self):
11010 """__repr__(QuadRestraint self) -> std::string"""
11011 return _IMP_core.QuadRestraint___repr__(self)
11016 return _object_cast_to_QuadRestraint(o)
11018 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11019 QuadRestraint_swigregister(QuadRestraint)
11022 """Proxy of C++ IMP::core::SingletonConstraint class."""
11024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11026 def __init__(self, *args):
11028 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11029 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11030 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11031 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11033 this = _IMP_core.new_SingletonConstraint(*args)
11035 self.this.append(this)
11036 except __builtin__.Exception:
11039 def get_version_info(self):
11040 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11041 return _IMP_core.SingletonConstraint_get_version_info(self)
11045 """__str__(SingletonConstraint self) -> std::string"""
11046 return _IMP_core.SingletonConstraint___str__(self)
11049 def __repr__(self):
11050 """__repr__(SingletonConstraint self) -> std::string"""
11051 return _IMP_core.SingletonConstraint___repr__(self)
11056 return _object_cast_to_SingletonConstraint(o)
11058 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11059 SingletonConstraint_swigregister(SingletonConstraint)
11062 """Proxy of C++ IMP::core::PairConstraint class."""
11064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11066 def __init__(self, *args):
11068 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11069 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11070 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11071 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11073 this = _IMP_core.new_PairConstraint(*args)
11075 self.this.append(this)
11076 except __builtin__.Exception:
11079 def get_version_info(self):
11080 """get_version_info(PairConstraint self) -> VersionInfo"""
11081 return _IMP_core.PairConstraint_get_version_info(self)
11085 """__str__(PairConstraint self) -> std::string"""
11086 return _IMP_core.PairConstraint___str__(self)
11089 def __repr__(self):
11090 """__repr__(PairConstraint self) -> std::string"""
11091 return _IMP_core.PairConstraint___repr__(self)
11096 return _object_cast_to_PairConstraint(o)
11098 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11099 PairConstraint_swigregister(PairConstraint)
11102 """Proxy of C++ IMP::core::TripletConstraint class."""
11104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11106 def __init__(self, *args):
11108 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11109 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11110 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11111 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11113 this = _IMP_core.new_TripletConstraint(*args)
11115 self.this.append(this)
11116 except __builtin__.Exception:
11119 def get_version_info(self):
11120 """get_version_info(TripletConstraint self) -> VersionInfo"""
11121 return _IMP_core.TripletConstraint_get_version_info(self)
11125 """__str__(TripletConstraint self) -> std::string"""
11126 return _IMP_core.TripletConstraint___str__(self)
11129 def __repr__(self):
11130 """__repr__(TripletConstraint self) -> std::string"""
11131 return _IMP_core.TripletConstraint___repr__(self)
11136 return _object_cast_to_TripletConstraint(o)
11138 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11139 TripletConstraint_swigregister(TripletConstraint)
11142 """Proxy of C++ IMP::core::QuadConstraint class."""
11144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11146 def __init__(self, *args):
11148 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11149 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11150 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11151 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11153 this = _IMP_core.new_QuadConstraint(*args)
11155 self.this.append(this)
11156 except __builtin__.Exception:
11159 def get_version_info(self):
11160 """get_version_info(QuadConstraint self) -> VersionInfo"""
11161 return _IMP_core.QuadConstraint_get_version_info(self)
11165 """__str__(QuadConstraint self) -> std::string"""
11166 return _IMP_core.QuadConstraint___str__(self)
11169 def __repr__(self):
11170 """__repr__(QuadConstraint self) -> std::string"""
11171 return _IMP_core.QuadConstraint___repr__(self)
11176 return _object_cast_to_QuadConstraint(o)
11178 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11179 QuadConstraint_swigregister(QuadConstraint)
11182 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
11184 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11186 def __init__(self, *args):
11188 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11189 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11191 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11193 self.this.append(this)
11194 except __builtin__.Exception:
11197 def do_get_inputs(self, arg2, arg3):
11198 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11199 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11202 def get_value(self, *args):
11204 get_value(ConstantSingletonPredicate self, Particle a) -> int
11205 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11207 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11210 def get_value_index(self, *args):
11212 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11213 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11215 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11218 def get_version_info(self):
11219 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11220 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11224 """__str__(ConstantSingletonPredicate self) -> std::string"""
11225 return _IMP_core.ConstantSingletonPredicate___str__(self)
11228 def __repr__(self):
11229 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11230 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11235 return _object_cast_to_ConstantSingletonPredicate(o)
11237 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11238 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11241 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
11243 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11245 def __init__(self, *args):
11247 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11248 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11250 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11252 self.this.append(this)
11253 except __builtin__.Exception:
11256 def do_get_inputs(self, m, pis):
11257 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11258 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11261 def get_value(self, *args):
11263 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11264 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11266 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11269 def get_value_index(self, *args):
11271 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11272 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11274 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11277 def get_version_info(self):
11278 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11279 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11283 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11284 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11287 def __repr__(self):
11288 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11289 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11294 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11296 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11297 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11300 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
11302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11304 def __init__(self, *args):
11306 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11307 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11309 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11311 self.this.append(this)
11312 except __builtin__.Exception:
11315 def do_get_inputs(self, m, pis):
11316 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11317 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11320 def get_value(self, *args):
11322 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11323 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11324 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11326 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11329 def get_value_index(self, *args):
11331 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11332 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11334 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11337 def get_version_info(self):
11338 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11339 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11343 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11344 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11347 def __repr__(self):
11348 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11349 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11354 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11356 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11357 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11360 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
11362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11364 def __init__(self, *args):
11366 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11367 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11369 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11371 self.this.append(this)
11372 except __builtin__.Exception:
11375 def do_get_inputs(self, arg2, arg3):
11376 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11377 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11380 def get_value(self, *args):
11382 get_value(AllSameSingletonPredicate self, Particle a) -> int
11383 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11385 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11388 def get_value_index(self, *args):
11390 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11391 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11393 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11396 def get_version_info(self):
11397 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11398 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11402 """__str__(AllSameSingletonPredicate self) -> std::string"""
11403 return _IMP_core.AllSameSingletonPredicate___str__(self)
11406 def __repr__(self):
11407 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11408 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11413 return _object_cast_to_AllSameSingletonPredicate(o)
11415 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11416 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11419 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
11421 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11423 def __init__(self, *args):
11425 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11426 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11428 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11430 self.this.append(this)
11431 except __builtin__.Exception:
11434 def do_get_inputs(self, arg2, arg3):
11435 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11436 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11439 def get_value(self, *args):
11441 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11442 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11444 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11447 def get_value_index(self, *args):
11449 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11450 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11452 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11455 def get_version_info(self):
11456 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11457 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11461 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11462 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11465 def __repr__(self):
11466 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11467 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11472 return _object_cast_to_CoinFlipSingletonPredicate(o)
11474 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11475 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11478 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
11480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11482 def __init__(self, *args):
11484 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11485 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11487 this = _IMP_core.new_ConstantPairPredicate(*args)
11489 self.this.append(this)
11490 except __builtin__.Exception:
11493 def do_get_inputs(self, arg2, arg3):
11494 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11495 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11498 def get_value(self, *args):
11500 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11501 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11503 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11506 def get_value_index(self, *args):
11508 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11509 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11511 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11514 def get_version_info(self):
11515 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11516 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11520 """__str__(ConstantPairPredicate self) -> std::string"""
11521 return _IMP_core.ConstantPairPredicate___str__(self)
11524 def __repr__(self):
11525 """__repr__(ConstantPairPredicate self) -> std::string"""
11526 return _IMP_core.ConstantPairPredicate___repr__(self)
11531 return _object_cast_to_ConstantPairPredicate(o)
11533 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11534 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11537 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11539 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11541 def __init__(self, *args):
11543 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11544 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11546 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11548 self.this.append(this)
11549 except __builtin__.Exception:
11552 def do_get_inputs(self, m, pis):
11553 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11554 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11557 def get_value(self, *args):
11559 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11560 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11562 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11565 def get_value_index(self, *args):
11567 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11568 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11570 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11573 def get_version_info(self):
11574 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11575 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11579 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11580 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11583 def __repr__(self):
11584 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11585 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11590 return _object_cast_to_UnorderedTypePairPredicate(o)
11592 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11593 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11596 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11598 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11600 def __init__(self, *args):
11602 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11603 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11605 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11607 self.this.append(this)
11608 except __builtin__.Exception:
11611 def do_get_inputs(self, m, pis):
11612 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11613 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11616 def get_value(self, *args):
11618 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11619 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11620 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11622 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11625 def get_value_index(self, *args):
11627 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11628 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11630 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11633 def get_version_info(self):
11634 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11635 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11639 """__str__(OrderedTypePairPredicate self) -> std::string"""
11640 return _IMP_core.OrderedTypePairPredicate___str__(self)
11643 def __repr__(self):
11644 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11645 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11650 return _object_cast_to_OrderedTypePairPredicate(o)
11652 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11653 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11656 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
11658 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11660 def __init__(self, *args):
11662 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11663 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11665 this = _IMP_core.new_AllSamePairPredicate(*args)
11667 self.this.append(this)
11668 except __builtin__.Exception:
11671 def do_get_inputs(self, arg2, arg3):
11672 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11673 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11676 def get_value(self, *args):
11678 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11679 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11681 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11684 def get_value_index(self, *args):
11686 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11687 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11689 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11692 def get_version_info(self):
11693 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11694 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11698 """__str__(AllSamePairPredicate self) -> std::string"""
11699 return _IMP_core.AllSamePairPredicate___str__(self)
11702 def __repr__(self):
11703 """__repr__(AllSamePairPredicate self) -> std::string"""
11704 return _IMP_core.AllSamePairPredicate___repr__(self)
11709 return _object_cast_to_AllSamePairPredicate(o)
11711 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11712 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11715 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11717 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11719 def __init__(self, *args):
11721 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11722 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11724 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11726 self.this.append(this)
11727 except __builtin__.Exception:
11730 def do_get_inputs(self, arg2, arg3):
11731 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11732 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11735 def get_value(self, *args):
11737 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11738 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11740 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11743 def get_value_index(self, *args):
11745 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11746 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11748 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11751 def get_version_info(self):
11752 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11753 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11757 """__str__(CoinFlipPairPredicate self) -> std::string"""
11758 return _IMP_core.CoinFlipPairPredicate___str__(self)
11761 def __repr__(self):
11762 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11763 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11768 return _object_cast_to_CoinFlipPairPredicate(o)
11770 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11771 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11774 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11776 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11778 def __init__(self, *args):
11780 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11781 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11783 this = _IMP_core.new_ConstantTripletPredicate(*args)
11785 self.this.append(this)
11786 except __builtin__.Exception:
11789 def do_get_inputs(self, arg2, arg3):
11790 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11791 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11794 def get_value(self, *args):
11796 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11797 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11799 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11802 def get_value_index(self, *args):
11804 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11805 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11807 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11810 def get_version_info(self):
11811 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11812 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11816 """__str__(ConstantTripletPredicate self) -> std::string"""
11817 return _IMP_core.ConstantTripletPredicate___str__(self)
11820 def __repr__(self):
11821 """__repr__(ConstantTripletPredicate self) -> std::string"""
11822 return _IMP_core.ConstantTripletPredicate___repr__(self)
11827 return _object_cast_to_ConstantTripletPredicate(o)
11829 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11830 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11833 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11835 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11837 def __init__(self, *args):
11839 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11840 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11842 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11844 self.this.append(this)
11845 except __builtin__.Exception:
11848 def do_get_inputs(self, m, pis):
11849 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11850 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11853 def get_value(self, *args):
11855 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11856 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11858 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11861 def get_value_index(self, *args):
11863 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11864 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11866 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11869 def get_version_info(self):
11870 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11871 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11875 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11876 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11879 def __repr__(self):
11880 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11881 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
11886 return _object_cast_to_UnorderedTypeTripletPredicate(o)
11888 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
11889 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
11892 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
11894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11896 def __init__(self, *args):
11898 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
11899 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
11901 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
11903 self.this.append(this)
11904 except __builtin__.Exception:
11907 def do_get_inputs(self, m, pis):
11908 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11909 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11912 def get_value(self, *args):
11914 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
11915 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11916 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11918 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
11921 def get_value_index(self, *args):
11923 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11924 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11926 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
11929 def get_version_info(self):
11930 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
11931 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
11935 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
11936 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
11939 def __repr__(self):
11940 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
11941 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
11946 return _object_cast_to_OrderedTypeTripletPredicate(o)
11948 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
11949 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
11952 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
11954 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11956 def __init__(self, *args):
11958 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
11959 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
11961 this = _IMP_core.new_AllSameTripletPredicate(*args)
11963 self.this.append(this)
11964 except __builtin__.Exception:
11967 def do_get_inputs(self, arg2, arg3):
11968 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11969 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
11972 def get_value(self, *args):
11974 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11975 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11977 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
11980 def get_value_index(self, *args):
11982 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11983 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11985 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
11988 def get_version_info(self):
11989 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
11990 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
11994 """__str__(AllSameTripletPredicate self) -> std::string"""
11995 return _IMP_core.AllSameTripletPredicate___str__(self)
11998 def __repr__(self):
11999 """__repr__(AllSameTripletPredicate self) -> std::string"""
12000 return _IMP_core.AllSameTripletPredicate___repr__(self)
12005 return _object_cast_to_AllSameTripletPredicate(o)
12007 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12008 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12011 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
12013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12015 def __init__(self, *args):
12017 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12018 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12020 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12022 self.this.append(this)
12023 except __builtin__.Exception:
12026 def do_get_inputs(self, arg2, arg3):
12027 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12028 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12031 def get_value(self, *args):
12033 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12034 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12036 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12039 def get_value_index(self, *args):
12041 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12042 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12044 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12047 def get_version_info(self):
12048 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12049 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12053 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12054 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12057 def __repr__(self):
12058 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12059 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12064 return _object_cast_to_CoinFlipTripletPredicate(o)
12066 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12067 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12070 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
12072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12074 def __init__(self, *args):
12076 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12077 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12079 this = _IMP_core.new_ConstantQuadPredicate(*args)
12081 self.this.append(this)
12082 except __builtin__.Exception:
12085 def do_get_inputs(self, arg2, arg3):
12086 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12087 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12090 def get_value(self, *args):
12092 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12093 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12095 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12098 def get_value_index(self, *args):
12100 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12101 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12103 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12106 def get_version_info(self):
12107 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12108 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12112 """__str__(ConstantQuadPredicate self) -> std::string"""
12113 return _IMP_core.ConstantQuadPredicate___str__(self)
12116 def __repr__(self):
12117 """__repr__(ConstantQuadPredicate self) -> std::string"""
12118 return _IMP_core.ConstantQuadPredicate___repr__(self)
12123 return _object_cast_to_ConstantQuadPredicate(o)
12125 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12126 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12129 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
12131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12133 def __init__(self, *args):
12135 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12136 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12138 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12140 self.this.append(this)
12141 except __builtin__.Exception:
12144 def do_get_inputs(self, m, pis):
12145 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12146 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12149 def get_value(self, *args):
12151 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12152 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12154 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12157 def get_value_index(self, *args):
12159 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12160 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12162 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12165 def get_version_info(self):
12166 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12167 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12171 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12172 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12175 def __repr__(self):
12176 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12177 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12182 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12184 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12185 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12188 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
12190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12192 def __init__(self, *args):
12194 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12195 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12197 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12199 self.this.append(this)
12200 except __builtin__.Exception:
12203 def do_get_inputs(self, m, pis):
12204 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12205 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12208 def get_value(self, *args):
12210 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12211 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12212 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12214 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12217 def get_value_index(self, *args):
12219 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12220 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12222 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12225 def get_version_info(self):
12226 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12227 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12231 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12232 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12235 def __repr__(self):
12236 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12237 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12242 return _object_cast_to_OrderedTypeQuadPredicate(o)
12244 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12245 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12248 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
12250 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12252 def __init__(self, *args):
12254 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12255 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12257 this = _IMP_core.new_AllSameQuadPredicate(*args)
12259 self.this.append(this)
12260 except __builtin__.Exception:
12263 def do_get_inputs(self, arg2, arg3):
12264 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12265 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12268 def get_value(self, *args):
12270 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12271 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12273 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12276 def get_value_index(self, *args):
12278 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12279 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12281 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12284 def get_version_info(self):
12285 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12286 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12290 """__str__(AllSameQuadPredicate self) -> std::string"""
12291 return _IMP_core.AllSameQuadPredicate___str__(self)
12294 def __repr__(self):
12295 """__repr__(AllSameQuadPredicate self) -> std::string"""
12296 return _IMP_core.AllSameQuadPredicate___repr__(self)
12301 return _object_cast_to_AllSameQuadPredicate(o)
12303 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12304 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12307 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
12309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12311 def __init__(self, *args):
12313 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12314 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12316 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12318 self.this.append(this)
12319 except __builtin__.Exception:
12322 def do_get_inputs(self, arg2, arg3):
12323 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12324 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12327 def get_value(self, *args):
12329 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12330 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12332 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12335 def get_value_index(self, *args):
12337 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12338 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12340 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12343 def get_version_info(self):
12344 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12345 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12349 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12350 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12353 def __repr__(self):
12354 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12355 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12360 return _object_cast_to_CoinFlipQuadPredicate(o)
12362 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12363 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12366 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
12368 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12370 def __init__(self, *args):
12372 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12373 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12375 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12377 self.this.append(this)
12378 except __builtin__.Exception:
12381 def do_get_inputs(self, m, pi):
12382 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12383 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12386 def get_value(self, *args):
12388 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12389 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12391 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12394 def get_value_index(self, *args):
12396 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12397 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12399 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12402 def get_version_info(self):
12403 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12404 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12408 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12409 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12412 def __repr__(self):
12413 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12414 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12419 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12421 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12422 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12425 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12427 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12429 def __init__(self, *args):
12431 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12432 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12434 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12436 self.this.append(this)
12437 except __builtin__.Exception:
12440 def do_get_inputs(self, m, pi):
12441 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12442 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12445 def get_value(self, *args):
12447 get_value(AttributeSingletonPredicate self, Particle a) -> int
12448 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12450 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12453 def get_value_index(self, *args):
12455 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12456 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12458 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12461 def get_version_info(self):
12462 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12463 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12467 """__str__(AttributeSingletonPredicate self) -> std::string"""
12468 return _IMP_core.AttributeSingletonPredicate___str__(self)
12471 def __repr__(self):
12472 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12473 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12478 return _object_cast_to_AttributeSingletonPredicate(o)
12480 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12481 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12484 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12486 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12488 def __init__(self, *args):
12490 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12491 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12493 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12495 self.this.append(this)
12496 except __builtin__.Exception:
12499 def do_get_inputs(self, m, pi):
12500 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12501 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12504 def get_value(self, *args):
12506 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12507 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12509 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12512 def get_value_index(self, *args):
12514 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12515 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12517 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12520 def get_version_info(self):
12521 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12522 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12526 """__str__(IsCollisionPairPredicate self) -> std::string"""
12527 return _IMP_core.IsCollisionPairPredicate___str__(self)
12530 def __repr__(self):
12531 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12532 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12537 return _object_cast_to_IsCollisionPairPredicate(o)
12539 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12540 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12542 class AngleRestraint(TripletRestraint):
12543 """Proxy of C++ IMP::core::AngleRestraint class."""
12545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12547 def __init__(self, m, score_func, p1, p2, p3):
12548 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12549 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12551 self.this.append(this)
12552 except __builtin__.Exception:
12556 """__str__(AngleRestraint self) -> std::string"""
12557 return _IMP_core.AngleRestraint___str__(self)
12560 def __repr__(self):
12561 """__repr__(AngleRestraint self) -> std::string"""
12562 return _IMP_core.AngleRestraint___repr__(self)
12567 return _object_cast_to_AngleRestraint(o)
12569 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12570 AngleRestraint_swigregister(AngleRestraint)
12572 class RigidBodyMover(MonteCarloMover):
12573 """Proxy of C++ IMP::core::RigidBodyMover class."""
12575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12577 def __init__(self, *args):
12579 __init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
12580 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
12582 this = _IMP_core.new_RigidBodyMover(*args)
12584 self.this.append(this)
12585 except __builtin__.Exception:
12588 def set_maximum_translation(self, mt):
12589 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12590 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12593 def set_maximum_rotation(self, mr):
12594 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12595 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12598 def get_maximum_translation(self):
12599 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12600 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12603 def get_maximum_rotation(self):
12604 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12605 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12608 def get_version_info(self):
12609 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12610 return _IMP_core.RigidBodyMover_get_version_info(self)
12614 """__str__(RigidBodyMover self) -> std::string"""
12615 return _IMP_core.RigidBodyMover___str__(self)
12618 def __repr__(self):
12619 """__repr__(RigidBodyMover self) -> std::string"""
12620 return _IMP_core.RigidBodyMover___repr__(self)
12625 return _object_cast_to_RigidBodyMover(o)
12627 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12628 RigidBodyMover_swigregister(RigidBodyMover)
12630 class RigidBodyTunneler(MonteCarloMover):
12631 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
12633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12635 def __init__(self, m, pis, ref, k, move_probability=1.):
12637 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12638 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12640 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12642 self.this.append(this)
12643 except __builtin__.Exception:
12646 def add_entry_point(self, fl):
12647 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12648 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12651 def reset_stats(self):
12652 """reset_stats(RigidBodyTunneler self)"""
12653 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12656 def get_number_of_rejected_moves(self):
12657 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12658 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12661 def get_number_of_proposed_moves(self):
12662 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12663 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12666 def get_number_of_impossible_moves(self):
12667 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12668 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12671 def get_number_of_calls(self):
12672 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12673 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12676 def get_reduced_coordinates(*args):
12678 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12679 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12681 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12683 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12685 def set_reduced_coordinates(m, target, ref, coords):
12686 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12687 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12689 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12691 def get_version_info(self):
12692 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12693 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12697 """__str__(RigidBodyTunneler self) -> std::string"""
12698 return _IMP_core.RigidBodyTunneler___str__(self)
12701 def __repr__(self):
12702 """__repr__(RigidBodyTunneler self) -> std::string"""
12703 return _IMP_core.RigidBodyTunneler___repr__(self)
12708 return _object_cast_to_RigidBodyTunneler(o)
12710 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12711 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12713 def RigidBodyTunneler_get_reduced_coordinates(*args):
12715 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12716 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12718 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12720 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12721 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12722 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12725 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12729 def __init__(self, *args):
12731 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12732 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12733 __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
12734 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12736 this = _IMP_core.new_RigidBodyUmbrella(*args)
12738 self.this.append(this)
12739 except __builtin__.Exception:
12742 def set_x0(self, *args):
12744 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12745 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12747 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12751 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12752 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12756 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12757 return _IMP_core.RigidBodyUmbrella_get_x(self)
12760 def set_alpha(self, alpha):
12761 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12762 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12765 def set_k(self, k):
12766 """set_k(RigidBodyUmbrella self, double k)"""
12767 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12770 def get_version_info(self):
12771 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12772 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12776 """__str__(RigidBodyUmbrella self) -> std::string"""
12777 return _IMP_core.RigidBodyUmbrella___str__(self)
12780 def __repr__(self):
12781 """__repr__(RigidBodyUmbrella self) -> std::string"""
12782 return _IMP_core.RigidBodyUmbrella___repr__(self)
12787 return _object_cast_to_RigidBodyUmbrella(o)
12789 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12790 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12793 """Proxy of C++ IMP::core::VolumeRestraint class."""
12795 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12797 def __init__(self, f, sc, volume):
12798 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12799 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12801 self.this.append(this)
12802 except __builtin__.Exception:
12805 def do_get_inputs(self):
12806 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12807 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12810 def get_version_info(self):
12811 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12812 return _IMP_core.VolumeRestraint_get_version_info(self)
12816 """__str__(VolumeRestraint self) -> std::string"""
12817 return _IMP_core.VolumeRestraint___str__(self)
12820 def __repr__(self):
12821 """__repr__(VolumeRestraint self) -> std::string"""
12822 return _IMP_core.VolumeRestraint___repr__(self)
12827 return _object_cast_to_VolumeRestraint(o)
12829 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12830 VolumeRestraint_swigregister(VolumeRestraint)
12834 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12835 return _IMP_core.get_centroid(ps)
12837 def get_bounding_box(ps):
12838 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12839 return _IMP_core.get_bounding_box(ps)
12841 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12845 def __init__(self, ps):
12846 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12847 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12849 self.this.append(this)
12850 except __builtin__.Exception:
12853 def show_statistics(self, *args):
12855 show_statistics(MoveStatisticsScoreState self, _ostream out)
12856 show_statistics(MoveStatisticsScoreState self)
12858 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12862 """reset(MoveStatisticsScoreState self)"""
12863 return _IMP_core.MoveStatisticsScoreState_reset(self)
12866 def do_before_evaluate(self):
12867 """do_before_evaluate(MoveStatisticsScoreState self)"""
12868 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12871 def do_after_evaluate(self, da):
12872 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12873 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12876 def do_get_inputs(self):
12877 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12878 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12881 def do_get_outputs(self):
12882 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12883 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12886 def get_version_info(self):
12887 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
12888 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
12892 """__str__(MoveStatisticsScoreState self) -> std::string"""
12893 return _IMP_core.MoveStatisticsScoreState___str__(self)
12896 def __repr__(self):
12897 """__repr__(MoveStatisticsScoreState self) -> std::string"""
12898 return _IMP_core.MoveStatisticsScoreState___repr__(self)
12903 return _object_cast_to_MoveStatisticsScoreState(o)
12905 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
12906 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
12908 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
12910 """Proxy of C++ IMP::core::Typed class."""
12912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12914 def get_type_key():
12915 """get_type_key() -> IntKey"""
12916 return _IMP_core.Typed_get_type_key()
12918 get_type_key = staticmethod(get_type_key)
12920 def __init__(self, *args):
12922 __init__(IMP::core::Typed self) -> Typed
12923 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
12924 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
12926 this = _IMP_core.new_Typed(*args)
12928 self.this.append(this)
12929 except __builtin__.Exception:
12932 def show(self, *args):
12934 show(Typed self, _ostream out)
12937 return _IMP_core.Typed_show(self, *args)
12940 def setup_particle(*args):
12942 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
12943 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
12945 return _IMP_core.Typed_setup_particle(*args)
12947 setup_particle = staticmethod(setup_particle)
12949 def get_is_setup(*args):
12951 get_is_setup(_ParticleAdaptor p) -> bool
12952 get_is_setup(Model m, ParticleIndex pi) -> bool
12954 return _IMP_core.Typed_get_is_setup(*args)
12956 get_is_setup = staticmethod(get_is_setup)
12958 def get_type(self):
12959 """get_type(Typed self) -> ParticleType"""
12960 return _IMP_core.Typed_get_type(self)
12963 def set_type(self, pt):
12964 """set_type(Typed self, ParticleType pt)"""
12965 return _IMP_core.Typed_set_type(self, pt)
12968 def add_attribute(self, *args):
12970 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
12971 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
12972 add_attribute(Typed self, IntKey a0, IMP::Int a1)
12973 add_attribute(Typed self, StringKey a0, IMP::String a1)
12974 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
12975 add_attribute(Typed self, ObjectKey a0, Object a1)
12977 return _IMP_core.Typed_add_attribute(self, *args)
12980 def get_value(self, *args):
12982 get_value(Typed self, FloatKey a0) -> IMP::Float
12983 get_value(Typed self, IntKey a0) -> IMP::Int
12984 get_value(Typed self, StringKey a0) -> IMP::String
12985 get_value(Typed self, ParticleIndexKey a0) -> Particle
12986 get_value(Typed self, ObjectKey a0) -> Object
12988 return _IMP_core.Typed_get_value(self, *args)
12991 def set_value(self, *args):
12993 set_value(Typed self, FloatKey a0, IMP::Float a1)
12994 set_value(Typed self, IntKey a0, IMP::Int a1)
12995 set_value(Typed self, StringKey a0, IMP::String a1)
12996 set_value(Typed self, ParticleIndexKey a0, Particle a1)
12997 set_value(Typed self, ObjectKey a0, Object a1)
12999 return _IMP_core.Typed_set_value(self, *args)
13002 def remove_attribute(self, *args):
13004 remove_attribute(Typed self, FloatKey a0)
13005 remove_attribute(Typed self, IntKey a0)
13006 remove_attribute(Typed self, StringKey a0)
13007 remove_attribute(Typed self, ParticleIndexKey a0)
13008 remove_attribute(Typed self, ObjectKey a0)
13010 return _IMP_core.Typed_remove_attribute(self, *args)
13013 def has_attribute(self, *args):
13015 has_attribute(Typed self, FloatKey a0) -> bool
13016 has_attribute(Typed self, IntKey a0) -> bool
13017 has_attribute(Typed self, StringKey a0) -> bool
13018 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13019 has_attribute(Typed self, ObjectKey a0) -> bool
13021 return _IMP_core.Typed_has_attribute(self, *args)
13024 def get_derivative(self, a0):
13025 """get_derivative(Typed self, FloatKey a0) -> double"""
13026 return _IMP_core.Typed_get_derivative(self, a0)
13029 def get_name(self):
13030 """get_name(Typed self) -> std::string"""
13031 return _IMP_core.Typed_get_name(self)
13034 def clear_caches(self):
13035 """clear_caches(Typed self)"""
13036 return _IMP_core.Typed_clear_caches(self)
13039 def set_name(self, a0):
13040 """set_name(Typed self, std::string a0)"""
13041 return _IMP_core.Typed_set_name(self, a0)
13045 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13046 return _IMP_core.Typed_set_check_level(self, a0)
13049 def add_to_derivative(self, a0, a1, a2):
13050 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13051 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13054 def set_is_optimized(self, a0, a1):
13055 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13056 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13059 def get_is_optimized(self, a0):
13060 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13061 return _IMP_core.Typed_get_is_optimized(self, a0)
13065 """get_check_level(Typed self) -> IMP::CheckLevel"""
13066 return _IMP_core.Typed_get_check_level(self)
13069 def __eq__(self, *args):
13071 __eq__(Typed self, Typed o) -> bool
13072 __eq__(Typed self, Particle d) -> bool
13074 return _IMP_core.Typed___eq__(self, *args)
13077 def __ne__(self, *args):
13079 __ne__(Typed self, Typed o) -> bool
13080 __ne__(Typed self, Particle d) -> bool
13082 return _IMP_core.Typed___ne__(self, *args)
13085 def __le__(self, *args):
13087 __le__(Typed self, Typed o) -> bool
13088 __le__(Typed self, Particle d) -> bool
13090 return _IMP_core.Typed___le__(self, *args)
13093 def __lt__(self, *args):
13095 __lt__(Typed self, Typed o) -> bool
13096 __lt__(Typed self, Particle d) -> bool
13098 return _IMP_core.Typed___lt__(self, *args)
13101 def __ge__(self, *args):
13103 __ge__(Typed self, Typed o) -> bool
13104 __ge__(Typed self, Particle d) -> bool
13106 return _IMP_core.Typed___ge__(self, *args)
13109 def __gt__(self, *args):
13111 __gt__(Typed self, Typed o) -> bool
13112 __gt__(Typed self, Particle d) -> bool
13114 return _IMP_core.Typed___gt__(self, *args)
13117 def __hash__(self):
13118 """__hash__(Typed self) -> std::size_t"""
13119 return _IMP_core.Typed___hash__(self)
13123 """__str__(Typed self) -> std::string"""
13124 return _IMP_core.Typed___str__(self)
13127 def __repr__(self):
13128 """__repr__(Typed self) -> std::string"""
13129 return _IMP_core.Typed___repr__(self)
13131 __swig_destroy__ = _IMP_core.delete_Typed
13132 __del__ =
lambda self:
None
13133 Typed_swigregister = _IMP_core.Typed_swigregister
13134 Typed_swigregister(Typed)
13136 def Typed_get_type_key():
13137 """Typed_get_type_key() -> IntKey"""
13138 return _IMP_core.Typed_get_type_key()
13140 def Typed_setup_particle(*args):
13142 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13143 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13145 return _IMP_core.Typed_setup_particle(*args)
13147 def Typed_get_is_setup(*args):
13149 get_is_setup(_ParticleAdaptor p) -> bool
13150 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13152 return _IMP_core.Typed_get_is_setup(*args)
13155 def __lshift__(*args):
13157 __lshift__(_ostream out, XYZ n) -> _ostream
13158 __lshift__(_ostream out, XYZR n) -> _ostream
13159 __lshift__(_ostream out, Direction n) -> _ostream
13160 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13161 __lshift__(_ostream out, Surface n) -> _ostream
13162 __lshift__(_ostream out, Centroid n) -> _ostream
13163 __lshift__(_ostream out, Cover n) -> _ostream
13164 __lshift__(_ostream out, Reference n) -> _ostream
13165 __lshift__(_ostream out, RigidMember n) -> _ostream
13166 __lshift__(_ostream out, RigidBody n) -> _ostream
13167 __lshift__(_ostream out, Gaussian n) -> _ostream
13168 __lshift__(_ostream out, Typed n) -> _ostream
13170 return _IMP_core.__lshift__(*args)
13172 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
13174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13176 def __init__(self, rs, out):
13177 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13178 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13180 self.this.append(this)
13181 except __builtin__.Exception:
13184 def get_version_info(self):
13185 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13186 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13190 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13191 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13194 def __repr__(self):
13195 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13196 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13201 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13203 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13204 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13208 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13209 return _IMP_core.assign_blame(rs, ps, attribute)
13213 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13214 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13215 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13217 return _IMP_core.create_blame_geometries(*args)
13219 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
13221 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13223 def __init__(self, m, q1, q2):
13224 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13225 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13227 self.this.append(this)
13228 except __builtin__.Exception:
13231 def add_term(self, term):
13232 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13233 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13236 def do_get_inputs(self):
13237 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13238 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13241 def get_version_info(self):
13242 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13243 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13247 """__str__(MultipleBinormalRestraint self) -> std::string"""
13248 return _IMP_core.MultipleBinormalRestraint___str__(self)
13251 def __repr__(self):
13252 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13253 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13258 return _object_cast_to_MultipleBinormalRestraint(o)
13260 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13261 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13263 class BinormalTerm(object):
13264 """Proxy of C++ IMP::core::BinormalTerm class."""
13266 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13268 def __init__(self):
13269 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13270 this = _IMP_core.new_BinormalTerm()
13272 self.this.append(this)
13273 except __builtin__.Exception:
13276 def set_correlation(self, correlation):
13277 """set_correlation(BinormalTerm self, double correlation)"""
13278 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13281 def set_weight(self, weight):
13282 """set_weight(BinormalTerm self, double weight)"""
13283 return _IMP_core.BinormalTerm_set_weight(self, weight)
13286 def set_means(self, means):
13287 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13288 return _IMP_core.BinormalTerm_set_means(self, means)
13291 def set_standard_deviations(self, stdevs):
13292 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13293 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13296 def show(self, *args):
13298 show(BinormalTerm self, _ostream out)
13299 show(BinormalTerm self)
13301 return _IMP_core.BinormalTerm_show(self, *args)
13305 """__str__(BinormalTerm self) -> std::string"""
13306 return _IMP_core.BinormalTerm___str__(self)
13309 def __repr__(self):
13310 """__repr__(BinormalTerm self) -> std::string"""
13311 return _IMP_core.BinormalTerm___repr__(self)
13313 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13314 __del__ =
lambda self:
None
13315 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13316 BinormalTerm_swigregister(BinormalTerm)
13321 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
13322 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
13323 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
13325 return _IMP_core.get_transformation_aligning_first_to_second(*args)
13328 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
13329 return _IMP_core.create_restraint(ps, pp)
13331 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
13333 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13335 def __init__(self, *args):
13337 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
13338 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
13340 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
13342 self.this.append(this)
13343 except __builtin__.Exception:
13346 def get_version_info(self):
13347 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
13348 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
13352 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
13353 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
13356 def __repr__(self):
13357 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
13358 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
13363 return _object_cast_to_TruncatedHarmonic(o)
13365 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
13366 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
13369 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
13371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13373 def __init__(self, *args):
13375 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
13376 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
13378 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
13380 self.this.append(this)
13381 except __builtin__.Exception:
13384 def get_version_info(self):
13385 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
13386 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
13390 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
13391 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
13394 def __repr__(self):
13395 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
13396 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
13401 return _object_cast_to_TruncatedHarmonic(o)
13403 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
13404 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
13407 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
13409 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13411 def __init__(self, *args):
13413 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
13414 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
13416 this = _IMP_core.new_TruncatedHarmonicBound(*args)
13418 self.this.append(this)
13419 except __builtin__.Exception:
13422 def get_version_info(self):
13423 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
13424 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
13428 """__str__(TruncatedHarmonicBound self) -> std::string"""
13429 return _IMP_core.TruncatedHarmonicBound___str__(self)
13432 def __repr__(self):
13433 """__repr__(TruncatedHarmonicBound self) -> std::string"""
13434 return _IMP_core.TruncatedHarmonicBound___repr__(self)
13439 return _object_cast_to_TruncatedHarmonic(o)
13441 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
13442 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
13445 """Proxy of C++ IMP::Key<(34897493)> class."""
13447 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13449 def __init__(self, *args):
13451 __init__(IMP::Key<(34897493)> self) -> ParticleType
13452 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
13453 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
13454 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
13456 this = _IMP_core.new_ParticleType(*args)
13458 self.this.append(this)
13459 except __builtin__.Exception:
13463 """add_key(std::string sc) -> unsigned int"""
13464 return _IMP_core.ParticleType_add_key(sc)
13466 add_key = staticmethod(add_key)
13468 def get_key_exists(sc):
13469 """get_key_exists(std::string sc) -> bool"""
13470 return _IMP_core.ParticleType_get_key_exists(sc)
13472 get_key_exists = staticmethod(get_key_exists)
13474 def get_string(self):
13475 """get_string(ParticleType self) -> std::string const"""
13476 return _IMP_core.ParticleType_get_string(self)
13479 def __cmp__(self, o):
13480 """__cmp__(ParticleType self, ParticleType o) -> int"""
13481 return _IMP_core.ParticleType___cmp__(self, o)
13484 def __eq__(self, o):
13485 """__eq__(ParticleType self, ParticleType o) -> bool"""
13486 return _IMP_core.ParticleType___eq__(self, o)
13489 def __ne__(self, o):
13490 """__ne__(ParticleType self, ParticleType o) -> bool"""
13491 return _IMP_core.ParticleType___ne__(self, o)
13494 def __lt__(self, o):
13495 """__lt__(ParticleType self, ParticleType o) -> bool"""
13496 return _IMP_core.ParticleType___lt__(self, o)
13499 def __gt__(self, o):
13500 """__gt__(ParticleType self, ParticleType o) -> bool"""
13501 return _IMP_core.ParticleType___gt__(self, o)
13504 def __ge__(self, o):
13505 """__ge__(ParticleType self, ParticleType o) -> bool"""
13506 return _IMP_core.ParticleType___ge__(self, o)
13509 def __le__(self, o):
13510 """__le__(ParticleType self, ParticleType o) -> bool"""
13511 return _IMP_core.ParticleType___le__(self, o)
13514 def __hash__(self):
13515 """__hash__(ParticleType self) -> std::size_t"""
13516 return _IMP_core.ParticleType___hash__(self)
13519 def show(self, *args):
13521 show(ParticleType self, _ostream out)
13522 show(ParticleType self)
13524 return _IMP_core.ParticleType_show(self, *args)
13527 def add_alias(old_key, new_name):
13528 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
13529 return _IMP_core.ParticleType_add_alias(old_key, new_name)
13531 add_alias = staticmethod(add_alias)
13533 def get_number_of_keys():
13534 """get_number_of_keys() -> unsigned int"""
13535 return _IMP_core.ParticleType_get_number_of_keys()
13537 get_number_of_keys = staticmethod(get_number_of_keys)
13540 """get_index(ParticleType self) -> unsigned int"""
13541 return _IMP_core.ParticleType_get_index(self)
13545 """show_all(_ostream out)"""
13546 return _IMP_core.ParticleType_show_all(out)
13548 show_all = staticmethod(show_all)
13550 def get_all_strings():
13551 """get_all_strings() -> IMP::Vector< std::string >"""
13552 return _IMP_core.ParticleType_get_all_strings()
13554 get_all_strings = staticmethod(get_all_strings)
13556 def get_number_unique():
13557 """get_number_unique() -> unsigned int"""
13558 return _IMP_core.ParticleType_get_number_unique()
13560 get_number_unique = staticmethod(get_number_unique)
13563 """__str__(ParticleType self) -> std::string"""
13564 return _IMP_core.ParticleType___str__(self)
13567 def __repr__(self):
13568 """__repr__(ParticleType self) -> std::string"""
13569 return _IMP_core.ParticleType___repr__(self)
13571 __swig_destroy__ = _IMP_core.delete_ParticleType
13572 __del__ =
lambda self:
None
13573 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
13574 ParticleType_swigregister(ParticleType)
13576 def ParticleType_add_key(sc):
13577 """ParticleType_add_key(std::string sc) -> unsigned int"""
13578 return _IMP_core.ParticleType_add_key(sc)
13580 def ParticleType_get_key_exists(sc):
13581 """ParticleType_get_key_exists(std::string sc) -> bool"""
13582 return _IMP_core.ParticleType_get_key_exists(sc)
13584 def ParticleType_add_alias(old_key, new_name):
13585 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
13586 return _IMP_core.ParticleType_add_alias(old_key, new_name)
13588 def ParticleType_get_number_of_keys():
13589 """ParticleType_get_number_of_keys() -> unsigned int"""
13590 return _IMP_core.ParticleType_get_number_of_keys()
13592 def ParticleType_show_all(out):
13593 """ParticleType_show_all(_ostream out)"""
13594 return _IMP_core.ParticleType_show_all(out)
13596 def ParticleType_get_all_strings():
13597 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
13598 return _IMP_core.ParticleType_get_all_strings()
13600 def ParticleType_get_number_unique():
13601 """ParticleType_get_number_unique() -> unsigned int"""
13602 return _IMP_core.ParticleType_get_number_unique()
13605 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
13607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13608 __repr__ = _swig_repr
13610 def __init__(self, f, k):
13611 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
13612 this = _IMP_core.new_AttributeSingletonScore(f, k)
13614 self.this.append(this)
13615 except __builtin__.Exception:
13618 def do_get_inputs(self, m, pis):
13619 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
13620 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
13623 def get_unary_function(self):
13624 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
13625 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
13628 def get_version_info(self):
13629 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
13630 return _IMP_core.AttributeSingletonScore_get_version_info(self)
13632 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
13633 AttributeSingletonScore_swigregister(AttributeSingletonScore)
13637 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
13638 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
13640 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
13642 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13643 __repr__ = _swig_repr
13645 def __init__(self, f, bb):
13646 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
13647 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
13649 self.this.append(this)
13650 except __builtin__.Exception:
13653 def do_get_inputs(self, m, pis):
13654 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
13655 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
13658 def get_version_info(self):
13659 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
13660 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
13662 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
13663 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
13666 def create_bounding_box_3d_singleton_score(f, bb):
13667 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
13668 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
13670 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
13672 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13673 __repr__ = _swig_repr
13675 def __init__(self, f, pt):
13676 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
13677 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
13679 self.this.append(this)
13680 except __builtin__.Exception:
13683 def do_get_inputs(self, m, pis):
13684 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
13685 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
13688 def get_version_info(self):
13689 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
13690 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
13692 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
13693 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
13696 def create_distance_to_singleton_score(f, pt):
13697 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
13698 return _IMP_core.create_distance_to_singleton_score(f, pt)
13700 def get_module_version():
13701 """get_module_version() -> std::string const"""
13702 return _IMP_core.get_module_version()
13705 """get_example_path(std::string fname) -> std::string"""
13706 return _IMP_core.get_example_path(fname)
13709 """get_data_path(std::string fname) -> std::string"""
13710 return _IMP_core.get_data_path(fname)
13712 from .
import _version_check
13713 _version_check.check_version(get_module_version())
13714 __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.
void set_vector_geometry(Particle *p, const algebra::Vector3D &v)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
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)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
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.
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.
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
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.
void add_particle(RMF::FileHandle fh, Particle *hs)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
Abstract predicate function.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
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)
Version and module information for Objects.
const algebra::Vector3D get_vector_geometry(Particle *p)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Interface to specialized Particle types (e.g. atoms)
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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.
GenericAttributeSingletonScore< UF > * create_generic_attribute_singleton_score(UF *uf, FloatKey k)
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
Output IMP model data in various file formats.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
Hierarchies get_leaves(const Selection &h)
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.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
A specialization for the lower bound.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
A restraint is a term in an IMP ScoringFunction.