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(
"SurfaceMover")
412 def _object_cast_to_SurfaceMover(o):
413 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
414 return _IMP_core._object_cast_to_SurfaceMover(o)
416 _object_types.append(
"BoundingBox3DSingletonScore")
419 def _object_cast_to_BoundingBox3DSingletonScore(o):
420 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
421 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
423 _object_types.append(
"BoxSweepClosePairsFinder")
426 def _object_cast_to_BoxSweepClosePairsFinder(o):
427 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
428 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
430 _object_types.append(
"NearestNeighborsClosePairsFinder")
433 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
434 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
435 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
437 _object_types.append(
"CentroidOfRefined")
440 def _object_cast_to_CentroidOfRefined(o):
441 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
442 return _IMP_core._object_cast_to_CentroidOfRefined(o)
444 _object_types.append(
"ChecksScoreState")
447 def _object_cast_to_ChecksScoreState(o):
448 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
449 return _IMP_core._object_cast_to_ChecksScoreState(o)
451 _object_types.append(
"ChildrenRefiner")
454 def _object_cast_to_ChildrenRefiner(o):
455 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
456 return _IMP_core._object_cast_to_ChildrenRefiner(o)
458 _object_types.append(
"ClosePairsFinder")
461 def _object_cast_to_ClosePairsFinder(o):
462 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
463 return _IMP_core._object_cast_to_ClosePairsFinder(o)
465 _object_types.append(
"ClosePairsPairScore")
468 def _object_cast_to_ClosePairsPairScore(o):
469 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
470 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
472 _object_types.append(
"ClosedCubicSpline")
475 def _object_cast_to_ClosedCubicSpline(o):
476 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
477 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
479 _object_types.append(
"ConjugateGradients")
482 def _object_cast_to_ConjugateGradients(o):
483 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
484 return _IMP_core._object_cast_to_ConjugateGradients(o)
486 _object_types.append(
"ConnectivityRestraint")
489 def _object_cast_to_ConnectivityRestraint(o):
490 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
491 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
493 _object_types.append(
"ConstantRestraint")
496 def _object_cast_to_ConstantRestraint(o):
497 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
498 return _IMP_core._object_cast_to_ConstantRestraint(o)
500 _object_types.append(
"Cosine")
503 def _object_cast_to_Cosine(o):
504 """_object_cast_to_Cosine(Object o) -> Cosine"""
505 return _IMP_core._object_cast_to_Cosine(o)
507 _object_types.append(
"CoverRefined")
510 def _object_cast_to_CoverRefined(o):
511 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
512 return _IMP_core._object_cast_to_CoverRefined(o)
514 _object_types.append(
"DerivativesFromRefined")
517 def _object_cast_to_DerivativesFromRefined(o):
518 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
519 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
521 _object_types.append(
"DerivativesToRefined")
524 def _object_cast_to_DerivativesToRefined(o):
525 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
526 return _IMP_core._object_cast_to_DerivativesToRefined(o)
528 _object_types.append(
"WeightedDerivativesToRefined")
531 def _object_cast_to_WeightedDerivativesToRefined(o):
532 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
533 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
535 _object_types.append(
"DiameterRestraint")
538 def _object_cast_to_DiameterRestraint(o):
539 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
540 return _IMP_core._object_cast_to_DiameterRestraint(o)
542 _object_types.append(
"DihedralRestraint")
545 def _object_cast_to_DihedralRestraint(o):
546 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
547 return _IMP_core._object_cast_to_DihedralRestraint(o)
549 _object_types.append(
"DistanceRestraint")
552 def _object_cast_to_DistanceRestraint(o):
553 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
554 return _IMP_core._object_cast_to_DistanceRestraint(o)
556 _object_types.append(
"DistanceToSingletonScore")
559 def _object_cast_to_DistanceToSingletonScore(o):
560 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
561 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
563 _object_types.append(
"ExcludedVolumeRestraint")
566 def _object_cast_to_ExcludedVolumeRestraint(o):
567 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
568 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
570 _object_types.append(
"FixedRefiner")
573 def _object_cast_to_FixedRefiner(o):
574 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
575 return _IMP_core._object_cast_to_FixedRefiner(o)
577 _object_types.append(
"GridClosePairsFinder")
580 def _object_cast_to_GridClosePairsFinder(o):
581 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
582 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
584 _object_types.append(
"Harmonic")
587 def _object_cast_to_Harmonic(o):
588 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
589 return _IMP_core._object_cast_to_Harmonic(o)
591 _object_types.append(
"HarmonicWell")
594 def _object_cast_to_HarmonicWell(o):
595 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
596 return _IMP_core._object_cast_to_HarmonicWell(o)
598 _object_types.append(
"HarmonicLowerBound")
601 def _object_cast_to_HarmonicLowerBound(o):
602 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
603 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
605 _object_types.append(
"HarmonicUpperBound")
608 def _object_cast_to_HarmonicUpperBound(o):
609 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
610 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
612 _object_types.append(
"HarmonicSphereDistancePairScore")
615 def _object_cast_to_HarmonicSphereDistancePairScore(o):
616 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
617 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
619 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
622 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
623 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
624 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
626 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
629 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
630 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
631 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
633 _object_types.append(
"HarmonicSurfaceDistancePairScore")
636 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
637 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
638 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
640 _object_types.append(
"HarmonicSurfaceHeightPairScore")
643 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
644 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
645 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
647 _object_types.append(
"HarmonicSurfaceDepthPairScore")
650 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
651 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
652 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
654 _object_types.append(
"WeightedSum")
657 def _object_cast_to_WeightedSum(o):
658 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
659 return _IMP_core._object_cast_to_WeightedSum(o)
661 _object_types.append(
"WeightedSumOfExponential")
664 def _object_cast_to_WeightedSumOfExponential(o):
665 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
666 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
668 _object_types.append(
"IncrementalScoringFunction")
671 def _object_cast_to_IncrementalScoringFunction(o):
672 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
673 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
675 _object_types.append(
"KClosePairsPairScore")
678 def _object_cast_to_KClosePairsPairScore(o):
679 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
680 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
682 _object_types.append(
"LeavesRefiner")
685 def _object_cast_to_LeavesRefiner(o):
686 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
687 return _IMP_core._object_cast_to_LeavesRefiner(o)
689 _object_types.append(
"Linear")
692 def _object_cast_to_Linear(o):
693 """_object_cast_to_Linear(Object o) -> Linear"""
694 return _IMP_core._object_cast_to_Linear(o)
696 _object_types.append(
"MCCGSampler")
699 def _object_cast_to_MCCGSampler(o):
700 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
701 return _IMP_core._object_cast_to_MCCGSampler(o)
703 _object_types.append(
"MonteCarlo")
706 def _object_cast_to_MonteCarlo(o):
707 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
708 return _IMP_core._object_cast_to_MonteCarlo(o)
710 _object_types.append(
"MonteCarloWithLocalOptimization")
713 def _object_cast_to_MonteCarloWithLocalOptimization(o):
714 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
715 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
717 _object_types.append(
"MonteCarloWithBasinHopping")
720 def _object_cast_to_MonteCarloWithBasinHopping(o):
721 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
722 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
724 _object_types.append(
"MSConnectivityRestraint")
727 def _object_cast_to_MSConnectivityRestraint(o):
728 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
729 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
731 _object_types.append(
"NeighborsTable")
734 def _object_cast_to_NeighborsTable(o):
735 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
736 return _IMP_core._object_cast_to_NeighborsTable(o)
738 _object_types.append(
"NormalMover")
741 def _object_cast_to_NormalMover(o):
742 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
743 return _IMP_core._object_cast_to_NormalMover(o)
745 _object_types.append(
"NormalizedSphereDistancePairScore")
748 def _object_cast_to_NormalizedSphereDistancePairScore(o):
749 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
750 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
752 _object_types.append(
"OpenCubicSpline")
755 def _object_cast_to_OpenCubicSpline(o):
756 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
757 return _IMP_core._object_cast_to_OpenCubicSpline(o)
759 _object_types.append(
"PairConstraint")
762 def _object_cast_to_PairConstraint(o):
763 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
764 return _IMP_core._object_cast_to_PairConstraint(o)
766 _object_types.append(
"PairRestraint")
769 def _object_cast_to_PairRestraint(o):
770 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
771 return _IMP_core._object_cast_to_PairRestraint(o)
773 _object_types.append(
"QuadConstraint")
776 def _object_cast_to_QuadConstraint(o):
777 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
778 return _IMP_core._object_cast_to_QuadConstraint(o)
780 _object_types.append(
"QuadRestraint")
783 def _object_cast_to_QuadRestraint(o):
784 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
785 return _IMP_core._object_cast_to_QuadRestraint(o)
787 _object_types.append(
"QuadraticClosePairsFinder")
790 def _object_cast_to_QuadraticClosePairsFinder(o):
791 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
792 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
794 _object_types.append(
"RefinedPairsPairScore")
797 def _object_cast_to_RefinedPairsPairScore(o):
798 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
799 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
801 _object_types.append(
"RestraintsScoringFunction")
804 def _object_cast_to_RestraintsScoringFunction(o):
805 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
806 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
808 _object_types.append(
"RigidBodyDistancePairScore")
811 def _object_cast_to_RigidBodyDistancePairScore(o):
812 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
813 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
815 _object_types.append(
"RigidBodyAnglePairScore")
818 def _object_cast_to_RigidBodyAnglePairScore(o):
819 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
820 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
822 _object_types.append(
"RigidBodyMover")
825 def _object_cast_to_RigidBodyMover(o):
826 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
827 return _IMP_core._object_cast_to_RigidBodyMover(o)
829 _object_types.append(
"RigidBodyTunneler")
832 def _object_cast_to_RigidBodyTunneler(o):
833 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
834 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
836 _object_types.append(
"RigidBodyUmbrella")
839 def _object_cast_to_RigidBodyUmbrella(o):
840 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
841 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
843 _object_types.append(
"RigidClosePairsFinder")
846 def _object_cast_to_RigidClosePairsFinder(o):
847 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
848 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
850 _object_types.append(
"RigidMembersRefiner")
853 def _object_cast_to_RigidMembersRefiner(o):
854 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
855 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
857 _object_types.append(
"SingletonConstraint")
860 def _object_cast_to_SingletonConstraint(o):
861 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
862 return _IMP_core._object_cast_to_SingletonConstraint(o)
864 _object_types.append(
"SingletonRestraint")
867 def _object_cast_to_SingletonRestraint(o):
868 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
869 return _IMP_core._object_cast_to_SingletonRestraint(o)
871 _object_types.append(
"SoftSpherePairScore")
874 def _object_cast_to_SoftSpherePairScore(o):
875 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
876 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
878 _object_types.append(
"SphereDistancePairScore")
881 def _object_cast_to_SphereDistancePairScore(o):
882 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
883 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
885 _object_types.append(
"SphereDistanceToSingletonScore")
888 def _object_cast_to_SphereDistanceToSingletonScore(o):
889 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
890 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
892 _object_types.append(
"SoftSubSurfacePairScore")
895 def _object_cast_to_SoftSubSurfacePairScore(o):
896 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
897 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
899 _object_types.append(
"SoftSuperSurfacePairScore")
902 def _object_cast_to_SoftSuperSurfacePairScore(o):
903 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
904 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
906 _object_types.append(
"SurfaceDistancePairScore")
909 def _object_cast_to_SurfaceDistancePairScore(o):
910 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
911 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
913 _object_types.append(
"SurfaceHeightPairScore")
916 def _object_cast_to_SurfaceHeightPairScore(o):
917 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
918 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
920 _object_types.append(
"SurfaceDepthPairScore")
923 def _object_cast_to_SurfaceDepthPairScore(o):
924 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
925 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
927 _object_types.append(
"SurfaceTetheredChain")
930 def _object_cast_to_SurfaceTetheredChain(o):
931 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
932 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
934 _object_types.append(
"SurfaceSymmetryConstraint")
937 def _object_cast_to_SurfaceSymmetryConstraint(o):
938 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
939 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
941 _object_types.append(
"SteepestDescent")
944 def _object_cast_to_SteepestDescent(o):
945 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
946 return _IMP_core._object_cast_to_SteepestDescent(o)
948 _object_types.append(
"TableRefiner")
951 def _object_cast_to_TableRefiner(o):
952 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
953 return _IMP_core._object_cast_to_TableRefiner(o)
955 _object_types.append(
"Transform")
958 def _object_cast_to_Transform(o):
959 """_object_cast_to_Transform(Object o) -> Transform"""
960 return _IMP_core._object_cast_to_Transform(o)
962 _object_types.append(
"TransformationAndReflectionSymmetry")
965 def _object_cast_to_TransformationAndReflectionSymmetry(o):
966 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
967 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
969 _object_types.append(
"TransformationSymmetry")
972 def _object_cast_to_TransformationSymmetry(o):
973 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
974 return _IMP_core._object_cast_to_TransformationSymmetry(o)
976 _object_types.append(
"TransformationSymmetryMover")
979 def _object_cast_to_TransformationSymmetryMover(o):
980 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
981 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
983 _object_types.append(
"TransformedDistancePairScore")
986 def _object_cast_to_TransformedDistancePairScore(o):
987 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
988 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
990 _object_types.append(
"TripletConstraint")
993 def _object_cast_to_TripletConstraint(o):
994 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
995 return _IMP_core._object_cast_to_TripletConstraint(o)
997 _object_types.append(
"TripletRestraint")
1000 def _object_cast_to_TripletRestraint(o):
1001 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1002 return _IMP_core._object_cast_to_TripletRestraint(o)
1004 _object_types.append(
"TypedPairScore")
1007 def _object_cast_to_TypedPairScore(o):
1008 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1009 return _IMP_core._object_cast_to_TypedPairScore(o)
1011 _object_types.append(
"VolumeRestraint")
1014 def _object_cast_to_VolumeRestraint(o):
1015 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1016 return _IMP_core._object_cast_to_VolumeRestraint(o)
1018 _object_types.append(
"WeightedSphereDistancePairScore")
1021 def _object_cast_to_WeightedSphereDistancePairScore(o):
1022 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1023 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1025 _object_types.append(
"MoveStatisticsScoreState")
1028 def _object_cast_to_MoveStatisticsScoreState(o):
1029 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1030 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1032 _object_types.append(
"MinimumRestraint")
1035 def _object_cast_to_MinimumRestraint(o):
1036 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1037 return _IMP_core._object_cast_to_MinimumRestraint(o)
1039 _object_types.append(
"WriteRestraintScoresOptimizerState")
1042 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1043 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1044 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1046 _object_types.append(
"LateralSurfaceConstraint")
1049 def _object_cast_to_LateralSurfaceConstraint(o):
1050 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1051 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1053 _object_types.append(
"ConstantSingletonPredicate")
1056 def _object_cast_to_ConstantSingletonPredicate(o):
1057 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1058 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1060 _object_types.append(
"ConstantPairPredicate")
1063 def _object_cast_to_ConstantPairPredicate(o):
1064 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1065 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1067 _object_types.append(
"ConstantTripletPredicate")
1070 def _object_cast_to_ConstantTripletPredicate(o):
1071 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1072 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1074 _object_types.append(
"ConstantQuadPredicate")
1077 def _object_cast_to_ConstantQuadPredicate(o):
1078 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1079 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1081 _object_types.append(
"CoinFlipSingletonPredicate")
1084 def _object_cast_to_CoinFlipSingletonPredicate(o):
1085 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1086 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1088 _object_types.append(
"CoinFlipPairPredicate")
1091 def _object_cast_to_CoinFlipPairPredicate(o):
1092 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1093 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1095 _object_types.append(
"CoinFlipTripletPredicate")
1098 def _object_cast_to_CoinFlipTripletPredicate(o):
1099 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1100 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1102 _object_types.append(
"CoinFlipQuadPredicate")
1105 def _object_cast_to_CoinFlipQuadPredicate(o):
1106 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1107 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1109 _object_types.append(
"UnorderedTypeSingletonPredicate")
1112 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1113 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1114 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1116 _object_types.append(
"UnorderedTypePairPredicate")
1119 def _object_cast_to_UnorderedTypePairPredicate(o):
1120 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1121 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1123 _object_types.append(
"UnorderedTypeTripletPredicate")
1126 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1127 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1128 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1130 _object_types.append(
"UnorderedTypeQuadPredicate")
1133 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1134 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1135 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1137 _object_types.append(
"OrderedTypeSingletonPredicate")
1140 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1141 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1142 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1144 _object_types.append(
"OrderedTypePairPredicate")
1147 def _object_cast_to_OrderedTypePairPredicate(o):
1148 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1149 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1151 _object_types.append(
"OrderedTypeTripletPredicate")
1154 def _object_cast_to_OrderedTypeTripletPredicate(o):
1155 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1156 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1158 _object_types.append(
"OrderedTypeQuadPredicate")
1161 def _object_cast_to_OrderedTypeQuadPredicate(o):
1162 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1163 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1165 _object_types.append(
"AllSameSingletonPredicate")
1168 def _object_cast_to_AllSameSingletonPredicate(o):
1169 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1170 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1172 _object_types.append(
"AllSamePairPredicate")
1175 def _object_cast_to_AllSamePairPredicate(o):
1176 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1177 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1179 _object_types.append(
"AllSameTripletPredicate")
1182 def _object_cast_to_AllSameTripletPredicate(o):
1183 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1184 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1186 _object_types.append(
"AllSameQuadPredicate")
1189 def _object_cast_to_AllSameQuadPredicate(o):
1190 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1191 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1194 return [XYZ(x)
for x
in l]
1195 _plural_types.append(
"XYZs")
1198 _value_types.append(
"XYZ")
1202 return [XYZR(x)
for x
in l]
1203 _plural_types.append(
"XYZRs")
1206 _value_types.append(
"XYZR")
1209 def RigidBodies(l=[]):
1210 return [RigidBody(x)
for x
in l]
1211 _plural_types.append(
"RigidBodies")
1214 _value_types.append(
"RigidBody")
1217 def RigidBodyMembers(l=[]):
1218 return [RigidBodyMember(x)
for x
in l]
1219 _plural_types.append(
"RigidBodyMembers")
1222 _value_types.append(
"RigidBodyMember")
1225 def RigidMembers(l=[]):
1226 return [RigidMember(x)
for x
in l]
1227 _plural_types.append(
"RigidMembers")
1230 _value_types.append(
"RigidMember")
1233 def NonRigidMembers(l=[]):
1234 return [NonRigidMember(x)
for x
in l]
1235 _plural_types.append(
"NonRigidMembers")
1238 _value_types.append(
"NonRigidMember")
1241 def Centroids(l=[]):
1242 return [Centroid(x)
for x
in l]
1243 _plural_types.append(
"Centroids")
1246 _value_types.append(
"Centroid")
1250 return [Cover(x)
for x
in l]
1251 _plural_types.append(
"Covers")
1254 _value_types.append(
"Cover")
1257 def References(l=[]):
1258 return [Reference(x)
for x
in l]
1259 _plural_types.append(
"References")
1262 _value_types.append(
"Reference")
1266 _plural_types.append(
"ParticleTypes")
1267 _value_types.append(
"ParticleType")
1271 return [Typed(x)
for x
in l]
1272 _plural_types.append(
"Typeds")
1275 _value_types.append(
"Typed")
1278 def GenericHierarchies(l=[]):
1279 return [Hierarchy(x)
for x
in l]
1280 _plural_types.append(
"GenericHierarchies")
1283 _value_types.append(
"Hierarchy")
1286 def Gaussians(l=[]):
1287 return [Gaussian(x)
for x
in l]
1288 _plural_types.append(
"Gaussians")
1291 _value_types.append(
"Gaussian")
1295 return [Surface(x)
for x
in l]
1296 _plural_types.append(
"Surfaces")
1299 _value_types.append(
"Surface")
1302 HierarchyCounters=list
1303 _plural_types.append(
"HierarchyCounters")
1304 _value_types.append(
"HierarchyCounter")
1307 HierarchyTraitsList=list
1308 _plural_types.append(
"HierarchyTraitsList")
1309 _value_types.append(
"HierarchyTraits")
1312 _object_types.append(
"TruncatedHarmonicBound")
1315 def _object_cast_to_TruncatedHarmonicBound(o):
1316 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1317 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1319 _object_types.append(
"TruncatedHarmonicLowerBound")
1322 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1323 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1324 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1326 _object_types.append(
"TruncatedHarmonicUpperBound")
1329 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1330 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1331 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1333 _object_types.append(
"HarmonicDistancePairScore")
1336 def _object_cast_to_HarmonicDistancePairScore(o):
1337 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1338 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1340 _object_types.append(
"DistancePairScore")
1343 def _object_cast_to_DistancePairScore(o):
1344 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1345 return _IMP_core._object_cast_to_DistancePairScore(o)
1347 _object_types.append(
"XYZRGeometry")
1350 def _object_cast_to_XYZRGeometry(o):
1351 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1352 return _IMP_core._object_cast_to_XYZRGeometry(o)
1354 _object_types.append(
"XYZRsGeometry")
1357 def _object_cast_to_XYZRsGeometry(o):
1358 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1359 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1361 _object_types.append(
"XYZDerivativeGeometry")
1364 def _object_cast_to_XYZDerivativeGeometry(o):
1365 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1366 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1368 _object_types.append(
"XYZDerivativesGeometry")
1371 def _object_cast_to_XYZDerivativesGeometry(o):
1372 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1373 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1375 _object_types.append(
"RigidBodyDerivativeGeometry")
1378 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1379 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1380 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1382 _object_types.append(
"RigidBodyDerivativesGeometry")
1385 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1386 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1387 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1389 _object_types.append(
"RigidBodyHierarchyGeometry")
1392 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1393 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1394 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1396 _object_types.append(
"RigidBodyFrameGeometry")
1399 def _object_cast_to_RigidBodyFrameGeometry(o):
1400 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1401 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1403 _object_types.append(
"RigidBodyFramesGeometry")
1406 def _object_cast_to_RigidBodyFramesGeometry(o):
1407 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1408 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1410 _object_types.append(
"RigidBodyTorque")
1413 def _object_cast_to_RigidBodyTorque(o):
1414 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1415 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1417 _object_types.append(
"EdgePairGeometry")
1420 def _object_cast_to_EdgePairGeometry(o):
1421 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1422 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1424 _object_types.append(
"EdgePairsGeometry")
1427 def _object_cast_to_EdgePairsGeometry(o):
1428 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1429 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1431 _object_types.append(
"SurfaceGeometry")
1434 def _object_cast_to_SurfaceGeometry(o):
1435 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1436 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1438 _object_types.append(
"SurfaceGeometryConstraint")
1441 def _object_cast_to_SurfaceGeometryConstraint(o):
1442 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1443 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1445 _object_types.append(
"AttributeSingletonPredicate")
1448 def _object_cast_to_AttributeSingletonPredicate(o):
1449 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1450 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1452 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1455 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1456 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1457 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1459 _object_types.append(
"IsCollisionPairPredicate")
1462 def _object_cast_to_IsCollisionPairPredicate(o):
1463 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1464 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1466 BinormalTermList=list
1467 _plural_types.append(
"BinormalTermList")
1468 _value_types.append(
"BinormalTerm")
1471 _object_types.append(
"MultipleBinormalRestraint")
1474 def _object_cast_to_MultipleBinormalRestraint(o):
1475 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1476 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1477 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1478 """Proxy of C++ IMP::core::ClosePairsFinder class."""
1480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1482 def __init__(self, *args, **kwargs):
1483 raise AttributeError(
"No constructor defined - class is abstract")
1484 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1485 __del__ =
lambda self:
None
1487 def get_close_pairs(self, *args):
1489 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1490 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1491 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1492 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1494 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1497 def set_distance(self, d):
1498 """set_distance(ClosePairsFinder self, double d)"""
1499 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1503 """get_distance(ClosePairsFinder self) -> double"""
1504 return _IMP_core.ClosePairsFinder_get_distance(self)
1507 def remove_pair_filter(self, d):
1508 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1509 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1512 def remove_pair_filters(self, d):
1513 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1514 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1517 def set_pair_filters(self, ps):
1518 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1519 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1522 def set_pair_filters_order(self, objs):
1523 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1524 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1527 def add_pair_filter(self, obj):
1528 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1529 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1532 def add_pair_filters(self, objs):
1533 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1534 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1537 def clear_pair_filters(self):
1538 """clear_pair_filters(ClosePairsFinder self)"""
1539 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1542 def get_number_of_pair_filters(self):
1543 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1544 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1547 def get_has_pair_filters(self):
1548 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1549 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1552 def get_pair_filter(self, i):
1553 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1554 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1557 def get_pair_filters(self):
1558 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1559 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1562 def reserve_pair_filters(self, sz):
1563 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1564 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1568 """__str__(ClosePairsFinder self) -> std::string"""
1569 return _IMP_core.ClosePairsFinder___str__(self)
1573 """__repr__(ClosePairsFinder self) -> std::string"""
1574 return _IMP_core.ClosePairsFinder___repr__(self)
1579 return _object_cast_to_ClosePairsFinder(o)
1581 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1582 ClosePairsFinder_swigregister(ClosePairsFinder)
1584 class MonteCarloMoverResult(IMP._Value):
1585 """Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1587 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1589 def __init__(self, *args):
1591 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1592 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1593 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1595 this = _IMP_core.new_MonteCarloMoverResult(*args)
1597 self.this.append(this)
1598 except __builtin__.Exception:
1602 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1603 return _IMP_core.MonteCarloMoverResult___hash__(self)
1606 def show(self, *args):
1608 show(MonteCarloMoverResult self, _ostream out)
1609 show(MonteCarloMoverResult self)
1611 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1614 def __cmp__(self, o):
1615 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1616 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1619 def __eq__(self, o):
1620 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1621 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1624 def __ne__(self, o):
1625 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1626 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1629 def __lt__(self, o):
1630 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1631 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1634 def __gt__(self, o):
1635 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1636 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1639 def __ge__(self, o):
1640 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1641 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1644 def __le__(self, o):
1645 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1646 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1649 def get_moved_particles(self):
1650 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1651 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1654 def set_moved_particles(self, v):
1655 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1656 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1659 def get_proposal_ratio(self):
1660 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1661 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1664 def set_proposal_ratio(self, v):
1665 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1666 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1670 """__str__(MonteCarloMoverResult self) -> std::string"""
1671 return _IMP_core.MonteCarloMoverResult___str__(self)
1675 """__repr__(MonteCarloMoverResult self) -> std::string"""
1676 return _IMP_core.MonteCarloMoverResult___repr__(self)
1678 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1679 __del__ =
lambda self:
None
1680 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1681 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1684 """Proxy of C++ IMP::core::MonteCarloMover class."""
1686 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1688 def __init__(self, m, name):
1689 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1690 if self.__class__ == MonteCarloMover:
1694 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1696 self.this.append(this)
1697 except __builtin__.Exception:
1700 if self.__class__ != MonteCarloMover:
1701 _director_objects.register(self)
1707 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1708 return _IMP_core.MonteCarloMover_propose(self)
1712 """reject(MonteCarloMover self)"""
1713 return _IMP_core.MonteCarloMover_reject(self)
1717 """accept(MonteCarloMover self)"""
1718 return _IMP_core.MonteCarloMover_accept(self)
1721 def get_number_of_proposed(self):
1722 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1723 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1726 def get_number_of_accepted(self):
1727 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1728 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1731 def reset_statistics(self):
1732 """reset_statistics(MonteCarloMover self)"""
1733 return _IMP_core.MonteCarloMover_reset_statistics(self)
1736 def do_propose(self):
1737 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1738 return _IMP_core.MonteCarloMover_do_propose(self)
1741 def do_reject(self):
1742 """do_reject(MonteCarloMover self)"""
1743 return _IMP_core.MonteCarloMover_do_reject(self)
1746 def do_accept(self):
1747 """do_accept(MonteCarloMover self)"""
1748 return _IMP_core.MonteCarloMover_do_accept(self)
1751 def do_get_outputs(self):
1752 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1753 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1757 """__str__(MonteCarloMover self) -> std::string"""
1758 return _IMP_core.MonteCarloMover___str__(self)
1762 """__repr__(MonteCarloMover self) -> std::string"""
1763 return _IMP_core.MonteCarloMover___repr__(self)
1768 return _object_cast_to_MonteCarloMover(o)
1771 def get_type_name(self):
1772 return self.__class__.__name__
1773 def do_show(self, out):
1775 def get_version_info(self):
1776 if"IMP::core" ==
"IMP":
1777 return VersionInfo(self.__module__,
1778 __import__(self.__module__).get_module_version())
1781 __import__(self.__module__).get_module_version())
1784 return _object_cast_to_MonteCarloMover(o)
1786 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1787 __del__ =
lambda self:
None
1788 def __disown__(self):
1790 _IMP_core.disown_MonteCarloMover(self)
1791 return weakref_proxy(self)
1793 def do_destroy(self):
1794 """do_destroy(MonteCarloMover self)"""
1795 return _IMP_core.MonteCarloMover_do_destroy(self)
1798 def handle_set_has_required_score_states(self, arg0):
1799 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1800 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1803 def do_get_inputs(self):
1804 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1805 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1808 def do_get_interactions(self):
1809 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1810 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1812 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1813 MonteCarloMover_swigregister(MonteCarloMover)
1816 """Proxy of C++ IMP::core::XYZ class."""
1818 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1820 def get_coordinate_key(i):
1821 """get_coordinate_key(unsigned int i) -> FloatKey"""
1822 return _IMP_core.XYZ_get_coordinate_key(i)
1824 get_coordinate_key = staticmethod(get_coordinate_key)
1826 def __init__(self, *args):
1828 __init__(IMP::core::XYZ self) -> XYZ
1829 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
1830 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1832 this = _IMP_core.new_XYZ(*args)
1834 self.this.append(this)
1835 except __builtin__.Exception:
1838 def show(self, *args):
1840 show(XYZ self, _ostream out)
1843 return _IMP_core.XYZ_show(self, *args)
1846 def setup_particle(*args):
1848 setup_particle(Model m, ParticleIndex pi) -> XYZ
1849 setup_particle(_ParticleAdaptor decorator) -> XYZ
1850 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1851 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1853 return _IMP_core.XYZ_setup_particle(*args)
1855 setup_particle = staticmethod(setup_particle)
1858 """get_x(XYZ self) -> IMP::Float"""
1859 return _IMP_core.XYZ_get_x(self)
1863 """set_x(XYZ self, IMP::Float t)"""
1864 return _IMP_core.XYZ_set_x(self, t)
1868 """get_y(XYZ self) -> IMP::Float"""
1869 return _IMP_core.XYZ_get_y(self)
1873 """set_y(XYZ self, IMP::Float t)"""
1874 return _IMP_core.XYZ_set_y(self, t)
1878 """get_z(XYZ self) -> IMP::Float"""
1879 return _IMP_core.XYZ_get_z(self)
1883 """set_z(XYZ self, IMP::Float t)"""
1884 return _IMP_core.XYZ_set_z(self, t)
1887 def set_coordinate(self, i, v):
1888 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1889 return _IMP_core.XYZ_set_coordinate(self, i, v)
1892 def set_coordinates(self, v):
1893 """set_coordinates(XYZ self, Vector3D v)"""
1894 return _IMP_core.XYZ_set_coordinates(self, v)
1897 def get_coordinate(self, i):
1898 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1899 return _IMP_core.XYZ_get_coordinate(self, i)
1902 def add_to_derivatives(self, v, d):
1903 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1904 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1907 def get_coordinates_are_optimized(self):
1908 """get_coordinates_are_optimized(XYZ self) -> bool"""
1909 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1912 def set_coordinates_are_optimized(self, tf):
1913 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1914 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1917 def get_vector_to(self, b):
1918 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1919 return _IMP_core.XYZ_get_vector_to(self, b)
1922 def get_coordinates(self):
1923 """get_coordinates(XYZ self) -> Vector3D"""
1924 return _IMP_core.XYZ_get_coordinates(self)
1927 def get_derivatives(self):
1928 """get_derivatives(XYZ self) -> Vector3D"""
1929 return _IMP_core.XYZ_get_derivatives(self)
1932 def get_is_setup(*args):
1934 get_is_setup(_ParticleAdaptor p) -> bool
1935 get_is_setup(Model m, ParticleIndex pi) -> bool
1937 return _IMP_core.XYZ_get_is_setup(*args)
1939 get_is_setup = staticmethod(get_is_setup)
1942 """get_xyz_keys() -> IMP::FloatKeys const &"""
1943 return _IMP_core.XYZ_get_xyz_keys()
1945 get_xyz_keys = staticmethod(get_xyz_keys)
1947 def add_attribute(self, *args):
1949 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1950 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1951 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1952 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1953 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1954 add_attribute(XYZ self, ObjectKey a0, Object a1)
1956 return _IMP_core.XYZ_add_attribute(self, *args)
1959 def get_value(self, *args):
1961 get_value(XYZ self, FloatKey a0) -> IMP::Float
1962 get_value(XYZ self, IntKey a0) -> IMP::Int
1963 get_value(XYZ self, StringKey a0) -> IMP::String
1964 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1965 get_value(XYZ self, ObjectKey a0) -> Object
1967 return _IMP_core.XYZ_get_value(self, *args)
1970 def set_value(self, *args):
1972 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1973 set_value(XYZ self, IntKey a0, IMP::Int a1)
1974 set_value(XYZ self, StringKey a0, IMP::String a1)
1975 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1976 set_value(XYZ self, ObjectKey a0, Object a1)
1978 return _IMP_core.XYZ_set_value(self, *args)
1981 def remove_attribute(self, *args):
1983 remove_attribute(XYZ self, FloatKey a0)
1984 remove_attribute(XYZ self, IntKey a0)
1985 remove_attribute(XYZ self, StringKey a0)
1986 remove_attribute(XYZ self, ParticleIndexKey a0)
1987 remove_attribute(XYZ self, ObjectKey a0)
1989 return _IMP_core.XYZ_remove_attribute(self, *args)
1992 def has_attribute(self, *args):
1994 has_attribute(XYZ self, FloatKey a0) -> bool
1995 has_attribute(XYZ self, IntKey a0) -> bool
1996 has_attribute(XYZ self, StringKey a0) -> bool
1997 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1998 has_attribute(XYZ self, ObjectKey a0) -> bool
2000 return _IMP_core.XYZ_has_attribute(self, *args)
2003 def get_derivative(self, *args):
2005 get_derivative(XYZ self, int i) -> IMP::Float
2006 get_derivative(XYZ self, FloatKey a0) -> double
2008 return _IMP_core.XYZ_get_derivative(self, *args)
2012 """get_name(XYZ self) -> std::string"""
2013 return _IMP_core.XYZ_get_name(self)
2016 def clear_caches(self):
2017 """clear_caches(XYZ self)"""
2018 return _IMP_core.XYZ_clear_caches(self)
2021 def set_name(self, a0):
2022 """set_name(XYZ self, std::string a0)"""
2023 return _IMP_core.XYZ_set_name(self, a0)
2027 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2028 return _IMP_core.XYZ_set_check_level(self, a0)
2031 def add_to_derivative(self, *args):
2033 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2034 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2036 return _IMP_core.XYZ_add_to_derivative(self, *args)
2039 def set_is_optimized(self, a0, a1):
2040 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2041 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2044 def get_is_optimized(self, a0):
2045 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2046 return _IMP_core.XYZ_get_is_optimized(self, a0)
2050 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2051 return _IMP_core.XYZ_get_check_level(self)
2054 def __eq__(self, *args):
2056 __eq__(XYZ self, XYZ o) -> bool
2057 __eq__(XYZ self, Particle d) -> bool
2059 return _IMP_core.XYZ___eq__(self, *args)
2062 def __ne__(self, *args):
2064 __ne__(XYZ self, XYZ o) -> bool
2065 __ne__(XYZ self, Particle d) -> bool
2067 return _IMP_core.XYZ___ne__(self, *args)
2070 def __le__(self, *args):
2072 __le__(XYZ self, XYZ o) -> bool
2073 __le__(XYZ self, Particle d) -> bool
2075 return _IMP_core.XYZ___le__(self, *args)
2078 def __lt__(self, *args):
2080 __lt__(XYZ self, XYZ o) -> bool
2081 __lt__(XYZ self, Particle d) -> bool
2083 return _IMP_core.XYZ___lt__(self, *args)
2086 def __ge__(self, *args):
2088 __ge__(XYZ self, XYZ o) -> bool
2089 __ge__(XYZ self, Particle d) -> bool
2091 return _IMP_core.XYZ___ge__(self, *args)
2094 def __gt__(self, *args):
2096 __gt__(XYZ self, XYZ o) -> bool
2097 __gt__(XYZ self, Particle d) -> bool
2099 return _IMP_core.XYZ___gt__(self, *args)
2103 """__hash__(XYZ self) -> std::size_t"""
2104 return _IMP_core.XYZ___hash__(self)
2108 """__str__(XYZ self) -> std::string"""
2109 return _IMP_core.XYZ___str__(self)
2113 """__repr__(XYZ self) -> std::string"""
2114 return _IMP_core.XYZ___repr__(self)
2116 __swig_destroy__ = _IMP_core.delete_XYZ
2117 __del__ =
lambda self:
None
2118 XYZ_swigregister = _IMP_core.XYZ_swigregister
2119 XYZ_swigregister(XYZ)
2121 def XYZ_get_coordinate_key(i):
2122 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2123 return _IMP_core.XYZ_get_coordinate_key(i)
2125 def XYZ_setup_particle(*args):
2127 setup_particle(Model m, ParticleIndex pi) -> XYZ
2128 setup_particle(_ParticleAdaptor decorator) -> XYZ
2129 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2130 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2132 return _IMP_core.XYZ_setup_particle(*args)
2134 def XYZ_get_is_setup(*args):
2136 get_is_setup(_ParticleAdaptor p) -> bool
2137 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2139 return _IMP_core.XYZ_get_is_setup(*args)
2141 def XYZ_get_xyz_keys():
2142 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2143 return _IMP_core.XYZ_get_xyz_keys()
2147 """set_vector_geometry(XYZ d, Vector3D v)"""
2148 return _IMP_core.set_vector_geometry(d, v)
2151 """get_vector_geometry(XYZ d) -> Vector3D"""
2152 return _IMP_core.get_vector_geometry(d)
2155 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2156 return _IMP_core.get_dihedral(a, b, c, d)
2158 """Proxy of C++ IMP::core::XYZR class."""
2160 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2162 def __init__(self, *args):
2164 __init__(IMP::core::XYZR self) -> XYZR
2165 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2166 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2168 this = _IMP_core.new_XYZR(*args)
2170 self.this.append(this)
2171 except __builtin__.Exception:
2174 def show(self, *args):
2176 show(XYZR self, _ostream out)
2179 return _IMP_core.XYZR_show(self, *args)
2182 def setup_particle(*args):
2184 setup_particle(Model m, ParticleIndex pi) -> XYZR
2185 setup_particle(_ParticleAdaptor decorator) -> XYZR
2186 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2187 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2188 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2189 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2191 return _IMP_core.XYZR_setup_particle(*args)
2193 setup_particle = staticmethod(setup_particle)
2195 def get_is_setup(*args):
2197 get_is_setup(_ParticleAdaptor p) -> bool
2198 get_is_setup(Model m, ParticleIndex pi) -> bool
2200 return _IMP_core.XYZR_get_is_setup(*args)
2202 get_is_setup = staticmethod(get_is_setup)
2204 def get_radius(self):
2205 """get_radius(XYZR self) -> double"""
2206 return _IMP_core.XYZR_get_radius(self)
2209 def set_radius(self, r):
2210 """set_radius(XYZR self, double r)"""
2211 return _IMP_core.XYZR_set_radius(self, r)
2214 def get_sphere(self):
2215 """get_sphere(XYZR self) -> Sphere3D"""
2216 return _IMP_core.XYZR_get_sphere(self)
2219 def set_sphere(self, s):
2220 """set_sphere(XYZR self, Sphere3D s)"""
2221 return _IMP_core.XYZR_set_sphere(self, s)
2224 def get_radius_key():
2225 """get_radius_key() -> FloatKey"""
2226 return _IMP_core.XYZR_get_radius_key()
2228 get_radius_key = staticmethod(get_radius_key)
2230 def add_to_radius_derivative(self, v, d):
2231 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2232 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2235 def add_attribute(self, *args):
2237 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2238 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2239 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2240 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2241 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2242 add_attribute(XYZR self, ObjectKey a0, Object a1)
2244 return _IMP_core.XYZR_add_attribute(self, *args)
2247 def get_value(self, *args):
2249 get_value(XYZR self, FloatKey a0) -> IMP::Float
2250 get_value(XYZR self, IntKey a0) -> IMP::Int
2251 get_value(XYZR self, StringKey a0) -> IMP::String
2252 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2253 get_value(XYZR self, ObjectKey a0) -> Object
2255 return _IMP_core.XYZR_get_value(self, *args)
2258 def set_value(self, *args):
2260 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2261 set_value(XYZR self, IntKey a0, IMP::Int a1)
2262 set_value(XYZR self, StringKey a0, IMP::String a1)
2263 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2264 set_value(XYZR self, ObjectKey a0, Object a1)
2266 return _IMP_core.XYZR_set_value(self, *args)
2269 def remove_attribute(self, *args):
2271 remove_attribute(XYZR self, FloatKey a0)
2272 remove_attribute(XYZR self, IntKey a0)
2273 remove_attribute(XYZR self, StringKey a0)
2274 remove_attribute(XYZR self, ParticleIndexKey a0)
2275 remove_attribute(XYZR self, ObjectKey a0)
2277 return _IMP_core.XYZR_remove_attribute(self, *args)
2280 def has_attribute(self, *args):
2282 has_attribute(XYZR self, FloatKey a0) -> bool
2283 has_attribute(XYZR self, IntKey a0) -> bool
2284 has_attribute(XYZR self, StringKey a0) -> bool
2285 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2286 has_attribute(XYZR self, ObjectKey a0) -> bool
2288 return _IMP_core.XYZR_has_attribute(self, *args)
2291 def get_derivative(self, a0):
2292 """get_derivative(XYZR self, FloatKey a0) -> double"""
2293 return _IMP_core.XYZR_get_derivative(self, a0)
2297 """get_name(XYZR self) -> std::string"""
2298 return _IMP_core.XYZR_get_name(self)
2301 def clear_caches(self):
2302 """clear_caches(XYZR self)"""
2303 return _IMP_core.XYZR_clear_caches(self)
2306 def set_name(self, a0):
2307 """set_name(XYZR self, std::string a0)"""
2308 return _IMP_core.XYZR_set_name(self, a0)
2312 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2313 return _IMP_core.XYZR_set_check_level(self, a0)
2316 def add_to_derivative(self, a0, a1, a2):
2317 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2318 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2321 def set_is_optimized(self, a0, a1):
2322 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2323 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2326 def get_is_optimized(self, a0):
2327 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2328 return _IMP_core.XYZR_get_is_optimized(self, a0)
2332 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2333 return _IMP_core.XYZR_get_check_level(self)
2336 def __eq__(self, *args):
2338 __eq__(XYZR self, XYZR o) -> bool
2339 __eq__(XYZR self, Particle d) -> bool
2341 return _IMP_core.XYZR___eq__(self, *args)
2344 def __ne__(self, *args):
2346 __ne__(XYZR self, XYZR o) -> bool
2347 __ne__(XYZR self, Particle d) -> bool
2349 return _IMP_core.XYZR___ne__(self, *args)
2352 def __le__(self, *args):
2354 __le__(XYZR self, XYZR o) -> bool
2355 __le__(XYZR self, Particle d) -> bool
2357 return _IMP_core.XYZR___le__(self, *args)
2360 def __lt__(self, *args):
2362 __lt__(XYZR self, XYZR o) -> bool
2363 __lt__(XYZR self, Particle d) -> bool
2365 return _IMP_core.XYZR___lt__(self, *args)
2368 def __ge__(self, *args):
2370 __ge__(XYZR self, XYZR o) -> bool
2371 __ge__(XYZR self, Particle d) -> bool
2373 return _IMP_core.XYZR___ge__(self, *args)
2376 def __gt__(self, *args):
2378 __gt__(XYZR self, XYZR o) -> bool
2379 __gt__(XYZR self, Particle d) -> bool
2381 return _IMP_core.XYZR___gt__(self, *args)
2385 """__hash__(XYZR self) -> std::size_t"""
2386 return _IMP_core.XYZR___hash__(self)
2390 """__str__(XYZR self) -> std::string"""
2391 return _IMP_core.XYZR___str__(self)
2395 """__repr__(XYZR self) -> std::string"""
2396 return _IMP_core.XYZR___repr__(self)
2398 __swig_destroy__ = _IMP_core.delete_XYZR
2399 __del__ =
lambda self:
None
2400 XYZR_swigregister = _IMP_core.XYZR_swigregister
2401 XYZR_swigregister(XYZR)
2403 def XYZR_setup_particle(*args):
2405 setup_particle(Model m, ParticleIndex pi) -> XYZR
2406 setup_particle(_ParticleAdaptor decorator) -> XYZR
2407 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2408 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2409 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2410 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2412 return _IMP_core.XYZR_setup_particle(*args)
2414 def XYZR_get_is_setup(*args):
2416 get_is_setup(_ParticleAdaptor p) -> bool
2417 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2419 return _IMP_core.XYZR_get_is_setup(*args)
2421 def XYZR_get_radius_key():
2422 """XYZR_get_radius_key() -> FloatKey"""
2423 return _IMP_core.XYZR_get_radius_key()
2428 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2429 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2431 return _IMP_core.set_enclosing_sphere(b, v, slack)
2434 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2435 return _IMP_core.set_enclosing_radius(b, v)
2438 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2439 return _IMP_core.get_enclosing_sphere(v)
2443 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2444 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2446 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2448 """Proxy of C++ IMP::core::XYZRGeometry class."""
2450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2452 def __init__(self, *args):
2454 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2455 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2457 this = _IMP_core.new_XYZRGeometry(*args)
2459 self.this.append(this)
2460 except __builtin__.Exception:
2463 def get_version_info(self):
2464 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2465 return _IMP_core.XYZRGeometry_get_version_info(self)
2469 """__str__(XYZRGeometry self) -> std::string"""
2470 return _IMP_core.XYZRGeometry___str__(self)
2474 """__repr__(XYZRGeometry self) -> std::string"""
2475 return _IMP_core.XYZRGeometry___repr__(self)
2480 return _object_cast_to_XYZRGeometry(o)
2482 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2483 XYZRGeometry_swigregister(XYZRGeometry)
2486 """Proxy of C++ IMP::core::XYZRsGeometry class."""
2488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2490 def __init__(self, sc):
2491 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2492 this = _IMP_core.new_XYZRsGeometry(sc)
2494 self.this.append(this)
2495 except __builtin__.Exception:
2498 def get_version_info(self):
2499 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2500 return _IMP_core.XYZRsGeometry_get_version_info(self)
2504 """__str__(XYZRsGeometry self) -> std::string"""
2505 return _IMP_core.XYZRsGeometry___str__(self)
2509 """__repr__(XYZRsGeometry self) -> std::string"""
2510 return _IMP_core.XYZRsGeometry___repr__(self)
2515 return _object_cast_to_XYZRsGeometry(o)
2517 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2518 XYZRsGeometry_swigregister(XYZRsGeometry)
2521 """Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2523 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2525 def __init__(self, *args):
2527 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2528 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2530 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2532 self.this.append(this)
2533 except __builtin__.Exception:
2536 def get_version_info(self):
2537 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2538 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2542 """__str__(XYZDerivativeGeometry self) -> std::string"""
2543 return _IMP_core.XYZDerivativeGeometry___str__(self)
2547 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2548 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2553 return _object_cast_to_XYZDerivativeGeometry(o)
2555 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2556 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2559 """Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2561 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2563 def __init__(self, sc):
2564 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2565 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2567 self.this.append(this)
2568 except __builtin__.Exception:
2571 def get_version_info(self):
2572 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2573 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2577 """__str__(XYZDerivativesGeometry self) -> std::string"""
2578 return _IMP_core.XYZDerivativesGeometry___str__(self)
2582 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2583 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2588 return _object_cast_to_XYZDerivativesGeometry(o)
2590 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2591 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2594 """Proxy of C++ IMP::core::EdgePairGeometry class."""
2596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2598 def __init__(self, pp):
2599 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2600 this = _IMP_core.new_EdgePairGeometry(pp)
2602 self.this.append(this)
2603 except __builtin__.Exception:
2606 def get_version_info(self):
2607 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2608 return _IMP_core.EdgePairGeometry_get_version_info(self)
2612 """__str__(EdgePairGeometry self) -> std::string"""
2613 return _IMP_core.EdgePairGeometry___str__(self)
2617 """__repr__(EdgePairGeometry self) -> std::string"""
2618 return _IMP_core.EdgePairGeometry___repr__(self)
2623 return _object_cast_to_EdgePairGeometry(o)
2625 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2626 EdgePairGeometry_swigregister(EdgePairGeometry)
2629 """Proxy of C++ IMP::core::EdgePairsGeometry class."""
2631 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2633 def __init__(self, sc):
2634 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2635 this = _IMP_core.new_EdgePairsGeometry(sc)
2637 self.this.append(this)
2638 except __builtin__.Exception:
2641 def get_version_info(self):
2642 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2643 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2647 """__str__(EdgePairsGeometry self) -> std::string"""
2648 return _IMP_core.EdgePairsGeometry___str__(self)
2652 """__repr__(EdgePairsGeometry self) -> std::string"""
2653 return _IMP_core.EdgePairsGeometry___repr__(self)
2658 return _object_cast_to_EdgePairsGeometry(o)
2660 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2661 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2664 """Proxy of C++ IMP::core::Surface class."""
2666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2668 def do_setup_particle(*args):
2670 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
2671 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
2672 do_setup_particle(Model m, ParticleIndex pi)
2673 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
2675 return _IMP_core.Surface_do_setup_particle(*args)
2677 do_setup_particle = staticmethod(do_setup_particle)
2679 def __init__(self, *args):
2681 __init__(IMP::core::Surface self) -> Surface
2682 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
2683 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
2685 this = _IMP_core.new_Surface(*args)
2687 self.this.append(this)
2688 except __builtin__.Exception:
2691 def show(self, *args):
2693 show(Surface self, _ostream out)
2696 return _IMP_core.Surface_show(self, *args)
2699 def setup_particle(*args):
2701 setup_particle(Model m, ParticleIndex pi) -> Surface
2702 setup_particle(_ParticleAdaptor decorator) -> Surface
2703 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
2704 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
2705 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
2706 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
2707 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
2708 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
2710 return _IMP_core.Surface_setup_particle(*args)
2712 setup_particle = staticmethod(setup_particle)
2714 def get_normal_x(self):
2715 """get_normal_x(Surface self) -> IMP::Float"""
2716 return _IMP_core.Surface_get_normal_x(self)
2719 def set_normal_x(self, t):
2720 """set_normal_x(Surface self, IMP::Float t)"""
2721 return _IMP_core.Surface_set_normal_x(self, t)
2724 def get_normal_y(self):
2725 """get_normal_y(Surface self) -> IMP::Float"""
2726 return _IMP_core.Surface_get_normal_y(self)
2729 def set_normal_y(self, t):
2730 """set_normal_y(Surface self, IMP::Float t)"""
2731 return _IMP_core.Surface_set_normal_y(self, t)
2734 def get_normal_z(self):
2735 """get_normal_z(Surface self) -> IMP::Float"""
2736 return _IMP_core.Surface_get_normal_z(self)
2739 def set_normal_z(self, t):
2740 """set_normal_z(Surface self, IMP::Float t)"""
2741 return _IMP_core.Surface_set_normal_z(self, t)
2744 def get_is_setup(*args):
2746 get_is_setup(_ParticleAdaptor p) -> bool
2747 get_is_setup(Model m, ParticleIndex pi) -> bool
2749 return _IMP_core.Surface_get_is_setup(*args)
2751 get_is_setup = staticmethod(get_is_setup)
2753 def get_normal_key(i):
2754 """get_normal_key(unsigned int i) -> FloatKey"""
2755 return _IMP_core.Surface_get_normal_key(i)
2757 get_normal_key = staticmethod(get_normal_key)
2759 def get_normal_derivative(self, i):
2760 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
2761 return _IMP_core.Surface_get_normal_derivative(self, i)
2764 def get_normal_derivatives(self):
2765 """get_normal_derivatives(Surface self) -> Vector3D"""
2766 return _IMP_core.Surface_get_normal_derivatives(self)
2769 def add_to_normal_derivative(self, i, v, d):
2770 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
2771 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
2774 def add_to_normal_derivatives(self, v, d):
2775 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
2776 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
2779 def get_normal_is_optimized(self):
2780 """get_normal_is_optimized(Surface self) -> bool"""
2781 return _IMP_core.Surface_get_normal_is_optimized(self)
2784 def set_normal_is_optimized(self, tf):
2785 """set_normal_is_optimized(Surface self, bool tf)"""
2786 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
2789 def get_normal(self):
2790 """get_normal(Surface self) -> Vector3D"""
2791 return _IMP_core.Surface_get_normal(self)
2794 def set_normal(self, normal):
2795 """set_normal(Surface self, Vector3D normal)"""
2796 return _IMP_core.Surface_set_normal(self, normal)
2800 """reflect(Surface self)"""
2801 return _IMP_core.Surface_reflect(self)
2805 """get_height(Surface self, Vector3D v) -> double"""
2806 return _IMP_core.Surface_get_height(self, v)
2810 """get_depth(Surface self, Vector3D v) -> double"""
2811 return _IMP_core.Surface_get_depth(self, v)
2814 def get_distance_to(self, v):
2815 """get_distance_to(Surface self, Vector3D v) -> double"""
2816 return _IMP_core.Surface_get_distance_to(self, v)
2819 def get_distance_to_center(self, v):
2820 """get_distance_to_center(Surface self, Vector3D v) -> double"""
2821 return _IMP_core.Surface_get_distance_to_center(self, v)
2824 def set_reference_frame(self, rf):
2825 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
2826 return _IMP_core.Surface_set_reference_frame(self, rf)
2829 def get_reference_frame(self):
2830 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
2831 return _IMP_core.Surface_get_reference_frame(self)
2834 def get_plane(self):
2835 """get_plane(Surface self) -> Plane3D"""
2836 return _IMP_core.Surface_get_plane(self)
2839 def add_attribute(self, *args):
2841 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
2842 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
2843 add_attribute(Surface self, IntKey a0, IMP::Int a1)
2844 add_attribute(Surface self, StringKey a0, IMP::String a1)
2845 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
2846 add_attribute(Surface self, ObjectKey a0, Object a1)
2848 return _IMP_core.Surface_add_attribute(self, *args)
2851 def get_value(self, *args):
2853 get_value(Surface self, FloatKey a0) -> IMP::Float
2854 get_value(Surface self, IntKey a0) -> IMP::Int
2855 get_value(Surface self, StringKey a0) -> IMP::String
2856 get_value(Surface self, ParticleIndexKey a0) -> Particle
2857 get_value(Surface self, ObjectKey a0) -> Object
2859 return _IMP_core.Surface_get_value(self, *args)
2862 def set_value(self, *args):
2864 set_value(Surface self, FloatKey a0, IMP::Float a1)
2865 set_value(Surface self, IntKey a0, IMP::Int a1)
2866 set_value(Surface self, StringKey a0, IMP::String a1)
2867 set_value(Surface self, ParticleIndexKey a0, Particle a1)
2868 set_value(Surface self, ObjectKey a0, Object a1)
2870 return _IMP_core.Surface_set_value(self, *args)
2873 def remove_attribute(self, *args):
2875 remove_attribute(Surface self, FloatKey a0)
2876 remove_attribute(Surface self, IntKey a0)
2877 remove_attribute(Surface self, StringKey a0)
2878 remove_attribute(Surface self, ParticleIndexKey a0)
2879 remove_attribute(Surface self, ObjectKey a0)
2881 return _IMP_core.Surface_remove_attribute(self, *args)
2884 def has_attribute(self, *args):
2886 has_attribute(Surface self, FloatKey a0) -> bool
2887 has_attribute(Surface self, IntKey a0) -> bool
2888 has_attribute(Surface self, StringKey a0) -> bool
2889 has_attribute(Surface self, ParticleIndexKey a0) -> bool
2890 has_attribute(Surface self, ObjectKey a0) -> bool
2892 return _IMP_core.Surface_has_attribute(self, *args)
2895 def get_derivative(self, a0):
2896 """get_derivative(Surface self, FloatKey a0) -> double"""
2897 return _IMP_core.Surface_get_derivative(self, a0)
2901 """get_name(Surface self) -> std::string"""
2902 return _IMP_core.Surface_get_name(self)
2905 def clear_caches(self):
2906 """clear_caches(Surface self)"""
2907 return _IMP_core.Surface_clear_caches(self)
2910 def set_name(self, a0):
2911 """set_name(Surface self, std::string a0)"""
2912 return _IMP_core.Surface_set_name(self, a0)
2916 """set_check_level(Surface self, IMP::CheckLevel a0)"""
2917 return _IMP_core.Surface_set_check_level(self, a0)
2920 def add_to_derivative(self, a0, a1, a2):
2921 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2922 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
2925 def set_is_optimized(self, a0, a1):
2926 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
2927 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
2930 def get_is_optimized(self, a0):
2931 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
2932 return _IMP_core.Surface_get_is_optimized(self, a0)
2936 """get_check_level(Surface self) -> IMP::CheckLevel"""
2937 return _IMP_core.Surface_get_check_level(self)
2940 def __eq__(self, *args):
2942 __eq__(Surface self, Surface o) -> bool
2943 __eq__(Surface self, Particle d) -> bool
2945 return _IMP_core.Surface___eq__(self, *args)
2948 def __ne__(self, *args):
2950 __ne__(Surface self, Surface o) -> bool
2951 __ne__(Surface self, Particle d) -> bool
2953 return _IMP_core.Surface___ne__(self, *args)
2956 def __le__(self, *args):
2958 __le__(Surface self, Surface o) -> bool
2959 __le__(Surface self, Particle d) -> bool
2961 return _IMP_core.Surface___le__(self, *args)
2964 def __lt__(self, *args):
2966 __lt__(Surface self, Surface o) -> bool
2967 __lt__(Surface self, Particle d) -> bool
2969 return _IMP_core.Surface___lt__(self, *args)
2972 def __ge__(self, *args):
2974 __ge__(Surface self, Surface o) -> bool
2975 __ge__(Surface self, Particle d) -> bool
2977 return _IMP_core.Surface___ge__(self, *args)
2980 def __gt__(self, *args):
2982 __gt__(Surface self, Surface o) -> bool
2983 __gt__(Surface self, Particle d) -> bool
2985 return _IMP_core.Surface___gt__(self, *args)
2989 """__hash__(Surface self) -> std::size_t"""
2990 return _IMP_core.Surface___hash__(self)
2994 """__str__(Surface self) -> std::string"""
2995 return _IMP_core.Surface___str__(self)
2999 """__repr__(Surface self) -> std::string"""
3000 return _IMP_core.Surface___repr__(self)
3002 __swig_destroy__ = _IMP_core.delete_Surface
3003 __del__ =
lambda self:
None
3004 Surface_swigregister = _IMP_core.Surface_swigregister
3005 Surface_swigregister(Surface)
3007 def Surface_do_setup_particle(*args):
3009 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3010 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3011 do_setup_particle(Model m, ParticleIndex pi)
3012 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3014 return _IMP_core.Surface_do_setup_particle(*args)
3016 def Surface_setup_particle(*args):
3018 setup_particle(Model m, ParticleIndex pi) -> Surface
3019 setup_particle(_ParticleAdaptor decorator) -> Surface
3020 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3021 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3022 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3023 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3024 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3025 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3027 return _IMP_core.Surface_setup_particle(*args)
3029 def Surface_get_is_setup(*args):
3031 get_is_setup(_ParticleAdaptor p) -> bool
3032 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3034 return _IMP_core.Surface_get_is_setup(*args)
3036 def Surface_get_normal_key(i):
3037 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3038 return _IMP_core.Surface_get_normal_key(i)
3043 get_height(Surface s, XYZR d) -> double
3044 get_height(Surface s, XYZ d) -> double
3046 return _IMP_core.get_height(*args)
3050 get_depth(Surface s, XYZR d) -> double
3051 get_depth(Surface s, XYZ d) -> double
3053 return _IMP_core.get_depth(*args)
3057 get_distance(XYZ a, XYZ b) -> double
3058 get_distance(XYZR a, XYZR b) -> double
3059 get_distance(Surface s, XYZR d) -> double
3060 get_distance(Surface s, XYZ d) -> double
3062 return _IMP_core.get_distance(*args)
3064 """Proxy of C++ IMP::core::SurfaceGeometry class."""
3066 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3068 def __init__(self, *args):
3070 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3071 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3072 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3073 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3074 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3075 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3077 this = _IMP_core.new_SurfaceGeometry(*args)
3079 self.this.append(this)
3080 except __builtin__.Exception:
3083 def get_geometry(self):
3084 """get_geometry(SurfaceGeometry self) -> Surface"""
3085 return _IMP_core.SurfaceGeometry_get_geometry(self)
3088 def set_geometry(self, s):
3089 """set_geometry(SurfaceGeometry self, Surface s)"""
3090 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3093 def get_version_info(self):
3094 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3095 return _IMP_core.SurfaceGeometry_get_version_info(self)
3099 """__str__(SurfaceGeometry self) -> std::string"""
3100 return _IMP_core.SurfaceGeometry___str__(self)
3104 """__repr__(SurfaceGeometry self) -> std::string"""
3105 return _IMP_core.SurfaceGeometry___repr__(self)
3110 return _object_cast_to_SurfaceGeometry(o)
3112 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3113 SurfaceGeometry_swigregister(SurfaceGeometry)
3118 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3119 create_geometry(Surface s) -> SurfaceGeometry
3121 return _IMP_core.create_geometry(*args)
3123 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3127 def __init__(self, s, g):
3128 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3129 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3131 self.this.append(this)
3132 except __builtin__.Exception:
3135 def get_surface(self):
3136 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3137 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3140 def get_geometry(self):
3141 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3142 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3145 def do_get_inputs(self):
3146 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3147 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3150 def do_get_outputs(self):
3151 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3152 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3155 def get_version_info(self):
3156 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3157 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3161 """__str__(SurfaceGeometryConstraint self) -> std::string"""
3162 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3166 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
3167 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3172 return _object_cast_to_SurfaceGeometryConstraint(o)
3174 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
3175 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3180 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
3181 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
3183 return _IMP_core.get_constrained_surface_geometry(*args)
3185 """Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3187 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3189 def __init__(self, s, d):
3190 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3191 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
3193 self.this.append(this)
3194 except __builtin__.Exception:
3197 def do_get_inputs(self):
3198 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3199 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3202 def do_get_outputs(self):
3203 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3204 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3207 def get_version_info(self):
3208 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3209 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3213 """__str__(LateralSurfaceConstraint self) -> std::string"""
3214 return _IMP_core.LateralSurfaceConstraint___str__(self)
3218 """__repr__(LateralSurfaceConstraint self) -> std::string"""
3219 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3224 return _object_cast_to_LateralSurfaceConstraint(o)
3226 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
3227 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3230 """Proxy of C++ IMP::core::AngleTripletScore class."""
3232 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3234 def __init__(self, f):
3235 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
3236 this = _IMP_core.new_AngleTripletScore(f)
3238 self.this.append(this)
3239 except __builtin__.Exception:
3242 def do_get_inputs(self, m, pis):
3243 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3244 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3247 def get_version_info(self):
3248 """get_version_info(AngleTripletScore self) -> VersionInfo"""
3249 return _IMP_core.AngleTripletScore_get_version_info(self)
3253 """__str__(AngleTripletScore self) -> std::string"""
3254 return _IMP_core.AngleTripletScore___str__(self)
3258 """__repr__(AngleTripletScore self) -> std::string"""
3259 return _IMP_core.AngleTripletScore___repr__(self)
3264 return _object_cast_to_AngleTripletScore(o)
3266 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
3267 AngleTripletScore_swigregister(AngleTripletScore)
3269 class BallMover(MonteCarloMover):
3270 """Proxy of C++ IMP::core::BallMover class."""
3272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3274 def __init__(self, *args):
3276 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3277 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3278 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3279 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3280 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3281 __init__(IMP::core::BallMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
3283 this = _IMP_core.new_BallMover(*args)
3285 self.this.append(this)
3286 except __builtin__.Exception:
3289 def set_radius(self, radius):
3290 """set_radius(BallMover self, IMP::Float radius)"""
3291 return _IMP_core.BallMover_set_radius(self, radius)
3294 def get_radius(self):
3295 """get_radius(BallMover self) -> IMP::Float"""
3296 return _IMP_core.BallMover_get_radius(self)
3299 def get_version_info(self):
3300 """get_version_info(BallMover self) -> VersionInfo"""
3301 return _IMP_core.BallMover_get_version_info(self)
3305 """__str__(BallMover self) -> std::string"""
3306 return _IMP_core.BallMover___str__(self)
3310 """__repr__(BallMover self) -> std::string"""
3311 return _IMP_core.BallMover___repr__(self)
3316 return _object_cast_to_BallMover(o)
3318 BallMover_swigregister = _IMP_core.BallMover_swigregister
3319 BallMover_swigregister(BallMover)
3321 class SerialMover(MonteCarloMover):
3322 """Proxy of C++ IMP::core::SerialMover class."""
3324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3326 def __init__(self, mvs):
3327 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
3328 this = _IMP_core.new_SerialMover(mvs)
3330 self.this.append(this)
3331 except __builtin__.Exception:
3334 def get_movers(self):
3335 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
3336 return _IMP_core.SerialMover_get_movers(self)
3339 def get_version_info(self):
3340 """get_version_info(SerialMover self) -> VersionInfo"""
3341 return _IMP_core.SerialMover_get_version_info(self)
3345 """__str__(SerialMover self) -> std::string"""
3346 return _IMP_core.SerialMover___str__(self)
3350 """__repr__(SerialMover self) -> std::string"""
3351 return _IMP_core.SerialMover___repr__(self)
3356 return _object_cast_to_SerialMover(o)
3358 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
3359 SerialMover_swigregister(SerialMover)
3361 class SubsetMover(MonteCarloMover):
3362 """Proxy of C++ IMP::core::SubsetMover class."""
3364 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3366 def __init__(self, mvs, n):
3367 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
3368 this = _IMP_core.new_SubsetMover(mvs, n)
3370 self.this.append(this)
3371 except __builtin__.Exception:
3374 def get_movers(self):
3375 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
3376 return _IMP_core.SubsetMover_get_movers(self)
3379 def get_subset_size(self):
3380 """get_subset_size(SubsetMover self) -> unsigned int"""
3381 return _IMP_core.SubsetMover_get_subset_size(self)
3384 def get_version_info(self):
3385 """get_version_info(SubsetMover self) -> VersionInfo"""
3386 return _IMP_core.SubsetMover_get_version_info(self)
3390 """__str__(SubsetMover self) -> std::string"""
3391 return _IMP_core.SubsetMover___str__(self)
3395 """__repr__(SubsetMover self) -> std::string"""
3396 return _IMP_core.SubsetMover___repr__(self)
3401 return _object_cast_to_SubsetMover(o)
3403 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
3404 SubsetMover_swigregister(SubsetMover)
3406 class SurfaceMover(MonteCarloMover):
3407 """Proxy of C++ IMP::core::SurfaceMover class."""
3409 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3411 def __init__(self, *args):
3413 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
3414 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
3416 this = _IMP_core.new_SurfaceMover(*args)
3418 self.this.append(this)
3419 except __builtin__.Exception:
3422 def set_maximum_translation(self, mt):
3423 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
3424 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
3427 def set_maximum_rotation(self, mr):
3428 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
3429 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
3432 def set_reflect_probability(self, rp):
3433 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
3434 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
3437 def get_maximum_translation(self):
3438 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
3439 return _IMP_core.SurfaceMover_get_maximum_translation(self)
3442 def get_maximum_rotation(self):
3443 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
3444 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
3447 def get_reflect_probability(self):
3448 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
3449 return _IMP_core.SurfaceMover_get_reflect_probability(self)
3452 def get_surface(self):
3453 """get_surface(SurfaceMover self) -> Surface"""
3454 return _IMP_core.SurfaceMover_get_surface(self)
3457 def get_version_info(self):
3458 """get_version_info(SurfaceMover self) -> VersionInfo"""
3459 return _IMP_core.SurfaceMover_get_version_info(self)
3463 """__str__(SurfaceMover self) -> std::string"""
3464 return _IMP_core.SurfaceMover___str__(self)
3468 """__repr__(SurfaceMover self) -> std::string"""
3469 return _IMP_core.SurfaceMover___repr__(self)
3474 return _object_cast_to_SurfaceMover(o)
3476 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
3477 SurfaceMover_swigregister(SurfaceMover)
3479 class BoxSweepClosePairsFinder(ClosePairsFinder):
3480 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
3482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3485 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
3486 this = _IMP_core.new_BoxSweepClosePairsFinder()
3488 self.this.append(this)
3489 except __builtin__.Exception:
3492 def get_close_pairs(self, *args):
3494 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3495 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3496 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
3497 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
3499 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
3502 def do_get_inputs(self, m, pis):
3503 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3504 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
3507 def get_version_info(self):
3508 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
3509 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
3513 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
3514 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
3518 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
3519 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
3524 return _object_cast_to_BoxSweepClosePairsFinder(o)
3526 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
3527 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
3530 """Proxy of C++ IMP::core::CentroidOfRefined class."""
3532 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3534 def __init__(self, *args):
3536 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
3537 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
3538 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
3540 this = _IMP_core.new_CentroidOfRefined(*args)
3542 self.this.append(this)
3543 except __builtin__.Exception:
3546 def do_get_inputs(self, m, pis):
3547 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3548 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
3551 def do_get_outputs(self, m, pis):
3552 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3553 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
3556 def get_version_info(self):
3557 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
3558 return _IMP_core.CentroidOfRefined_get_version_info(self)
3562 """__str__(CentroidOfRefined self) -> std::string"""
3563 return _IMP_core.CentroidOfRefined___str__(self)
3567 """__repr__(CentroidOfRefined self) -> std::string"""
3568 return _IMP_core.CentroidOfRefined___repr__(self)
3573 return _object_cast_to_CentroidOfRefined(o)
3575 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
3576 CentroidOfRefined_swigregister(CentroidOfRefined)
3578 class Centroid(XYZ):
3579 """Proxy of C++ IMP::core::Centroid class."""
3581 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3583 def get_constraint(self):
3584 """get_constraint(Centroid self) -> Constraint"""
3585 return _IMP_core.Centroid_get_constraint(self)
3588 def __init__(self, *args):
3590 __init__(IMP::core::Centroid self) -> Centroid
3591 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
3592 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
3594 this = _IMP_core.new_Centroid(*args)
3596 self.this.append(this)
3597 except __builtin__.Exception:
3600 def show(self, *args):
3602 show(Centroid self, _ostream out)
3605 return _IMP_core.Centroid_show(self, *args)
3608 def setup_particle(*args):
3610 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
3611 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
3612 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
3613 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
3615 return _IMP_core.Centroid_setup_particle(*args)
3617 setup_particle = staticmethod(setup_particle)
3619 def get_is_setup(*args):
3621 get_is_setup(_ParticleAdaptor p) -> bool
3622 get_is_setup(Model m, ParticleIndex pi) -> bool
3624 return _IMP_core.Centroid_get_is_setup(*args)
3626 get_is_setup = staticmethod(get_is_setup)
3628 def add_attribute(self, *args):
3630 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
3631 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
3632 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
3633 add_attribute(Centroid self, StringKey a0, IMP::String a1)
3634 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
3635 add_attribute(Centroid self, ObjectKey a0, Object a1)
3637 return _IMP_core.Centroid_add_attribute(self, *args)
3640 def get_value(self, *args):
3642 get_value(Centroid self, FloatKey a0) -> IMP::Float
3643 get_value(Centroid self, IntKey a0) -> IMP::Int
3644 get_value(Centroid self, StringKey a0) -> IMP::String
3645 get_value(Centroid self, ParticleIndexKey a0) -> Particle
3646 get_value(Centroid self, ObjectKey a0) -> Object
3648 return _IMP_core.Centroid_get_value(self, *args)
3651 def set_value(self, *args):
3653 set_value(Centroid self, FloatKey a0, IMP::Float a1)
3654 set_value(Centroid self, IntKey a0, IMP::Int a1)
3655 set_value(Centroid self, StringKey a0, IMP::String a1)
3656 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
3657 set_value(Centroid self, ObjectKey a0, Object a1)
3659 return _IMP_core.Centroid_set_value(self, *args)
3662 def remove_attribute(self, *args):
3664 remove_attribute(Centroid self, FloatKey a0)
3665 remove_attribute(Centroid self, IntKey a0)
3666 remove_attribute(Centroid self, StringKey a0)
3667 remove_attribute(Centroid self, ParticleIndexKey a0)
3668 remove_attribute(Centroid self, ObjectKey a0)
3670 return _IMP_core.Centroid_remove_attribute(self, *args)
3673 def has_attribute(self, *args):
3675 has_attribute(Centroid self, FloatKey a0) -> bool
3676 has_attribute(Centroid self, IntKey a0) -> bool
3677 has_attribute(Centroid self, StringKey a0) -> bool
3678 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
3679 has_attribute(Centroid self, ObjectKey a0) -> bool
3681 return _IMP_core.Centroid_has_attribute(self, *args)
3684 def get_derivative(self, a0):
3685 """get_derivative(Centroid self, FloatKey a0) -> double"""
3686 return _IMP_core.Centroid_get_derivative(self, a0)
3690 """get_name(Centroid self) -> std::string"""
3691 return _IMP_core.Centroid_get_name(self)
3694 def clear_caches(self):
3695 """clear_caches(Centroid self)"""
3696 return _IMP_core.Centroid_clear_caches(self)
3699 def set_name(self, a0):
3700 """set_name(Centroid self, std::string a0)"""
3701 return _IMP_core.Centroid_set_name(self, a0)
3705 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
3706 return _IMP_core.Centroid_set_check_level(self, a0)
3709 def add_to_derivative(self, a0, a1, a2):
3710 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3711 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
3714 def set_is_optimized(self, a0, a1):
3715 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
3716 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
3719 def get_is_optimized(self, a0):
3720 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
3721 return _IMP_core.Centroid_get_is_optimized(self, a0)
3725 """get_check_level(Centroid self) -> IMP::CheckLevel"""
3726 return _IMP_core.Centroid_get_check_level(self)
3729 def __eq__(self, *args):
3731 __eq__(Centroid self, Centroid o) -> bool
3732 __eq__(Centroid self, Particle d) -> bool
3734 return _IMP_core.Centroid___eq__(self, *args)
3737 def __ne__(self, *args):
3739 __ne__(Centroid self, Centroid o) -> bool
3740 __ne__(Centroid self, Particle d) -> bool
3742 return _IMP_core.Centroid___ne__(self, *args)
3745 def __le__(self, *args):
3747 __le__(Centroid self, Centroid o) -> bool
3748 __le__(Centroid self, Particle d) -> bool
3750 return _IMP_core.Centroid___le__(self, *args)
3753 def __lt__(self, *args):
3755 __lt__(Centroid self, Centroid o) -> bool
3756 __lt__(Centroid self, Particle d) -> bool
3758 return _IMP_core.Centroid___lt__(self, *args)
3761 def __ge__(self, *args):
3763 __ge__(Centroid self, Centroid o) -> bool
3764 __ge__(Centroid self, Particle d) -> bool
3766 return _IMP_core.Centroid___ge__(self, *args)
3769 def __gt__(self, *args):
3771 __gt__(Centroid self, Centroid o) -> bool
3772 __gt__(Centroid self, Particle d) -> bool
3774 return _IMP_core.Centroid___gt__(self, *args)
3778 """__hash__(Centroid self) -> std::size_t"""
3779 return _IMP_core.Centroid___hash__(self)
3783 """__str__(Centroid self) -> std::string"""
3784 return _IMP_core.Centroid___str__(self)
3788 """__repr__(Centroid self) -> std::string"""
3789 return _IMP_core.Centroid___repr__(self)
3791 __swig_destroy__ = _IMP_core.delete_Centroid
3792 __del__ =
lambda self:
None
3793 Centroid_swigregister = _IMP_core.Centroid_swigregister
3794 Centroid_swigregister(Centroid)
3796 def Centroid_setup_particle(*args):
3798 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
3799 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
3800 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
3801 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
3803 return _IMP_core.Centroid_setup_particle(*args)
3805 def Centroid_get_is_setup(*args):
3807 get_is_setup(_ParticleAdaptor p) -> bool
3808 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
3810 return _IMP_core.Centroid_get_is_setup(*args)
3813 """Proxy of C++ IMP::core::ChecksScoreState class."""
3815 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3817 def __init__(self, m, probability):
3818 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
3819 this = _IMP_core.new_ChecksScoreState(m, probability)
3821 self.this.append(this)
3822 except __builtin__.Exception:
3825 def get_number_of_checked(self):
3826 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
3827 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
3830 def do_before_evaluate(self):
3831 """do_before_evaluate(ChecksScoreState self)"""
3832 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
3835 def do_after_evaluate(self, da):
3836 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
3837 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
3840 def do_get_outputs(self):
3841 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3842 return _IMP_core.ChecksScoreState_do_get_outputs(self)
3845 def do_get_inputs(self):
3846 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
3847 return _IMP_core.ChecksScoreState_do_get_inputs(self)
3850 def get_version_info(self):
3851 """get_version_info(ChecksScoreState self) -> VersionInfo"""
3852 return _IMP_core.ChecksScoreState_get_version_info(self)
3856 """__str__(ChecksScoreState self) -> std::string"""
3857 return _IMP_core.ChecksScoreState___str__(self)
3861 """__repr__(ChecksScoreState self) -> std::string"""
3862 return _IMP_core.ChecksScoreState___repr__(self)
3867 return _object_cast_to_ChecksScoreState(o)
3869 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
3870 ChecksScoreState_swigregister(ChecksScoreState)
3873 """Proxy of C++ IMP::core::ChildrenRefiner class."""
3875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3877 def __init__(self, tr):
3878 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
3879 this = _IMP_core.new_ChildrenRefiner(tr)
3881 self.this.append(this)
3882 except __builtin__.Exception:
3885 def do_get_inputs(self, m, pis):
3886 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3887 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
3890 def get_version_info(self):
3891 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
3892 return _IMP_core.ChildrenRefiner_get_version_info(self)
3896 """__str__(ChildrenRefiner self) -> std::string"""
3897 return _IMP_core.ChildrenRefiner___str__(self)
3901 """__repr__(ChildrenRefiner self) -> std::string"""
3902 return _IMP_core.ChildrenRefiner___repr__(self)
3907 return _object_cast_to_ChildrenRefiner(o)
3909 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
3910 ChildrenRefiner_swigregister(ChildrenRefiner)
3913 """Proxy of C++ IMP::core::ClosedCubicSpline class."""
3915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3917 def __init__(self, values, minrange, spacing):
3918 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
3919 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
3921 self.this.append(this)
3922 except __builtin__.Exception:
3925 def get_version_info(self):
3926 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
3927 return _IMP_core.ClosedCubicSpline_get_version_info(self)
3930 def do_show(self, out):
3931 """do_show(ClosedCubicSpline self, _ostream out)"""
3932 return _IMP_core.ClosedCubicSpline_do_show(self, out)
3936 """__str__(ClosedCubicSpline self) -> std::string"""
3937 return _IMP_core.ClosedCubicSpline___str__(self)
3941 """__repr__(ClosedCubicSpline self) -> std::string"""
3942 return _IMP_core.ClosedCubicSpline___repr__(self)
3947 return _object_cast_to_ClosedCubicSpline(o)
3949 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
3950 ClosedCubicSpline_swigregister(ClosedCubicSpline)
3953 """Proxy of C++ IMP::core::KClosePairsPairScore class."""
3955 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3957 def __init__(self, f, r, k=1):
3959 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
3960 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
3962 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
3964 self.this.append(this)
3965 except __builtin__.Exception:
3968 def get_close_pairs(self, pp):
3969 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
3970 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
3973 def create_current_decomposition(self, m, vt):
3974 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
3975 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
3978 def do_get_inputs(self, m, pis):
3979 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3980 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
3983 def get_version_info(self):
3984 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
3985 return _IMP_core.KClosePairsPairScore_get_version_info(self)
3989 """__str__(KClosePairsPairScore self) -> std::string"""
3990 return _IMP_core.KClosePairsPairScore___str__(self)
3994 """__repr__(KClosePairsPairScore self) -> std::string"""
3995 return _IMP_core.KClosePairsPairScore___repr__(self)
4000 return _object_cast_to_KClosePairsPairScore(o)
4002 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4003 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4006 """Proxy of C++ IMP::core::ClosePairsPairScore class."""
4008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4010 def __init__(self, f, r, max_distance):
4011 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4012 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4014 self.this.append(this)
4015 except __builtin__.Exception:
4018 def get_close_pairs(self, pp):
4019 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4020 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4023 def create_current_decomposition(self, m, vt):
4024 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4025 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4028 def do_get_inputs(self, m, pis):
4029 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4030 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4033 def get_version_info(self):
4034 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4035 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4039 """__str__(ClosePairsPairScore self) -> std::string"""
4040 return _IMP_core.ClosePairsPairScore___str__(self)
4044 """__repr__(ClosePairsPairScore self) -> std::string"""
4045 return _IMP_core.ClosePairsPairScore___repr__(self)
4050 return _object_cast_to_ClosePairsPairScore(o)
4052 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4053 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4056 """Proxy of C++ IMP::core::ConjugateGradients class."""
4058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4060 def __init__(self, *args):
4062 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4063 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4065 this = _IMP_core.new_ConjugateGradients(*args)
4067 self.this.append(this)
4068 except __builtin__.Exception:
4071 def set_gradient_threshold(self, t):
4072 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4073 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4076 def set_threshold(self, t):
4077 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4078 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4081 def set_max_change(self, t):
4082 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4083 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4086 def do_optimize(self, max_steps):
4087 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4088 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4091 def get_version_info(self):
4092 """get_version_info(ConjugateGradients self) -> VersionInfo"""
4093 return _IMP_core.ConjugateGradients_get_version_info(self)
4097 """__str__(ConjugateGradients self) -> std::string"""
4098 return _IMP_core.ConjugateGradients___str__(self)
4102 """__repr__(ConjugateGradients self) -> std::string"""
4103 return _IMP_core.ConjugateGradients___repr__(self)
4108 return _object_cast_to_ConjugateGradients(o)
4110 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
4111 ConjugateGradients_swigregister(ConjugateGradients)
4114 """Proxy of C++ IMP::core::ConnectivityRestraint class."""
4116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4118 def __init__(self, ps, sc):
4119 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4120 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
4122 self.this.append(this)
4123 except __builtin__.Exception:
4126 def get_connected_index_pairs(self):
4127 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4128 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4131 def get_connected_pairs(self):
4132 """get_connected_pairs(ConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
4133 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
4136 def get_pair_score(self):
4137 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
4138 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4141 def do_create_current_decomposition(self):
4142 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4143 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4146 def do_get_inputs(self):
4147 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4148 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4151 def get_version_info(self):
4152 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4153 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4157 """__str__(ConnectivityRestraint self) -> std::string"""
4158 return _IMP_core.ConnectivityRestraint___str__(self)
4162 """__repr__(ConnectivityRestraint self) -> std::string"""
4163 return _IMP_core.ConnectivityRestraint___repr__(self)
4168 return _object_cast_to_ConnectivityRestraint(o)
4170 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
4171 ConnectivityRestraint_swigregister(ConnectivityRestraint)
4174 """Proxy of C++ IMP::core::ConstantRestraint class."""
4176 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4178 def __init__(self, m, v):
4179 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
4180 this = _IMP_core.new_ConstantRestraint(m, v)
4182 self.this.append(this)
4183 except __builtin__.Exception:
4186 def do_get_inputs(self):
4187 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4188 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4191 def get_version_info(self):
4192 """get_version_info(ConstantRestraint self) -> VersionInfo"""
4193 return _IMP_core.ConstantRestraint_get_version_info(self)
4197 """__str__(ConstantRestraint self) -> std::string"""
4198 return _IMP_core.ConstantRestraint___str__(self)
4202 """__repr__(ConstantRestraint self) -> std::string"""
4203 return _IMP_core.ConstantRestraint___repr__(self)
4208 return _object_cast_to_ConstantRestraint(o)
4210 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
4211 ConstantRestraint_swigregister(ConstantRestraint)
4214 """Proxy of C++ IMP::core::Cosine class."""
4216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4218 def __init__(self, force_constant, periodicity, phase):
4219 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
4220 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
4222 self.this.append(this)
4223 except __builtin__.Exception:
4226 def get_version_info(self):
4227 """get_version_info(Cosine self) -> VersionInfo"""
4228 return _IMP_core.Cosine_get_version_info(self)
4231 def do_show(self, out):
4232 """do_show(Cosine self, _ostream out)"""
4233 return _IMP_core.Cosine_do_show(self, out)
4237 """__str__(Cosine self) -> std::string"""
4238 return _IMP_core.Cosine___str__(self)
4242 """__repr__(Cosine self) -> std::string"""
4243 return _IMP_core.Cosine___repr__(self)
4248 return _object_cast_to_Cosine(o)
4250 Cosine_swigregister = _IMP_core.Cosine_swigregister
4251 Cosine_swigregister(Cosine)
4254 """Proxy of C++ IMP::core::CoverRefined class."""
4256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4258 def __init__(self, ref, slack=0):
4260 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
4261 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
4263 this = _IMP_core.new_CoverRefined(ref, slack)
4265 self.this.append(this)
4266 except __builtin__.Exception:
4269 def set_slack(self, slack):
4270 """set_slack(CoverRefined self, IMP::Float slack)"""
4271 return _IMP_core.CoverRefined_set_slack(self, slack)
4274 def do_get_inputs(self, m, pis):
4275 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4276 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
4279 def do_get_outputs(self, m, pis):
4280 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4281 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
4284 def get_version_info(self):
4285 """get_version_info(CoverRefined self) -> VersionInfo"""
4286 return _IMP_core.CoverRefined_get_version_info(self)
4290 """__str__(CoverRefined self) -> std::string"""
4291 return _IMP_core.CoverRefined___str__(self)
4295 """__repr__(CoverRefined self) -> std::string"""
4296 return _IMP_core.CoverRefined___repr__(self)
4301 return _object_cast_to_CoverRefined(o)
4303 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
4304 CoverRefined_swigregister(CoverRefined)
4307 """Proxy of C++ IMP::core::Cover class."""
4309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4311 def get_constraint(self):
4312 """get_constraint(Cover self) -> Constraint"""
4313 return _IMP_core.Cover_get_constraint(self)
4316 def __init__(self, *args):
4318 __init__(IMP::core::Cover self) -> Cover
4319 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
4320 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
4322 this = _IMP_core.new_Cover(*args)
4324 self.this.append(this)
4325 except __builtin__.Exception:
4328 def show(self, *args):
4330 show(Cover self, _ostream out)
4333 return _IMP_core.Cover_show(self, *args)
4336 def setup_particle(*args):
4338 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
4339 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
4340 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
4341 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
4343 return _IMP_core.Cover_setup_particle(*args)
4345 setup_particle = staticmethod(setup_particle)
4347 def get_is_setup(*args):
4349 get_is_setup(_ParticleAdaptor p) -> bool
4350 get_is_setup(Model m, ParticleIndex pi) -> bool
4352 return _IMP_core.Cover_get_is_setup(*args)
4354 get_is_setup = staticmethod(get_is_setup)
4356 def add_attribute(self, *args):
4358 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
4359 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
4360 add_attribute(Cover self, IntKey a0, IMP::Int a1)
4361 add_attribute(Cover self, StringKey a0, IMP::String a1)
4362 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
4363 add_attribute(Cover self, ObjectKey a0, Object a1)
4365 return _IMP_core.Cover_add_attribute(self, *args)
4368 def get_value(self, *args):
4370 get_value(Cover self, FloatKey a0) -> IMP::Float
4371 get_value(Cover self, IntKey a0) -> IMP::Int
4372 get_value(Cover self, StringKey a0) -> IMP::String
4373 get_value(Cover self, ParticleIndexKey a0) -> Particle
4374 get_value(Cover self, ObjectKey a0) -> Object
4376 return _IMP_core.Cover_get_value(self, *args)
4379 def set_value(self, *args):
4381 set_value(Cover self, FloatKey a0, IMP::Float a1)
4382 set_value(Cover self, IntKey a0, IMP::Int a1)
4383 set_value(Cover self, StringKey a0, IMP::String a1)
4384 set_value(Cover self, ParticleIndexKey a0, Particle a1)
4385 set_value(Cover self, ObjectKey a0, Object a1)
4387 return _IMP_core.Cover_set_value(self, *args)
4390 def remove_attribute(self, *args):
4392 remove_attribute(Cover self, FloatKey a0)
4393 remove_attribute(Cover self, IntKey a0)
4394 remove_attribute(Cover self, StringKey a0)
4395 remove_attribute(Cover self, ParticleIndexKey a0)
4396 remove_attribute(Cover self, ObjectKey a0)
4398 return _IMP_core.Cover_remove_attribute(self, *args)
4401 def has_attribute(self, *args):
4403 has_attribute(Cover self, FloatKey a0) -> bool
4404 has_attribute(Cover self, IntKey a0) -> bool
4405 has_attribute(Cover self, StringKey a0) -> bool
4406 has_attribute(Cover self, ParticleIndexKey a0) -> bool
4407 has_attribute(Cover self, ObjectKey a0) -> bool
4409 return _IMP_core.Cover_has_attribute(self, *args)
4412 def get_derivative(self, a0):
4413 """get_derivative(Cover self, FloatKey a0) -> double"""
4414 return _IMP_core.Cover_get_derivative(self, a0)
4418 """get_name(Cover self) -> std::string"""
4419 return _IMP_core.Cover_get_name(self)
4422 def clear_caches(self):
4423 """clear_caches(Cover self)"""
4424 return _IMP_core.Cover_clear_caches(self)
4427 def set_name(self, a0):
4428 """set_name(Cover self, std::string a0)"""
4429 return _IMP_core.Cover_set_name(self, a0)
4433 """set_check_level(Cover self, IMP::CheckLevel a0)"""
4434 return _IMP_core.Cover_set_check_level(self, a0)
4437 def add_to_derivative(self, a0, a1, a2):
4438 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4439 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
4442 def set_is_optimized(self, a0, a1):
4443 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
4444 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
4447 def get_is_optimized(self, a0):
4448 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
4449 return _IMP_core.Cover_get_is_optimized(self, a0)
4453 """get_check_level(Cover self) -> IMP::CheckLevel"""
4454 return _IMP_core.Cover_get_check_level(self)
4457 def __eq__(self, *args):
4459 __eq__(Cover self, Cover o) -> bool
4460 __eq__(Cover self, Particle d) -> bool
4462 return _IMP_core.Cover___eq__(self, *args)
4465 def __ne__(self, *args):
4467 __ne__(Cover self, Cover o) -> bool
4468 __ne__(Cover self, Particle d) -> bool
4470 return _IMP_core.Cover___ne__(self, *args)
4473 def __le__(self, *args):
4475 __le__(Cover self, Cover o) -> bool
4476 __le__(Cover self, Particle d) -> bool
4478 return _IMP_core.Cover___le__(self, *args)
4481 def __lt__(self, *args):
4483 __lt__(Cover self, Cover o) -> bool
4484 __lt__(Cover self, Particle d) -> bool
4486 return _IMP_core.Cover___lt__(self, *args)
4489 def __ge__(self, *args):
4491 __ge__(Cover self, Cover o) -> bool
4492 __ge__(Cover self, Particle d) -> bool
4494 return _IMP_core.Cover___ge__(self, *args)
4497 def __gt__(self, *args):
4499 __gt__(Cover self, Cover o) -> bool
4500 __gt__(Cover self, Particle d) -> bool
4502 return _IMP_core.Cover___gt__(self, *args)
4506 """__hash__(Cover self) -> std::size_t"""
4507 return _IMP_core.Cover___hash__(self)
4511 """__str__(Cover self) -> std::string"""
4512 return _IMP_core.Cover___str__(self)
4516 """__repr__(Cover self) -> std::string"""
4517 return _IMP_core.Cover___repr__(self)
4519 __swig_destroy__ = _IMP_core.delete_Cover
4520 __del__ =
lambda self:
None
4521 Cover_swigregister = _IMP_core.Cover_swigregister
4522 Cover_swigregister(Cover)
4524 def Cover_setup_particle(*args):
4526 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
4527 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
4528 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
4529 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
4531 return _IMP_core.Cover_setup_particle(*args)
4533 def Cover_get_is_setup(*args):
4535 get_is_setup(_ParticleAdaptor p) -> bool
4536 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
4538 return _IMP_core.Cover_get_is_setup(*args)
4541 """Proxy of C++ IMP::core::DerivativesFromRefined class."""
4543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4545 def __init__(self, *args):
4547 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
4548 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
4550 this = _IMP_core.new_DerivativesFromRefined(*args)
4552 self.this.append(this)
4553 except __builtin__.Exception:
4556 def do_get_inputs(self, m, pis):
4557 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4558 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
4561 def do_get_outputs(self, m, pis):
4562 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4563 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
4566 def get_version_info(self):
4567 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
4568 return _IMP_core.DerivativesFromRefined_get_version_info(self)
4572 """__str__(DerivativesFromRefined self) -> std::string"""
4573 return _IMP_core.DerivativesFromRefined___str__(self)
4577 """__repr__(DerivativesFromRefined self) -> std::string"""
4578 return _IMP_core.DerivativesFromRefined___repr__(self)
4583 return _object_cast_to_DerivativesFromRefined(o)
4585 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
4586 DerivativesFromRefined_swigregister(DerivativesFromRefined)
4589 """Proxy of C++ IMP::core::DerivativesToRefined class."""
4591 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4593 def __init__(self, *args):
4595 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
4596 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
4598 this = _IMP_core.new_DerivativesToRefined(*args)
4600 self.this.append(this)
4601 except __builtin__.Exception:
4604 def do_get_inputs(self, m, pis):
4605 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4606 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
4609 def do_get_outputs(self, m, pis):
4610 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4611 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
4614 def get_version_info(self):
4615 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
4616 return _IMP_core.DerivativesToRefined_get_version_info(self)
4620 """__str__(DerivativesToRefined self) -> std::string"""
4621 return _IMP_core.DerivativesToRefined___str__(self)
4625 """__repr__(DerivativesToRefined self) -> std::string"""
4626 return _IMP_core.DerivativesToRefined___repr__(self)
4631 return _object_cast_to_DerivativesToRefined(o)
4633 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
4634 DerivativesToRefined_swigregister(DerivativesToRefined)
4637 """Proxy of C++ IMP::core::DiameterRestraint class."""
4639 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4641 def __init__(self, f, sc, diameter):
4642 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
4643 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
4645 self.this.append(this)
4646 except __builtin__.Exception:
4649 def do_get_inputs(self):
4650 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
4651 return _IMP_core.DiameterRestraint_do_get_inputs(self)
4654 def get_version_info(self):
4655 """get_version_info(DiameterRestraint self) -> VersionInfo"""
4656 return _IMP_core.DiameterRestraint_get_version_info(self)
4659 def do_create_decomposition(self):
4660 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
4661 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
4664 def do_create_current_decomposition(self):
4665 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
4666 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
4670 """__str__(DiameterRestraint self) -> std::string"""
4671 return _IMP_core.DiameterRestraint___str__(self)
4675 """__repr__(DiameterRestraint self) -> std::string"""
4676 return _IMP_core.DiameterRestraint___repr__(self)
4681 return _object_cast_to_DiameterRestraint(o)
4683 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
4684 DiameterRestraint_swigregister(DiameterRestraint)
4687 """Proxy of C++ IMP::core::Transform class."""
4689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4691 def __init__(self, t, ignore_non_xyz=False):
4693 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
4694 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
4696 this = _IMP_core.new_Transform(t, ignore_non_xyz)
4698 self.this.append(this)
4699 except __builtin__.Exception:
4702 def do_get_inputs(self, m, pis):
4703 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4704 return _IMP_core.Transform_do_get_inputs(self, m, pis)
4707 def do_get_outputs(self, m, pis):
4708 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4709 return _IMP_core.Transform_do_get_outputs(self, m, pis)
4712 def get_version_info(self):
4713 """get_version_info(Transform self) -> VersionInfo"""
4714 return _IMP_core.Transform_get_version_info(self)
4718 """__str__(Transform self) -> std::string"""
4719 return _IMP_core.Transform___str__(self)
4723 """__repr__(Transform self) -> std::string"""
4724 return _IMP_core.Transform___repr__(self)
4729 return _object_cast_to_Transform(o)
4731 Transform_swigregister = _IMP_core.Transform_swigregister
4732 Transform_swigregister(Transform)
4735 """Proxy of C++ IMP::core::Reference class."""
4737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4739 def __init__(self, *args):
4741 __init__(IMP::core::Reference self) -> Reference
4742 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
4743 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
4745 this = _IMP_core.new_Reference(*args)
4747 self.this.append(this)
4748 except __builtin__.Exception:
4751 def show(self, *args):
4753 show(Reference self, _ostream out)
4754 show(Reference self)
4756 return _IMP_core.Reference_show(self, *args)
4759 def setup_particle(*args):
4761 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4762 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4764 return _IMP_core.Reference_setup_particle(*args)
4766 setup_particle = staticmethod(setup_particle)
4768 def get_reference_particle(self):
4769 """get_reference_particle(Reference self) -> Particle"""
4770 return _IMP_core.Reference_get_reference_particle(self)
4773 def get_is_setup(*args):
4775 get_is_setup(_ParticleAdaptor p) -> bool
4776 get_is_setup(Model m, ParticleIndex pi) -> bool
4778 return _IMP_core.Reference_get_is_setup(*args)
4780 get_is_setup = staticmethod(get_is_setup)
4782 def get_reference_key():
4783 """get_reference_key() -> ParticleIndexKey"""
4784 return _IMP_core.Reference_get_reference_key()
4786 get_reference_key = staticmethod(get_reference_key)
4788 def add_attribute(self, *args):
4790 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
4791 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
4792 add_attribute(Reference self, IntKey a0, IMP::Int a1)
4793 add_attribute(Reference self, StringKey a0, IMP::String a1)
4794 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
4795 add_attribute(Reference self, ObjectKey a0, Object a1)
4797 return _IMP_core.Reference_add_attribute(self, *args)
4800 def get_value(self, *args):
4802 get_value(Reference self, FloatKey a0) -> IMP::Float
4803 get_value(Reference self, IntKey a0) -> IMP::Int
4804 get_value(Reference self, StringKey a0) -> IMP::String
4805 get_value(Reference self, ParticleIndexKey a0) -> Particle
4806 get_value(Reference self, ObjectKey a0) -> Object
4808 return _IMP_core.Reference_get_value(self, *args)
4811 def set_value(self, *args):
4813 set_value(Reference self, FloatKey a0, IMP::Float a1)
4814 set_value(Reference self, IntKey a0, IMP::Int a1)
4815 set_value(Reference self, StringKey a0, IMP::String a1)
4816 set_value(Reference self, ParticleIndexKey a0, Particle a1)
4817 set_value(Reference self, ObjectKey a0, Object a1)
4819 return _IMP_core.Reference_set_value(self, *args)
4822 def remove_attribute(self, *args):
4824 remove_attribute(Reference self, FloatKey a0)
4825 remove_attribute(Reference self, IntKey a0)
4826 remove_attribute(Reference self, StringKey a0)
4827 remove_attribute(Reference self, ParticleIndexKey a0)
4828 remove_attribute(Reference self, ObjectKey a0)
4830 return _IMP_core.Reference_remove_attribute(self, *args)
4833 def has_attribute(self, *args):
4835 has_attribute(Reference self, FloatKey a0) -> bool
4836 has_attribute(Reference self, IntKey a0) -> bool
4837 has_attribute(Reference self, StringKey a0) -> bool
4838 has_attribute(Reference self, ParticleIndexKey a0) -> bool
4839 has_attribute(Reference self, ObjectKey a0) -> bool
4841 return _IMP_core.Reference_has_attribute(self, *args)
4844 def get_derivative(self, a0):
4845 """get_derivative(Reference self, FloatKey a0) -> double"""
4846 return _IMP_core.Reference_get_derivative(self, a0)
4850 """get_name(Reference self) -> std::string"""
4851 return _IMP_core.Reference_get_name(self)
4854 def clear_caches(self):
4855 """clear_caches(Reference self)"""
4856 return _IMP_core.Reference_clear_caches(self)
4859 def set_name(self, a0):
4860 """set_name(Reference self, std::string a0)"""
4861 return _IMP_core.Reference_set_name(self, a0)
4865 """set_check_level(Reference self, IMP::CheckLevel a0)"""
4866 return _IMP_core.Reference_set_check_level(self, a0)
4869 def add_to_derivative(self, a0, a1, a2):
4870 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4871 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
4874 def set_is_optimized(self, a0, a1):
4875 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
4876 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
4879 def get_is_optimized(self, a0):
4880 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
4881 return _IMP_core.Reference_get_is_optimized(self, a0)
4885 """get_check_level(Reference self) -> IMP::CheckLevel"""
4886 return _IMP_core.Reference_get_check_level(self)
4889 def __eq__(self, *args):
4891 __eq__(Reference self, Reference o) -> bool
4892 __eq__(Reference self, Particle d) -> bool
4894 return _IMP_core.Reference___eq__(self, *args)
4897 def __ne__(self, *args):
4899 __ne__(Reference self, Reference o) -> bool
4900 __ne__(Reference self, Particle d) -> bool
4902 return _IMP_core.Reference___ne__(self, *args)
4905 def __le__(self, *args):
4907 __le__(Reference self, Reference o) -> bool
4908 __le__(Reference self, Particle d) -> bool
4910 return _IMP_core.Reference___le__(self, *args)
4913 def __lt__(self, *args):
4915 __lt__(Reference self, Reference o) -> bool
4916 __lt__(Reference self, Particle d) -> bool
4918 return _IMP_core.Reference___lt__(self, *args)
4921 def __ge__(self, *args):
4923 __ge__(Reference self, Reference o) -> bool
4924 __ge__(Reference self, Particle d) -> bool
4926 return _IMP_core.Reference___ge__(self, *args)
4929 def __gt__(self, *args):
4931 __gt__(Reference self, Reference o) -> bool
4932 __gt__(Reference self, Particle d) -> bool
4934 return _IMP_core.Reference___gt__(self, *args)
4938 """__hash__(Reference self) -> std::size_t"""
4939 return _IMP_core.Reference___hash__(self)
4943 """__str__(Reference self) -> std::string"""
4944 return _IMP_core.Reference___str__(self)
4948 """__repr__(Reference self) -> std::string"""
4949 return _IMP_core.Reference___repr__(self)
4951 __swig_destroy__ = _IMP_core.delete_Reference
4952 __del__ =
lambda self:
None
4953 Reference_swigregister = _IMP_core.Reference_swigregister
4954 Reference_swigregister(Reference)
4956 def Reference_setup_particle(*args):
4958 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
4959 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
4961 return _IMP_core.Reference_setup_particle(*args)
4963 def Reference_get_is_setup(*args):
4965 get_is_setup(_ParticleAdaptor p) -> bool
4966 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
4968 return _IMP_core.Reference_get_is_setup(*args)
4970 def Reference_get_reference_key():
4971 """Reference_get_reference_key() -> ParticleIndexKey"""
4972 return _IMP_core.Reference_get_reference_key()
4975 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
4977 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4979 def __init__(self, t, r):
4980 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
4981 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
4983 self.this.append(this)
4984 except __builtin__.Exception:
4987 def do_get_inputs(self, m, pis):
4988 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4989 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
4992 def do_get_outputs(self, m, pis):
4993 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4994 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
4997 def get_version_info(self):
4998 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
4999 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5003 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5004 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5008 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5009 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5014 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5016 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5017 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5020 """Proxy of C++ IMP::core::TransformationSymmetry class."""
5022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5024 def __init__(self, *args):
5026 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5027 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5029 this = _IMP_core.new_TransformationSymmetry(*args)
5031 self.this.append(this)
5032 except __builtin__.Exception:
5035 def get_transformation(self):
5036 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5037 return _IMP_core.TransformationSymmetry_get_transformation(self)
5040 def set_transformation(self, t):
5041 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5042 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5045 def do_get_inputs(self, m, pis):
5046 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5047 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5050 def do_get_outputs(self, m, pis):
5051 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5052 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5055 def get_version_info(self):
5056 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5057 return _IMP_core.TransformationSymmetry_get_version_info(self)
5061 """__str__(TransformationSymmetry self) -> std::string"""
5062 return _IMP_core.TransformationSymmetry___str__(self)
5066 """__repr__(TransformationSymmetry self) -> std::string"""
5067 return _IMP_core.TransformationSymmetry___repr__(self)
5072 return _object_cast_to_TransformationSymmetry(o)
5074 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5075 TransformationSymmetry_swigregister(TransformationSymmetry)
5077 class TransformationSymmetryMover(MonteCarloMover):
5078 """Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5080 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5082 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5083 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5084 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5086 self.this.append(this)
5087 except __builtin__.Exception:
5090 def set_maximum_translation(self, mt):
5091 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5092 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5095 def set_maximum_rotation(self, mr):
5096 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5097 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5100 def get_maximum_translation(self):
5101 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5102 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5105 def get_maximum_rotation(self):
5106 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5107 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5110 def get_version_info(self):
5111 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5112 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5116 """__str__(TransformationSymmetryMover self) -> std::string"""
5117 return _IMP_core.TransformationSymmetryMover___str__(self)
5121 """__repr__(TransformationSymmetryMover self) -> std::string"""
5122 return _IMP_core.TransformationSymmetryMover___repr__(self)
5127 return _object_cast_to_TransformationSymmetryMover(o)
5129 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
5130 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5133 """Proxy of C++ IMP::core::DihedralRestraint class."""
5135 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5137 def __init__(self, m, score_func, p1, p2, p3, p4):
5138 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5139 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
5141 self.this.append(this)
5142 except __builtin__.Exception:
5145 def do_get_inputs(self):
5146 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5147 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5150 def get_version_info(self):
5151 """get_version_info(DihedralRestraint self) -> VersionInfo"""
5152 return _IMP_core.DihedralRestraint_get_version_info(self)
5156 """__str__(DihedralRestraint self) -> std::string"""
5157 return _IMP_core.DihedralRestraint___str__(self)
5161 """__repr__(DihedralRestraint self) -> std::string"""
5162 return _IMP_core.DihedralRestraint___repr__(self)
5167 return _object_cast_to_DihedralRestraint(o)
5169 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
5170 DihedralRestraint_swigregister(DihedralRestraint)
5173 """Proxy of C++ IMP::core::DistancePairScore class."""
5175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5177 def __init__(self, *args):
5179 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
5180 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
5182 this = _IMP_core.new_DistancePairScore(*args)
5184 self.this.append(this)
5185 except __builtin__.Exception:
5188 def do_get_inputs(self, m, pis):
5189 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5190 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5193 def get_version_info(self):
5194 """get_version_info(DistancePairScore self) -> VersionInfo"""
5195 return _IMP_core.DistancePairScore_get_version_info(self)
5199 """__str__(DistancePairScore self) -> std::string"""
5200 return _IMP_core.DistancePairScore___str__(self)
5204 """__repr__(DistancePairScore self) -> std::string"""
5205 return _IMP_core.DistancePairScore___repr__(self)
5210 return _object_cast_to_DistancePairScore(o)
5212 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
5213 DistancePairScore_swigregister(DistancePairScore)
5216 """Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5220 def __init__(self, *args):
5222 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
5223 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
5225 this = _IMP_core.new_HarmonicDistancePairScore(*args)
5227 self.this.append(this)
5228 except __builtin__.Exception:
5231 def do_get_inputs(self, m, pis):
5232 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5233 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5236 def get_version_info(self):
5237 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5238 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5242 """__str__(HarmonicDistancePairScore self) -> std::string"""
5243 return _IMP_core.HarmonicDistancePairScore___str__(self)
5247 """__repr__(HarmonicDistancePairScore self) -> std::string"""
5248 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5253 return _object_cast_to_HarmonicDistancePairScore(o)
5255 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
5256 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
5259 """Proxy of C++ IMP::core::DistanceRestraint class."""
5261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5263 def __init__(self, *args):
5265 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
5266 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
5268 this = _IMP_core.new_DistanceRestraint(*args)
5270 self.this.append(this)
5271 except __builtin__.Exception:
5274 def get_version_info(self):
5275 """get_version_info(DistanceRestraint self) -> VersionInfo"""
5276 return _IMP_core.DistanceRestraint_get_version_info(self)
5280 """__str__(DistanceRestraint self) -> std::string"""
5281 return _IMP_core.DistanceRestraint___str__(self)
5285 """__repr__(DistanceRestraint self) -> std::string"""
5286 return _IMP_core.DistanceRestraint___repr__(self)
5291 return _object_cast_to_DistanceRestraint(o)
5293 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
5294 DistanceRestraint_swigregister(DistanceRestraint)
5297 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
5299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5301 def __init__(self, f, pt):
5302 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
5303 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
5305 self.this.append(this)
5306 except __builtin__.Exception:
5309 def do_get_inputs(self, m, pis):
5310 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5311 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
5314 def get_version_info(self):
5315 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
5316 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
5320 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
5321 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
5325 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
5326 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
5331 return _object_cast_to_SphereDistanceToSingletonScore(o)
5333 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
5334 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
5337 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
5339 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5341 def __init__(self, *args):
5343 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
5344 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
5345 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
5346 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
5348 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
5350 self.this.append(this)
5351 except __builtin__.Exception:
5354 def do_get_inputs(self):
5355 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
5356 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
5359 def get_version_info(self):
5360 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
5361 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
5364 def do_create_decomposition(self):
5365 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
5366 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
5369 def do_create_current_decomposition(self):
5370 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
5371 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
5375 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
5376 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
5379 def remove_pair_filter(self, d):
5380 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
5381 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
5384 def remove_pair_filters(self, d):
5385 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
5386 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
5389 def set_pair_filters(self, ps):
5390 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
5391 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
5394 def set_pair_filters_order(self, objs):
5395 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
5396 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
5399 def add_pair_filter(self, obj):
5400 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
5401 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
5404 def add_pair_filters(self, objs):
5405 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
5406 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
5409 def clear_pair_filters(self):
5410 """clear_pair_filters(ExcludedVolumeRestraint self)"""
5411 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
5414 def get_number_of_pair_filters(self):
5415 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
5416 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
5419 def get_has_pair_filters(self):
5420 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
5421 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
5424 def get_pair_filter(self, i):
5425 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
5426 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
5429 def get_pair_filters(self):
5430 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
5431 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
5434 def reserve_pair_filters(self, sz):
5435 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
5436 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
5440 """__str__(ExcludedVolumeRestraint self) -> std::string"""
5441 return _IMP_core.ExcludedVolumeRestraint___str__(self)
5445 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
5446 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
5451 return _object_cast_to_ExcludedVolumeRestraint(o)
5453 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
5454 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
5457 """Proxy of C++ IMP::core::FixedRefiner class."""
5459 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5461 def __init__(self, *args):
5463 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
5464 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
5466 this = _IMP_core.new_FixedRefiner(*args)
5468 self.this.append(this)
5469 except __builtin__.Exception:
5472 def do_get_inputs(self, m, pis):
5473 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5474 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
5477 def get_version_info(self):
5478 """get_version_info(FixedRefiner self) -> VersionInfo"""
5479 return _IMP_core.FixedRefiner_get_version_info(self)
5483 """__str__(FixedRefiner self) -> std::string"""
5484 return _IMP_core.FixedRefiner___str__(self)
5488 """__repr__(FixedRefiner self) -> std::string"""
5489 return _IMP_core.FixedRefiner___repr__(self)
5494 return _object_cast_to_FixedRefiner(o)
5496 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
5497 FixedRefiner_swigregister(FixedRefiner)
5499 class GridClosePairsFinder(ClosePairsFinder):
5500 """Proxy of C++ IMP::core::GridClosePairsFinder class."""
5502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5505 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
5506 this = _IMP_core.new_GridClosePairsFinder()
5508 self.this.append(this)
5509 except __builtin__.Exception:
5512 def get_close_pairs(self, *args):
5514 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5515 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5516 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
5517 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
5519 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
5522 def do_get_inputs(self, m, pis):
5523 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5524 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
5527 def get_version_info(self):
5528 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
5529 return _IMP_core.GridClosePairsFinder_get_version_info(self)
5533 """__str__(GridClosePairsFinder self) -> std::string"""
5534 return _IMP_core.GridClosePairsFinder___str__(self)
5538 """__repr__(GridClosePairsFinder self) -> std::string"""
5539 return _IMP_core.GridClosePairsFinder___repr__(self)
5544 return _object_cast_to_GridClosePairsFinder(o)
5546 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
5547 GridClosePairsFinder_swigregister(GridClosePairsFinder)
5550 """Proxy of C++ IMP::core::Harmonic class."""
5552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5554 def __init__(self, mean, k):
5555 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
5556 this = _IMP_core.new_Harmonic(mean, k)
5558 self.this.append(this)
5559 except __builtin__.Exception:
5562 def get_version_info(self):
5563 """get_version_info(Harmonic self) -> VersionInfo"""
5564 return _IMP_core.Harmonic_get_version_info(self)
5568 """get_mean(Harmonic self) -> IMP::Float"""
5569 return _IMP_core.Harmonic_get_mean(self)
5573 """get_k(Harmonic self) -> IMP::Float"""
5574 return _IMP_core.Harmonic_get_k(self)
5577 def set_mean(self, mean):
5578 """set_mean(Harmonic self, IMP::Float mean)"""
5579 return _IMP_core.Harmonic_set_mean(self, mean)
5583 """set_k(Harmonic self, IMP::Float k)"""
5584 return _IMP_core.Harmonic_set_k(self, k)
5587 def get_k_from_standard_deviation(sd, t=297.15):
5589 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
5590 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
5592 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
5594 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
5597 """__str__(Harmonic self) -> std::string"""
5598 return _IMP_core.Harmonic___str__(self)
5602 """__repr__(Harmonic self) -> std::string"""
5603 return _IMP_core.Harmonic___repr__(self)
5608 return _object_cast_to_Harmonic(o)
5610 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
5611 Harmonic_swigregister(Harmonic)
5613 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
5615 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
5616 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
5618 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
5621 """Proxy of C++ IMP::core::HarmonicWell class."""
5623 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5625 def __init__(self, well, k):
5626 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
5627 this = _IMP_core.new_HarmonicWell(well, k)
5629 self.this.append(this)
5630 except __builtin__.Exception:
5633 def get_version_info(self):
5634 """get_version_info(HarmonicWell self) -> VersionInfo"""
5635 return _IMP_core.HarmonicWell_get_version_info(self)
5639 """__str__(HarmonicWell self) -> std::string"""
5640 return _IMP_core.HarmonicWell___str__(self)
5644 """__repr__(HarmonicWell self) -> std::string"""
5645 return _IMP_core.HarmonicWell___repr__(self)
5650 return _object_cast_to_HarmonicWell(o)
5652 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
5653 HarmonicWell_swigregister(HarmonicWell)
5655 class HarmonicLowerBound(Harmonic):
5656 """Proxy of C++ IMP::core::HarmonicLowerBound class."""
5658 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5660 def __init__(self, mean, k):
5661 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
5662 this = _IMP_core.new_HarmonicLowerBound(mean, k)
5664 self.this.append(this)
5665 except __builtin__.Exception:
5669 """__str__(HarmonicLowerBound self) -> std::string"""
5670 return _IMP_core.HarmonicLowerBound___str__(self)
5674 """__repr__(HarmonicLowerBound self) -> std::string"""
5675 return _IMP_core.HarmonicLowerBound___repr__(self)
5680 return _object_cast_to_HarmonicLowerBound(o)
5682 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
5683 HarmonicLowerBound_swigregister(HarmonicLowerBound)
5685 class HarmonicUpperBound(Harmonic):
5686 """Proxy of C++ IMP::core::HarmonicUpperBound class."""
5688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5690 def __init__(self, mean, k):
5691 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
5692 this = _IMP_core.new_HarmonicUpperBound(mean, k)
5694 self.this.append(this)
5695 except __builtin__.Exception:
5699 """__str__(HarmonicUpperBound self) -> std::string"""
5700 return _IMP_core.HarmonicUpperBound___str__(self)
5704 """__repr__(HarmonicUpperBound self) -> std::string"""
5705 return _IMP_core.HarmonicUpperBound___repr__(self)
5710 return _object_cast_to_HarmonicUpperBound(o)
5712 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
5713 HarmonicUpperBound_swigregister(HarmonicUpperBound)
5716 """Proxy of C++ IMP::core::WeightedSum class."""
5718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5720 def __init__(self, funcs, weights):
5721 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
5722 this = _IMP_core.new_WeightedSum(funcs, weights)
5724 self.this.append(this)
5725 except __builtin__.Exception:
5728 def get_function_number(self):
5729 """get_function_number(WeightedSum self) -> unsigned int"""
5730 return _IMP_core.WeightedSum_get_function_number(self)
5733 def set_weights(self, weights):
5734 """set_weights(WeightedSum self, IMP::Floats weights)"""
5735 return _IMP_core.WeightedSum_set_weights(self, weights)
5738 def get_weights(self):
5739 """get_weights(WeightedSum self) -> IMP::Floats"""
5740 return _IMP_core.WeightedSum_get_weights(self)
5743 def get_weight(self, i):
5744 """get_weight(WeightedSum self, unsigned int i) -> double"""
5745 return _IMP_core.WeightedSum_get_weight(self, i)
5748 def get_function(self, i):
5749 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
5750 return _IMP_core.WeightedSum_get_function(self, i)
5753 def get_version_info(self):
5754 """get_version_info(WeightedSum self) -> VersionInfo"""
5755 return _IMP_core.WeightedSum_get_version_info(self)
5759 """__str__(WeightedSum self) -> std::string"""
5760 return _IMP_core.WeightedSum___str__(self)
5764 """__repr__(WeightedSum self) -> std::string"""
5765 return _IMP_core.WeightedSum___repr__(self)
5770 return _object_cast_to_WeightedSum(o)
5772 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
5773 WeightedSum_swigregister(WeightedSum)
5776 """Proxy of C++ IMP::core::WeightedSumOfExponential class."""
5778 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5780 def __init__(self, funcs, weights, denom=1.0):
5782 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
5783 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
5785 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
5787 self.this.append(this)
5788 except __builtin__.Exception:
5791 def get_function_number(self):
5792 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
5793 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
5796 def set_weights(self, weights):
5797 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
5798 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
5801 def get_weights(self):
5802 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
5803 return _IMP_core.WeightedSumOfExponential_get_weights(self)
5806 def get_weight(self, i):
5807 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
5808 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
5811 def get_function(self, i):
5812 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
5813 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
5816 def set_denominator(self, denom):
5817 """set_denominator(WeightedSumOfExponential self, double denom)"""
5818 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
5821 def get_denominator(self):
5822 """get_denominator(WeightedSumOfExponential self) -> double"""
5823 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
5826 def get_version_info(self):
5827 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
5828 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
5832 """__str__(WeightedSumOfExponential self) -> std::string"""
5833 return _IMP_core.WeightedSumOfExponential___str__(self)
5837 """__repr__(WeightedSumOfExponential self) -> std::string"""
5838 return _IMP_core.WeightedSumOfExponential___repr__(self)
5843 return _object_cast_to_WeightedSumOfExponential(o)
5845 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
5846 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
5849 """Proxy of C++ IMP::core::MSConnectivityRestraint class."""
5851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5853 def __init__(self, m, ps, eps=0.1):
5855 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
5856 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
5858 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
5860 self.this.append(this)
5861 except __builtin__.Exception:
5864 def add_type(self, ps):
5865 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
5866 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
5869 def add_composite(self, *args):
5871 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
5872 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
5874 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
5877 def get_connected_pairs(self):
5878 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
5879 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
5882 def get_pair_score(self):
5883 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
5884 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
5887 def do_create_current_decomposition(self):
5888 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
5889 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
5892 def do_get_inputs(self):
5893 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5894 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
5897 def get_version_info(self):
5898 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
5899 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
5903 """__str__(MSConnectivityRestraint self) -> std::string"""
5904 return _IMP_core.MSConnectivityRestraint___str__(self)
5908 """__repr__(MSConnectivityRestraint self) -> std::string"""
5909 return _IMP_core.MSConnectivityRestraint___repr__(self)
5914 return _object_cast_to_MSConnectivityRestraint(o)
5916 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
5917 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
5919 class HierarchyTraits(object):
5920 """Proxy of C++ IMP::core::HierarchyTraits class."""
5922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5924 def __init__(self, *args):
5926 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
5927 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
5929 this = _IMP_core.new_HierarchyTraits(*args)
5931 self.this.append(this)
5932 except __builtin__.Exception:
5935 def get_children_key(self):
5936 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
5937 return _IMP_core.HierarchyTraits_get_children_key(self)
5940 def get_parent_key(self):
5941 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
5942 return _IMP_core.HierarchyTraits_get_parent_key(self)
5945 def __eq__(self, o):
5946 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
5947 return _IMP_core.HierarchyTraits___eq__(self, o)
5950 def show(self, *args):
5952 show(HierarchyTraits self, _ostream out)
5953 show(HierarchyTraits self)
5955 return _IMP_core.HierarchyTraits_show(self, *args)
5959 """__str__(HierarchyTraits self) -> std::string"""
5960 return _IMP_core.HierarchyTraits___str__(self)
5964 """__repr__(HierarchyTraits self) -> std::string"""
5965 return _IMP_core.HierarchyTraits___repr__(self)
5967 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
5968 __del__ =
lambda self:
None
5969 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
5970 HierarchyTraits_swigregister(HierarchyTraits)
5973 """Proxy of C++ IMP::core::Hierarchy class."""
5975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5977 def get_decorator_traits(self):
5978 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
5979 return _IMP_core.Hierarchy_get_decorator_traits(self)
5982 def get_default_decorator_traits():
5983 """get_default_decorator_traits() -> HierarchyTraits"""
5984 return _IMP_core.Hierarchy_get_default_decorator_traits()
5986 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
5988 def __init__(self, *args):
5990 __init__(IMP::core::Hierarchy self) -> Hierarchy
5991 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
5992 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
5993 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
5994 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
5996 this = _IMP_core.new_Hierarchy(*args)
5998 self.this.append(this)
5999 except __builtin__.Exception:
6002 def show(self, *args):
6004 show(Hierarchy self, _ostream out)
6005 show(Hierarchy self)
6007 return _IMP_core.Hierarchy_show(self, *args)
6010 def setup_particle(*args):
6012 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6013 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6014 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6015 setup_particle(_ParticleAdaptor d) -> Hierarchy
6016 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6017 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6018 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6019 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6020 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6021 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6022 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6023 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6025 return _IMP_core.Hierarchy_setup_particle(*args)
6027 setup_particle = staticmethod(setup_particle)
6029 def get_is_setup(*args):
6031 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6032 get_is_setup(_ParticleAdaptor p) -> bool
6033 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6034 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6036 return _IMP_core.Hierarchy_get_is_setup(*args)
6038 get_is_setup = staticmethod(get_is_setup)
6040 def get_parent(self):
6041 """get_parent(Hierarchy self) -> Hierarchy"""
6042 return _IMP_core.Hierarchy_get_parent(self)
6045 def get_number_of_children(self):
6046 """get_number_of_children(Hierarchy self) -> unsigned int"""
6047 return _IMP_core.Hierarchy_get_number_of_children(self)
6050 def get_child(self, i):
6051 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6052 return _IMP_core.Hierarchy_get_child(self, i)
6055 def get_children_indexes(self):
6056 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6057 return _IMP_core.Hierarchy_get_children_indexes(self)
6060 def get_children(self):
6061 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6062 return _IMP_core.Hierarchy_get_children(self)
6065 def remove_child(self, *args):
6067 remove_child(Hierarchy self, unsigned int i)
6068 remove_child(Hierarchy self, Hierarchy h)
6070 return _IMP_core.Hierarchy_remove_child(self, *args)
6073 def clear_children(self):
6074 """clear_children(Hierarchy self)"""
6075 return _IMP_core.Hierarchy_clear_children(self)
6078 def add_child(self, h):
6079 """add_child(Hierarchy self, Hierarchy h)"""
6080 return _IMP_core.Hierarchy_add_child(self, h)
6083 def add_child_at(self, h, pos):
6084 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6085 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6088 def get_child_index(self, *args):
6090 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6091 get_child_index(Hierarchy self) -> int
6093 return _IMP_core.Hierarchy_get_child_index(self, *args)
6096 def get_default_traits():
6097 """get_default_traits() -> HierarchyTraits"""
6098 return _IMP_core.Hierarchy_get_default_traits()
6100 get_default_traits = staticmethod(get_default_traits)
6102 def get_traits(self):
6103 """get_traits(Hierarchy self) -> HierarchyTraits"""
6104 return _IMP_core.Hierarchy_get_traits(self)
6107 def add_attribute(self, *args):
6109 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6110 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6111 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6112 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6113 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6114 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6116 return _IMP_core.Hierarchy_add_attribute(self, *args)
6119 def get_value(self, *args):
6121 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6122 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6123 get_value(Hierarchy self, StringKey a0) -> IMP::String
6124 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6125 get_value(Hierarchy self, ObjectKey a0) -> Object
6127 return _IMP_core.Hierarchy_get_value(self, *args)
6130 def set_value(self, *args):
6132 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6133 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6134 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6135 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6136 set_value(Hierarchy self, ObjectKey a0, Object a1)
6138 return _IMP_core.Hierarchy_set_value(self, *args)
6141 def remove_attribute(self, *args):
6143 remove_attribute(Hierarchy self, FloatKey a0)
6144 remove_attribute(Hierarchy self, IntKey a0)
6145 remove_attribute(Hierarchy self, StringKey a0)
6146 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6147 remove_attribute(Hierarchy self, ObjectKey a0)
6149 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6152 def has_attribute(self, *args):
6154 has_attribute(Hierarchy self, FloatKey a0) -> bool
6155 has_attribute(Hierarchy self, IntKey a0) -> bool
6156 has_attribute(Hierarchy self, StringKey a0) -> bool
6157 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6158 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6160 return _IMP_core.Hierarchy_has_attribute(self, *args)
6163 def get_derivative(self, a0):
6164 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
6165 return _IMP_core.Hierarchy_get_derivative(self, a0)
6169 """get_name(Hierarchy self) -> std::string"""
6170 return _IMP_core.Hierarchy_get_name(self)
6173 def clear_caches(self):
6174 """clear_caches(Hierarchy self)"""
6175 return _IMP_core.Hierarchy_clear_caches(self)
6178 def set_name(self, a0):
6179 """set_name(Hierarchy self, std::string a0)"""
6180 return _IMP_core.Hierarchy_set_name(self, a0)
6184 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6185 return _IMP_core.Hierarchy_set_check_level(self, a0)
6188 def add_to_derivative(self, a0, a1, a2):
6189 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6190 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6193 def set_is_optimized(self, a0, a1):
6194 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6195 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6198 def get_is_optimized(self, a0):
6199 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6200 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6204 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6205 return _IMP_core.Hierarchy_get_check_level(self)
6208 def __eq__(self, *args):
6210 __eq__(Hierarchy self, Hierarchy o) -> bool
6211 __eq__(Hierarchy self, Particle d) -> bool
6213 return _IMP_core.Hierarchy___eq__(self, *args)
6216 def __ne__(self, *args):
6218 __ne__(Hierarchy self, Hierarchy o) -> bool
6219 __ne__(Hierarchy self, Particle d) -> bool
6221 return _IMP_core.Hierarchy___ne__(self, *args)
6224 def __le__(self, *args):
6226 __le__(Hierarchy self, Hierarchy o) -> bool
6227 __le__(Hierarchy self, Particle d) -> bool
6229 return _IMP_core.Hierarchy___le__(self, *args)
6232 def __lt__(self, *args):
6234 __lt__(Hierarchy self, Hierarchy o) -> bool
6235 __lt__(Hierarchy self, Particle d) -> bool
6237 return _IMP_core.Hierarchy___lt__(self, *args)
6240 def __ge__(self, *args):
6242 __ge__(Hierarchy self, Hierarchy o) -> bool
6243 __ge__(Hierarchy self, Particle d) -> bool
6245 return _IMP_core.Hierarchy___ge__(self, *args)
6248 def __gt__(self, *args):
6250 __gt__(Hierarchy self, Hierarchy o) -> bool
6251 __gt__(Hierarchy self, Particle d) -> bool
6253 return _IMP_core.Hierarchy___gt__(self, *args)
6257 """__hash__(Hierarchy self) -> std::size_t"""
6258 return _IMP_core.Hierarchy___hash__(self)
6262 """__str__(Hierarchy self) -> std::string"""
6263 return _IMP_core.Hierarchy___str__(self)
6267 """__repr__(Hierarchy self) -> std::string"""
6268 return _IMP_core.Hierarchy___repr__(self)
6270 __swig_destroy__ = _IMP_core.delete_Hierarchy
6271 __del__ =
lambda self:
None
6272 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
6273 Hierarchy_swigregister(Hierarchy)
6275 def Hierarchy_get_default_decorator_traits():
6276 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
6277 return _IMP_core.Hierarchy_get_default_decorator_traits()
6279 def Hierarchy_setup_particle(*args):
6281 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6282 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6283 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6284 setup_particle(_ParticleAdaptor d) -> Hierarchy
6285 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6286 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6287 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6288 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6289 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6290 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6291 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6292 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6294 return _IMP_core.Hierarchy_setup_particle(*args)
6296 def Hierarchy_get_is_setup(*args):
6298 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6299 get_is_setup(_ParticleAdaptor p) -> bool
6300 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6301 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
6303 return _IMP_core.Hierarchy_get_is_setup(*args)
6305 def Hierarchy_get_default_traits():
6306 """Hierarchy_get_default_traits() -> HierarchyTraits"""
6307 return _IMP_core.Hierarchy_get_default_traits()
6309 class HierarchyVisitor(object):
6310 """Proxy of C++ IMP::core::HierarchyVisitor class."""
6312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6313 __repr__ = _swig_repr
6316 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
6317 if self.__class__ == HierarchyVisitor:
6321 this = _IMP_core.new_HierarchyVisitor(_self, )
6323 self.this.append(this)
6324 except __builtin__.Exception:
6327 if self.__class__ != HierarchyVisitor:
6328 _director_objects.register(self)
6333 def __call__(self, p):
6334 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
6335 return _IMP_core.HierarchyVisitor___call__(self, p)
6337 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
6338 __del__ =
lambda self:
None
6339 def __disown__(self):
6341 _IMP_core.disown_HierarchyVisitor(self)
6342 return weakref_proxy(self)
6343 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
6344 HierarchyVisitor_swigregister(HierarchyVisitor)
6346 class ModifierVisitor(HierarchyVisitor):
6347 """Proxy of C++ IMP::core::ModifierVisitor class."""
6349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6350 __repr__ = _swig_repr
6352 def __init__(self, sm):
6353 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
6354 this = _IMP_core.new_ModifierVisitor(sm)
6356 self.this.append(this)
6357 except __builtin__.Exception:
6359 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
6360 __del__ =
lambda self:
None
6361 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
6362 ModifierVisitor_swigregister(ModifierVisitor)
6364 class HierarchyCounter(HierarchyVisitor):
6365 """Proxy of C++ IMP::core::HierarchyCounter class."""
6367 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6370 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
6371 this = _IMP_core.new_HierarchyCounter()
6373 self.this.append(this)
6374 except __builtin__.Exception:
6377 def get_count(self):
6378 """get_count(HierarchyCounter self) -> unsigned int"""
6379 return _IMP_core.HierarchyCounter_get_count(self)
6382 def show(self, *args):
6384 show(HierarchyCounter self, _ostream out)
6385 show(HierarchyCounter self)
6387 return _IMP_core.HierarchyCounter_show(self, *args)
6391 """__str__(HierarchyCounter self) -> std::string"""
6392 return _IMP_core.HierarchyCounter___str__(self)
6396 """__repr__(HierarchyCounter self) -> std::string"""
6397 return _IMP_core.HierarchyCounter___repr__(self)
6399 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
6400 __del__ =
lambda self:
None
6401 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
6402 HierarchyCounter_swigregister(HierarchyCounter)
6406 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6407 return _IMP_core.get_leaves(mhd)
6410 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6411 return _IMP_core.get_internal(mhd)
6414 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6415 return _IMP_core.get_all_descendants(mhd)
6418 """get_root(Hierarchy h) -> Hierarchy"""
6419 return _IMP_core.get_root(h)
6422 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
6423 return _IMP_core.visit_breadth_first(d, f)
6426 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
6427 return _IMP_core.visit_depth_first(d, f)
6429 """Proxy of C++ IMP::core::LeavesRefiner class."""
6431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6433 def __init__(self, tr):
6434 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
6435 this = _IMP_core.new_LeavesRefiner(tr)
6437 self.this.append(this)
6438 except __builtin__.Exception:
6441 def do_get_inputs(self, m, pis):
6442 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6443 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
6446 def get_version_info(self):
6447 """get_version_info(LeavesRefiner self) -> VersionInfo"""
6448 return _IMP_core.LeavesRefiner_get_version_info(self)
6452 """__str__(LeavesRefiner self) -> std::string"""
6453 return _IMP_core.LeavesRefiner___str__(self)
6457 """__repr__(LeavesRefiner self) -> std::string"""
6458 return _IMP_core.LeavesRefiner___repr__(self)
6463 return _object_cast_to_LeavesRefiner(o)
6465 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
6466 LeavesRefiner_swigregister(LeavesRefiner)
6469 """Proxy of C++ IMP::core::Linear class."""
6471 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6473 def __init__(self, offset, slope):
6474 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
6475 this = _IMP_core.new_Linear(offset, slope)
6477 self.this.append(this)
6478 except __builtin__.Exception:
6481 def set_slope(self, f):
6482 """set_slope(Linear self, double f)"""
6483 return _IMP_core.Linear_set_slope(self, f)
6486 def set_offset(self, f):
6487 """set_offset(Linear self, double f)"""
6488 return _IMP_core.Linear_set_offset(self, f)
6491 def get_version_info(self):
6492 """get_version_info(Linear self) -> VersionInfo"""
6493 return _IMP_core.Linear_get_version_info(self)
6497 """__str__(Linear self) -> std::string"""
6498 return _IMP_core.Linear___str__(self)
6502 """__repr__(Linear self) -> std::string"""
6503 return _IMP_core.Linear___repr__(self)
6508 return _object_cast_to_Linear(o)
6510 Linear_swigregister = _IMP_core.Linear_swigregister
6511 Linear_swigregister(Linear)
6514 """Proxy of C++ IMP::core::IncrementalScoringFunction class."""
6516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6518 def __init__(self, *args):
6520 __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
6521 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
6522 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
6523 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
6524 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
6525 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
6526 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
6527 __init__(IMP::core::IncrementalScoringFunction self, IMP::ParticlesTemp const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
6529 this = _IMP_core.new_IncrementalScoringFunction(*args)
6531 self.this.append(this)
6532 except __builtin__.Exception:
6535 def reset_moved_particles(self):
6536 """reset_moved_particles(IncrementalScoringFunction self)"""
6537 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
6540 def set_moved_particles(self, p):
6541 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
6542 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
6545 def add_close_pair_score(self, *args):
6547 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
6548 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
6550 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
6553 def clear_close_pair_scores(self):
6554 """clear_close_pair_scores(IncrementalScoringFunction self)"""
6555 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
6558 def get_movable_indexes(self):
6559 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
6560 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
6563 def do_add_score_and_derivatives(self, sa, ss):
6564 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
6565 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
6568 def do_get_inputs(self):
6569 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
6570 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
6573 def handle_set_has_required_score_states(self, arg2):
6574 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
6575 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
6578 def get_version_info(self):
6579 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
6580 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
6584 """__str__(IncrementalScoringFunction self) -> std::string"""
6585 return _IMP_core.IncrementalScoringFunction___str__(self)
6589 """__repr__(IncrementalScoringFunction self) -> std::string"""
6590 return _IMP_core.IncrementalScoringFunction___repr__(self)
6595 return _object_cast_to_IncrementalScoringFunction(o)
6597 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
6598 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
6600 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
6602 """Proxy of C++ IMP::core::MonteCarlo class."""
6604 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6606 def __init__(self, m):
6607 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
6608 this = _IMP_core.new_MonteCarlo(m)
6610 self.this.append(this)
6611 except __builtin__.Exception:
6614 def get_version_info(self):
6615 """get_version_info(MonteCarlo self) -> VersionInfo"""
6616 return _IMP_core.MonteCarlo_get_version_info(self)
6619 def set_return_best(self, tf):
6620 """set_return_best(MonteCarlo self, bool tf)"""
6621 return _IMP_core.MonteCarlo_set_return_best(self, tf)
6624 def set_kt(self, t):
6625 """set_kt(MonteCarlo self, IMP::Float t)"""
6626 return _IMP_core.MonteCarlo_set_kt(self, t)
6630 """get_kt(MonteCarlo self) -> IMP::Float"""
6631 return _IMP_core.MonteCarlo_get_kt(self)
6634 def get_last_accepted_energy(self):
6635 """get_last_accepted_energy(MonteCarlo self) -> double"""
6636 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
6639 def get_best_accepted_energy(self):
6640 """get_best_accepted_energy(MonteCarlo self) -> double"""
6641 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
6644 def get_number_of_downward_steps(self):
6645 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
6646 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
6649 def get_number_of_upward_steps(self):
6650 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
6651 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
6654 def get_number_of_proposed_steps(self):
6655 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
6656 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
6659 def get_number_of_accepted_steps(self):
6660 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
6661 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
6664 def reset_statistics(self):
6665 """reset_statistics(MonteCarlo self)"""
6666 return _IMP_core.MonteCarlo_reset_statistics(self)
6669 def set_score_threshold(self, s):
6670 """set_score_threshold(MonteCarlo self, double s)"""
6671 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
6674 def get_score_threshold(self):
6675 """get_score_threshold(MonteCarlo self) -> double"""
6676 return _IMP_core.MonteCarlo_get_score_threshold(self)
6679 def set_maximum_difference(self, d):
6680 """set_maximum_difference(MonteCarlo self, double d)"""
6681 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
6684 def get_maximum_difference(self):
6685 """get_maximum_difference(MonteCarlo self) -> double"""
6686 return _IMP_core.MonteCarlo_get_maximum_difference(self)
6689 def remove_mover(self, d):
6690 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
6691 return _IMP_core.MonteCarlo_remove_mover(self, d)
6694 def remove_movers(self, d):
6695 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
6696 return _IMP_core.MonteCarlo_remove_movers(self, d)
6699 def set_movers(self, ps):
6700 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
6701 return _IMP_core.MonteCarlo_set_movers(self, ps)
6704 def set_movers_order(self, objs):
6705 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
6706 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
6709 def add_mover(self, obj):
6710 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
6711 return _IMP_core.MonteCarlo_add_mover(self, obj)
6714 def add_movers(self, objs):
6715 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
6716 return _IMP_core.MonteCarlo_add_movers(self, objs)
6719 def clear_movers(self):
6720 """clear_movers(MonteCarlo self)"""
6721 return _IMP_core.MonteCarlo_clear_movers(self)
6724 def get_number_of_movers(self):
6725 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
6726 return _IMP_core.MonteCarlo_get_number_of_movers(self)
6729 def get_has_movers(self):
6730 """get_has_movers(MonteCarlo self) -> bool"""
6731 return _IMP_core.MonteCarlo_get_has_movers(self)
6734 def get_mover(self, i):
6735 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
6736 return _IMP_core.MonteCarlo_get_mover(self, i)
6739 def get_movers(self):
6740 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
6741 return _IMP_core.MonteCarlo_get_movers(self)
6744 def reserve_movers(self, sz):
6745 """reserve_movers(MonteCarlo self, unsigned int sz)"""
6746 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
6749 def set_incremental_scoring_function(self, isf):
6750 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
6751 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
6754 def get_use_incremental_scoring_function(self):
6755 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
6756 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
6759 def get_incremental_scoring_function(self):
6760 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
6761 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
6765 """__str__(MonteCarlo self) -> std::string"""
6766 return _IMP_core.MonteCarlo___str__(self)
6770 """__repr__(MonteCarlo self) -> std::string"""
6771 return _IMP_core.MonteCarlo___repr__(self)
6776 return _object_cast_to_MonteCarlo(o)
6778 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
6779 MonteCarlo_swigregister(MonteCarlo)
6781 class MonteCarloWithLocalOptimization(MonteCarlo):
6782 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
6784 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6786 def __init__(self, opt, steps):
6787 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
6788 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
6790 self.this.append(this)
6791 except __builtin__.Exception:
6794 def get_number_of_steps(self):
6795 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
6796 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
6799 def get_local_optimizer(self):
6800 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
6801 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
6805 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
6806 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
6810 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
6811 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
6816 return _object_cast_to_MonteCarloWithLocalOptimization(o)
6818 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
6819 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
6821 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
6822 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
6824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6826 def __init__(self, opt, ns):
6827 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
6828 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
6830 self.this.append(this)
6831 except __builtin__.Exception:
6835 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
6836 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
6840 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
6841 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
6846 return _object_cast_to_MonteCarloWithBasinHopping(o)
6848 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
6849 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
6852 """Proxy of C++ IMP::core::NeighborsTable class."""
6854 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6856 def __init__(self, *args):
6858 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
6859 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
6861 this = _IMP_core.new_NeighborsTable(*args)
6863 self.this.append(this)
6864 except __builtin__.Exception:
6867 def get_neighbors(self, pi):
6868 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
6869 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
6872 def get_version_info(self):
6873 """get_version_info(NeighborsTable self) -> VersionInfo"""
6874 return _IMP_core.NeighborsTable_get_version_info(self)
6878 """__str__(NeighborsTable self) -> std::string"""
6879 return _IMP_core.NeighborsTable___str__(self)
6883 """__repr__(NeighborsTable self) -> std::string"""
6884 return _IMP_core.NeighborsTable___repr__(self)
6889 return _object_cast_to_NeighborsTable(o)
6891 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
6892 NeighborsTable_swigregister(NeighborsTable)
6894 class NormalMover(MonteCarloMover):
6895 """Proxy of C++ IMP::core::NormalMover class."""
6897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6899 def __init__(self, *args):
6901 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
6902 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
6903 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
6904 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
6906 this = _IMP_core.new_NormalMover(*args)
6908 self.this.append(this)
6909 except __builtin__.Exception:
6912 def set_sigma(self, sigma):
6913 """set_sigma(NormalMover self, IMP::Float sigma)"""
6914 return _IMP_core.NormalMover_set_sigma(self, sigma)
6917 def get_sigma(self):
6918 """get_sigma(NormalMover self) -> IMP::Float"""
6919 return _IMP_core.NormalMover_get_sigma(self)
6922 def get_version_info(self):
6923 """get_version_info(NormalMover self) -> VersionInfo"""
6924 return _IMP_core.NormalMover_get_version_info(self)
6928 """__str__(NormalMover self) -> std::string"""
6929 return _IMP_core.NormalMover___str__(self)
6933 """__repr__(NormalMover self) -> std::string"""
6934 return _IMP_core.NormalMover___repr__(self)
6939 return _object_cast_to_NormalMover(o)
6941 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
6942 NormalMover_swigregister(NormalMover)
6944 class OpenCubicSpline(_OpenCubicSplineBase):
6945 """Proxy of C++ IMP::core::OpenCubicSpline class."""
6947 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6949 def __init__(self, values, minrange, spacing, extend=False):
6951 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
6952 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
6954 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
6956 self.this.append(this)
6957 except __builtin__.Exception:
6961 """__str__(OpenCubicSpline self) -> std::string"""
6962 return _IMP_core.OpenCubicSpline___str__(self)
6966 """__repr__(OpenCubicSpline self) -> std::string"""
6967 return _IMP_core.OpenCubicSpline___repr__(self)
6972 return _object_cast_to_OpenCubicSpline(o)
6974 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
6975 __del__ =
lambda self:
None
6976 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
6977 OpenCubicSpline_swigregister(OpenCubicSpline)
6979 class QuadraticClosePairsFinder(ClosePairsFinder):
6980 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
6982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6985 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
6986 this = _IMP_core.new_QuadraticClosePairsFinder()
6988 self.this.append(this)
6989 except __builtin__.Exception:
6992 def get_are_close(self, *args):
6994 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
6995 get_are_close(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
6997 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
7000 def get_close_pairs(self, *args):
7002 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7003 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7004 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7005 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7007 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7010 def do_get_inputs(self, m, pis):
7011 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7012 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7015 def get_version_info(self):
7016 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7017 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7021 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7022 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7026 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7027 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7032 return _object_cast_to_QuadraticClosePairsFinder(o)
7034 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7035 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7038 """Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7042 def __init__(self, r, f):
7043 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7044 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7046 self.this.append(this)
7047 except __builtin__.Exception:
7050 def do_get_inputs(self, m, pis):
7051 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7052 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7055 def get_version_info(self):
7056 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7057 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7061 """__str__(RefinedPairsPairScore self) -> std::string"""
7062 return _IMP_core.RefinedPairsPairScore___str__(self)
7066 """__repr__(RefinedPairsPairScore self) -> std::string"""
7067 return _IMP_core.RefinedPairsPairScore___repr__(self)
7072 return _object_cast_to_RefinedPairsPairScore(o)
7074 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
7075 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7077 class RigidBody(XYZ):
7078 """Proxy of C++ IMP::core::RigidBody class."""
7080 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7082 def get_rigid_members(self):
7083 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7084 return _IMP_core.RigidBody_get_rigid_members(self)
7087 def get_member_particle_indexes(self):
7088 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7089 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7092 def get_body_member_particle_indexes(self):
7093 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7094 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7097 def get_member_indexes(self):
7098 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7099 return _IMP_core.RigidBody_get_member_indexes(self)
7102 def __init__(self, *args):
7104 __init__(IMP::core::RigidBody self) -> RigidBody
7105 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
7106 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
7108 this = _IMP_core.new_RigidBody(*args)
7110 self.this.append(this)
7111 except __builtin__.Exception:
7114 def show(self, *args):
7116 show(RigidBody self, _ostream out)
7117 show(RigidBody self)
7119 return _IMP_core.RigidBody_show(self, *args)
7122 def setup_particle(*args):
7124 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7125 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7126 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7127 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7129 return _IMP_core.RigidBody_setup_particle(*args)
7131 setup_particle = staticmethod(setup_particle)
7133 def teardown_particle(rb):
7134 """teardown_particle(RigidBody rb)"""
7135 return _IMP_core.RigidBody_teardown_particle(rb)
7137 teardown_particle = staticmethod(teardown_particle)
7138 __swig_destroy__ = _IMP_core.delete_RigidBody
7139 __del__ =
lambda self:
None
7141 def get_is_setup(*args):
7143 get_is_setup(_ParticleAdaptor p) -> bool
7144 get_is_setup(Model m, ParticleIndex pi) -> bool
7146 return _IMP_core.RigidBody_get_is_setup(*args)
7148 get_is_setup = staticmethod(get_is_setup)
7150 def get_coordinates(self):
7151 """get_coordinates(RigidBody self) -> Vector3D"""
7152 return _IMP_core.RigidBody_get_coordinates(self)
7155 def get_rotation(self):
7156 """get_rotation(RigidBody self) -> Rotation3D"""
7157 return _IMP_core.RigidBody_get_rotation(self)
7160 def get_reference_frame(self):
7161 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7162 return _IMP_core.RigidBody_get_reference_frame(self)
7165 def set_reference_frame(self, tr):
7166 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7167 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7170 def set_reference_frame_lazy(self, tr):
7171 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7172 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7175 def set_reference_frame_from_members(self, members):
7176 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7177 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7180 def add_to_derivatives(self, *args):
7182 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7183 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7185 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7188 def add_to_torque(self, torque_local, da):
7189 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7190 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7193 def get_torque(self):
7194 """get_torque(RigidBody self) -> Vector3D"""
7195 return _IMP_core.RigidBody_get_torque(self)
7198 def get_coordinates_are_optimized(self):
7199 """get_coordinates_are_optimized(RigidBody self) -> bool"""
7200 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
7203 def set_coordinates_are_optimized(self, tf):
7204 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
7205 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
7208 def normalize_rotation(self):
7209 """normalize_rotation(RigidBody self)"""
7210 return _IMP_core.RigidBody_normalize_rotation(self)
7213 def update_members(self):
7214 """update_members(RigidBody self)"""
7215 return _IMP_core.RigidBody_update_members(self)
7218 def get_rotational_derivatives(self):
7219 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
7220 return _IMP_core.RigidBody_get_rotational_derivatives(self)
7223 def get_number_of_members(self):
7224 """get_number_of_members(RigidBody self) -> unsigned int"""
7225 return _IMP_core.RigidBody_get_number_of_members(self)
7228 def get_member(self, i):
7229 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
7230 return _IMP_core.RigidBody_get_member(self, i)
7233 def add_member(self, p):
7234 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
7235 return _IMP_core.RigidBody_add_member(self, p)
7238 def add_non_rigid_member(self, p):
7239 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
7240 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
7243 def set_is_rigid_member(self, pi, tf):
7244 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
7245 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
7248 def add_attribute(self, *args):
7250 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
7251 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
7252 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
7253 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
7254 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
7255 add_attribute(RigidBody self, ObjectKey a0, Object a1)
7257 return _IMP_core.RigidBody_add_attribute(self, *args)
7260 def get_value(self, *args):
7262 get_value(RigidBody self, FloatKey a0) -> IMP::Float
7263 get_value(RigidBody self, IntKey a0) -> IMP::Int
7264 get_value(RigidBody self, StringKey a0) -> IMP::String
7265 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
7266 get_value(RigidBody self, ObjectKey a0) -> Object
7268 return _IMP_core.RigidBody_get_value(self, *args)
7271 def set_value(self, *args):
7273 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
7274 set_value(RigidBody self, IntKey a0, IMP::Int a1)
7275 set_value(RigidBody self, StringKey a0, IMP::String a1)
7276 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
7277 set_value(RigidBody self, ObjectKey a0, Object a1)
7279 return _IMP_core.RigidBody_set_value(self, *args)
7282 def remove_attribute(self, *args):
7284 remove_attribute(RigidBody self, FloatKey a0)
7285 remove_attribute(RigidBody self, IntKey a0)
7286 remove_attribute(RigidBody self, StringKey a0)
7287 remove_attribute(RigidBody self, ParticleIndexKey a0)
7288 remove_attribute(RigidBody self, ObjectKey a0)
7290 return _IMP_core.RigidBody_remove_attribute(self, *args)
7293 def has_attribute(self, *args):
7295 has_attribute(RigidBody self, FloatKey a0) -> bool
7296 has_attribute(RigidBody self, IntKey a0) -> bool
7297 has_attribute(RigidBody self, StringKey a0) -> bool
7298 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
7299 has_attribute(RigidBody self, ObjectKey a0) -> bool
7301 return _IMP_core.RigidBody_has_attribute(self, *args)
7304 def get_derivative(self, a0):
7305 """get_derivative(RigidBody self, FloatKey a0) -> double"""
7306 return _IMP_core.RigidBody_get_derivative(self, a0)
7310 """get_name(RigidBody self) -> std::string"""
7311 return _IMP_core.RigidBody_get_name(self)
7314 def clear_caches(self):
7315 """clear_caches(RigidBody self)"""
7316 return _IMP_core.RigidBody_clear_caches(self)
7319 def set_name(self, a0):
7320 """set_name(RigidBody self, std::string a0)"""
7321 return _IMP_core.RigidBody_set_name(self, a0)
7325 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
7326 return _IMP_core.RigidBody_set_check_level(self, a0)
7329 def add_to_derivative(self, a0, a1, a2):
7330 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7331 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
7334 def set_is_optimized(self, a0, a1):
7335 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
7336 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
7339 def get_is_optimized(self, a0):
7340 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
7341 return _IMP_core.RigidBody_get_is_optimized(self, a0)
7345 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
7346 return _IMP_core.RigidBody_get_check_level(self)
7349 def __eq__(self, *args):
7351 __eq__(RigidBody self, RigidBody o) -> bool
7352 __eq__(RigidBody self, Particle d) -> bool
7354 return _IMP_core.RigidBody___eq__(self, *args)
7357 def __ne__(self, *args):
7359 __ne__(RigidBody self, RigidBody o) -> bool
7360 __ne__(RigidBody self, Particle d) -> bool
7362 return _IMP_core.RigidBody___ne__(self, *args)
7365 def __le__(self, *args):
7367 __le__(RigidBody self, RigidBody o) -> bool
7368 __le__(RigidBody self, Particle d) -> bool
7370 return _IMP_core.RigidBody___le__(self, *args)
7373 def __lt__(self, *args):
7375 __lt__(RigidBody self, RigidBody o) -> bool
7376 __lt__(RigidBody self, Particle d) -> bool
7378 return _IMP_core.RigidBody___lt__(self, *args)
7381 def __ge__(self, *args):
7383 __ge__(RigidBody self, RigidBody o) -> bool
7384 __ge__(RigidBody self, Particle d) -> bool
7386 return _IMP_core.RigidBody___ge__(self, *args)
7389 def __gt__(self, *args):
7391 __gt__(RigidBody self, RigidBody o) -> bool
7392 __gt__(RigidBody self, Particle d) -> bool
7394 return _IMP_core.RigidBody___gt__(self, *args)
7398 """__hash__(RigidBody self) -> std::size_t"""
7399 return _IMP_core.RigidBody___hash__(self)
7403 """__str__(RigidBody self) -> std::string"""
7404 return _IMP_core.RigidBody___str__(self)
7408 """__repr__(RigidBody self) -> std::string"""
7409 return _IMP_core.RigidBody___repr__(self)
7411 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
7412 RigidBody_swigregister(RigidBody)
7414 def RigidBody_setup_particle(*args):
7416 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7417 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
7418 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7419 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
7421 return _IMP_core.RigidBody_setup_particle(*args)
7423 def RigidBody_teardown_particle(rb):
7424 """RigidBody_teardown_particle(RigidBody rb)"""
7425 return _IMP_core.RigidBody_teardown_particle(rb)
7427 def RigidBody_get_is_setup(*args):
7429 get_is_setup(_ParticleAdaptor p) -> bool
7430 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
7432 return _IMP_core.RigidBody_get_is_setup(*args)
7436 """add_rigid_body_cache_key(ObjectKey k)"""
7437 return _IMP_core.add_rigid_body_cache_key(k)
7438 class RigidBodyMember(XYZ):
7439 """Proxy of C++ IMP::core::RigidBodyMember class."""
7441 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7443 def __init__(self, *args):
7445 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
7446 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
7447 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
7449 this = _IMP_core.new_RigidBodyMember(*args)
7451 self.this.append(this)
7452 except __builtin__.Exception:
7455 def show(self, *args):
7457 show(RigidBodyMember self, _ostream out)
7458 show(RigidBodyMember self)
7460 return _IMP_core.RigidBodyMember_show(self, *args)
7463 def get_rigid_body(self):
7464 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
7465 return _IMP_core.RigidBodyMember_get_rigid_body(self)
7468 def get_internal_coordinates(self):
7469 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
7470 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
7473 def set_internal_coordinates(self, v):
7474 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
7475 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
7478 def set_internal_transformation(self, v):
7479 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
7480 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
7483 def get_internal_transformation(self):
7484 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
7485 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
7487 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
7488 __del__ =
lambda self:
None
7490 def set_coordinates(self, *args):
7492 set_coordinates(RigidBodyMember self, Vector3D center)
7493 set_coordinates(RigidBodyMember self, Transformation3D tr)
7495 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
7498 def get_is_setup(*args):
7500 get_is_setup(_ParticleAdaptor p) -> bool
7501 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7503 return _IMP_core.RigidBodyMember_get_is_setup(*args)
7505 get_is_setup = staticmethod(get_is_setup)
7507 def get_internal_coordinate_keys():
7508 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
7509 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
7511 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
7513 def add_attribute(self, *args):
7515 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
7516 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
7517 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
7518 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
7519 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
7520 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
7522 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
7525 def get_value(self, *args):
7527 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
7528 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
7529 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
7530 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
7531 get_value(RigidBodyMember self, ObjectKey a0) -> Object
7533 return _IMP_core.RigidBodyMember_get_value(self, *args)
7536 def set_value(self, *args):
7538 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
7539 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
7540 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
7541 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
7542 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
7544 return _IMP_core.RigidBodyMember_set_value(self, *args)
7547 def remove_attribute(self, *args):
7549 remove_attribute(RigidBodyMember self, FloatKey a0)
7550 remove_attribute(RigidBodyMember self, IntKey a0)
7551 remove_attribute(RigidBodyMember self, StringKey a0)
7552 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
7553 remove_attribute(RigidBodyMember self, ObjectKey a0)
7555 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
7558 def has_attribute(self, *args):
7560 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
7561 has_attribute(RigidBodyMember self, IntKey a0) -> bool
7562 has_attribute(RigidBodyMember self, StringKey a0) -> bool
7563 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
7564 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
7566 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
7569 def get_derivative(self, a0):
7570 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
7571 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
7575 """get_name(RigidBodyMember self) -> std::string"""
7576 return _IMP_core.RigidBodyMember_get_name(self)
7579 def clear_caches(self):
7580 """clear_caches(RigidBodyMember self)"""
7581 return _IMP_core.RigidBodyMember_clear_caches(self)
7584 def set_name(self, a0):
7585 """set_name(RigidBodyMember self, std::string a0)"""
7586 return _IMP_core.RigidBodyMember_set_name(self, a0)
7590 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
7591 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
7594 def add_to_derivative(self, a0, a1, a2):
7595 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7596 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
7599 def set_is_optimized(self, a0, a1):
7600 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
7601 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
7604 def get_is_optimized(self, a0):
7605 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
7606 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
7610 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
7611 return _IMP_core.RigidBodyMember_get_check_level(self)
7614 def __eq__(self, *args):
7616 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
7617 __eq__(RigidBodyMember self, Particle d) -> bool
7619 return _IMP_core.RigidBodyMember___eq__(self, *args)
7622 def __ne__(self, *args):
7624 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
7625 __ne__(RigidBodyMember self, Particle d) -> bool
7627 return _IMP_core.RigidBodyMember___ne__(self, *args)
7630 def __le__(self, *args):
7632 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
7633 __le__(RigidBodyMember self, Particle d) -> bool
7635 return _IMP_core.RigidBodyMember___le__(self, *args)
7638 def __lt__(self, *args):
7640 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
7641 __lt__(RigidBodyMember self, Particle d) -> bool
7643 return _IMP_core.RigidBodyMember___lt__(self, *args)
7646 def __ge__(self, *args):
7648 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
7649 __ge__(RigidBodyMember self, Particle d) -> bool
7651 return _IMP_core.RigidBodyMember___ge__(self, *args)
7654 def __gt__(self, *args):
7656 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
7657 __gt__(RigidBodyMember self, Particle d) -> bool
7659 return _IMP_core.RigidBodyMember___gt__(self, *args)
7663 """__hash__(RigidBodyMember self) -> std::size_t"""
7664 return _IMP_core.RigidBodyMember___hash__(self)
7668 """__str__(RigidBodyMember self) -> std::string"""
7669 return _IMP_core.RigidBodyMember___str__(self)
7673 """__repr__(RigidBodyMember self) -> std::string"""
7674 return _IMP_core.RigidBodyMember___repr__(self)
7676 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
7677 RigidBodyMember_swigregister(RigidBodyMember)
7679 def RigidBodyMember_get_is_setup(*args):
7681 get_is_setup(_ParticleAdaptor p) -> bool
7682 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7684 return _IMP_core.RigidBodyMember_get_is_setup(*args)
7686 def RigidBodyMember_get_internal_coordinate_keys():
7687 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
7688 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
7690 class RigidMember(RigidBodyMember):
7691 """Proxy of C++ IMP::core::RigidMember class."""
7693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7695 def __init__(self, *args):
7697 __init__(IMP::core::RigidMember self) -> RigidMember
7698 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
7699 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
7701 this = _IMP_core.new_RigidMember(*args)
7703 self.this.append(this)
7704 except __builtin__.Exception:
7707 def show(self, *args):
7709 show(RigidMember self, _ostream out)
7710 show(RigidMember self)
7712 return _IMP_core.RigidMember_show(self, *args)
7714 __swig_destroy__ = _IMP_core.delete_RigidMember
7715 __del__ =
lambda self:
None
7717 def get_is_setup(*args):
7719 get_is_setup(_ParticleAdaptor p) -> bool
7720 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7722 return _IMP_core.RigidMember_get_is_setup(*args)
7724 get_is_setup = staticmethod(get_is_setup)
7726 def add_attribute(self, *args):
7728 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
7729 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
7730 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
7731 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
7732 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
7733 add_attribute(RigidMember self, ObjectKey a0, Object a1)
7735 return _IMP_core.RigidMember_add_attribute(self, *args)
7738 def get_value(self, *args):
7740 get_value(RigidMember self, FloatKey a0) -> IMP::Float
7741 get_value(RigidMember self, IntKey a0) -> IMP::Int
7742 get_value(RigidMember self, StringKey a0) -> IMP::String
7743 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
7744 get_value(RigidMember self, ObjectKey a0) -> Object
7746 return _IMP_core.RigidMember_get_value(self, *args)
7749 def set_value(self, *args):
7751 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
7752 set_value(RigidMember self, IntKey a0, IMP::Int a1)
7753 set_value(RigidMember self, StringKey a0, IMP::String a1)
7754 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
7755 set_value(RigidMember self, ObjectKey a0, Object a1)
7757 return _IMP_core.RigidMember_set_value(self, *args)
7760 def remove_attribute(self, *args):
7762 remove_attribute(RigidMember self, FloatKey a0)
7763 remove_attribute(RigidMember self, IntKey a0)
7764 remove_attribute(RigidMember self, StringKey a0)
7765 remove_attribute(RigidMember self, ParticleIndexKey a0)
7766 remove_attribute(RigidMember self, ObjectKey a0)
7768 return _IMP_core.RigidMember_remove_attribute(self, *args)
7771 def has_attribute(self, *args):
7773 has_attribute(RigidMember self, FloatKey a0) -> bool
7774 has_attribute(RigidMember self, IntKey a0) -> bool
7775 has_attribute(RigidMember self, StringKey a0) -> bool
7776 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
7777 has_attribute(RigidMember self, ObjectKey a0) -> bool
7779 return _IMP_core.RigidMember_has_attribute(self, *args)
7782 def get_derivative(self, a0):
7783 """get_derivative(RigidMember self, FloatKey a0) -> double"""
7784 return _IMP_core.RigidMember_get_derivative(self, a0)
7788 """get_name(RigidMember self) -> std::string"""
7789 return _IMP_core.RigidMember_get_name(self)
7792 def clear_caches(self):
7793 """clear_caches(RigidMember self)"""
7794 return _IMP_core.RigidMember_clear_caches(self)
7797 def set_name(self, a0):
7798 """set_name(RigidMember self, std::string a0)"""
7799 return _IMP_core.RigidMember_set_name(self, a0)
7803 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
7804 return _IMP_core.RigidMember_set_check_level(self, a0)
7807 def add_to_derivative(self, a0, a1, a2):
7808 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7809 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
7812 def set_is_optimized(self, a0, a1):
7813 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
7814 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
7817 def get_is_optimized(self, a0):
7818 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
7819 return _IMP_core.RigidMember_get_is_optimized(self, a0)
7823 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
7824 return _IMP_core.RigidMember_get_check_level(self)
7827 def __eq__(self, *args):
7829 __eq__(RigidMember self, RigidMember o) -> bool
7830 __eq__(RigidMember self, Particle d) -> bool
7832 return _IMP_core.RigidMember___eq__(self, *args)
7835 def __ne__(self, *args):
7837 __ne__(RigidMember self, RigidMember o) -> bool
7838 __ne__(RigidMember self, Particle d) -> bool
7840 return _IMP_core.RigidMember___ne__(self, *args)
7843 def __le__(self, *args):
7845 __le__(RigidMember self, RigidMember o) -> bool
7846 __le__(RigidMember self, Particle d) -> bool
7848 return _IMP_core.RigidMember___le__(self, *args)
7851 def __lt__(self, *args):
7853 __lt__(RigidMember self, RigidMember o) -> bool
7854 __lt__(RigidMember self, Particle d) -> bool
7856 return _IMP_core.RigidMember___lt__(self, *args)
7859 def __ge__(self, *args):
7861 __ge__(RigidMember self, RigidMember o) -> bool
7862 __ge__(RigidMember self, Particle d) -> bool
7864 return _IMP_core.RigidMember___ge__(self, *args)
7867 def __gt__(self, *args):
7869 __gt__(RigidMember self, RigidMember o) -> bool
7870 __gt__(RigidMember self, Particle d) -> bool
7872 return _IMP_core.RigidMember___gt__(self, *args)
7876 """__hash__(RigidMember self) -> std::size_t"""
7877 return _IMP_core.RigidMember___hash__(self)
7881 """__str__(RigidMember self) -> std::string"""
7882 return _IMP_core.RigidMember___str__(self)
7886 """__repr__(RigidMember self) -> std::string"""
7887 return _IMP_core.RigidMember___repr__(self)
7889 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
7890 RigidMember_swigregister(RigidMember)
7892 def RigidMember_get_is_setup(*args):
7894 get_is_setup(_ParticleAdaptor p) -> bool
7895 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7897 return _IMP_core.RigidMember_get_is_setup(*args)
7899 class NonRigidMember(RigidBodyMember):
7900 """Proxy of C++ IMP::core::NonRigidMember class."""
7902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7904 def __init__(self, *args):
7906 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
7907 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
7908 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
7910 this = _IMP_core.new_NonRigidMember(*args)
7912 self.this.append(this)
7913 except __builtin__.Exception:
7916 def show(self, *args):
7918 show(NonRigidMember self, _ostream out)
7919 show(NonRigidMember self)
7921 return _IMP_core.NonRigidMember_show(self, *args)
7923 __swig_destroy__ = _IMP_core.delete_NonRigidMember
7924 __del__ =
lambda self:
None
7926 def get_is_setup(*args):
7928 get_is_setup(_ParticleAdaptor p) -> bool
7929 get_is_setup(Model m, ParticleIndex p) -> bool
7931 return _IMP_core.NonRigidMember_get_is_setup(*args)
7933 get_is_setup = staticmethod(get_is_setup)
7935 def add_attribute(self, *args):
7937 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
7938 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
7939 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
7940 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
7941 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7942 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
7944 return _IMP_core.NonRigidMember_add_attribute(self, *args)
7947 def get_value(self, *args):
7949 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
7950 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
7951 get_value(NonRigidMember self, StringKey a0) -> IMP::String
7952 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
7953 get_value(NonRigidMember self, ObjectKey a0) -> Object
7955 return _IMP_core.NonRigidMember_get_value(self, *args)
7958 def set_value(self, *args):
7960 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
7961 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
7962 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
7963 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
7964 set_value(NonRigidMember self, ObjectKey a0, Object a1)
7966 return _IMP_core.NonRigidMember_set_value(self, *args)
7969 def remove_attribute(self, *args):
7971 remove_attribute(NonRigidMember self, FloatKey a0)
7972 remove_attribute(NonRigidMember self, IntKey a0)
7973 remove_attribute(NonRigidMember self, StringKey a0)
7974 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
7975 remove_attribute(NonRigidMember self, ObjectKey a0)
7977 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
7980 def has_attribute(self, *args):
7982 has_attribute(NonRigidMember self, FloatKey a0) -> bool
7983 has_attribute(NonRigidMember self, IntKey a0) -> bool
7984 has_attribute(NonRigidMember self, StringKey a0) -> bool
7985 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
7986 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
7988 return _IMP_core.NonRigidMember_has_attribute(self, *args)
7991 def get_derivative(self, a0):
7992 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
7993 return _IMP_core.NonRigidMember_get_derivative(self, a0)
7997 """get_name(NonRigidMember self) -> std::string"""
7998 return _IMP_core.NonRigidMember_get_name(self)
8001 def clear_caches(self):
8002 """clear_caches(NonRigidMember self)"""
8003 return _IMP_core.NonRigidMember_clear_caches(self)
8006 def set_name(self, a0):
8007 """set_name(NonRigidMember self, std::string a0)"""
8008 return _IMP_core.NonRigidMember_set_name(self, a0)
8012 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8013 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8016 def add_to_derivative(self, a0, a1, a2):
8017 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8018 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8021 def set_is_optimized(self, a0, a1):
8022 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8023 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8026 def get_is_optimized(self, a0):
8027 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8028 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8032 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8033 return _IMP_core.NonRigidMember_get_check_level(self)
8036 def __eq__(self, *args):
8038 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8039 __eq__(NonRigidMember self, Particle d) -> bool
8041 return _IMP_core.NonRigidMember___eq__(self, *args)
8044 def __ne__(self, *args):
8046 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8047 __ne__(NonRigidMember self, Particle d) -> bool
8049 return _IMP_core.NonRigidMember___ne__(self, *args)
8052 def __le__(self, *args):
8054 __le__(NonRigidMember self, NonRigidMember o) -> bool
8055 __le__(NonRigidMember self, Particle d) -> bool
8057 return _IMP_core.NonRigidMember___le__(self, *args)
8060 def __lt__(self, *args):
8062 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8063 __lt__(NonRigidMember self, Particle d) -> bool
8065 return _IMP_core.NonRigidMember___lt__(self, *args)
8068 def __ge__(self, *args):
8070 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8071 __ge__(NonRigidMember self, Particle d) -> bool
8073 return _IMP_core.NonRigidMember___ge__(self, *args)
8076 def __gt__(self, *args):
8078 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8079 __gt__(NonRigidMember self, Particle d) -> bool
8081 return _IMP_core.NonRigidMember___gt__(self, *args)
8085 """__hash__(NonRigidMember self) -> std::size_t"""
8086 return _IMP_core.NonRigidMember___hash__(self)
8090 """__str__(NonRigidMember self) -> std::string"""
8091 return _IMP_core.NonRigidMember___str__(self)
8095 """__repr__(NonRigidMember self) -> std::string"""
8096 return _IMP_core.NonRigidMember___repr__(self)
8098 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
8099 NonRigidMember_swigregister(NonRigidMember)
8101 def NonRigidMember_get_is_setup(*args):
8103 get_is_setup(_ParticleAdaptor p) -> bool
8104 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
8106 return _IMP_core.NonRigidMember_get_is_setup(*args)
8109 """Proxy of C++ IMP::core::RigidMembersRefiner class."""
8111 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8113 def __init__(self, *args):
8115 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
8116 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
8118 this = _IMP_core.new_RigidMembersRefiner(*args)
8120 self.this.append(this)
8121 except __builtin__.Exception:
8124 def do_get_inputs(self, m, pis):
8125 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8126 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8129 def get_version_info(self):
8130 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8131 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8135 """__str__(RigidMembersRefiner self) -> std::string"""
8136 return _IMP_core.RigidMembersRefiner___str__(self)
8140 """__repr__(RigidMembersRefiner self) -> std::string"""
8141 return _IMP_core.RigidMembersRefiner___repr__(self)
8146 return _object_cast_to_RigidMembersRefiner(o)
8148 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
8149 RigidMembersRefiner_swigregister(RigidMembersRefiner)
8152 def get_rigid_members_refiner():
8153 """get_rigid_members_refiner() -> RigidMembersRefiner"""
8154 return _IMP_core.get_rigid_members_refiner()
8158 transform(XYZ a, Transformation3D tr)
8159 transform(RigidBody a, Transformation3D tr)
8161 return _IMP_core.transform(*args)
8165 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8166 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
8168 return _IMP_core.get_initial_reference_frame(*args)
8172 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
8173 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
8175 return _IMP_core.create_rigid_bodies(m, n, no_members)
8179 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
8180 show_rigid_body_hierarchy(RigidBody rb)
8182 return _IMP_core.show_rigid_body_hierarchy(*args)
8185 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
8186 return _IMP_core.get_root_rigid_body(m)
8188 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
8190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8192 def __init__(self, rb, constituents):
8193 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
8194 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
8196 self.this.append(this)
8197 except __builtin__.Exception:
8200 def get_version_info(self):
8201 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
8202 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
8206 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
8207 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
8211 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
8212 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
8217 return _object_cast_to_RigidBodyHierarchyGeometry(o)
8219 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
8220 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
8223 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
8225 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8227 def __init__(self, *args):
8229 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
8230 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
8232 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
8234 self.this.append(this)
8235 except __builtin__.Exception:
8238 def get_version_info(self):
8239 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
8240 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
8244 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
8245 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
8249 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
8250 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
8255 return _object_cast_to_RigidBodyDerivativeGeometry(o)
8257 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
8258 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
8261 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
8263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8265 def __init__(self, sc):
8266 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
8267 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
8269 self.this.append(this)
8270 except __builtin__.Exception:
8273 def get_version_info(self):
8274 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
8275 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
8279 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
8280 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
8284 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
8285 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
8290 return _object_cast_to_RigidBodyDerivativesGeometry(o)
8292 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
8293 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
8296 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
8298 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8300 def __init__(self, *args):
8302 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
8303 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
8305 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
8307 self.this.append(this)
8308 except __builtin__.Exception:
8311 def get_version_info(self):
8312 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
8313 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
8317 """__str__(RigidBodyFrameGeometry self) -> std::string"""
8318 return _IMP_core.RigidBodyFrameGeometry___str__(self)
8322 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
8323 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
8328 return _object_cast_to_RigidBodyFrameGeometry(o)
8330 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
8331 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
8334 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
8336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8338 def __init__(self, sc):
8339 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
8340 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
8342 self.this.append(this)
8343 except __builtin__.Exception:
8346 def get_version_info(self):
8347 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
8348 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
8352 """__str__(RigidBodyFramesGeometry self) -> std::string"""
8353 return _IMP_core.RigidBodyFramesGeometry___str__(self)
8357 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
8358 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
8363 return _object_cast_to_RigidBodyFramesGeometry(o)
8365 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
8366 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
8369 """Proxy of C++ IMP::core::RigidBodyTorque class."""
8371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8373 def __init__(self, p):
8374 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
8375 this = _IMP_core.new_RigidBodyTorque(p)
8377 self.this.append(this)
8378 except __builtin__.Exception:
8382 """__str__(RigidBodyTorque self) -> std::string"""
8383 return _IMP_core.RigidBodyTorque___str__(self)
8387 """__repr__(RigidBodyTorque self) -> std::string"""
8388 return _IMP_core.RigidBodyTorque___repr__(self)
8393 return _object_cast_to_RigidBodyTorque(o)
8395 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
8396 __del__ =
lambda self:
None
8397 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
8398 RigidBodyTorque_swigregister(RigidBodyTorque)
8400 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
8401 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
8403 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8406 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
8407 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
8409 self.this.append(this)
8410 except __builtin__.Exception:
8413 def get_close_pairs(self, *args):
8415 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8416 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8417 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
8418 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
8420 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
8423 def do_get_inputs(self, m, pis):
8424 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8425 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
8428 def get_version_info(self):
8429 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
8430 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
8434 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
8435 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
8439 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
8440 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
8445 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
8447 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
8448 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
8451 """Proxy of C++ IMP::core::RestraintsScoringFunction class."""
8453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8455 def __init__(self, *args):
8457 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
8458 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
8459 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
8460 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
8461 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
8463 this = _IMP_core.new_RestraintsScoringFunction(*args)
8465 self.this.append(this)
8466 except __builtin__.Exception:
8469 def do_add_score_and_derivatives(self, sa, ss):
8470 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
8471 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
8474 def do_get_inputs(self):
8475 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
8476 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
8479 def get_version_info(self):
8480 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
8481 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
8485 """__str__(RestraintsScoringFunction self) -> std::string"""
8486 return _IMP_core.RestraintsScoringFunction___str__(self)
8490 """__repr__(RestraintsScoringFunction self) -> std::string"""
8491 return _IMP_core.RestraintsScoringFunction___repr__(self)
8496 return _object_cast_to_RestraintsScoringFunction(o)
8498 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
8499 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
8501 class RigidClosePairsFinder(ClosePairsFinder):
8502 """Proxy of C++ IMP::core::RigidClosePairsFinder class."""
8504 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8506 def __init__(self, cpf=None):
8508 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
8509 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
8511 this = _IMP_core.new_RigidClosePairsFinder(cpf)
8513 self.this.append(this)
8514 except __builtin__.Exception:
8517 def do_get_inputs(self, m, pis):
8518 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8519 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
8522 def get_close_pairs(self, *args):
8524 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
8525 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8526 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8527 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
8528 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
8530 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
8533 def get_version_info(self):
8534 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
8535 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
8539 """__str__(RigidClosePairsFinder self) -> std::string"""
8540 return _IMP_core.RigidClosePairsFinder___str__(self)
8544 """__repr__(RigidClosePairsFinder self) -> std::string"""
8545 return _IMP_core.RigidClosePairsFinder___repr__(self)
8550 return _object_cast_to_RigidClosePairsFinder(o)
8552 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
8553 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
8556 """Proxy of C++ IMP::core::SphereDistancePairScore class."""
8558 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8560 def __init__(self, *args):
8562 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
8563 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
8565 this = _IMP_core.new_SphereDistancePairScore(*args)
8567 self.this.append(this)
8568 except __builtin__.Exception:
8571 def do_get_inputs(self, m, pis):
8572 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8573 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
8576 def get_version_info(self):
8577 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
8578 return _IMP_core.SphereDistancePairScore_get_version_info(self)
8582 """__str__(SphereDistancePairScore self) -> std::string"""
8583 return _IMP_core.SphereDistancePairScore___str__(self)
8587 """__repr__(SphereDistancePairScore self) -> std::string"""
8588 return _IMP_core.SphereDistancePairScore___repr__(self)
8593 return _object_cast_to_SphereDistancePairScore(o)
8595 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
8596 SphereDistancePairScore_swigregister(SphereDistancePairScore)
8598 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
8599 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
8601 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8603 def __init__(self, *args):
8605 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
8606 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
8608 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
8610 self.this.append(this)
8611 except __builtin__.Exception:
8614 def do_get_inputs(self, m, pis):
8615 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8616 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
8619 def get_version_info(self):
8620 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
8621 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
8625 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
8626 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
8630 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
8631 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
8636 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
8638 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
8639 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
8641 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
8642 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
8644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8646 def __init__(self, d0, k):
8647 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
8648 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
8650 self.this.append(this)
8651 except __builtin__.Exception:
8654 def get_rest_length(self):
8655 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
8656 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
8659 def get_stiffness(self):
8660 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
8661 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
8664 def do_get_inputs(self, m, pis):
8665 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8666 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
8669 def get_version_info(self):
8670 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
8671 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
8675 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
8676 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
8680 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
8681 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
8686 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
8688 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
8689 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
8692 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
8694 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8696 def __init__(self, *args):
8698 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
8699 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
8701 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
8703 self.this.append(this)
8704 except __builtin__.Exception:
8707 def do_get_inputs(self, m, pis):
8708 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8709 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
8712 def get_version_info(self):
8713 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
8714 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
8718 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
8719 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
8723 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
8724 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
8729 return _object_cast_to_HarmonicSphereDistancePairScore(o)
8731 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
8732 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
8735 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
8737 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8739 def __init__(self, *args):
8741 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
8742 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
8744 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
8746 self.this.append(this)
8747 except __builtin__.Exception:
8750 def do_get_inputs(self, m, pis):
8751 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8752 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
8755 def get_version_info(self):
8756 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
8757 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
8761 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
8762 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
8766 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
8767 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
8772 return _object_cast_to_NormalizedSphereDistancePairScore(o)
8774 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
8775 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
8778 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
8780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8782 def __init__(self, *args):
8784 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
8785 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
8787 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
8789 self.this.append(this)
8790 except __builtin__.Exception:
8793 def do_get_inputs(self, m, pis):
8794 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8795 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
8798 def get_version_info(self):
8799 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
8800 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
8804 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
8805 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
8809 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
8810 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
8815 return _object_cast_to_WeightedSphereDistancePairScore(o)
8817 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
8818 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
8821 """Proxy of C++ IMP::core::SoftSpherePairScore class."""
8823 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8825 def __init__(self, *args):
8827 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
8828 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
8830 this = _IMP_core.new_SoftSpherePairScore(*args)
8832 self.this.append(this)
8833 except __builtin__.Exception:
8836 def do_get_inputs(self, m, pis):
8837 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8838 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
8841 def get_version_info(self):
8842 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
8843 return _IMP_core.SoftSpherePairScore_get_version_info(self)
8847 """__str__(SoftSpherePairScore self) -> std::string"""
8848 return _IMP_core.SoftSpherePairScore___str__(self)
8852 """__repr__(SoftSpherePairScore self) -> std::string"""
8853 return _IMP_core.SoftSpherePairScore___repr__(self)
8858 return _object_cast_to_SoftSpherePairScore(o)
8860 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
8861 SoftSpherePairScore_swigregister(SoftSpherePairScore)
8864 """Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
8866 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8868 def __init__(self, *args):
8870 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
8871 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
8873 this = _IMP_core.new_SurfaceDistancePairScore(*args)
8875 self.this.append(this)
8876 except __builtin__.Exception:
8879 def do_get_inputs(self, m, pis):
8880 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8881 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
8884 def get_version_info(self):
8885 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
8886 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
8890 """__str__(SurfaceDistancePairScore self) -> std::string"""
8891 return _IMP_core.SurfaceDistancePairScore___str__(self)
8895 """__repr__(SurfaceDistancePairScore self) -> std::string"""
8896 return _IMP_core.SurfaceDistancePairScore___repr__(self)
8901 return _object_cast_to_SurfaceDistancePairScore(o)
8903 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
8904 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
8907 """Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
8909 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8911 def __init__(self, *args):
8913 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
8914 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
8916 this = _IMP_core.new_SurfaceHeightPairScore(*args)
8918 self.this.append(this)
8919 except __builtin__.Exception:
8922 def do_get_inputs(self, m, pis):
8923 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8924 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
8927 def get_version_info(self):
8928 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
8929 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
8933 """__str__(SurfaceHeightPairScore self) -> std::string"""
8934 return _IMP_core.SurfaceHeightPairScore___str__(self)
8938 """__repr__(SurfaceHeightPairScore self) -> std::string"""
8939 return _IMP_core.SurfaceHeightPairScore___repr__(self)
8944 return _object_cast_to_SurfaceHeightPairScore(o)
8946 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
8947 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
8950 """Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
8952 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8954 def __init__(self, *args):
8956 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
8957 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
8959 this = _IMP_core.new_SurfaceDepthPairScore(*args)
8961 self.this.append(this)
8962 except __builtin__.Exception:
8965 def do_get_inputs(self, m, pis):
8966 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8967 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
8970 def get_version_info(self):
8971 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
8972 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
8976 """__str__(SurfaceDepthPairScore self) -> std::string"""
8977 return _IMP_core.SurfaceDepthPairScore___str__(self)
8981 """__repr__(SurfaceDepthPairScore self) -> std::string"""
8982 return _IMP_core.SurfaceDepthPairScore___repr__(self)
8987 return _object_cast_to_SurfaceDepthPairScore(o)
8989 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
8990 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
8993 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
8995 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8997 def __init__(self, *args):
8999 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
9000 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
9002 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
9004 self.this.append(this)
9005 except __builtin__.Exception:
9008 def do_get_inputs(self, m, pis):
9009 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9010 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9013 def get_version_info(self):
9014 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9015 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9019 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9020 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9024 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9025 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9030 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9032 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
9033 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9036 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9040 def __init__(self, *args):
9042 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
9043 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
9045 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
9047 self.this.append(this)
9048 except __builtin__.Exception:
9051 def do_get_inputs(self, m, pis):
9052 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9053 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9056 def get_version_info(self):
9057 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9058 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9062 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9063 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9067 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9068 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9073 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9075 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
9076 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9079 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9081 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9083 def __init__(self, *args):
9085 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
9086 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
9088 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
9090 self.this.append(this)
9091 except __builtin__.Exception:
9094 def do_get_inputs(self, m, pis):
9095 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9096 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9099 def get_version_info(self):
9100 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9101 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9105 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9106 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9110 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9111 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9116 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9118 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
9119 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9122 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9126 def __init__(self, *args):
9128 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
9129 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
9131 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
9133 self.this.append(this)
9134 except __builtin__.Exception:
9137 def do_get_inputs(self, m, pis):
9138 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9139 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9142 def get_version_info(self):
9143 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9144 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9148 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
9149 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9153 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9154 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9159 return _object_cast_to_SoftSuperSurfacePairScore(o)
9161 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
9162 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9165 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
9167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9169 def __init__(self, *args):
9171 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
9172 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
9174 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
9176 self.this.append(this)
9177 except __builtin__.Exception:
9180 def do_get_inputs(self, m, pis):
9181 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9182 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
9185 def get_version_info(self):
9186 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
9187 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
9191 """__str__(SoftSubSurfacePairScore self) -> std::string"""
9192 return _IMP_core.SoftSubSurfacePairScore___str__(self)
9196 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
9197 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
9202 return _object_cast_to_SoftSubSurfacePairScore(o)
9204 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
9205 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
9208 """Proxy of C++ IMP::core::SurfaceTetheredChain class."""
9210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9212 def __init__(self, link_num, link_length):
9213 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
9214 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
9216 self.this.append(this)
9217 except __builtin__.Exception:
9220 def get_version_info(self):
9221 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
9222 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
9225 def get_link_number(self):
9226 """get_link_number(SurfaceTetheredChain self) -> int"""
9227 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
9230 def get_link_length(self):
9231 """get_link_length(SurfaceTetheredChain self) -> double"""
9232 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
9235 def set_link_number(self, N):
9236 """set_link_number(SurfaceTetheredChain self, int N)"""
9237 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
9240 def set_link_length(self, b):
9241 """set_link_length(SurfaceTetheredChain self, double b)"""
9242 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
9245 def get_distance_at_minimum(self):
9246 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
9247 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
9250 def get_average_distance(self):
9251 """get_average_distance(SurfaceTetheredChain self) -> double"""
9252 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
9256 """__str__(SurfaceTetheredChain self) -> std::string"""
9257 return _IMP_core.SurfaceTetheredChain___str__(self)
9261 """__repr__(SurfaceTetheredChain self) -> std::string"""
9262 return _IMP_core.SurfaceTetheredChain___repr__(self)
9267 return _object_cast_to_SurfaceTetheredChain(o)
9269 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
9270 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
9273 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint 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, m, ss, rbs):
9278 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
9279 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
9281 self.this.append(this)
9282 except __builtin__.Exception:
9285 def do_get_inputs(self):
9286 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
9287 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
9290 def do_get_outputs(self):
9291 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
9292 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
9295 def get_version_info(self):
9296 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
9297 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
9301 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
9302 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
9306 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
9307 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
9312 return _object_cast_to_SurfaceSymmetryConstraint(o)
9314 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
9315 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
9318 """Proxy of C++ IMP::core::SteepestDescent class."""
9320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9322 def __init__(self, *args):
9324 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
9325 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
9327 this = _IMP_core.new_SteepestDescent(*args)
9329 self.this.append(this)
9330 except __builtin__.Exception:
9333 def do_optimize(self, max_steps):
9334 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
9335 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
9338 def get_version_info(self):
9339 """get_version_info(SteepestDescent self) -> VersionInfo"""
9340 return _IMP_core.SteepestDescent_get_version_info(self)
9343 def set_threshold(self, t):
9344 """set_threshold(SteepestDescent self, IMP::Float t)"""
9345 return _IMP_core.SteepestDescent_set_threshold(self, t)
9348 def set_step_size(self, t):
9349 """set_step_size(SteepestDescent self, IMP::Float t)"""
9350 return _IMP_core.SteepestDescent_set_step_size(self, t)
9353 def set_maximum_step_size(self, t):
9354 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
9355 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
9359 """__str__(SteepestDescent self) -> std::string"""
9360 return _IMP_core.SteepestDescent___str__(self)
9364 """__repr__(SteepestDescent self) -> std::string"""
9365 return _IMP_core.SteepestDescent___repr__(self)
9370 return _object_cast_to_SteepestDescent(o)
9372 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
9373 SteepestDescent_swigregister(SteepestDescent)
9376 """Proxy of C++ IMP::core::TransformedDistancePairScore class."""
9378 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9380 def __init__(self, f, transformation):
9381 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
9382 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
9384 self.this.append(this)
9385 except __builtin__.Exception:
9388 def set_transformation(self, rot):
9389 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
9390 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
9393 def do_get_inputs(self, m, pis):
9394 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9395 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
9398 def get_version_info(self):
9399 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
9400 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
9404 """__str__(TransformedDistancePairScore self) -> std::string"""
9405 return _IMP_core.TransformedDistancePairScore___str__(self)
9409 """__repr__(TransformedDistancePairScore self) -> std::string"""
9410 return _IMP_core.TransformedDistancePairScore___repr__(self)
9415 return _object_cast_to_TransformedDistancePairScore(o)
9417 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
9418 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
9421 """Proxy of C++ IMP::core::TypedPairScore class."""
9423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9425 def __init__(self, typekey, allow_invalid_types=True):
9427 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
9428 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
9430 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
9432 self.this.append(this)
9433 except __builtin__.Exception:
9436 def set_particle_type(self, arg2):
9437 """set_particle_type(TypedPairScore self, Particle arg2)"""
9438 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
9441 def set_pair_score(self, ps, atype, btype):
9442 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
9443 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
9446 def do_get_inputs(self, m, pis):
9447 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9448 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
9451 def get_version_info(self):
9452 """get_version_info(TypedPairScore self) -> VersionInfo"""
9453 return _IMP_core.TypedPairScore_get_version_info(self)
9457 """__str__(TypedPairScore self) -> std::string"""
9458 return _IMP_core.TypedPairScore___str__(self)
9462 """__repr__(TypedPairScore self) -> std::string"""
9463 return _IMP_core.TypedPairScore___repr__(self)
9468 return _object_cast_to_TypedPairScore(o)
9470 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
9471 TypedPairScore_swigregister(TypedPairScore)
9473 class RigidBodyDistancePairScore(KClosePairsPairScore):
9474 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
9476 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9478 def __init__(self, ps, r):
9479 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
9480 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
9482 self.this.append(this)
9483 except __builtin__.Exception:
9487 """__str__(RigidBodyDistancePairScore self) -> std::string"""
9488 return _IMP_core.RigidBodyDistancePairScore___str__(self)
9492 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
9493 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
9498 return _object_cast_to_RigidBodyDistancePairScore(o)
9500 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
9501 __del__ =
lambda self:
None
9502 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
9503 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
9506 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
9508 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9510 def __init__(self, f):
9511 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
9512 this = _IMP_core.new_RigidBodyAnglePairScore(f)
9514 self.this.append(this)
9515 except __builtin__.Exception:
9518 def do_get_inputs(self, m, pis):
9519 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9520 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
9523 def get_version_info(self):
9524 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
9525 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
9529 """__str__(RigidBodyAnglePairScore self) -> std::string"""
9530 return _IMP_core.RigidBodyAnglePairScore___str__(self)
9534 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
9535 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
9540 return _object_cast_to_RigidBodyAnglePairScore(o)
9542 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
9543 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
9546 """Proxy of C++ IMP::core::TableRefiner class."""
9548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9551 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
9552 this = _IMP_core.new_TableRefiner()
9554 self.this.append(this)
9555 except __builtin__.Exception:
9559 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
9560 return _IMP_core.TableRefiner_add_particle(self, p, ps)
9563 def remove_particle(self, p):
9564 """remove_particle(TableRefiner self, Particle p)"""
9565 return _IMP_core.TableRefiner_remove_particle(self, p)
9568 def set_particle(self, p, ps):
9569 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
9570 return _IMP_core.TableRefiner_set_particle(self, p, ps)
9573 def do_get_inputs(self, m, pis):
9574 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9575 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
9578 def get_version_info(self):
9579 """get_version_info(TableRefiner self) -> VersionInfo"""
9580 return _IMP_core.TableRefiner_get_version_info(self)
9584 """__str__(TableRefiner self) -> std::string"""
9585 return _IMP_core.TableRefiner___str__(self)
9589 """__repr__(TableRefiner self) -> std::string"""
9590 return _IMP_core.TableRefiner___repr__(self)
9595 return _object_cast_to_TableRefiner(o)
9597 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
9598 TableRefiner_swigregister(TableRefiner)
9600 LOWER = _IMP_core.LOWER
9601 BOTH = _IMP_core.BOTH
9602 UPPER = _IMP_core.UPPER
9604 """Proxy of C++ IMP::core::MCCGSampler class."""
9606 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9608 def __init__(self, *args):
9610 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
9611 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
9613 this = _IMP_core.new_MCCGSampler(*args)
9615 self.this.append(this)
9616 except __builtin__.Exception:
9619 def set_bounding_box(self, bb):
9620 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
9621 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
9624 def set_number_of_attempts(self, att):
9625 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
9626 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
9629 def set_number_of_monte_carlo_steps(self, cg):
9630 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
9631 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
9634 def set_number_of_conjugate_gradient_steps(self, cg):
9635 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
9636 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
9639 def set_max_monte_carlo_step_size(self, *args):
9641 set_max_monte_carlo_step_size(MCCGSampler self, double d)
9642 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
9644 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
9647 def set_is_refining(self, tf):
9648 """set_is_refining(MCCGSampler self, bool tf)"""
9649 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
9652 def set_local_optimizer(self, opt):
9653 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
9654 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
9657 def set_save_rejected_configurations(self, tf):
9658 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
9659 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
9662 def get_rejected_configurations(self):
9663 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
9664 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
9667 def remove_optimizer_state(self, d):
9668 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
9669 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
9672 def remove_optimizer_states(self, d):
9673 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
9674 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
9677 def set_optimizer_states(self, ps):
9678 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
9679 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
9682 def set_optimizer_states_order(self, objs):
9683 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
9684 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
9687 def add_optimizer_state(self, obj):
9688 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
9689 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
9692 def add_optimizer_states(self, objs):
9693 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
9694 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
9697 def clear_optimizer_states(self):
9698 """clear_optimizer_states(MCCGSampler self)"""
9699 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
9702 def get_number_of_optimizer_states(self):
9703 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
9704 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
9707 def get_has_optimizer_states(self):
9708 """get_has_optimizer_states(MCCGSampler self) -> bool"""
9709 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
9712 def get_optimizer_state(self, i):
9713 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
9714 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
9717 def get_optimizer_states(self):
9718 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
9719 return _IMP_core.MCCGSampler_get_optimizer_states(self)
9722 def reserve_optimizer_states(self, sz):
9723 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
9724 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
9727 def do_sample(self):
9728 """do_sample(MCCGSampler self) -> ConfigurationSet"""
9729 return _IMP_core.MCCGSampler_do_sample(self)
9732 def get_version_info(self):
9733 """get_version_info(MCCGSampler self) -> VersionInfo"""
9734 return _IMP_core.MCCGSampler_get_version_info(self)
9738 """__str__(MCCGSampler self) -> std::string"""
9739 return _IMP_core.MCCGSampler___str__(self)
9743 """__repr__(MCCGSampler self) -> std::string"""
9744 return _IMP_core.MCCGSampler___repr__(self)
9749 return _object_cast_to_MCCGSampler(o)
9751 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
9752 MCCGSampler_swigregister(MCCGSampler)
9755 """Proxy of C++ IMP::core::MinimumRestraint class."""
9757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9759 def __init__(self, *args):
9761 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
9762 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
9763 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
9765 this = _IMP_core.new_MinimumRestraint(*args)
9767 self.this.append(this)
9768 except __builtin__.Exception:
9771 def do_get_inputs(self):
9772 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
9773 return _IMP_core.MinimumRestraint_do_get_inputs(self)
9776 def get_version_info(self):
9777 """get_version_info(MinimumRestraint self) -> VersionInfo"""
9778 return _IMP_core.MinimumRestraint_get_version_info(self)
9781 def remove_restraint(self, d):
9782 """remove_restraint(MinimumRestraint self, Restraint d)"""
9783 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
9786 def remove_restraints(self, d):
9787 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
9788 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
9791 def set_restraints(self, ps):
9792 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
9793 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
9796 def set_restraints_order(self, objs):
9797 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
9798 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
9802 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
9803 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
9807 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
9808 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
9811 def clear_restraints(self):
9812 """clear_restraints(MinimumRestraint self)"""
9813 return _IMP_core.MinimumRestraint_clear_restraints(self)
9816 def get_number_of_restraints(self):
9817 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
9818 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
9821 def get_has_restraints(self):
9822 """get_has_restraints(MinimumRestraint self) -> bool"""
9823 return _IMP_core.MinimumRestraint_get_has_restraints(self)
9826 def get_restraint(self, i):
9827 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
9828 return _IMP_core.MinimumRestraint_get_restraint(self, i)
9831 def get_restraints(self):
9832 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
9833 return _IMP_core.MinimumRestraint_get_restraints(self)
9836 def reserve_restraints(self, sz):
9837 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
9838 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
9842 """__str__(MinimumRestraint self) -> std::string"""
9843 return _IMP_core.MinimumRestraint___str__(self)
9847 """__repr__(MinimumRestraint self) -> std::string"""
9848 return _IMP_core.MinimumRestraint___repr__(self)
9853 return _object_cast_to_MinimumRestraint(o)
9855 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
9856 MinimumRestraint_swigregister(MinimumRestraint)
9858 class Gaussian(RigidBody):
9859 """Proxy of C++ IMP::core::Gaussian class."""
9861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9863 def __init__(self, *args):
9865 __init__(IMP::core::Gaussian self) -> Gaussian
9866 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
9867 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
9869 this = _IMP_core.new_Gaussian(*args)
9871 self.this.append(this)
9872 except __builtin__.Exception:
9875 def show(self, *args):
9877 show(Gaussian self, _ostream out)
9880 return _IMP_core.Gaussian_show(self, *args)
9883 def setup_particle(*args):
9885 setup_particle(Model m, ParticleIndex pi) -> Gaussian
9886 setup_particle(_ParticleAdaptor decorator) -> Gaussian
9887 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
9888 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
9890 return _IMP_core.Gaussian_setup_particle(*args)
9892 setup_particle = staticmethod(setup_particle)
9894 def get_local_covariance_key():
9895 """get_local_covariance_key() -> ObjectKey"""
9896 return _IMP_core.Gaussian_get_local_covariance_key()
9898 get_local_covariance_key = staticmethod(get_local_covariance_key)
9900 def get_global_covariance_key():
9901 """get_global_covariance_key() -> ObjectKey"""
9902 return _IMP_core.Gaussian_get_global_covariance_key()
9904 get_global_covariance_key = staticmethod(get_global_covariance_key)
9906 def get_is_setup(*args):
9908 get_is_setup(_ParticleAdaptor p) -> bool
9909 get_is_setup(Model m, ParticleIndex pi) -> bool
9911 return _IMP_core.Gaussian_get_is_setup(*args)
9913 get_is_setup = staticmethod(get_is_setup)
9915 def get_local_covariance(self):
9916 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
9917 return _IMP_core.Gaussian_get_local_covariance(self)
9920 def get_variances(self):
9921 """get_variances(Gaussian self) -> Vector3D"""
9922 return _IMP_core.Gaussian_get_variances(self)
9925 def get_global_covariance(self):
9926 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
9927 return _IMP_core.Gaussian_get_global_covariance(self)
9930 def get_gaussian(self):
9931 """get_gaussian(Gaussian self) -> Gaussian3D"""
9932 return _IMP_core.Gaussian_get_gaussian(self)
9935 def set_gaussian(self, g):
9936 """set_gaussian(Gaussian self, Gaussian3D g)"""
9937 return _IMP_core.Gaussian_set_gaussian(self, g)
9940 def set_local_covariance(self, covar):
9941 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
9942 return _IMP_core.Gaussian_set_local_covariance(self, covar)
9945 def set_variances(self, v):
9946 """set_variances(Gaussian self, Vector3D v)"""
9947 return _IMP_core.Gaussian_set_variances(self, v)
9950 def set_global_covariance(self, covar):
9951 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
9952 return _IMP_core.Gaussian_set_global_covariance(self, covar)
9955 def update_global_covariance(self):
9956 """update_global_covariance(Gaussian self)"""
9957 return _IMP_core.Gaussian_update_global_covariance(self)
9960 def add_attribute(self, *args):
9962 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
9963 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
9964 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
9965 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
9966 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
9967 add_attribute(Gaussian self, ObjectKey a0, Object a1)
9969 return _IMP_core.Gaussian_add_attribute(self, *args)
9972 def get_value(self, *args):
9974 get_value(Gaussian self, FloatKey a0) -> IMP::Float
9975 get_value(Gaussian self, IntKey a0) -> IMP::Int
9976 get_value(Gaussian self, StringKey a0) -> IMP::String
9977 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
9978 get_value(Gaussian self, ObjectKey a0) -> Object
9980 return _IMP_core.Gaussian_get_value(self, *args)
9983 def set_value(self, *args):
9985 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
9986 set_value(Gaussian self, IntKey a0, IMP::Int a1)
9987 set_value(Gaussian self, StringKey a0, IMP::String a1)
9988 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
9989 set_value(Gaussian self, ObjectKey a0, Object a1)
9991 return _IMP_core.Gaussian_set_value(self, *args)
9994 def remove_attribute(self, *args):
9996 remove_attribute(Gaussian self, FloatKey a0)
9997 remove_attribute(Gaussian self, IntKey a0)
9998 remove_attribute(Gaussian self, StringKey a0)
9999 remove_attribute(Gaussian self, ParticleIndexKey a0)
10000 remove_attribute(Gaussian self, ObjectKey a0)
10002 return _IMP_core.Gaussian_remove_attribute(self, *args)
10005 def has_attribute(self, *args):
10007 has_attribute(Gaussian self, FloatKey a0) -> bool
10008 has_attribute(Gaussian self, IntKey a0) -> bool
10009 has_attribute(Gaussian self, StringKey a0) -> bool
10010 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10011 has_attribute(Gaussian self, ObjectKey a0) -> bool
10013 return _IMP_core.Gaussian_has_attribute(self, *args)
10016 def get_derivative(self, a0):
10017 """get_derivative(Gaussian self, FloatKey a0) -> double"""
10018 return _IMP_core.Gaussian_get_derivative(self, a0)
10021 def get_name(self):
10022 """get_name(Gaussian self) -> std::string"""
10023 return _IMP_core.Gaussian_get_name(self)
10026 def clear_caches(self):
10027 """clear_caches(Gaussian self)"""
10028 return _IMP_core.Gaussian_clear_caches(self)
10031 def set_name(self, a0):
10032 """set_name(Gaussian self, std::string a0)"""
10033 return _IMP_core.Gaussian_set_name(self, a0)
10037 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10038 return _IMP_core.Gaussian_set_check_level(self, a0)
10041 def add_to_derivative(self, a0, a1, a2):
10042 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10043 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10046 def set_is_optimized(self, a0, a1):
10047 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10048 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10051 def get_is_optimized(self, a0):
10052 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10053 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10057 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
10058 return _IMP_core.Gaussian_get_check_level(self)
10061 def __eq__(self, *args):
10063 __eq__(Gaussian self, Gaussian o) -> bool
10064 __eq__(Gaussian self, Particle d) -> bool
10066 return _IMP_core.Gaussian___eq__(self, *args)
10069 def __ne__(self, *args):
10071 __ne__(Gaussian self, Gaussian o) -> bool
10072 __ne__(Gaussian self, Particle d) -> bool
10074 return _IMP_core.Gaussian___ne__(self, *args)
10077 def __le__(self, *args):
10079 __le__(Gaussian self, Gaussian o) -> bool
10080 __le__(Gaussian self, Particle d) -> bool
10082 return _IMP_core.Gaussian___le__(self, *args)
10085 def __lt__(self, *args):
10087 __lt__(Gaussian self, Gaussian o) -> bool
10088 __lt__(Gaussian self, Particle d) -> bool
10090 return _IMP_core.Gaussian___lt__(self, *args)
10093 def __ge__(self, *args):
10095 __ge__(Gaussian self, Gaussian o) -> bool
10096 __ge__(Gaussian self, Particle d) -> bool
10098 return _IMP_core.Gaussian___ge__(self, *args)
10101 def __gt__(self, *args):
10103 __gt__(Gaussian self, Gaussian o) -> bool
10104 __gt__(Gaussian self, Particle d) -> bool
10106 return _IMP_core.Gaussian___gt__(self, *args)
10109 def __hash__(self):
10110 """__hash__(Gaussian self) -> std::size_t"""
10111 return _IMP_core.Gaussian___hash__(self)
10115 """__str__(Gaussian self) -> std::string"""
10116 return _IMP_core.Gaussian___str__(self)
10119 def __repr__(self):
10120 """__repr__(Gaussian self) -> std::string"""
10121 return _IMP_core.Gaussian___repr__(self)
10123 __swig_destroy__ = _IMP_core.delete_Gaussian
10124 __del__ =
lambda self:
None
10125 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
10126 Gaussian_swigregister(Gaussian)
10128 def Gaussian_setup_particle(*args):
10130 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10131 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10132 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10133 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10135 return _IMP_core.Gaussian_setup_particle(*args)
10137 def Gaussian_get_local_covariance_key():
10138 """Gaussian_get_local_covariance_key() -> ObjectKey"""
10139 return _IMP_core.Gaussian_get_local_covariance_key()
10141 def Gaussian_get_global_covariance_key():
10142 """Gaussian_get_global_covariance_key() -> ObjectKey"""
10143 return _IMP_core.Gaussian_get_global_covariance_key()
10145 def Gaussian_get_is_setup(*args):
10147 get_is_setup(_ParticleAdaptor p) -> bool
10148 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
10150 return _IMP_core.Gaussian_get_is_setup(*args)
10153 """Proxy of C++ IMP::core::PairRestraint class."""
10155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10157 def __init__(self, *args):
10159 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
10160 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
10162 this = _IMP_core.new_PairRestraint(*args)
10164 self.this.append(this)
10165 except __builtin__.Exception:
10168 def get_version_info(self):
10169 """get_version_info(PairRestraint self) -> VersionInfo"""
10170 return _IMP_core.PairRestraint_get_version_info(self)
10174 """__str__(PairRestraint self) -> std::string"""
10175 return _IMP_core.PairRestraint___str__(self)
10178 def __repr__(self):
10179 """__repr__(PairRestraint self) -> std::string"""
10180 return _IMP_core.PairRestraint___repr__(self)
10185 return _object_cast_to_PairRestraint(o)
10187 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
10188 PairRestraint_swigregister(PairRestraint)
10191 """Proxy of C++ IMP::core::SingletonRestraint 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, *args):
10197 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
10198 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
10200 this = _IMP_core.new_SingletonRestraint(*args)
10202 self.this.append(this)
10203 except __builtin__.Exception:
10206 def get_version_info(self):
10207 """get_version_info(SingletonRestraint self) -> VersionInfo"""
10208 return _IMP_core.SingletonRestraint_get_version_info(self)
10212 """__str__(SingletonRestraint self) -> std::string"""
10213 return _IMP_core.SingletonRestraint___str__(self)
10216 def __repr__(self):
10217 """__repr__(SingletonRestraint self) -> std::string"""
10218 return _IMP_core.SingletonRestraint___repr__(self)
10223 return _object_cast_to_SingletonRestraint(o)
10225 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
10226 SingletonRestraint_swigregister(SingletonRestraint)
10229 """Proxy of C++ IMP::core::TripletRestraint class."""
10231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10233 def __init__(self, *args):
10235 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
10236 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
10238 this = _IMP_core.new_TripletRestraint(*args)
10240 self.this.append(this)
10241 except __builtin__.Exception:
10244 def get_version_info(self):
10245 """get_version_info(TripletRestraint self) -> VersionInfo"""
10246 return _IMP_core.TripletRestraint_get_version_info(self)
10250 """__str__(TripletRestraint self) -> std::string"""
10251 return _IMP_core.TripletRestraint___str__(self)
10254 def __repr__(self):
10255 """__repr__(TripletRestraint self) -> std::string"""
10256 return _IMP_core.TripletRestraint___repr__(self)
10261 return _object_cast_to_TripletRestraint(o)
10263 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
10264 TripletRestraint_swigregister(TripletRestraint)
10267 """Proxy of C++ IMP::core::QuadRestraint class."""
10269 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10271 def __init__(self, *args):
10273 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
10274 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
10276 this = _IMP_core.new_QuadRestraint(*args)
10278 self.this.append(this)
10279 except __builtin__.Exception:
10282 def get_version_info(self):
10283 """get_version_info(QuadRestraint self) -> VersionInfo"""
10284 return _IMP_core.QuadRestraint_get_version_info(self)
10288 """__str__(QuadRestraint self) -> std::string"""
10289 return _IMP_core.QuadRestraint___str__(self)
10292 def __repr__(self):
10293 """__repr__(QuadRestraint self) -> std::string"""
10294 return _IMP_core.QuadRestraint___repr__(self)
10299 return _object_cast_to_QuadRestraint(o)
10301 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
10302 QuadRestraint_swigregister(QuadRestraint)
10305 """Proxy of C++ IMP::core::SingletonConstraint class."""
10307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10309 def __init__(self, *args):
10311 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
10312 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
10313 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
10314 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
10316 this = _IMP_core.new_SingletonConstraint(*args)
10318 self.this.append(this)
10319 except __builtin__.Exception:
10322 def get_version_info(self):
10323 """get_version_info(SingletonConstraint self) -> VersionInfo"""
10324 return _IMP_core.SingletonConstraint_get_version_info(self)
10328 """__str__(SingletonConstraint self) -> std::string"""
10329 return _IMP_core.SingletonConstraint___str__(self)
10332 def __repr__(self):
10333 """__repr__(SingletonConstraint self) -> std::string"""
10334 return _IMP_core.SingletonConstraint___repr__(self)
10339 return _object_cast_to_SingletonConstraint(o)
10341 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
10342 SingletonConstraint_swigregister(SingletonConstraint)
10345 """Proxy of C++ IMP::core::PairConstraint class."""
10347 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10349 def __init__(self, *args):
10351 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
10352 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
10353 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
10354 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
10356 this = _IMP_core.new_PairConstraint(*args)
10358 self.this.append(this)
10359 except __builtin__.Exception:
10362 def get_version_info(self):
10363 """get_version_info(PairConstraint self) -> VersionInfo"""
10364 return _IMP_core.PairConstraint_get_version_info(self)
10368 """__str__(PairConstraint self) -> std::string"""
10369 return _IMP_core.PairConstraint___str__(self)
10372 def __repr__(self):
10373 """__repr__(PairConstraint self) -> std::string"""
10374 return _IMP_core.PairConstraint___repr__(self)
10379 return _object_cast_to_PairConstraint(o)
10381 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
10382 PairConstraint_swigregister(PairConstraint)
10385 """Proxy of C++ IMP::core::TripletConstraint class."""
10387 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10389 def __init__(self, *args):
10391 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
10392 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
10393 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
10394 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
10396 this = _IMP_core.new_TripletConstraint(*args)
10398 self.this.append(this)
10399 except __builtin__.Exception:
10402 def get_version_info(self):
10403 """get_version_info(TripletConstraint self) -> VersionInfo"""
10404 return _IMP_core.TripletConstraint_get_version_info(self)
10408 """__str__(TripletConstraint self) -> std::string"""
10409 return _IMP_core.TripletConstraint___str__(self)
10412 def __repr__(self):
10413 """__repr__(TripletConstraint self) -> std::string"""
10414 return _IMP_core.TripletConstraint___repr__(self)
10419 return _object_cast_to_TripletConstraint(o)
10421 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
10422 TripletConstraint_swigregister(TripletConstraint)
10425 """Proxy of C++ IMP::core::QuadConstraint class."""
10427 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10429 def __init__(self, *args):
10431 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
10432 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
10433 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
10434 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
10436 this = _IMP_core.new_QuadConstraint(*args)
10438 self.this.append(this)
10439 except __builtin__.Exception:
10442 def get_version_info(self):
10443 """get_version_info(QuadConstraint self) -> VersionInfo"""
10444 return _IMP_core.QuadConstraint_get_version_info(self)
10448 """__str__(QuadConstraint self) -> std::string"""
10449 return _IMP_core.QuadConstraint___str__(self)
10452 def __repr__(self):
10453 """__repr__(QuadConstraint self) -> std::string"""
10454 return _IMP_core.QuadConstraint___repr__(self)
10459 return _object_cast_to_QuadConstraint(o)
10461 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
10462 QuadConstraint_swigregister(QuadConstraint)
10465 """Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
10467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10469 def __init__(self, *args):
10471 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
10472 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
10474 this = _IMP_core.new_ConstantSingletonPredicate(*args)
10476 self.this.append(this)
10477 except __builtin__.Exception:
10480 def do_get_inputs(self, arg2, arg3):
10481 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10482 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
10485 def get_value(self, *args):
10487 get_value(ConstantSingletonPredicate self, Particle a) -> int
10488 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10490 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
10493 def get_value_index(self, *args):
10495 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
10496 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10498 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
10501 def get_version_info(self):
10502 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
10503 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
10507 """__str__(ConstantSingletonPredicate self) -> std::string"""
10508 return _IMP_core.ConstantSingletonPredicate___str__(self)
10511 def __repr__(self):
10512 """__repr__(ConstantSingletonPredicate self) -> std::string"""
10513 return _IMP_core.ConstantSingletonPredicate___repr__(self)
10518 return _object_cast_to_ConstantSingletonPredicate(o)
10520 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
10521 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
10524 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
10526 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10528 def __init__(self, *args):
10530 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
10531 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
10533 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
10535 self.this.append(this)
10536 except __builtin__.Exception:
10539 def do_get_inputs(self, m, pis):
10540 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10541 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
10544 def get_value(self, *args):
10546 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
10547 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10549 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
10552 def get_value_index(self, *args):
10554 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10555 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10557 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
10560 def get_version_info(self):
10561 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
10562 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
10566 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
10567 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
10570 def __repr__(self):
10571 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
10572 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
10577 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
10579 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
10580 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
10583 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
10585 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10587 def __init__(self, *args):
10589 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
10590 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
10592 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
10594 self.this.append(this)
10595 except __builtin__.Exception:
10598 def do_get_inputs(self, m, pis):
10599 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10600 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
10603 def get_value(self, *args):
10605 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
10606 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
10607 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10609 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
10612 def get_value_index(self, *args):
10614 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10615 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10617 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
10620 def get_version_info(self):
10621 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
10622 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
10626 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
10627 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
10630 def __repr__(self):
10631 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
10632 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
10637 return _object_cast_to_OrderedTypeSingletonPredicate(o)
10639 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
10640 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
10643 """Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
10645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10647 def __init__(self, *args):
10649 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
10650 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
10652 this = _IMP_core.new_AllSameSingletonPredicate(*args)
10654 self.this.append(this)
10655 except __builtin__.Exception:
10658 def do_get_inputs(self, arg2, arg3):
10659 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10660 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
10663 def get_value(self, *args):
10665 get_value(AllSameSingletonPredicate self, Particle a) -> int
10666 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10668 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
10671 def get_value_index(self, *args):
10673 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
10674 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10676 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
10679 def get_version_info(self):
10680 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
10681 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
10685 """__str__(AllSameSingletonPredicate self) -> std::string"""
10686 return _IMP_core.AllSameSingletonPredicate___str__(self)
10689 def __repr__(self):
10690 """__repr__(AllSameSingletonPredicate self) -> std::string"""
10691 return _IMP_core.AllSameSingletonPredicate___repr__(self)
10696 return _object_cast_to_AllSameSingletonPredicate(o)
10698 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
10699 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
10702 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
10704 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10706 def __init__(self, *args):
10708 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
10709 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
10711 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
10713 self.this.append(this)
10714 except __builtin__.Exception:
10717 def do_get_inputs(self, arg2, arg3):
10718 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10719 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
10722 def get_value(self, *args):
10724 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
10725 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10727 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
10730 def get_value_index(self, *args):
10732 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
10733 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10735 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
10738 def get_version_info(self):
10739 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
10740 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
10744 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
10745 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
10748 def __repr__(self):
10749 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
10750 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
10755 return _object_cast_to_CoinFlipSingletonPredicate(o)
10757 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
10758 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
10761 """Proxy of C++ IMP::core::ConstantPairPredicate class."""
10763 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10765 def __init__(self, *args):
10767 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
10768 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
10770 this = _IMP_core.new_ConstantPairPredicate(*args)
10772 self.this.append(this)
10773 except __builtin__.Exception:
10776 def do_get_inputs(self, arg2, arg3):
10777 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10778 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
10781 def get_value(self, *args):
10783 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
10784 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10786 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
10789 def get_value_index(self, *args):
10791 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
10792 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10794 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
10797 def get_version_info(self):
10798 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
10799 return _IMP_core.ConstantPairPredicate_get_version_info(self)
10803 """__str__(ConstantPairPredicate self) -> std::string"""
10804 return _IMP_core.ConstantPairPredicate___str__(self)
10807 def __repr__(self):
10808 """__repr__(ConstantPairPredicate self) -> std::string"""
10809 return _IMP_core.ConstantPairPredicate___repr__(self)
10814 return _object_cast_to_ConstantPairPredicate(o)
10816 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
10817 ConstantPairPredicate_swigregister(ConstantPairPredicate)
10820 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
10822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10824 def __init__(self, *args):
10826 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
10827 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
10829 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
10831 self.this.append(this)
10832 except __builtin__.Exception:
10835 def do_get_inputs(self, m, pis):
10836 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10837 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
10840 def get_value(self, *args):
10842 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
10843 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10845 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
10848 def get_value_index(self, *args):
10850 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10851 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10853 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
10856 def get_version_info(self):
10857 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
10858 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
10862 """__str__(UnorderedTypePairPredicate self) -> std::string"""
10863 return _IMP_core.UnorderedTypePairPredicate___str__(self)
10866 def __repr__(self):
10867 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
10868 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
10873 return _object_cast_to_UnorderedTypePairPredicate(o)
10875 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
10876 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
10879 """Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
10881 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10883 def __init__(self, *args):
10885 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
10886 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
10888 this = _IMP_core.new_OrderedTypePairPredicate(*args)
10890 self.this.append(this)
10891 except __builtin__.Exception:
10894 def do_get_inputs(self, m, pis):
10895 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10896 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
10899 def get_value(self, *args):
10901 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
10902 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
10903 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10905 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
10908 def get_value_index(self, *args):
10910 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10911 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10913 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
10916 def get_version_info(self):
10917 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
10918 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
10922 """__str__(OrderedTypePairPredicate self) -> std::string"""
10923 return _IMP_core.OrderedTypePairPredicate___str__(self)
10926 def __repr__(self):
10927 """__repr__(OrderedTypePairPredicate self) -> std::string"""
10928 return _IMP_core.OrderedTypePairPredicate___repr__(self)
10933 return _object_cast_to_OrderedTypePairPredicate(o)
10935 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
10936 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
10939 """Proxy of C++ IMP::core::AllSamePairPredicate class."""
10941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10943 def __init__(self, *args):
10945 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
10946 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
10948 this = _IMP_core.new_AllSamePairPredicate(*args)
10950 self.this.append(this)
10951 except __builtin__.Exception:
10954 def do_get_inputs(self, arg2, arg3):
10955 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10956 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
10959 def get_value(self, *args):
10961 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
10962 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
10964 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
10967 def get_value_index(self, *args):
10969 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
10970 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
10972 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
10975 def get_version_info(self):
10976 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
10977 return _IMP_core.AllSamePairPredicate_get_version_info(self)
10981 """__str__(AllSamePairPredicate self) -> std::string"""
10982 return _IMP_core.AllSamePairPredicate___str__(self)
10985 def __repr__(self):
10986 """__repr__(AllSamePairPredicate self) -> std::string"""
10987 return _IMP_core.AllSamePairPredicate___repr__(self)
10992 return _object_cast_to_AllSamePairPredicate(o)
10994 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
10995 AllSamePairPredicate_swigregister(AllSamePairPredicate)
10998 """Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11002 def __init__(self, *args):
11004 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
11005 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
11007 this = _IMP_core.new_CoinFlipPairPredicate(*args)
11009 self.this.append(this)
11010 except __builtin__.Exception:
11013 def do_get_inputs(self, arg2, arg3):
11014 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11015 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11018 def get_value(self, *args):
11020 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11021 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11023 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11026 def get_value_index(self, *args):
11028 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11029 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11031 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11034 def get_version_info(self):
11035 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11036 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11040 """__str__(CoinFlipPairPredicate self) -> std::string"""
11041 return _IMP_core.CoinFlipPairPredicate___str__(self)
11044 def __repr__(self):
11045 """__repr__(CoinFlipPairPredicate self) -> std::string"""
11046 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11051 return _object_cast_to_CoinFlipPairPredicate(o)
11053 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
11054 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11057 """Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11059 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11061 def __init__(self, *args):
11063 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
11064 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
11066 this = _IMP_core.new_ConstantTripletPredicate(*args)
11068 self.this.append(this)
11069 except __builtin__.Exception:
11072 def do_get_inputs(self, arg2, arg3):
11073 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11074 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11077 def get_value(self, *args):
11079 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11080 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11082 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11085 def get_value_index(self, *args):
11087 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11088 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11090 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11093 def get_version_info(self):
11094 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11095 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11099 """__str__(ConstantTripletPredicate self) -> std::string"""
11100 return _IMP_core.ConstantTripletPredicate___str__(self)
11103 def __repr__(self):
11104 """__repr__(ConstantTripletPredicate self) -> std::string"""
11105 return _IMP_core.ConstantTripletPredicate___repr__(self)
11110 return _object_cast_to_ConstantTripletPredicate(o)
11112 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
11113 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11116 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11118 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11120 def __init__(self, *args):
11122 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
11123 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
11125 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
11127 self.this.append(this)
11128 except __builtin__.Exception:
11131 def do_get_inputs(self, m, pis):
11132 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11133 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11136 def get_value(self, *args):
11138 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11139 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11141 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11144 def get_value_index(self, *args):
11146 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11147 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11149 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11152 def get_version_info(self):
11153 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11154 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11158 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11159 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11162 def __repr__(self):
11163 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11164 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
11169 return _object_cast_to_UnorderedTypeTripletPredicate(o)
11171 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
11172 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
11175 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
11177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11179 def __init__(self, *args):
11181 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
11182 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
11184 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
11186 self.this.append(this)
11187 except __builtin__.Exception:
11190 def do_get_inputs(self, m, pis):
11191 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11192 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11195 def get_value(self, *args):
11197 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
11198 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11199 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11201 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
11204 def get_value_index(self, *args):
11206 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11207 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11209 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
11212 def get_version_info(self):
11213 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
11214 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
11218 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
11219 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
11222 def __repr__(self):
11223 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
11224 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
11229 return _object_cast_to_OrderedTypeTripletPredicate(o)
11231 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
11232 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
11235 """Proxy of C++ IMP::core::AllSameTripletPredicate class."""
11237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11239 def __init__(self, *args):
11241 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
11242 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
11244 this = _IMP_core.new_AllSameTripletPredicate(*args)
11246 self.this.append(this)
11247 except __builtin__.Exception:
11250 def do_get_inputs(self, arg2, arg3):
11251 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11252 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
11255 def get_value(self, *args):
11257 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11258 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11260 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
11263 def get_value_index(self, *args):
11265 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11266 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11268 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
11271 def get_version_info(self):
11272 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
11273 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
11277 """__str__(AllSameTripletPredicate self) -> std::string"""
11278 return _IMP_core.AllSameTripletPredicate___str__(self)
11281 def __repr__(self):
11282 """__repr__(AllSameTripletPredicate self) -> std::string"""
11283 return _IMP_core.AllSameTripletPredicate___repr__(self)
11288 return _object_cast_to_AllSameTripletPredicate(o)
11290 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
11291 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
11294 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
11296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11298 def __init__(self, *args):
11300 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
11301 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
11303 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
11305 self.this.append(this)
11306 except __builtin__.Exception:
11309 def do_get_inputs(self, arg2, arg3):
11310 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11311 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
11314 def get_value(self, *args):
11316 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11317 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11319 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
11322 def get_value_index(self, *args):
11324 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11325 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11327 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
11330 def get_version_info(self):
11331 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
11332 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
11336 """__str__(CoinFlipTripletPredicate self) -> std::string"""
11337 return _IMP_core.CoinFlipTripletPredicate___str__(self)
11340 def __repr__(self):
11341 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
11342 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
11347 return _object_cast_to_CoinFlipTripletPredicate(o)
11349 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
11350 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
11353 """Proxy of C++ IMP::core::ConstantQuadPredicate class."""
11355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11357 def __init__(self, *args):
11359 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
11360 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
11362 this = _IMP_core.new_ConstantQuadPredicate(*args)
11364 self.this.append(this)
11365 except __builtin__.Exception:
11368 def do_get_inputs(self, arg2, arg3):
11369 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11370 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
11373 def get_value(self, *args):
11375 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
11376 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11378 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
11381 def get_value_index(self, *args):
11383 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
11384 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11386 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
11389 def get_version_info(self):
11390 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
11391 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
11395 """__str__(ConstantQuadPredicate self) -> std::string"""
11396 return _IMP_core.ConstantQuadPredicate___str__(self)
11399 def __repr__(self):
11400 """__repr__(ConstantQuadPredicate self) -> std::string"""
11401 return _IMP_core.ConstantQuadPredicate___repr__(self)
11406 return _object_cast_to_ConstantQuadPredicate(o)
11408 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
11409 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
11412 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
11414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11416 def __init__(self, *args):
11418 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
11419 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
11421 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
11423 self.this.append(this)
11424 except __builtin__.Exception:
11427 def do_get_inputs(self, m, pis):
11428 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11429 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
11432 def get_value(self, *args):
11434 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
11435 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11437 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
11440 def get_value_index(self, *args):
11442 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11443 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11445 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
11448 def get_version_info(self):
11449 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
11450 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
11454 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
11455 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
11458 def __repr__(self):
11459 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
11460 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
11465 return _object_cast_to_UnorderedTypeQuadPredicate(o)
11467 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
11468 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
11471 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
11473 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11475 def __init__(self, *args):
11477 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
11478 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
11480 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
11482 self.this.append(this)
11483 except __builtin__.Exception:
11486 def do_get_inputs(self, m, pis):
11487 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11488 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
11491 def get_value(self, *args):
11493 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
11494 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
11495 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11497 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
11500 def get_value_index(self, *args):
11502 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11503 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11505 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
11508 def get_version_info(self):
11509 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
11510 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
11514 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
11515 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
11518 def __repr__(self):
11519 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
11520 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
11525 return _object_cast_to_OrderedTypeQuadPredicate(o)
11527 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
11528 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
11531 """Proxy of C++ IMP::core::AllSameQuadPredicate class."""
11533 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11535 def __init__(self, *args):
11537 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
11538 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
11540 this = _IMP_core.new_AllSameQuadPredicate(*args)
11542 self.this.append(this)
11543 except __builtin__.Exception:
11546 def do_get_inputs(self, arg2, arg3):
11547 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11548 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
11551 def get_value(self, *args):
11553 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
11554 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11556 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
11559 def get_value_index(self, *args):
11561 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11562 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11564 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
11567 def get_version_info(self):
11568 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
11569 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
11573 """__str__(AllSameQuadPredicate self) -> std::string"""
11574 return _IMP_core.AllSameQuadPredicate___str__(self)
11577 def __repr__(self):
11578 """__repr__(AllSameQuadPredicate self) -> std::string"""
11579 return _IMP_core.AllSameQuadPredicate___repr__(self)
11584 return _object_cast_to_AllSameQuadPredicate(o)
11586 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
11587 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
11590 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
11592 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11594 def __init__(self, *args):
11596 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
11597 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
11599 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
11601 self.this.append(this)
11602 except __builtin__.Exception:
11605 def do_get_inputs(self, arg2, arg3):
11606 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11607 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
11610 def get_value(self, *args):
11612 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
11613 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11615 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
11618 def get_value_index(self, *args):
11620 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
11621 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11623 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
11626 def get_version_info(self):
11627 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
11628 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
11632 """__str__(CoinFlipQuadPredicate self) -> std::string"""
11633 return _IMP_core.CoinFlipQuadPredicate___str__(self)
11636 def __repr__(self):
11637 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
11638 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
11643 return _object_cast_to_CoinFlipQuadPredicate(o)
11645 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
11646 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
11649 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
11651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11653 def __init__(self, *args):
11655 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
11656 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
11658 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
11660 self.this.append(this)
11661 except __builtin__.Exception:
11664 def do_get_inputs(self, m, pi):
11665 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
11666 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
11669 def get_value(self, *args):
11671 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
11672 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11674 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
11677 def get_value_index(self, *args):
11679 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
11680 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11682 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
11685 def get_version_info(self):
11686 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
11687 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
11691 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
11692 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
11695 def __repr__(self):
11696 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
11697 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
11702 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
11704 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
11705 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
11708 """Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
11710 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11712 def __init__(self, *args):
11714 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
11715 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
11717 this = _IMP_core.new_AttributeSingletonPredicate(*args)
11719 self.this.append(this)
11720 except __builtin__.Exception:
11723 def do_get_inputs(self, m, pi):
11724 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
11725 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
11728 def get_value(self, *args):
11730 get_value(AttributeSingletonPredicate self, Particle a) -> int
11731 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11733 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
11736 def get_value_index(self, *args):
11738 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11739 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11741 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
11744 def get_version_info(self):
11745 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
11746 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
11750 """__str__(AttributeSingletonPredicate self) -> std::string"""
11751 return _IMP_core.AttributeSingletonPredicate___str__(self)
11754 def __repr__(self):
11755 """__repr__(AttributeSingletonPredicate self) -> std::string"""
11756 return _IMP_core.AttributeSingletonPredicate___repr__(self)
11761 return _object_cast_to_AttributeSingletonPredicate(o)
11763 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
11764 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
11767 """Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
11769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11771 def __init__(self, *args):
11773 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
11774 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
11776 this = _IMP_core.new_IsCollisionPairPredicate(*args)
11778 self.this.append(this)
11779 except __builtin__.Exception:
11782 def do_get_inputs(self, m, pi):
11783 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
11784 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
11787 def get_value(self, *args):
11789 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
11790 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11792 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
11795 def get_value_index(self, *args):
11797 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11798 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11800 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
11803 def get_version_info(self):
11804 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
11805 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
11809 """__str__(IsCollisionPairPredicate self) -> std::string"""
11810 return _IMP_core.IsCollisionPairPredicate___str__(self)
11813 def __repr__(self):
11814 """__repr__(IsCollisionPairPredicate self) -> std::string"""
11815 return _IMP_core.IsCollisionPairPredicate___repr__(self)
11820 return _object_cast_to_IsCollisionPairPredicate(o)
11822 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
11823 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
11825 class AngleRestraint(TripletRestraint):
11826 """Proxy of C++ IMP::core::AngleRestraint class."""
11828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11830 def __init__(self, m, score_func, p1, p2, p3):
11831 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
11832 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
11834 self.this.append(this)
11835 except __builtin__.Exception:
11839 """__str__(AngleRestraint self) -> std::string"""
11840 return _IMP_core.AngleRestraint___str__(self)
11843 def __repr__(self):
11844 """__repr__(AngleRestraint self) -> std::string"""
11845 return _IMP_core.AngleRestraint___repr__(self)
11850 return _object_cast_to_AngleRestraint(o)
11852 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
11853 AngleRestraint_swigregister(AngleRestraint)
11855 class RigidBodyMover(MonteCarloMover):
11856 """Proxy of C++ IMP::core::RigidBodyMover class."""
11858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11860 def __init__(self, *args):
11862 __init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
11863 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
11865 this = _IMP_core.new_RigidBodyMover(*args)
11867 self.this.append(this)
11868 except __builtin__.Exception:
11871 def set_maximum_translation(self, mt):
11872 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
11873 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
11876 def set_maximum_rotation(self, mr):
11877 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
11878 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
11881 def get_maximum_translation(self):
11882 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
11883 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
11886 def get_maximum_rotation(self):
11887 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
11888 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
11891 def get_version_info(self):
11892 """get_version_info(RigidBodyMover self) -> VersionInfo"""
11893 return _IMP_core.RigidBodyMover_get_version_info(self)
11897 """__str__(RigidBodyMover self) -> std::string"""
11898 return _IMP_core.RigidBodyMover___str__(self)
11901 def __repr__(self):
11902 """__repr__(RigidBodyMover self) -> std::string"""
11903 return _IMP_core.RigidBodyMover___repr__(self)
11908 return _object_cast_to_RigidBodyMover(o)
11910 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
11911 RigidBodyMover_swigregister(RigidBodyMover)
11913 class RigidBodyTunneler(MonteCarloMover):
11914 """Proxy of C++ IMP::core::RigidBodyTunneler class."""
11916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11918 def __init__(self, m, pis, ref, k, move_probability=1.):
11920 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
11921 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
11923 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
11925 self.this.append(this)
11926 except __builtin__.Exception:
11929 def add_entry_point(self, fl):
11930 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
11931 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
11934 def reset_stats(self):
11935 """reset_stats(RigidBodyTunneler self)"""
11936 return _IMP_core.RigidBodyTunneler_reset_stats(self)
11939 def get_number_of_rejected_moves(self):
11940 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
11941 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
11944 def get_number_of_proposed_moves(self):
11945 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
11946 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
11949 def get_number_of_impossible_moves(self):
11950 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
11951 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
11954 def get_number_of_calls(self):
11955 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
11956 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
11959 def get_reduced_coordinates(*args):
11961 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
11962 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
11964 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
11966 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
11968 def set_reduced_coordinates(m, target, ref, coords):
11969 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
11970 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
11972 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
11974 def get_version_info(self):
11975 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
11976 return _IMP_core.RigidBodyTunneler_get_version_info(self)
11980 """__str__(RigidBodyTunneler self) -> std::string"""
11981 return _IMP_core.RigidBodyTunneler___str__(self)
11984 def __repr__(self):
11985 """__repr__(RigidBodyTunneler self) -> std::string"""
11986 return _IMP_core.RigidBodyTunneler___repr__(self)
11991 return _object_cast_to_RigidBodyTunneler(o)
11993 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
11994 RigidBodyTunneler_swigregister(RigidBodyTunneler)
11996 def RigidBodyTunneler_get_reduced_coordinates(*args):
11998 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
11999 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12001 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12003 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12004 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12005 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12008 """Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12012 def __init__(self, *args):
12014 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12015 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12016 __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
12017 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12019 this = _IMP_core.new_RigidBodyUmbrella(*args)
12021 self.this.append(this)
12022 except __builtin__.Exception:
12025 def set_x0(self, *args):
12027 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12028 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
12030 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12034 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12035 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12039 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12040 return _IMP_core.RigidBodyUmbrella_get_x(self)
12043 def set_alpha(self, alpha):
12044 """set_alpha(RigidBodyUmbrella self, double alpha)"""
12045 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12048 def set_k(self, k):
12049 """set_k(RigidBodyUmbrella self, double k)"""
12050 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12053 def get_version_info(self):
12054 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12055 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12059 """__str__(RigidBodyUmbrella self) -> std::string"""
12060 return _IMP_core.RigidBodyUmbrella___str__(self)
12063 def __repr__(self):
12064 """__repr__(RigidBodyUmbrella self) -> std::string"""
12065 return _IMP_core.RigidBodyUmbrella___repr__(self)
12070 return _object_cast_to_RigidBodyUmbrella(o)
12072 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
12073 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12076 """Proxy of C++ IMP::core::VolumeRestraint class."""
12078 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12080 def __init__(self, f, sc, volume):
12081 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12082 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
12084 self.this.append(this)
12085 except __builtin__.Exception:
12088 def do_get_inputs(self):
12089 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12090 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12093 def get_version_info(self):
12094 """get_version_info(VolumeRestraint self) -> VersionInfo"""
12095 return _IMP_core.VolumeRestraint_get_version_info(self)
12099 """__str__(VolumeRestraint self) -> std::string"""
12100 return _IMP_core.VolumeRestraint___str__(self)
12103 def __repr__(self):
12104 """__repr__(VolumeRestraint self) -> std::string"""
12105 return _IMP_core.VolumeRestraint___repr__(self)
12110 return _object_cast_to_VolumeRestraint(o)
12112 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
12113 VolumeRestraint_swigregister(VolumeRestraint)
12117 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12118 return _IMP_core.get_centroid(ps)
12120 def get_bounding_box(ps):
12121 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12122 return _IMP_core.get_bounding_box(ps)
12124 """Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12128 def __init__(self, ps):
12129 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12130 this = _IMP_core.new_MoveStatisticsScoreState(ps)
12132 self.this.append(this)
12133 except __builtin__.Exception:
12136 def show_statistics(self, *args):
12138 show_statistics(MoveStatisticsScoreState self, _ostream out)
12139 show_statistics(MoveStatisticsScoreState self)
12141 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12145 """reset(MoveStatisticsScoreState self)"""
12146 return _IMP_core.MoveStatisticsScoreState_reset(self)
12149 def do_before_evaluate(self):
12150 """do_before_evaluate(MoveStatisticsScoreState self)"""
12151 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12154 def do_after_evaluate(self, da):
12155 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12156 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12159 def do_get_inputs(self):
12160 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12161 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12164 def do_get_outputs(self):
12165 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12166 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12169 def get_version_info(self):
12170 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
12171 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
12175 """__str__(MoveStatisticsScoreState self) -> std::string"""
12176 return _IMP_core.MoveStatisticsScoreState___str__(self)
12179 def __repr__(self):
12180 """__repr__(MoveStatisticsScoreState self) -> std::string"""
12181 return _IMP_core.MoveStatisticsScoreState___repr__(self)
12186 return _object_cast_to_MoveStatisticsScoreState(o)
12188 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
12189 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
12191 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
12193 """Proxy of C++ IMP::core::Typed class."""
12195 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12197 def get_type_key():
12198 """get_type_key() -> IntKey"""
12199 return _IMP_core.Typed_get_type_key()
12201 get_type_key = staticmethod(get_type_key)
12203 def __init__(self, *args):
12205 __init__(IMP::core::Typed self) -> Typed
12206 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
12207 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
12209 this = _IMP_core.new_Typed(*args)
12211 self.this.append(this)
12212 except __builtin__.Exception:
12215 def show(self, *args):
12217 show(Typed self, _ostream out)
12220 return _IMP_core.Typed_show(self, *args)
12223 def setup_particle(*args):
12225 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
12226 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
12228 return _IMP_core.Typed_setup_particle(*args)
12230 setup_particle = staticmethod(setup_particle)
12232 def get_is_setup(*args):
12234 get_is_setup(_ParticleAdaptor p) -> bool
12235 get_is_setup(Model m, ParticleIndex pi) -> bool
12237 return _IMP_core.Typed_get_is_setup(*args)
12239 get_is_setup = staticmethod(get_is_setup)
12241 def get_type(self):
12242 """get_type(Typed self) -> ParticleType"""
12243 return _IMP_core.Typed_get_type(self)
12246 def set_type(self, pt):
12247 """set_type(Typed self, ParticleType pt)"""
12248 return _IMP_core.Typed_set_type(self, pt)
12251 def add_attribute(self, *args):
12253 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
12254 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
12255 add_attribute(Typed self, IntKey a0, IMP::Int a1)
12256 add_attribute(Typed self, StringKey a0, IMP::String a1)
12257 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
12258 add_attribute(Typed self, ObjectKey a0, Object a1)
12260 return _IMP_core.Typed_add_attribute(self, *args)
12263 def get_value(self, *args):
12265 get_value(Typed self, FloatKey a0) -> IMP::Float
12266 get_value(Typed self, IntKey a0) -> IMP::Int
12267 get_value(Typed self, StringKey a0) -> IMP::String
12268 get_value(Typed self, ParticleIndexKey a0) -> Particle
12269 get_value(Typed self, ObjectKey a0) -> Object
12271 return _IMP_core.Typed_get_value(self, *args)
12274 def set_value(self, *args):
12276 set_value(Typed self, FloatKey a0, IMP::Float a1)
12277 set_value(Typed self, IntKey a0, IMP::Int a1)
12278 set_value(Typed self, StringKey a0, IMP::String a1)
12279 set_value(Typed self, ParticleIndexKey a0, Particle a1)
12280 set_value(Typed self, ObjectKey a0, Object a1)
12282 return _IMP_core.Typed_set_value(self, *args)
12285 def remove_attribute(self, *args):
12287 remove_attribute(Typed self, FloatKey a0)
12288 remove_attribute(Typed self, IntKey a0)
12289 remove_attribute(Typed self, StringKey a0)
12290 remove_attribute(Typed self, ParticleIndexKey a0)
12291 remove_attribute(Typed self, ObjectKey a0)
12293 return _IMP_core.Typed_remove_attribute(self, *args)
12296 def has_attribute(self, *args):
12298 has_attribute(Typed self, FloatKey a0) -> bool
12299 has_attribute(Typed self, IntKey a0) -> bool
12300 has_attribute(Typed self, StringKey a0) -> bool
12301 has_attribute(Typed self, ParticleIndexKey a0) -> bool
12302 has_attribute(Typed self, ObjectKey a0) -> bool
12304 return _IMP_core.Typed_has_attribute(self, *args)
12307 def get_derivative(self, a0):
12308 """get_derivative(Typed self, FloatKey a0) -> double"""
12309 return _IMP_core.Typed_get_derivative(self, a0)
12312 def get_name(self):
12313 """get_name(Typed self) -> std::string"""
12314 return _IMP_core.Typed_get_name(self)
12317 def clear_caches(self):
12318 """clear_caches(Typed self)"""
12319 return _IMP_core.Typed_clear_caches(self)
12322 def set_name(self, a0):
12323 """set_name(Typed self, std::string a0)"""
12324 return _IMP_core.Typed_set_name(self, a0)
12328 """set_check_level(Typed self, IMP::CheckLevel a0)"""
12329 return _IMP_core.Typed_set_check_level(self, a0)
12332 def add_to_derivative(self, a0, a1, a2):
12333 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
12334 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
12337 def set_is_optimized(self, a0, a1):
12338 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
12339 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
12342 def get_is_optimized(self, a0):
12343 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
12344 return _IMP_core.Typed_get_is_optimized(self, a0)
12348 """get_check_level(Typed self) -> IMP::CheckLevel"""
12349 return _IMP_core.Typed_get_check_level(self)
12352 def __eq__(self, *args):
12354 __eq__(Typed self, Typed o) -> bool
12355 __eq__(Typed self, Particle d) -> bool
12357 return _IMP_core.Typed___eq__(self, *args)
12360 def __ne__(self, *args):
12362 __ne__(Typed self, Typed o) -> bool
12363 __ne__(Typed self, Particle d) -> bool
12365 return _IMP_core.Typed___ne__(self, *args)
12368 def __le__(self, *args):
12370 __le__(Typed self, Typed o) -> bool
12371 __le__(Typed self, Particle d) -> bool
12373 return _IMP_core.Typed___le__(self, *args)
12376 def __lt__(self, *args):
12378 __lt__(Typed self, Typed o) -> bool
12379 __lt__(Typed self, Particle d) -> bool
12381 return _IMP_core.Typed___lt__(self, *args)
12384 def __ge__(self, *args):
12386 __ge__(Typed self, Typed o) -> bool
12387 __ge__(Typed self, Particle d) -> bool
12389 return _IMP_core.Typed___ge__(self, *args)
12392 def __gt__(self, *args):
12394 __gt__(Typed self, Typed o) -> bool
12395 __gt__(Typed self, Particle d) -> bool
12397 return _IMP_core.Typed___gt__(self, *args)
12400 def __hash__(self):
12401 """__hash__(Typed self) -> std::size_t"""
12402 return _IMP_core.Typed___hash__(self)
12406 """__str__(Typed self) -> std::string"""
12407 return _IMP_core.Typed___str__(self)
12410 def __repr__(self):
12411 """__repr__(Typed self) -> std::string"""
12412 return _IMP_core.Typed___repr__(self)
12414 __swig_destroy__ = _IMP_core.delete_Typed
12415 __del__ =
lambda self:
None
12416 Typed_swigregister = _IMP_core.Typed_swigregister
12417 Typed_swigregister(Typed)
12419 def Typed_get_type_key():
12420 """Typed_get_type_key() -> IntKey"""
12421 return _IMP_core.Typed_get_type_key()
12423 def Typed_setup_particle(*args):
12425 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
12426 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
12428 return _IMP_core.Typed_setup_particle(*args)
12430 def Typed_get_is_setup(*args):
12432 get_is_setup(_ParticleAdaptor p) -> bool
12433 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
12435 return _IMP_core.Typed_get_is_setup(*args)
12438 def __lshift__(*args):
12440 __lshift__(_ostream out, XYZ n) -> _ostream
12441 __lshift__(_ostream out, XYZR n) -> _ostream
12442 __lshift__(_ostream out, Surface n) -> _ostream
12443 __lshift__(_ostream out, Centroid n) -> _ostream
12444 __lshift__(_ostream out, Cover n) -> _ostream
12445 __lshift__(_ostream out, Reference n) -> _ostream
12446 __lshift__(_ostream out, RigidMember n) -> _ostream
12447 __lshift__(_ostream out, RigidBody n) -> _ostream
12448 __lshift__(_ostream out, Gaussian n) -> _ostream
12449 __lshift__(_ostream out, Typed n) -> _ostream
12451 return _IMP_core.__lshift__(*args)
12453 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
12455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12457 def __init__(self, rs, out):
12458 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
12459 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
12461 self.this.append(this)
12462 except __builtin__.Exception:
12465 def get_version_info(self):
12466 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
12467 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
12471 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
12472 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
12475 def __repr__(self):
12476 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
12477 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
12482 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
12484 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
12485 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
12489 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
12490 return _IMP_core.assign_blame(rs, ps, attribute)
12494 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
12495 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
12496 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
12498 return _IMP_core.create_blame_geometries(*args)
12500 """Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
12502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12504 def __init__(self, m, q1, q2):
12505 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
12506 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
12508 self.this.append(this)
12509 except __builtin__.Exception:
12512 def add_term(self, term):
12513 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
12514 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
12517 def do_get_inputs(self):
12518 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
12519 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
12522 def get_version_info(self):
12523 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
12524 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
12528 """__str__(MultipleBinormalRestraint self) -> std::string"""
12529 return _IMP_core.MultipleBinormalRestraint___str__(self)
12532 def __repr__(self):
12533 """__repr__(MultipleBinormalRestraint self) -> std::string"""
12534 return _IMP_core.MultipleBinormalRestraint___repr__(self)
12539 return _object_cast_to_MultipleBinormalRestraint(o)
12541 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
12542 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
12544 class BinormalTerm(object):
12545 """Proxy of C++ IMP::core::BinormalTerm class."""
12547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12549 def __init__(self):
12550 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
12551 this = _IMP_core.new_BinormalTerm()
12553 self.this.append(this)
12554 except __builtin__.Exception:
12557 def set_correlation(self, correlation):
12558 """set_correlation(BinormalTerm self, double correlation)"""
12559 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
12562 def set_weight(self, weight):
12563 """set_weight(BinormalTerm self, double weight)"""
12564 return _IMP_core.BinormalTerm_set_weight(self, weight)
12567 def set_means(self, means):
12568 """set_means(BinormalTerm self, IMP::FloatPair means)"""
12569 return _IMP_core.BinormalTerm_set_means(self, means)
12572 def set_standard_deviations(self, stdevs):
12573 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
12574 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
12577 def show(self, *args):
12579 show(BinormalTerm self, _ostream out)
12580 show(BinormalTerm self)
12582 return _IMP_core.BinormalTerm_show(self, *args)
12586 """__str__(BinormalTerm self) -> std::string"""
12587 return _IMP_core.BinormalTerm___str__(self)
12590 def __repr__(self):
12591 """__repr__(BinormalTerm self) -> std::string"""
12592 return _IMP_core.BinormalTerm___repr__(self)
12594 __swig_destroy__ = _IMP_core.delete_BinormalTerm
12595 __del__ =
lambda self:
None
12596 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
12597 BinormalTerm_swigregister(BinormalTerm)
12602 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
12603 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
12604 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
12606 return _IMP_core.get_transformation_aligning_first_to_second(*args)
12609 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
12610 return _IMP_core.create_restraint(ps, pp)
12612 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class."""
12614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12616 def __init__(self, *args):
12618 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
12619 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
12621 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
12623 self.this.append(this)
12624 except __builtin__.Exception:
12627 def get_version_info(self):
12628 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
12629 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
12633 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
12634 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
12637 def __repr__(self):
12638 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
12639 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
12644 return _object_cast_to_TruncatedHarmonic(o)
12646 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
12647 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
12650 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class."""
12652 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12654 def __init__(self, *args):
12656 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
12657 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
12659 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
12661 self.this.append(this)
12662 except __builtin__.Exception:
12665 def get_version_info(self):
12666 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
12667 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
12671 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
12672 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
12675 def __repr__(self):
12676 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
12677 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
12682 return _object_cast_to_TruncatedHarmonic(o)
12684 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
12685 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
12688 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class."""
12690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12692 def __init__(self, *args):
12694 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
12695 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
12697 this = _IMP_core.new_TruncatedHarmonicBound(*args)
12699 self.this.append(this)
12700 except __builtin__.Exception:
12703 def get_version_info(self):
12704 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
12705 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
12709 """__str__(TruncatedHarmonicBound self) -> std::string"""
12710 return _IMP_core.TruncatedHarmonicBound___str__(self)
12713 def __repr__(self):
12714 """__repr__(TruncatedHarmonicBound self) -> std::string"""
12715 return _IMP_core.TruncatedHarmonicBound___repr__(self)
12720 return _object_cast_to_TruncatedHarmonic(o)
12722 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
12723 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
12726 """Proxy of C++ IMP::Key<(34897493)> class."""
12728 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12730 def __init__(self, *args):
12732 __init__(IMP::Key<(34897493)> self) -> ParticleType
12733 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
12734 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
12735 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
12737 this = _IMP_core.new_ParticleType(*args)
12739 self.this.append(this)
12740 except __builtin__.Exception:
12744 """add_key(std::string sc) -> unsigned int"""
12745 return _IMP_core.ParticleType_add_key(sc)
12747 add_key = staticmethod(add_key)
12749 def get_key_exists(sc):
12750 """get_key_exists(std::string sc) -> bool"""
12751 return _IMP_core.ParticleType_get_key_exists(sc)
12753 get_key_exists = staticmethod(get_key_exists)
12755 def get_string(self):
12756 """get_string(ParticleType self) -> std::string const"""
12757 return _IMP_core.ParticleType_get_string(self)
12760 def __cmp__(self, o):
12761 """__cmp__(ParticleType self, ParticleType o) -> int"""
12762 return _IMP_core.ParticleType___cmp__(self, o)
12765 def __eq__(self, o):
12766 """__eq__(ParticleType self, ParticleType o) -> bool"""
12767 return _IMP_core.ParticleType___eq__(self, o)
12770 def __ne__(self, o):
12771 """__ne__(ParticleType self, ParticleType o) -> bool"""
12772 return _IMP_core.ParticleType___ne__(self, o)
12775 def __lt__(self, o):
12776 """__lt__(ParticleType self, ParticleType o) -> bool"""
12777 return _IMP_core.ParticleType___lt__(self, o)
12780 def __gt__(self, o):
12781 """__gt__(ParticleType self, ParticleType o) -> bool"""
12782 return _IMP_core.ParticleType___gt__(self, o)
12785 def __ge__(self, o):
12786 """__ge__(ParticleType self, ParticleType o) -> bool"""
12787 return _IMP_core.ParticleType___ge__(self, o)
12790 def __le__(self, o):
12791 """__le__(ParticleType self, ParticleType o) -> bool"""
12792 return _IMP_core.ParticleType___le__(self, o)
12795 def __hash__(self):
12796 """__hash__(ParticleType self) -> std::size_t"""
12797 return _IMP_core.ParticleType___hash__(self)
12800 def show(self, *args):
12802 show(ParticleType self, _ostream out)
12803 show(ParticleType self)
12805 return _IMP_core.ParticleType_show(self, *args)
12808 def add_alias(old_key, new_name):
12809 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
12810 return _IMP_core.ParticleType_add_alias(old_key, new_name)
12812 add_alias = staticmethod(add_alias)
12814 def get_number_of_keys():
12815 """get_number_of_keys() -> unsigned int"""
12816 return _IMP_core.ParticleType_get_number_of_keys()
12818 get_number_of_keys = staticmethod(get_number_of_keys)
12821 """get_index(ParticleType self) -> unsigned int"""
12822 return _IMP_core.ParticleType_get_index(self)
12826 """show_all(_ostream out)"""
12827 return _IMP_core.ParticleType_show_all(out)
12829 show_all = staticmethod(show_all)
12831 def get_all_strings():
12832 """get_all_strings() -> IMP::Vector< std::string >"""
12833 return _IMP_core.ParticleType_get_all_strings()
12835 get_all_strings = staticmethod(get_all_strings)
12837 def get_number_unique():
12838 """get_number_unique() -> unsigned int"""
12839 return _IMP_core.ParticleType_get_number_unique()
12841 get_number_unique = staticmethod(get_number_unique)
12844 """__str__(ParticleType self) -> std::string"""
12845 return _IMP_core.ParticleType___str__(self)
12848 def __repr__(self):
12849 """__repr__(ParticleType self) -> std::string"""
12850 return _IMP_core.ParticleType___repr__(self)
12852 __swig_destroy__ = _IMP_core.delete_ParticleType
12853 __del__ =
lambda self:
None
12854 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
12855 ParticleType_swigregister(ParticleType)
12857 def ParticleType_add_key(sc):
12858 """ParticleType_add_key(std::string sc) -> unsigned int"""
12859 return _IMP_core.ParticleType_add_key(sc)
12861 def ParticleType_get_key_exists(sc):
12862 """ParticleType_get_key_exists(std::string sc) -> bool"""
12863 return _IMP_core.ParticleType_get_key_exists(sc)
12865 def ParticleType_add_alias(old_key, new_name):
12866 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
12867 return _IMP_core.ParticleType_add_alias(old_key, new_name)
12869 def ParticleType_get_number_of_keys():
12870 """ParticleType_get_number_of_keys() -> unsigned int"""
12871 return _IMP_core.ParticleType_get_number_of_keys()
12873 def ParticleType_show_all(out):
12874 """ParticleType_show_all(_ostream out)"""
12875 return _IMP_core.ParticleType_show_all(out)
12877 def ParticleType_get_all_strings():
12878 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
12879 return _IMP_core.ParticleType_get_all_strings()
12881 def ParticleType_get_number_unique():
12882 """ParticleType_get_number_unique() -> unsigned int"""
12883 return _IMP_core.ParticleType_get_number_unique()
12886 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class."""
12888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12889 __repr__ = _swig_repr
12891 def __init__(self, f, k):
12892 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
12893 this = _IMP_core.new_AttributeSingletonScore(f, k)
12895 self.this.append(this)
12896 except __builtin__.Exception:
12899 def do_get_inputs(self, m, pis):
12900 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12901 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
12904 def get_unary_function(self):
12905 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
12906 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
12909 def get_version_info(self):
12910 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
12911 return _IMP_core.AttributeSingletonScore_get_version_info(self)
12913 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
12914 AttributeSingletonScore_swigregister(AttributeSingletonScore)
12918 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
12919 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
12921 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class."""
12923 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12924 __repr__ = _swig_repr
12926 def __init__(self, f, bb):
12927 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
12928 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
12930 self.this.append(this)
12931 except __builtin__.Exception:
12934 def do_get_inputs(self, m, pis):
12935 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12936 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
12939 def get_version_info(self):
12940 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
12941 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
12943 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
12944 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
12947 def create_bounding_box_3d_singleton_score(f, bb):
12948 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
12949 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
12951 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class."""
12953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12954 __repr__ = _swig_repr
12956 def __init__(self, f, pt):
12957 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
12958 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
12960 self.this.append(this)
12961 except __builtin__.Exception:
12964 def do_get_inputs(self, m, pis):
12965 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12966 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
12969 def get_version_info(self):
12970 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
12971 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
12973 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
12974 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
12977 def create_distance_to_singleton_score(f, pt):
12978 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
12979 return _IMP_core.create_distance_to_singleton_score(f, pt)
12981 def get_module_version():
12982 """get_module_version() -> std::string const"""
12983 return _IMP_core.get_module_version()
12986 """get_example_path(std::string fname) -> std::string"""
12987 return _IMP_core.get_example_path(fname)
12990 """get_data_path(std::string fname) -> std::string"""
12991 return _IMP_core.get_data_path(fname)
12993 from .
import _version_check
12994 _version_check.check_version(get_module_version())
12995 __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())
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.