10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
32 _IMP_core = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
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
110 weakref_proxy =
lambda x: x
113 class IMP_CORE_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
125 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
130 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
131 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
133 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
138 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
139 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
141 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
150 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
151 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
155 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
156 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
160 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
161 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
165 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
166 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
170 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
171 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
176 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
181 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
186 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
191 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
196 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
201 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
207 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
213 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
214 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
223 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
224 IMP_DEBUG = _IMP_core.IMP_DEBUG
226 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
227 IMP_RELEASE = _IMP_core.IMP_RELEASE
229 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
230 IMP_SILENT = _IMP_core.IMP_SILENT
232 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
233 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
235 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
236 IMP_TERSE = _IMP_core.IMP_TERSE
238 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
239 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
241 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
242 IMP_MEMORY = _IMP_core.IMP_MEMORY
244 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
245 IMP_NONE = _IMP_core.IMP_NONE
247 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
248 IMP_USAGE = _IMP_core.IMP_USAGE
250 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
251 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
253 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_core.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_core)
257 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
259 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_core)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_core.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_core.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_core)
269 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
271 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_core._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_core._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_core.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_core)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_core.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_core)
329 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
331 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
332 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
334 _IMP_core.IMP_C_OPEN_BINARY_swigconstant(_IMP_core)
335 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
338 _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_core.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_core)
351 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
353 _IMP_core.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
354 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
357 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
375 _IMP_core.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_core)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
379 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
381 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
401 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
403 _IMP_core.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_core)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
406 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_core)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
439 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
441 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
442 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
444 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
445 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
447 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
448 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
450 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
451 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
453 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
454 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
456 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
457 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
459 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
460 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
462 _IMP_core.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_core)
463 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
465 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
466 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
468 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
469 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
470 __repr__ = _swig_repr
472 def __init__(self, *args):
474 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
475 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
477 this = _IMP_core.new__OpenCubicSplineBase(*args)
479 self.this.append(this)
483 def get_version_info(self):
484 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
485 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
487 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
488 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
491 _object_types.append(
"MonteCarloMover")
494 def _object_cast_to_MonteCarloMover(o):
495 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
496 return _IMP_core._object_cast_to_MonteCarloMover(o)
498 MonteCarloMoverResults=list
499 _plural_types.append(
"MonteCarloMoverResults")
500 _value_types.append(
"MonteCarloMoverResult")
503 _object_types.append(
"AngleRestraint")
506 def _object_cast_to_AngleRestraint(o):
507 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
508 return _IMP_core._object_cast_to_AngleRestraint(o)
510 _object_types.append(
"AngleTripletScore")
513 def _object_cast_to_AngleTripletScore(o):
514 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
515 return _IMP_core._object_cast_to_AngleTripletScore(o)
517 _object_types.append(
"AttributeSingletonScore")
520 def _object_cast_to_AttributeSingletonScore(o):
521 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
522 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
524 _object_types.append(
"BallMover")
527 def _object_cast_to_BallMover(o):
528 """_object_cast_to_BallMover(Object o) -> BallMover"""
529 return _IMP_core._object_cast_to_BallMover(o)
531 _object_types.append(
"SerialMover")
534 def _object_cast_to_SerialMover(o):
535 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
536 return _IMP_core._object_cast_to_SerialMover(o)
538 _object_types.append(
"SubsetMover")
541 def _object_cast_to_SubsetMover(o):
542 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
543 return _IMP_core._object_cast_to_SubsetMover(o)
545 _object_types.append(
"DirectionMover")
548 def _object_cast_to_DirectionMover(o):
549 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
550 return _IMP_core._object_cast_to_DirectionMover(o)
552 _object_types.append(
"SurfaceMover")
555 def _object_cast_to_SurfaceMover(o):
556 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
557 return _IMP_core._object_cast_to_SurfaceMover(o)
559 _object_types.append(
"BoundingBox3DSingletonScore")
562 def _object_cast_to_BoundingBox3DSingletonScore(o):
563 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
564 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
566 _object_types.append(
"BoundingSphere3DSingletonScore")
569 def _object_cast_to_BoundingSphere3DSingletonScore(o):
570 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
571 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
573 _object_types.append(
"BoxSweepClosePairsFinder")
576 def _object_cast_to_BoxSweepClosePairsFinder(o):
577 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
578 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
580 _object_types.append(
"NearestNeighborsClosePairsFinder")
583 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
584 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
585 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
587 _object_types.append(
"CentroidOfRefined")
590 def _object_cast_to_CentroidOfRefined(o):
591 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
592 return _IMP_core._object_cast_to_CentroidOfRefined(o)
594 _object_types.append(
"ChecksScoreState")
597 def _object_cast_to_ChecksScoreState(o):
598 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
599 return _IMP_core._object_cast_to_ChecksScoreState(o)
601 _object_types.append(
"ChildrenRefiner")
604 def _object_cast_to_ChildrenRefiner(o):
605 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
606 return _IMP_core._object_cast_to_ChildrenRefiner(o)
608 _object_types.append(
"ClosePairsFinder")
611 def _object_cast_to_ClosePairsFinder(o):
612 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
613 return _IMP_core._object_cast_to_ClosePairsFinder(o)
615 _object_types.append(
"ClosePairsPairScore")
618 def _object_cast_to_ClosePairsPairScore(o):
619 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
620 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
622 _object_types.append(
"ClosedCubicSpline")
625 def _object_cast_to_ClosedCubicSpline(o):
626 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
627 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
629 _object_types.append(
"ConjugateGradients")
632 def _object_cast_to_ConjugateGradients(o):
633 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
634 return _IMP_core._object_cast_to_ConjugateGradients(o)
636 _object_types.append(
"ConnectivityRestraint")
639 def _object_cast_to_ConnectivityRestraint(o):
640 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
641 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
643 _object_types.append(
"ConstantRestraint")
646 def _object_cast_to_ConstantRestraint(o):
647 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
648 return _IMP_core._object_cast_to_ConstantRestraint(o)
650 _object_types.append(
"Cosine")
653 def _object_cast_to_Cosine(o):
654 """_object_cast_to_Cosine(Object o) -> Cosine"""
655 return _IMP_core._object_cast_to_Cosine(o)
657 _object_types.append(
"CoverRefined")
660 def _object_cast_to_CoverRefined(o):
661 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
662 return _IMP_core._object_cast_to_CoverRefined(o)
664 _object_types.append(
"DerivativesFromRefined")
667 def _object_cast_to_DerivativesFromRefined(o):
668 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
669 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
671 _object_types.append(
"DerivativesToRefined")
674 def _object_cast_to_DerivativesToRefined(o):
675 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
676 return _IMP_core._object_cast_to_DerivativesToRefined(o)
678 _object_types.append(
"WeightedDerivativesToRefined")
681 def _object_cast_to_WeightedDerivativesToRefined(o):
682 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
683 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
685 _object_types.append(
"DiameterRestraint")
688 def _object_cast_to_DiameterRestraint(o):
689 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
690 return _IMP_core._object_cast_to_DiameterRestraint(o)
692 _object_types.append(
"DihedralRestraint")
695 def _object_cast_to_DihedralRestraint(o):
696 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
697 return _IMP_core._object_cast_to_DihedralRestraint(o)
699 _object_types.append(
"DistanceRestraint")
702 def _object_cast_to_DistanceRestraint(o):
703 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
704 return _IMP_core._object_cast_to_DistanceRestraint(o)
706 _object_types.append(
"DistanceToSingletonScore")
709 def _object_cast_to_DistanceToSingletonScore(o):
710 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
711 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
713 _object_types.append(
"ExcludedVolumeRestraint")
716 def _object_cast_to_ExcludedVolumeRestraint(o):
717 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
718 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
720 _object_types.append(
"FixedRefiner")
723 def _object_cast_to_FixedRefiner(o):
724 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
725 return _IMP_core._object_cast_to_FixedRefiner(o)
727 _object_types.append(
"GridClosePairsFinder")
730 def _object_cast_to_GridClosePairsFinder(o):
731 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
732 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
734 _object_types.append(
"Harmonic")
737 def _object_cast_to_Harmonic(o):
738 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
739 return _IMP_core._object_cast_to_Harmonic(o)
741 _object_types.append(
"HarmonicWell")
744 def _object_cast_to_HarmonicWell(o):
745 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
746 return _IMP_core._object_cast_to_HarmonicWell(o)
748 _object_types.append(
"HarmonicLowerBound")
751 def _object_cast_to_HarmonicLowerBound(o):
752 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
753 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
755 _object_types.append(
"HarmonicUpperBound")
758 def _object_cast_to_HarmonicUpperBound(o):
759 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
760 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
762 _object_types.append(
"HarmonicSphereDistancePairScore")
765 def _object_cast_to_HarmonicSphereDistancePairScore(o):
766 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
767 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
769 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
772 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
773 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
774 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
776 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
779 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
780 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
781 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
783 _object_types.append(
"HarmonicSurfaceDistancePairScore")
786 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
787 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
788 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
790 _object_types.append(
"HarmonicSurfaceHeightPairScore")
793 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
794 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
795 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
797 _object_types.append(
"HarmonicSurfaceDepthPairScore")
800 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
801 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
802 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
804 _object_types.append(
"WeightedSum")
807 def _object_cast_to_WeightedSum(o):
808 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
809 return _IMP_core._object_cast_to_WeightedSum(o)
811 _object_types.append(
"WeightedSumOfExponential")
814 def _object_cast_to_WeightedSumOfExponential(o):
815 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
816 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
818 _object_types.append(
"IncrementalScoringFunction")
821 def _object_cast_to_IncrementalScoringFunction(o):
822 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
823 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
825 _object_types.append(
"KClosePairsPairScore")
828 def _object_cast_to_KClosePairsPairScore(o):
829 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
830 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
832 _object_types.append(
"LeavesRefiner")
835 def _object_cast_to_LeavesRefiner(o):
836 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
837 return _IMP_core._object_cast_to_LeavesRefiner(o)
839 _object_types.append(
"Linear")
842 def _object_cast_to_Linear(o):
843 """_object_cast_to_Linear(Object o) -> Linear"""
844 return _IMP_core._object_cast_to_Linear(o)
846 _object_types.append(
"LogNormalMover")
849 def _object_cast_to_LogNormalMover(o):
850 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
851 return _IMP_core._object_cast_to_LogNormalMover(o)
853 _object_types.append(
"MCCGSampler")
856 def _object_cast_to_MCCGSampler(o):
857 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
858 return _IMP_core._object_cast_to_MCCGSampler(o)
860 _object_types.append(
"MonteCarlo")
863 def _object_cast_to_MonteCarlo(o):
864 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
865 return _IMP_core._object_cast_to_MonteCarlo(o)
867 _object_types.append(
"MonteCarloWithLocalOptimization")
870 def _object_cast_to_MonteCarloWithLocalOptimization(o):
871 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
872 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
874 _object_types.append(
"MonteCarloWithBasinHopping")
877 def _object_cast_to_MonteCarloWithBasinHopping(o):
878 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
879 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
881 _object_types.append(
"MSConnectivityRestraint")
884 def _object_cast_to_MSConnectivityRestraint(o):
885 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
886 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
888 _object_types.append(
"NeighborsTable")
891 def _object_cast_to_NeighborsTable(o):
892 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
893 return _IMP_core._object_cast_to_NeighborsTable(o)
895 _object_types.append(
"NormalMover")
898 def _object_cast_to_NormalMover(o):
899 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
900 return _IMP_core._object_cast_to_NormalMover(o)
902 _object_types.append(
"NormalizedSphereDistancePairScore")
905 def _object_cast_to_NormalizedSphereDistancePairScore(o):
906 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
907 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
909 _object_types.append(
"OpenCubicSpline")
912 def _object_cast_to_OpenCubicSpline(o):
913 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
914 return _IMP_core._object_cast_to_OpenCubicSpline(o)
916 _object_types.append(
"PairConstraint")
919 def _object_cast_to_PairConstraint(o):
920 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
921 return _IMP_core._object_cast_to_PairConstraint(o)
923 _object_types.append(
"PairRestraint")
926 def _object_cast_to_PairRestraint(o):
927 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
928 return _IMP_core._object_cast_to_PairRestraint(o)
930 _object_types.append(
"QuadConstraint")
933 def _object_cast_to_QuadConstraint(o):
934 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
935 return _IMP_core._object_cast_to_QuadConstraint(o)
937 _object_types.append(
"QuadRestraint")
940 def _object_cast_to_QuadRestraint(o):
941 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
942 return _IMP_core._object_cast_to_QuadRestraint(o)
944 _object_types.append(
"QuadraticClosePairsFinder")
947 def _object_cast_to_QuadraticClosePairsFinder(o):
948 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
949 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
951 _object_types.append(
"RefinedPairsPairScore")
954 def _object_cast_to_RefinedPairsPairScore(o):
955 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
956 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
958 _object_types.append(
"RestraintsScoringFunction")
961 def _object_cast_to_RestraintsScoringFunction(o):
962 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
963 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
965 _object_types.append(
"RigidBodyDistancePairScore")
968 def _object_cast_to_RigidBodyDistancePairScore(o):
969 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
970 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
972 _object_types.append(
"RigidBodyAnglePairScore")
975 def _object_cast_to_RigidBodyAnglePairScore(o):
976 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
977 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
979 _object_types.append(
"RigidBodyMover")
982 def _object_cast_to_RigidBodyMover(o):
983 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
984 return _IMP_core._object_cast_to_RigidBodyMover(o)
986 _object_types.append(
"RigidBodyTunneler")
989 def _object_cast_to_RigidBodyTunneler(o):
990 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
991 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
993 _object_types.append(
"RigidBodyUmbrella")
996 def _object_cast_to_RigidBodyUmbrella(o):
997 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
998 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
1000 _object_types.append(
"RigidClosePairsFinder")
1003 def _object_cast_to_RigidClosePairsFinder(o):
1004 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
1005 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
1007 _object_types.append(
"RigidMembersRefiner")
1010 def _object_cast_to_RigidMembersRefiner(o):
1011 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
1012 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
1014 _object_types.append(
"SingletonConstraint")
1017 def _object_cast_to_SingletonConstraint(o):
1018 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
1019 return _IMP_core._object_cast_to_SingletonConstraint(o)
1021 _object_types.append(
"SingletonRestraint")
1024 def _object_cast_to_SingletonRestraint(o):
1025 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
1026 return _IMP_core._object_cast_to_SingletonRestraint(o)
1028 _object_types.append(
"SoftSpherePairScore")
1031 def _object_cast_to_SoftSpherePairScore(o):
1032 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
1033 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
1035 _object_types.append(
"SphereDistancePairScore")
1038 def _object_cast_to_SphereDistancePairScore(o):
1039 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
1040 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
1042 _object_types.append(
"SphereDistanceToSingletonScore")
1045 def _object_cast_to_SphereDistanceToSingletonScore(o):
1046 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
1047 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
1049 _object_types.append(
"SoftSubSurfacePairScore")
1052 def _object_cast_to_SoftSubSurfacePairScore(o):
1053 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
1054 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
1056 _object_types.append(
"SoftSuperSurfacePairScore")
1059 def _object_cast_to_SoftSuperSurfacePairScore(o):
1060 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
1061 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
1063 _object_types.append(
"SurfaceDistancePairScore")
1066 def _object_cast_to_SurfaceDistancePairScore(o):
1067 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
1068 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
1070 _object_types.append(
"SurfaceHeightPairScore")
1073 def _object_cast_to_SurfaceHeightPairScore(o):
1074 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
1075 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
1077 _object_types.append(
"SurfaceDepthPairScore")
1080 def _object_cast_to_SurfaceDepthPairScore(o):
1081 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
1082 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
1084 _object_types.append(
"SurfaceTetheredChain")
1087 def _object_cast_to_SurfaceTetheredChain(o):
1088 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
1089 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
1091 _object_types.append(
"SurfaceSymmetryConstraint")
1094 def _object_cast_to_SurfaceSymmetryConstraint(o):
1095 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
1096 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
1098 _object_types.append(
"SteepestDescent")
1101 def _object_cast_to_SteepestDescent(o):
1102 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
1103 return _IMP_core._object_cast_to_SteepestDescent(o)
1105 _object_types.append(
"TableRefiner")
1108 def _object_cast_to_TableRefiner(o):
1109 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
1110 return _IMP_core._object_cast_to_TableRefiner(o)
1112 _object_types.append(
"Transform")
1115 def _object_cast_to_Transform(o):
1116 """_object_cast_to_Transform(Object o) -> Transform"""
1117 return _IMP_core._object_cast_to_Transform(o)
1119 _object_types.append(
"TransformationAndReflectionSymmetry")
1122 def _object_cast_to_TransformationAndReflectionSymmetry(o):
1123 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
1124 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
1126 _object_types.append(
"TransformationSymmetry")
1129 def _object_cast_to_TransformationSymmetry(o):
1130 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
1131 return _IMP_core._object_cast_to_TransformationSymmetry(o)
1133 _object_types.append(
"TransformationSymmetryMover")
1136 def _object_cast_to_TransformationSymmetryMover(o):
1137 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1138 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1140 _object_types.append(
"TransformedDistancePairScore")
1143 def _object_cast_to_TransformedDistancePairScore(o):
1144 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1145 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1147 _object_types.append(
"TripletConstraint")
1150 def _object_cast_to_TripletConstraint(o):
1151 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1152 return _IMP_core._object_cast_to_TripletConstraint(o)
1154 _object_types.append(
"TripletRestraint")
1157 def _object_cast_to_TripletRestraint(o):
1158 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1159 return _IMP_core._object_cast_to_TripletRestraint(o)
1161 _object_types.append(
"TypedPairScore")
1164 def _object_cast_to_TypedPairScore(o):
1165 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1166 return _IMP_core._object_cast_to_TypedPairScore(o)
1168 _object_types.append(
"VolumeRestraint")
1171 def _object_cast_to_VolumeRestraint(o):
1172 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1173 return _IMP_core._object_cast_to_VolumeRestraint(o)
1175 _object_types.append(
"WeightedSphereDistancePairScore")
1178 def _object_cast_to_WeightedSphereDistancePairScore(o):
1179 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1180 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1182 _object_types.append(
"MoveStatisticsScoreState")
1185 def _object_cast_to_MoveStatisticsScoreState(o):
1186 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1187 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1189 _object_types.append(
"MinimumRestraint")
1192 def _object_cast_to_MinimumRestraint(o):
1193 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1194 return _IMP_core._object_cast_to_MinimumRestraint(o)
1196 _object_types.append(
"WriteRestraintScoresOptimizerState")
1199 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1200 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1201 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1203 _object_types.append(
"LateralSurfaceConstraint")
1206 def _object_cast_to_LateralSurfaceConstraint(o):
1207 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1208 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1210 _object_types.append(
"ConstantSingletonPredicate")
1213 def _object_cast_to_ConstantSingletonPredicate(o):
1214 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1215 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1217 _object_types.append(
"ConstantPairPredicate")
1220 def _object_cast_to_ConstantPairPredicate(o):
1221 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1222 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1224 _object_types.append(
"ConstantTripletPredicate")
1227 def _object_cast_to_ConstantTripletPredicate(o):
1228 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1229 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1231 _object_types.append(
"ConstantQuadPredicate")
1234 def _object_cast_to_ConstantQuadPredicate(o):
1235 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1236 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1238 _object_types.append(
"CoinFlipSingletonPredicate")
1241 def _object_cast_to_CoinFlipSingletonPredicate(o):
1242 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1243 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1245 _object_types.append(
"CoinFlipPairPredicate")
1248 def _object_cast_to_CoinFlipPairPredicate(o):
1249 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1250 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1252 _object_types.append(
"CoinFlipTripletPredicate")
1255 def _object_cast_to_CoinFlipTripletPredicate(o):
1256 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1257 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1259 _object_types.append(
"CoinFlipQuadPredicate")
1262 def _object_cast_to_CoinFlipQuadPredicate(o):
1263 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1264 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1266 _object_types.append(
"UnorderedTypeSingletonPredicate")
1269 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1270 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1271 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1273 _object_types.append(
"UnorderedTypePairPredicate")
1276 def _object_cast_to_UnorderedTypePairPredicate(o):
1277 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1278 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1280 _object_types.append(
"UnorderedTypeTripletPredicate")
1283 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1284 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1285 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1287 _object_types.append(
"UnorderedTypeQuadPredicate")
1290 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1291 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1292 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1294 _object_types.append(
"OrderedTypeSingletonPredicate")
1297 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1298 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1299 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1301 _object_types.append(
"OrderedTypePairPredicate")
1304 def _object_cast_to_OrderedTypePairPredicate(o):
1305 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1306 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1308 _object_types.append(
"OrderedTypeTripletPredicate")
1311 def _object_cast_to_OrderedTypeTripletPredicate(o):
1312 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1313 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1315 _object_types.append(
"OrderedTypeQuadPredicate")
1318 def _object_cast_to_OrderedTypeQuadPredicate(o):
1319 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1320 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1322 _object_types.append(
"AllSameSingletonPredicate")
1325 def _object_cast_to_AllSameSingletonPredicate(o):
1326 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1327 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1329 _object_types.append(
"AllSamePairPredicate")
1332 def _object_cast_to_AllSamePairPredicate(o):
1333 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1334 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1336 _object_types.append(
"AllSameTripletPredicate")
1339 def _object_cast_to_AllSameTripletPredicate(o):
1340 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1341 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1343 _object_types.append(
"AllSameQuadPredicate")
1346 def _object_cast_to_AllSameQuadPredicate(o):
1347 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1348 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1351 return [XYZ(x)
for x
in l]
1352 _plural_types.append(
"XYZs")
1355 _value_types.append(
"XYZ")
1359 return [XYZR(x)
for x
in l]
1360 _plural_types.append(
"XYZRs")
1363 _value_types.append(
"XYZR")
1366 def RigidBodies(l=[]):
1367 return [RigidBody(x)
for x
in l]
1368 _plural_types.append(
"RigidBodies")
1371 _value_types.append(
"RigidBody")
1374 def RigidBodyMembers(l=[]):
1375 return [RigidBodyMember(x)
for x
in l]
1376 _plural_types.append(
"RigidBodyMembers")
1379 _value_types.append(
"RigidBodyMember")
1382 def RigidMembers(l=[]):
1383 return [RigidMember(x)
for x
in l]
1384 _plural_types.append(
"RigidMembers")
1387 _value_types.append(
"RigidMember")
1390 def NonRigidMembers(l=[]):
1391 return [NonRigidMember(x)
for x
in l]
1392 _plural_types.append(
"NonRigidMembers")
1395 _value_types.append(
"NonRigidMember")
1398 def Centroids(l=[]):
1399 return [Centroid(x)
for x
in l]
1400 _plural_types.append(
"Centroids")
1403 _value_types.append(
"Centroid")
1407 return [Cover(x)
for x
in l]
1408 _plural_types.append(
"Covers")
1411 _value_types.append(
"Cover")
1414 def References(l=[]):
1415 return [Reference(x)
for x
in l]
1416 _plural_types.append(
"References")
1419 _value_types.append(
"Reference")
1423 _plural_types.append(
"ParticleTypes")
1424 _value_types.append(
"ParticleType")
1428 return [Typed(x)
for x
in l]
1429 _plural_types.append(
"Typeds")
1432 _value_types.append(
"Typed")
1435 def GenericHierarchies(l=[]):
1436 return [Hierarchy(x)
for x
in l]
1437 _plural_types.append(
"GenericHierarchies")
1440 _value_types.append(
"Hierarchy")
1443 def Gaussians(l=[]):
1444 return [Gaussian(x)
for x
in l]
1445 _plural_types.append(
"Gaussians")
1448 _value_types.append(
"Gaussian")
1451 def Directions(l=[]):
1452 return [Direction(x)
for x
in l]
1453 _plural_types.append(
"Directions")
1456 _value_types.append(
"Direction")
1459 def DirectionAngles(l=[]):
1460 return [DirectionAngle(x)
for x
in l]
1461 _plural_types.append(
"DirectionAngles")
1464 _value_types.append(
"DirectionAngle")
1468 return [Surface(x)
for x
in l]
1469 _plural_types.append(
"Surfaces")
1472 _value_types.append(
"Surface")
1475 def Provenances(l=[]):
1476 return [Provenance(x)
for x
in l]
1477 _plural_types.append(
"Provenances")
1480 _value_types.append(
"Provenance")
1483 def StructureProvenances(l=[]):
1484 return [StructureProvenance(x)
for x
in l]
1485 _plural_types.append(
"StructureProvenances")
1488 _value_types.append(
"StructureProvenance")
1491 def SampleProvenances(l=[]):
1492 return [SampleProvenance(x)
for x
in l]
1493 _plural_types.append(
"SampleProvenances")
1496 _value_types.append(
"SampleProvenance")
1499 def ClusterProvenances(l=[]):
1500 return [ClusterProvenance(x)
for x
in l]
1501 _plural_types.append(
"ClusterProvenances")
1504 _value_types.append(
"ClusterProvenance")
1507 def CombineProvenances(l=[]):
1508 return [CombineProvenance(x)
for x
in l]
1509 _plural_types.append(
"CombineProvenances")
1512 _value_types.append(
"CombineProvenance")
1515 def FilterProvenances(l=[]):
1516 return [FilterProvenance(x)
for x
in l]
1517 _plural_types.append(
"FilterProvenances")
1520 _value_types.append(
"FilterProvenance")
1523 def ScriptProvenances(l=[]):
1524 return [ScriptProvenance(x)
for x
in l]
1525 _plural_types.append(
"ScriptProvenances")
1528 _value_types.append(
"ScriptProvenance")
1531 def SoftwareProvenances(l=[]):
1532 return [SoftwareProvenance(x)
for x
in l]
1533 _plural_types.append(
"SoftwareProvenances")
1536 _value_types.append(
"SoftwareProvenance")
1539 def Provenanceds(l=[]):
1540 return [Provenanced(x)
for x
in l]
1541 _plural_types.append(
"Provenanceds")
1544 _value_types.append(
"Provenanced")
1547 HierarchyCounters=list
1548 _plural_types.append(
"HierarchyCounters")
1549 _value_types.append(
"HierarchyCounter")
1552 HierarchyTraitsList=list
1553 _plural_types.append(
"HierarchyTraitsList")
1554 _value_types.append(
"HierarchyTraits")
1557 _object_types.append(
"TruncatedHarmonicBound")
1560 def _object_cast_to_TruncatedHarmonicBound(o):
1561 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1562 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1564 _object_types.append(
"TruncatedHarmonicLowerBound")
1567 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1568 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1569 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1571 _object_types.append(
"TruncatedHarmonicUpperBound")
1574 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1575 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1576 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1578 _object_types.append(
"HarmonicDistancePairScore")
1581 def _object_cast_to_HarmonicDistancePairScore(o):
1582 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1583 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1585 _object_types.append(
"DistancePairScore")
1588 def _object_cast_to_DistancePairScore(o):
1589 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1590 return _IMP_core._object_cast_to_DistancePairScore(o)
1592 _object_types.append(
"XYZRGeometry")
1595 def _object_cast_to_XYZRGeometry(o):
1596 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1597 return _IMP_core._object_cast_to_XYZRGeometry(o)
1599 _object_types.append(
"XYZRsGeometry")
1602 def _object_cast_to_XYZRsGeometry(o):
1603 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1604 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1606 _object_types.append(
"XYZDerivativeGeometry")
1609 def _object_cast_to_XYZDerivativeGeometry(o):
1610 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1611 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1613 _object_types.append(
"XYZDerivativesGeometry")
1616 def _object_cast_to_XYZDerivativesGeometry(o):
1617 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1618 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1620 _object_types.append(
"RigidBodyDerivativeGeometry")
1623 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1624 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1625 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1627 _object_types.append(
"RigidBodyDerivativesGeometry")
1630 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1631 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1632 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1634 _object_types.append(
"RigidBodyHierarchyGeometry")
1637 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1638 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1639 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1641 _object_types.append(
"RigidBodyFrameGeometry")
1644 def _object_cast_to_RigidBodyFrameGeometry(o):
1645 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1646 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1648 _object_types.append(
"RigidBodyFramesGeometry")
1651 def _object_cast_to_RigidBodyFramesGeometry(o):
1652 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1653 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1655 _object_types.append(
"RigidBodyTorque")
1658 def _object_cast_to_RigidBodyTorque(o):
1659 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1660 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1662 _object_types.append(
"EdgePairGeometry")
1665 def _object_cast_to_EdgePairGeometry(o):
1666 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1667 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1669 _object_types.append(
"EdgePairsGeometry")
1672 def _object_cast_to_EdgePairsGeometry(o):
1673 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1674 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1676 _object_types.append(
"SurfaceGeometry")
1679 def _object_cast_to_SurfaceGeometry(o):
1680 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1681 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1683 _object_types.append(
"SurfaceGeometryConstraint")
1686 def _object_cast_to_SurfaceGeometryConstraint(o):
1687 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1688 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1690 _object_types.append(
"AttributeSingletonPredicate")
1693 def _object_cast_to_AttributeSingletonPredicate(o):
1694 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1695 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1697 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1700 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1701 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1702 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1704 _object_types.append(
"IsCollisionPairPredicate")
1707 def _object_cast_to_IsCollisionPairPredicate(o):
1708 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1709 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1711 BinormalTermList=list
1712 _plural_types.append(
"BinormalTermList")
1713 _value_types.append(
"BinormalTerm")
1716 _object_types.append(
"MultipleBinormalRestraint")
1719 def _object_cast_to_MultipleBinormalRestraint(o):
1720 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1721 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1722 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1723 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1726 def __init__(self, *args, **kwargs):
1727 raise AttributeError(
"No constructor defined - class is abstract")
1728 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1729 __del__ =
lambda self:
None
1731 def get_close_pairs(self, *args):
1733 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1734 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1735 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1736 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1738 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1741 def set_distance(self, d):
1742 """set_distance(ClosePairsFinder self, double d)"""
1743 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1747 """get_distance(ClosePairsFinder self) -> double"""
1748 return _IMP_core.ClosePairsFinder_get_distance(self)
1751 def remove_pair_filter(self, d):
1752 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1753 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1756 def remove_pair_filters(self, d):
1757 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1758 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1761 def set_pair_filters(self, ps):
1762 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1763 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1766 def set_pair_filters_order(self, objs):
1767 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1768 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1771 def add_pair_filter(self, obj):
1772 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1773 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1776 def add_pair_filters(self, objs):
1777 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1778 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1781 def clear_pair_filters(self):
1782 """clear_pair_filters(ClosePairsFinder self)"""
1783 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1786 def get_number_of_pair_filters(self):
1787 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1788 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1791 def get_has_pair_filters(self):
1792 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1793 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1796 def get_pair_filter(self, i):
1797 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1798 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1801 def get_pair_filters(self):
1802 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1803 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1806 def reserve_pair_filters(self, sz):
1807 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1808 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1812 """__str__(ClosePairsFinder self) -> std::string"""
1813 return _IMP_core.ClosePairsFinder___str__(self)
1817 """__repr__(ClosePairsFinder self) -> std::string"""
1818 return _IMP_core.ClosePairsFinder___repr__(self)
1823 return _object_cast_to_ClosePairsFinder(o)
1825 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1826 ClosePairsFinder_swigregister(ClosePairsFinder)
1828 class MonteCarloMoverResult(IMP._Value):
1829 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1830 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1832 def __init__(self, *args):
1834 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1835 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1836 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1838 this = _IMP_core.new_MonteCarloMoverResult(*args)
1840 self.this.append(this)
1845 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1846 return _IMP_core.MonteCarloMoverResult___hash__(self)
1849 def show(self, *args):
1851 show(MonteCarloMoverResult self, _ostream out)
1852 show(MonteCarloMoverResult self)
1854 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1857 def __cmp__(self, o):
1858 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1859 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1862 def __eq__(self, o):
1863 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1864 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1867 def __ne__(self, o):
1868 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1869 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1872 def __lt__(self, o):
1873 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1874 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1877 def __gt__(self, o):
1878 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1879 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1882 def __ge__(self, o):
1883 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1884 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1887 def __le__(self, o):
1888 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1889 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1892 def get_moved_particles(self):
1893 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1894 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1897 def set_moved_particles(self, v):
1898 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1899 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1902 def get_proposal_ratio(self):
1903 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1904 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1907 def set_proposal_ratio(self, v):
1908 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1909 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1913 """__str__(MonteCarloMoverResult self) -> std::string"""
1914 return _IMP_core.MonteCarloMoverResult___str__(self)
1918 """__repr__(MonteCarloMoverResult self) -> std::string"""
1919 return _IMP_core.MonteCarloMoverResult___repr__(self)
1921 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1922 __del__ =
lambda self:
None
1923 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1924 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1927 """Proxy of C++ IMP::core::MonteCarloMover class"""
1928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1930 def __init__(self, m, name):
1931 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1932 if self.__class__ == MonteCarloMover:
1936 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1938 self.this.append(this)
1942 if self.__class__ != MonteCarloMover:
1943 _director_objects.register(self)
1949 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1950 return _IMP_core.MonteCarloMover_propose(self)
1954 """reject(MonteCarloMover self)"""
1955 return _IMP_core.MonteCarloMover_reject(self)
1959 """accept(MonteCarloMover self)"""
1960 return _IMP_core.MonteCarloMover_accept(self)
1963 def get_number_of_proposed(self):
1964 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1965 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1968 def get_number_of_accepted(self):
1969 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1970 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1973 def reset_statistics(self):
1974 """reset_statistics(MonteCarloMover self)"""
1975 return _IMP_core.MonteCarloMover_reset_statistics(self)
1978 def do_propose(self):
1979 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1980 return _IMP_core.MonteCarloMover_do_propose(self)
1983 def do_reject(self):
1984 """do_reject(MonteCarloMover self)"""
1985 return _IMP_core.MonteCarloMover_do_reject(self)
1988 def do_accept(self):
1989 """do_accept(MonteCarloMover self)"""
1990 return _IMP_core.MonteCarloMover_do_accept(self)
1993 def do_get_outputs(self):
1994 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1995 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1999 """__str__(MonteCarloMover self) -> std::string"""
2000 return _IMP_core.MonteCarloMover___str__(self)
2004 """__repr__(MonteCarloMover self) -> std::string"""
2005 return _IMP_core.MonteCarloMover___repr__(self)
2010 return _object_cast_to_MonteCarloMover(o)
2013 def get_type_name(self):
2014 return self.__class__.__name__
2015 def do_show(self, out):
2017 def get_version_info(self):
2018 if"IMP::core" ==
"IMP":
2019 return VersionInfo(self.__module__,
2026 return _object_cast_to_MonteCarloMover(o)
2028 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
2029 __del__ =
lambda self:
None
2030 def __disown__(self):
2032 _IMP_core.disown_MonteCarloMover(self)
2033 return weakref_proxy(self)
2035 def do_destroy(self):
2036 """do_destroy(MonteCarloMover self)"""
2037 return _IMP_core.MonteCarloMover_do_destroy(self)
2040 def handle_set_has_required_score_states(self, arg0):
2041 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
2042 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
2045 def do_get_inputs(self):
2046 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
2047 return _IMP_core.MonteCarloMover_do_get_inputs(self)
2050 def do_get_interactions(self):
2051 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
2052 return _IMP_core.MonteCarloMover_do_get_interactions(self)
2054 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
2055 MonteCarloMover_swigregister(MonteCarloMover)
2058 """Proxy of C++ IMP::core::XYZ class"""
2059 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2061 def get_coordinate_key(i):
2062 """get_coordinate_key(unsigned int i) -> FloatKey"""
2063 return _IMP_core.XYZ_get_coordinate_key(i)
2065 get_coordinate_key = staticmethod(get_coordinate_key)
2067 def __init__(self, *args):
2069 __init__(IMP::core::XYZ self) -> XYZ
2070 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
2071 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
2073 this = _IMP_core.new_XYZ(*args)
2075 self.this.append(this)
2079 def show(self, *args):
2081 show(XYZ self, _ostream out)
2084 return _IMP_core.XYZ_show(self, *args)
2087 def setup_particle(*args):
2089 setup_particle(Model m, ParticleIndex pi) -> XYZ
2090 setup_particle(_ParticleAdaptor decorator) -> XYZ
2091 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2092 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2094 return _IMP_core.XYZ_setup_particle(*args)
2096 setup_particle = staticmethod(setup_particle)
2099 """get_x(XYZ self) -> IMP::Float"""
2100 return _IMP_core.XYZ_get_x(self)
2104 """set_x(XYZ self, IMP::Float t)"""
2105 return _IMP_core.XYZ_set_x(self, t)
2109 """get_y(XYZ self) -> IMP::Float"""
2110 return _IMP_core.XYZ_get_y(self)
2114 """set_y(XYZ self, IMP::Float t)"""
2115 return _IMP_core.XYZ_set_y(self, t)
2119 """get_z(XYZ self) -> IMP::Float"""
2120 return _IMP_core.XYZ_get_z(self)
2124 """set_z(XYZ self, IMP::Float t)"""
2125 return _IMP_core.XYZ_set_z(self, t)
2128 def set_coordinate(self, i, v):
2129 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
2130 return _IMP_core.XYZ_set_coordinate(self, i, v)
2133 def set_coordinates(self, v):
2134 """set_coordinates(XYZ self, Vector3D v)"""
2135 return _IMP_core.XYZ_set_coordinates(self, v)
2138 def get_coordinate(self, i):
2139 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2140 return _IMP_core.XYZ_get_coordinate(self, i)
2143 def add_to_derivatives(self, v, d):
2144 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2145 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2148 def get_coordinates_are_optimized(self):
2149 """get_coordinates_are_optimized(XYZ self) -> bool"""
2150 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2153 def set_coordinates_are_optimized(self, tf):
2154 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2155 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2158 def get_vector_to(self, b):
2159 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2160 return _IMP_core.XYZ_get_vector_to(self, b)
2163 def get_coordinates(self):
2164 """get_coordinates(XYZ self) -> Vector3D"""
2165 return _IMP_core.XYZ_get_coordinates(self)
2168 def get_derivatives(self):
2169 """get_derivatives(XYZ self) -> Vector3D"""
2170 return _IMP_core.XYZ_get_derivatives(self)
2173 def get_is_setup(*args):
2175 get_is_setup(_ParticleAdaptor p) -> bool
2176 get_is_setup(Model m, ParticleIndex pi) -> bool
2178 return _IMP_core.XYZ_get_is_setup(*args)
2180 get_is_setup = staticmethod(get_is_setup)
2183 """get_xyz_keys() -> IMP::FloatKeys const &"""
2184 return _IMP_core.XYZ_get_xyz_keys()
2186 get_xyz_keys = staticmethod(get_xyz_keys)
2188 def add_attribute(self, *args):
2190 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2191 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2192 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2193 add_attribute(XYZ self, FloatsKey a0, IMP::Floats a1)
2194 add_attribute(XYZ self, IntsKey a0, IMP::Ints a1)
2195 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2196 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2197 add_attribute(XYZ self, ObjectKey a0, Object a1)
2199 return _IMP_core.XYZ_add_attribute(self, *args)
2202 def get_value(self, *args):
2204 get_value(XYZ self, FloatKey a0) -> IMP::Float
2205 get_value(XYZ self, IntKey a0) -> IMP::Int
2206 get_value(XYZ self, FloatsKey a0) -> IMP::Floats
2207 get_value(XYZ self, IntsKey a0) -> IMP::Ints
2208 get_value(XYZ self, StringKey a0) -> IMP::String
2209 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2210 get_value(XYZ self, ObjectKey a0) -> Object
2212 return _IMP_core.XYZ_get_value(self, *args)
2215 def set_value(self, *args):
2217 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2218 set_value(XYZ self, IntKey a0, IMP::Int a1)
2219 set_value(XYZ self, FloatsKey a0, IMP::Floats a1)
2220 set_value(XYZ self, IntsKey a0, IMP::Ints a1)
2221 set_value(XYZ self, StringKey a0, IMP::String a1)
2222 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2223 set_value(XYZ self, ObjectKey a0, Object a1)
2225 return _IMP_core.XYZ_set_value(self, *args)
2228 def remove_attribute(self, *args):
2230 remove_attribute(XYZ self, FloatKey a0)
2231 remove_attribute(XYZ self, IntKey a0)
2232 remove_attribute(XYZ self, FloatsKey a0)
2233 remove_attribute(XYZ self, IntsKey a0)
2234 remove_attribute(XYZ self, StringKey a0)
2235 remove_attribute(XYZ self, ParticleIndexKey a0)
2236 remove_attribute(XYZ self, ObjectKey a0)
2238 return _IMP_core.XYZ_remove_attribute(self, *args)
2241 def has_attribute(self, *args):
2243 has_attribute(XYZ self, FloatKey a0) -> bool
2244 has_attribute(XYZ self, IntKey a0) -> bool
2245 has_attribute(XYZ self, FloatsKey a0) -> bool
2246 has_attribute(XYZ self, IntsKey a0) -> bool
2247 has_attribute(XYZ self, StringKey a0) -> bool
2248 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2249 has_attribute(XYZ self, ObjectKey a0) -> bool
2251 return _IMP_core.XYZ_has_attribute(self, *args)
2254 def get_derivative(self, *args):
2256 get_derivative(XYZ self, int i) -> IMP::Float
2257 get_derivative(XYZ self, FloatKey a0) -> double
2259 return _IMP_core.XYZ_get_derivative(self, *args)
2263 """get_name(XYZ self) -> std::string"""
2264 return _IMP_core.XYZ_get_name(self)
2267 def clear_caches(self):
2268 """clear_caches(XYZ self)"""
2269 return _IMP_core.XYZ_clear_caches(self)
2272 def set_name(self, a0):
2273 """set_name(XYZ self, std::string a0)"""
2274 return _IMP_core.XYZ_set_name(self, a0)
2278 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2279 return _IMP_core.XYZ_set_check_level(self, a0)
2282 def add_to_derivative(self, *args):
2284 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2285 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2287 return _IMP_core.XYZ_add_to_derivative(self, *args)
2290 def set_is_optimized(self, a0, a1):
2291 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2292 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2295 def get_is_optimized(self, a0):
2296 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2297 return _IMP_core.XYZ_get_is_optimized(self, a0)
2301 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2302 return _IMP_core.XYZ_get_check_level(self)
2305 def __eq__(self, *args):
2307 __eq__(XYZ self, XYZ o) -> bool
2308 __eq__(XYZ self, Particle d) -> bool
2310 return _IMP_core.XYZ___eq__(self, *args)
2313 def __ne__(self, *args):
2315 __ne__(XYZ self, XYZ o) -> bool
2316 __ne__(XYZ self, Particle d) -> bool
2318 return _IMP_core.XYZ___ne__(self, *args)
2321 def __le__(self, *args):
2323 __le__(XYZ self, XYZ o) -> bool
2324 __le__(XYZ self, Particle d) -> bool
2326 return _IMP_core.XYZ___le__(self, *args)
2329 def __lt__(self, *args):
2331 __lt__(XYZ self, XYZ o) -> bool
2332 __lt__(XYZ self, Particle d) -> bool
2334 return _IMP_core.XYZ___lt__(self, *args)
2337 def __ge__(self, *args):
2339 __ge__(XYZ self, XYZ o) -> bool
2340 __ge__(XYZ self, Particle d) -> bool
2342 return _IMP_core.XYZ___ge__(self, *args)
2345 def __gt__(self, *args):
2347 __gt__(XYZ self, XYZ o) -> bool
2348 __gt__(XYZ self, Particle d) -> bool
2350 return _IMP_core.XYZ___gt__(self, *args)
2354 """__hash__(XYZ self) -> std::size_t"""
2355 return _IMP_core.XYZ___hash__(self)
2359 """__str__(XYZ self) -> std::string"""
2360 return _IMP_core.XYZ___str__(self)
2364 """__repr__(XYZ self) -> std::string"""
2365 return _IMP_core.XYZ___repr__(self)
2367 __swig_destroy__ = _IMP_core.delete_XYZ
2368 __del__ =
lambda self:
None
2369 XYZ_swigregister = _IMP_core.XYZ_swigregister
2370 XYZ_swigregister(XYZ)
2372 def XYZ_get_coordinate_key(i):
2373 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2374 return _IMP_core.XYZ_get_coordinate_key(i)
2376 def XYZ_setup_particle(*args):
2378 setup_particle(Model m, ParticleIndex pi) -> XYZ
2379 setup_particle(_ParticleAdaptor decorator) -> XYZ
2380 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2381 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2383 return _IMP_core.XYZ_setup_particle(*args)
2385 def XYZ_get_is_setup(*args):
2387 get_is_setup(_ParticleAdaptor p) -> bool
2388 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2390 return _IMP_core.XYZ_get_is_setup(*args)
2392 def XYZ_get_xyz_keys():
2393 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2394 return _IMP_core.XYZ_get_xyz_keys()
2398 """set_vector_geometry(XYZ d, Vector3D v)"""
2399 return _IMP_core.set_vector_geometry(d, v)
2402 """get_vector_geometry(XYZ d) -> Vector3D"""
2403 return _IMP_core.get_vector_geometry(d)
2406 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2407 return _IMP_core.get_dihedral(a, b, c, d)
2409 """Proxy of C++ IMP::core::XYZR class"""
2410 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2412 def __init__(self, *args):
2414 __init__(IMP::core::XYZR self) -> XYZR
2415 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2416 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2418 this = _IMP_core.new_XYZR(*args)
2420 self.this.append(this)
2424 def show(self, *args):
2426 show(XYZR self, _ostream out)
2429 return _IMP_core.XYZR_show(self, *args)
2432 def setup_particle(*args):
2434 setup_particle(Model m, ParticleIndex pi) -> XYZR
2435 setup_particle(_ParticleAdaptor decorator) -> XYZR
2436 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2437 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2438 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2439 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2441 return _IMP_core.XYZR_setup_particle(*args)
2443 setup_particle = staticmethod(setup_particle)
2445 def get_is_setup(*args):
2447 get_is_setup(_ParticleAdaptor p) -> bool
2448 get_is_setup(Model m, ParticleIndex pi) -> bool
2450 return _IMP_core.XYZR_get_is_setup(*args)
2452 get_is_setup = staticmethod(get_is_setup)
2454 def get_radius(self):
2455 """get_radius(XYZR self) -> double"""
2456 return _IMP_core.XYZR_get_radius(self)
2459 def set_radius(self, r):
2460 """set_radius(XYZR self, double r)"""
2461 return _IMP_core.XYZR_set_radius(self, r)
2464 def get_sphere(self):
2465 """get_sphere(XYZR self) -> Sphere3D"""
2466 return _IMP_core.XYZR_get_sphere(self)
2469 def set_sphere(self, s):
2470 """set_sphere(XYZR self, Sphere3D s)"""
2471 return _IMP_core.XYZR_set_sphere(self, s)
2474 def get_radius_key():
2475 """get_radius_key() -> FloatKey"""
2476 return _IMP_core.XYZR_get_radius_key()
2478 get_radius_key = staticmethod(get_radius_key)
2480 def add_to_radius_derivative(self, v, d):
2481 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2482 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2485 def add_attribute(self, *args):
2487 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2488 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2489 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2490 add_attribute(XYZR self, FloatsKey a0, IMP::Floats a1)
2491 add_attribute(XYZR self, IntsKey a0, IMP::Ints a1)
2492 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2493 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2494 add_attribute(XYZR self, ObjectKey a0, Object a1)
2496 return _IMP_core.XYZR_add_attribute(self, *args)
2499 def get_value(self, *args):
2501 get_value(XYZR self, FloatKey a0) -> IMP::Float
2502 get_value(XYZR self, IntKey a0) -> IMP::Int
2503 get_value(XYZR self, FloatsKey a0) -> IMP::Floats
2504 get_value(XYZR self, IntsKey a0) -> IMP::Ints
2505 get_value(XYZR self, StringKey a0) -> IMP::String
2506 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2507 get_value(XYZR self, ObjectKey a0) -> Object
2509 return _IMP_core.XYZR_get_value(self, *args)
2512 def set_value(self, *args):
2514 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2515 set_value(XYZR self, IntKey a0, IMP::Int a1)
2516 set_value(XYZR self, FloatsKey a0, IMP::Floats a1)
2517 set_value(XYZR self, IntsKey a0, IMP::Ints a1)
2518 set_value(XYZR self, StringKey a0, IMP::String a1)
2519 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2520 set_value(XYZR self, ObjectKey a0, Object a1)
2522 return _IMP_core.XYZR_set_value(self, *args)
2525 def remove_attribute(self, *args):
2527 remove_attribute(XYZR self, FloatKey a0)
2528 remove_attribute(XYZR self, IntKey a0)
2529 remove_attribute(XYZR self, FloatsKey a0)
2530 remove_attribute(XYZR self, IntsKey a0)
2531 remove_attribute(XYZR self, StringKey a0)
2532 remove_attribute(XYZR self, ParticleIndexKey a0)
2533 remove_attribute(XYZR self, ObjectKey a0)
2535 return _IMP_core.XYZR_remove_attribute(self, *args)
2538 def has_attribute(self, *args):
2540 has_attribute(XYZR self, FloatKey a0) -> bool
2541 has_attribute(XYZR self, IntKey a0) -> bool
2542 has_attribute(XYZR self, FloatsKey a0) -> bool
2543 has_attribute(XYZR self, IntsKey a0) -> bool
2544 has_attribute(XYZR self, StringKey a0) -> bool
2545 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2546 has_attribute(XYZR self, ObjectKey a0) -> bool
2548 return _IMP_core.XYZR_has_attribute(self, *args)
2551 def get_derivative(self, a0):
2552 """get_derivative(XYZR self, FloatKey a0) -> double"""
2553 return _IMP_core.XYZR_get_derivative(self, a0)
2557 """get_name(XYZR self) -> std::string"""
2558 return _IMP_core.XYZR_get_name(self)
2561 def clear_caches(self):
2562 """clear_caches(XYZR self)"""
2563 return _IMP_core.XYZR_clear_caches(self)
2566 def set_name(self, a0):
2567 """set_name(XYZR self, std::string a0)"""
2568 return _IMP_core.XYZR_set_name(self, a0)
2572 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2573 return _IMP_core.XYZR_set_check_level(self, a0)
2576 def add_to_derivative(self, a0, a1, a2):
2577 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2578 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2581 def set_is_optimized(self, a0, a1):
2582 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2583 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2586 def get_is_optimized(self, a0):
2587 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2588 return _IMP_core.XYZR_get_is_optimized(self, a0)
2592 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2593 return _IMP_core.XYZR_get_check_level(self)
2596 def __eq__(self, *args):
2598 __eq__(XYZR self, XYZR o) -> bool
2599 __eq__(XYZR self, Particle d) -> bool
2601 return _IMP_core.XYZR___eq__(self, *args)
2604 def __ne__(self, *args):
2606 __ne__(XYZR self, XYZR o) -> bool
2607 __ne__(XYZR self, Particle d) -> bool
2609 return _IMP_core.XYZR___ne__(self, *args)
2612 def __le__(self, *args):
2614 __le__(XYZR self, XYZR o) -> bool
2615 __le__(XYZR self, Particle d) -> bool
2617 return _IMP_core.XYZR___le__(self, *args)
2620 def __lt__(self, *args):
2622 __lt__(XYZR self, XYZR o) -> bool
2623 __lt__(XYZR self, Particle d) -> bool
2625 return _IMP_core.XYZR___lt__(self, *args)
2628 def __ge__(self, *args):
2630 __ge__(XYZR self, XYZR o) -> bool
2631 __ge__(XYZR self, Particle d) -> bool
2633 return _IMP_core.XYZR___ge__(self, *args)
2636 def __gt__(self, *args):
2638 __gt__(XYZR self, XYZR o) -> bool
2639 __gt__(XYZR self, Particle d) -> bool
2641 return _IMP_core.XYZR___gt__(self, *args)
2645 """__hash__(XYZR self) -> std::size_t"""
2646 return _IMP_core.XYZR___hash__(self)
2650 """__str__(XYZR self) -> std::string"""
2651 return _IMP_core.XYZR___str__(self)
2655 """__repr__(XYZR self) -> std::string"""
2656 return _IMP_core.XYZR___repr__(self)
2658 __swig_destroy__ = _IMP_core.delete_XYZR
2659 __del__ =
lambda self:
None
2660 XYZR_swigregister = _IMP_core.XYZR_swigregister
2661 XYZR_swigregister(XYZR)
2663 def XYZR_setup_particle(*args):
2665 setup_particle(Model m, ParticleIndex pi) -> XYZR
2666 setup_particle(_ParticleAdaptor decorator) -> XYZR
2667 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2668 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2669 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2670 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2672 return _IMP_core.XYZR_setup_particle(*args)
2674 def XYZR_get_is_setup(*args):
2676 get_is_setup(_ParticleAdaptor p) -> bool
2677 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2679 return _IMP_core.XYZR_get_is_setup(*args)
2681 def XYZR_get_radius_key():
2682 """XYZR_get_radius_key() -> FloatKey"""
2683 return _IMP_core.XYZR_get_radius_key()
2688 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2689 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2691 return _IMP_core.set_enclosing_sphere(b, v, slack)
2694 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2695 return _IMP_core.set_enclosing_radius(b, v)
2698 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2699 return _IMP_core.get_enclosing_sphere(v)
2703 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2704 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2706 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2708 """Proxy of C++ IMP::core::XYZRGeometry class"""
2709 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2711 def __init__(self, *args):
2713 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2714 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2716 this = _IMP_core.new_XYZRGeometry(*args)
2718 self.this.append(this)
2722 def get_version_info(self):
2723 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2724 return _IMP_core.XYZRGeometry_get_version_info(self)
2728 """__str__(XYZRGeometry self) -> std::string"""
2729 return _IMP_core.XYZRGeometry___str__(self)
2733 """__repr__(XYZRGeometry self) -> std::string"""
2734 return _IMP_core.XYZRGeometry___repr__(self)
2739 return _object_cast_to_XYZRGeometry(o)
2741 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2742 XYZRGeometry_swigregister(XYZRGeometry)
2745 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2748 def __init__(self, sc):
2749 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2750 this = _IMP_core.new_XYZRsGeometry(sc)
2752 self.this.append(this)
2756 def get_version_info(self):
2757 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2758 return _IMP_core.XYZRsGeometry_get_version_info(self)
2762 """__str__(XYZRsGeometry self) -> std::string"""
2763 return _IMP_core.XYZRsGeometry___str__(self)
2767 """__repr__(XYZRsGeometry self) -> std::string"""
2768 return _IMP_core.XYZRsGeometry___repr__(self)
2773 return _object_cast_to_XYZRsGeometry(o)
2775 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2776 XYZRsGeometry_swigregister(XYZRsGeometry)
2779 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2782 def __init__(self, *args):
2784 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2785 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2787 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2789 self.this.append(this)
2793 def get_version_info(self):
2794 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2795 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2799 """__str__(XYZDerivativeGeometry self) -> std::string"""
2800 return _IMP_core.XYZDerivativeGeometry___str__(self)
2804 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2805 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2810 return _object_cast_to_XYZDerivativeGeometry(o)
2812 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2813 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2816 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2817 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2819 def __init__(self, sc):
2820 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2821 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2823 self.this.append(this)
2827 def get_version_info(self):
2828 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2829 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2833 """__str__(XYZDerivativesGeometry self) -> std::string"""
2834 return _IMP_core.XYZDerivativesGeometry___str__(self)
2838 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2839 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2844 return _object_cast_to_XYZDerivativesGeometry(o)
2846 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2847 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2850 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2853 def __init__(self, pp):
2854 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2855 this = _IMP_core.new_EdgePairGeometry(pp)
2857 self.this.append(this)
2861 def get_version_info(self):
2862 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2863 return _IMP_core.EdgePairGeometry_get_version_info(self)
2867 """__str__(EdgePairGeometry self) -> std::string"""
2868 return _IMP_core.EdgePairGeometry___str__(self)
2872 """__repr__(EdgePairGeometry self) -> std::string"""
2873 return _IMP_core.EdgePairGeometry___repr__(self)
2878 return _object_cast_to_EdgePairGeometry(o)
2880 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2881 EdgePairGeometry_swigregister(EdgePairGeometry)
2884 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2885 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2887 def __init__(self, sc):
2888 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2889 this = _IMP_core.new_EdgePairsGeometry(sc)
2891 self.this.append(this)
2895 def get_version_info(self):
2896 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2897 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2901 """__str__(EdgePairsGeometry self) -> std::string"""
2902 return _IMP_core.EdgePairsGeometry___str__(self)
2906 """__repr__(EdgePairsGeometry self) -> std::string"""
2907 return _IMP_core.EdgePairsGeometry___repr__(self)
2912 return _object_cast_to_EdgePairsGeometry(o)
2914 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2915 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2918 """Proxy of C++ IMP::core::Direction class"""
2919 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2921 def do_setup_particle(m, pi, v):
2922 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2923 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2925 do_setup_particle = staticmethod(do_setup_particle)
2927 def __init__(self, *args):
2929 __init__(IMP::core::Direction self) -> Direction
2930 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2931 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2933 this = _IMP_core.new_Direction(*args)
2935 self.this.append(this)
2939 def show(self, *args):
2941 show(Direction self, _ostream out)
2942 show(Direction self)
2944 return _IMP_core.Direction_show(self, *args)
2947 def setup_particle(*args):
2949 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2950 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2952 return _IMP_core.Direction_setup_particle(*args)
2954 setup_particle = staticmethod(setup_particle)
2956 def get_is_setup(*args):
2958 get_is_setup(_ParticleAdaptor p) -> bool
2959 get_is_setup(Model m, ParticleIndex pi) -> bool
2961 return _IMP_core.Direction_get_is_setup(*args)
2963 get_is_setup = staticmethod(get_is_setup)
2965 def get_direction_key(i):
2966 """get_direction_key(unsigned int i) -> FloatKey"""
2967 return _IMP_core.Direction_get_direction_key(i)
2969 get_direction_key = staticmethod(get_direction_key)
2971 def get_direction_derivative(self, i):
2972 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2973 return _IMP_core.Direction_get_direction_derivative(self, i)
2976 def get_direction_derivatives(self):
2977 """get_direction_derivatives(Direction self) -> Vector3D"""
2978 return _IMP_core.Direction_get_direction_derivatives(self)
2981 def add_to_direction_derivative(self, i, v, d):
2982 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2983 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2986 def add_to_direction_derivatives(self, v, d):
2987 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2988 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2991 def get_direction_is_optimized(self):
2992 """get_direction_is_optimized(Direction self) -> bool"""
2993 return _IMP_core.Direction_get_direction_is_optimized(self)
2996 def set_direction_is_optimized(self, tf):
2997 """set_direction_is_optimized(Direction self, bool tf)"""
2998 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
3001 def get_direction(self):
3002 """get_direction(Direction self) -> Vector3D"""
3003 return _IMP_core.Direction_get_direction(self)
3006 def set_direction(self, v):
3007 """set_direction(Direction self, Vector3D v)"""
3008 return _IMP_core.Direction_set_direction(self, v)
3012 """reflect(Direction self)"""
3013 return _IMP_core.Direction_reflect(self)
3016 def add_attribute(self, *args):
3018 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
3019 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
3020 add_attribute(Direction self, IntKey a0, IMP::Int a1)
3021 add_attribute(Direction self, FloatsKey a0, IMP::Floats a1)
3022 add_attribute(Direction self, IntsKey a0, IMP::Ints a1)
3023 add_attribute(Direction self, StringKey a0, IMP::String a1)
3024 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
3025 add_attribute(Direction self, ObjectKey a0, Object a1)
3027 return _IMP_core.Direction_add_attribute(self, *args)
3030 def get_value(self, *args):
3032 get_value(Direction self, FloatKey a0) -> IMP::Float
3033 get_value(Direction self, IntKey a0) -> IMP::Int
3034 get_value(Direction self, FloatsKey a0) -> IMP::Floats
3035 get_value(Direction self, IntsKey a0) -> IMP::Ints
3036 get_value(Direction self, StringKey a0) -> IMP::String
3037 get_value(Direction self, ParticleIndexKey a0) -> Particle
3038 get_value(Direction self, ObjectKey a0) -> Object
3040 return _IMP_core.Direction_get_value(self, *args)
3043 def set_value(self, *args):
3045 set_value(Direction self, FloatKey a0, IMP::Float a1)
3046 set_value(Direction self, IntKey a0, IMP::Int a1)
3047 set_value(Direction self, FloatsKey a0, IMP::Floats a1)
3048 set_value(Direction self, IntsKey a0, IMP::Ints a1)
3049 set_value(Direction self, StringKey a0, IMP::String a1)
3050 set_value(Direction self, ParticleIndexKey a0, Particle a1)
3051 set_value(Direction self, ObjectKey a0, Object a1)
3053 return _IMP_core.Direction_set_value(self, *args)
3056 def remove_attribute(self, *args):
3058 remove_attribute(Direction self, FloatKey a0)
3059 remove_attribute(Direction self, IntKey a0)
3060 remove_attribute(Direction self, FloatsKey a0)
3061 remove_attribute(Direction self, IntsKey a0)
3062 remove_attribute(Direction self, StringKey a0)
3063 remove_attribute(Direction self, ParticleIndexKey a0)
3064 remove_attribute(Direction self, ObjectKey a0)
3066 return _IMP_core.Direction_remove_attribute(self, *args)
3069 def has_attribute(self, *args):
3071 has_attribute(Direction self, FloatKey a0) -> bool
3072 has_attribute(Direction self, IntKey a0) -> bool
3073 has_attribute(Direction self, FloatsKey a0) -> bool
3074 has_attribute(Direction self, IntsKey a0) -> bool
3075 has_attribute(Direction self, StringKey a0) -> bool
3076 has_attribute(Direction self, ParticleIndexKey a0) -> bool
3077 has_attribute(Direction self, ObjectKey a0) -> bool
3079 return _IMP_core.Direction_has_attribute(self, *args)
3082 def get_derivative(self, a0):
3083 """get_derivative(Direction self, FloatKey a0) -> double"""
3084 return _IMP_core.Direction_get_derivative(self, a0)
3088 """get_name(Direction self) -> std::string"""
3089 return _IMP_core.Direction_get_name(self)
3092 def clear_caches(self):
3093 """clear_caches(Direction self)"""
3094 return _IMP_core.Direction_clear_caches(self)
3097 def set_name(self, a0):
3098 """set_name(Direction self, std::string a0)"""
3099 return _IMP_core.Direction_set_name(self, a0)
3103 """set_check_level(Direction self, IMP::CheckLevel a0)"""
3104 return _IMP_core.Direction_set_check_level(self, a0)
3107 def add_to_derivative(self, a0, a1, a2):
3108 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3109 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
3112 def set_is_optimized(self, a0, a1):
3113 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
3114 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
3117 def get_is_optimized(self, a0):
3118 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
3119 return _IMP_core.Direction_get_is_optimized(self, a0)
3123 """get_check_level(Direction self) -> IMP::CheckLevel"""
3124 return _IMP_core.Direction_get_check_level(self)
3127 def __eq__(self, *args):
3129 __eq__(Direction self, Direction o) -> bool
3130 __eq__(Direction self, Particle d) -> bool
3132 return _IMP_core.Direction___eq__(self, *args)
3135 def __ne__(self, *args):
3137 __ne__(Direction self, Direction o) -> bool
3138 __ne__(Direction self, Particle d) -> bool
3140 return _IMP_core.Direction___ne__(self, *args)
3143 def __le__(self, *args):
3145 __le__(Direction self, Direction o) -> bool
3146 __le__(Direction self, Particle d) -> bool
3148 return _IMP_core.Direction___le__(self, *args)
3151 def __lt__(self, *args):
3153 __lt__(Direction self, Direction o) -> bool
3154 __lt__(Direction self, Particle d) -> bool
3156 return _IMP_core.Direction___lt__(self, *args)
3159 def __ge__(self, *args):
3161 __ge__(Direction self, Direction o) -> bool
3162 __ge__(Direction self, Particle d) -> bool
3164 return _IMP_core.Direction___ge__(self, *args)
3167 def __gt__(self, *args):
3169 __gt__(Direction self, Direction o) -> bool
3170 __gt__(Direction self, Particle d) -> bool
3172 return _IMP_core.Direction___gt__(self, *args)
3176 """__hash__(Direction self) -> std::size_t"""
3177 return _IMP_core.Direction___hash__(self)
3181 """__str__(Direction self) -> std::string"""
3182 return _IMP_core.Direction___str__(self)
3186 """__repr__(Direction self) -> std::string"""
3187 return _IMP_core.Direction___repr__(self)
3189 __swig_destroy__ = _IMP_core.delete_Direction
3190 __del__ =
lambda self:
None
3191 Direction_swigregister = _IMP_core.Direction_swigregister
3192 Direction_swigregister(Direction)
3194 def Direction_do_setup_particle(m, pi, v):
3195 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3196 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3198 def Direction_setup_particle(*args):
3200 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3201 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3203 return _IMP_core.Direction_setup_particle(*args)
3205 def Direction_get_is_setup(*args):
3207 get_is_setup(_ParticleAdaptor p) -> bool
3208 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3210 return _IMP_core.Direction_get_is_setup(*args)
3212 def Direction_get_direction_key(i):
3213 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3214 return _IMP_core.Direction_get_direction_key(i)
3218 """get_angle(Direction a, Direction b) -> double"""
3219 return _IMP_core.get_angle(a, b)
3221 """Proxy of C++ IMP::core::DirectionAngle class"""
3222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3224 def __init__(self, *args):
3226 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3227 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3228 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3230 this = _IMP_core.new_DirectionAngle(*args)
3232 self.this.append(this)
3236 def show(self, *args):
3238 show(DirectionAngle self, _ostream out)
3239 show(DirectionAngle self)
3241 return _IMP_core.DirectionAngle_show(self, *args)
3244 def setup_particle(*args):
3246 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3247 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3248 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3249 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3251 return _IMP_core.DirectionAngle_setup_particle(*args)
3253 setup_particle = staticmethod(setup_particle)
3255 def get_is_setup(*args):
3257 get_is_setup(_ParticleAdaptor p) -> bool
3258 get_is_setup(Model m, ParticleIndex pi) -> bool
3260 return _IMP_core.DirectionAngle_get_is_setup(*args)
3262 get_is_setup = staticmethod(get_is_setup)
3264 def get_angle_key():
3265 """get_angle_key() -> FloatKey"""
3266 return _IMP_core.DirectionAngle_get_angle_key()
3268 get_angle_key = staticmethod(get_angle_key)
3270 def get_particle_key(i):
3271 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3272 return _IMP_core.DirectionAngle_get_particle_key(i)
3274 get_particle_key = staticmethod(get_particle_key)
3276 def get_particle(self, *args):
3278 get_particle(DirectionAngle self, unsigned int i) -> Particle
3279 get_particle(DirectionAngle self) -> Particle
3281 return _IMP_core.DirectionAngle_get_particle(self, *args)
3284 def get_particle_index(self, *args):
3286 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3287 get_particle_index(DirectionAngle self) -> ParticleIndex
3289 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3293 """get_angle(DirectionAngle self) -> IMP::Float"""
3294 return _IMP_core.DirectionAngle_get_angle(self)
3297 def get_angle_derivative(self):
3298 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3299 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3302 def add_to_angle_derivative(self, v, d):
3303 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3304 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3307 def add_attribute(self, *args):
3309 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3310 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3311 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3312 add_attribute(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3313 add_attribute(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3314 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3315 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3316 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3318 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3321 def get_value(self, *args):
3323 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3324 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3325 get_value(DirectionAngle self, FloatsKey a0) -> IMP::Floats
3326 get_value(DirectionAngle self, IntsKey a0) -> IMP::Ints
3327 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3328 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3329 get_value(DirectionAngle self, ObjectKey a0) -> Object
3331 return _IMP_core.DirectionAngle_get_value(self, *args)
3334 def set_value(self, *args):
3336 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3337 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3338 set_value(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3339 set_value(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3340 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3341 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3342 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3344 return _IMP_core.DirectionAngle_set_value(self, *args)
3347 def remove_attribute(self, *args):
3349 remove_attribute(DirectionAngle self, FloatKey a0)
3350 remove_attribute(DirectionAngle self, IntKey a0)
3351 remove_attribute(DirectionAngle self, FloatsKey a0)
3352 remove_attribute(DirectionAngle self, IntsKey a0)
3353 remove_attribute(DirectionAngle self, StringKey a0)
3354 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3355 remove_attribute(DirectionAngle self, ObjectKey a0)
3357 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3360 def has_attribute(self, *args):
3362 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3363 has_attribute(DirectionAngle self, IntKey a0) -> bool
3364 has_attribute(DirectionAngle self, FloatsKey a0) -> bool
3365 has_attribute(DirectionAngle self, IntsKey a0) -> bool
3366 has_attribute(DirectionAngle self, StringKey a0) -> bool
3367 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3368 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3370 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3373 def get_derivative(self, a0):
3374 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3375 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3379 """get_name(DirectionAngle self) -> std::string"""
3380 return _IMP_core.DirectionAngle_get_name(self)
3383 def clear_caches(self):
3384 """clear_caches(DirectionAngle self)"""
3385 return _IMP_core.DirectionAngle_clear_caches(self)
3388 def set_name(self, a0):
3389 """set_name(DirectionAngle self, std::string a0)"""
3390 return _IMP_core.DirectionAngle_set_name(self, a0)
3394 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3395 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3398 def add_to_derivative(self, a0, a1, a2):
3399 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3400 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3403 def set_is_optimized(self, a0, a1):
3404 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3405 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3408 def get_is_optimized(self, a0):
3409 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3410 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3414 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3415 return _IMP_core.DirectionAngle_get_check_level(self)
3418 def __eq__(self, *args):
3420 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3421 __eq__(DirectionAngle self, Particle d) -> bool
3423 return _IMP_core.DirectionAngle___eq__(self, *args)
3426 def __ne__(self, *args):
3428 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3429 __ne__(DirectionAngle self, Particle d) -> bool
3431 return _IMP_core.DirectionAngle___ne__(self, *args)
3434 def __le__(self, *args):
3436 __le__(DirectionAngle self, DirectionAngle o) -> bool
3437 __le__(DirectionAngle self, Particle d) -> bool
3439 return _IMP_core.DirectionAngle___le__(self, *args)
3442 def __lt__(self, *args):
3444 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3445 __lt__(DirectionAngle self, Particle d) -> bool
3447 return _IMP_core.DirectionAngle___lt__(self, *args)
3450 def __ge__(self, *args):
3452 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3453 __ge__(DirectionAngle self, Particle d) -> bool
3455 return _IMP_core.DirectionAngle___ge__(self, *args)
3458 def __gt__(self, *args):
3460 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3461 __gt__(DirectionAngle self, Particle d) -> bool
3463 return _IMP_core.DirectionAngle___gt__(self, *args)
3467 """__hash__(DirectionAngle self) -> std::size_t"""
3468 return _IMP_core.DirectionAngle___hash__(self)
3472 """__str__(DirectionAngle self) -> std::string"""
3473 return _IMP_core.DirectionAngle___str__(self)
3477 """__repr__(DirectionAngle self) -> std::string"""
3478 return _IMP_core.DirectionAngle___repr__(self)
3480 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3481 __del__ =
lambda self:
None
3482 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3483 DirectionAngle_swigregister(DirectionAngle)
3485 def DirectionAngle_setup_particle(*args):
3487 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3488 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3489 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3490 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3492 return _IMP_core.DirectionAngle_setup_particle(*args)
3494 def DirectionAngle_get_is_setup(*args):
3496 get_is_setup(_ParticleAdaptor p) -> bool
3497 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3499 return _IMP_core.DirectionAngle_get_is_setup(*args)
3501 def DirectionAngle_get_angle_key():
3502 """DirectionAngle_get_angle_key() -> FloatKey"""
3503 return _IMP_core.DirectionAngle_get_angle_key()
3505 def DirectionAngle_get_particle_key(i):
3506 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3507 return _IMP_core.DirectionAngle_get_particle_key(i)
3510 """Proxy of C++ IMP::core::Surface class"""
3511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3513 def do_setup_particle(*args):
3515 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3516 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3517 do_setup_particle(Model m, ParticleIndex pi)
3518 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3520 return _IMP_core.Surface_do_setup_particle(*args)
3522 do_setup_particle = staticmethod(do_setup_particle)
3524 def __init__(self, *args):
3526 __init__(IMP::core::Surface self) -> Surface
3527 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3528 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3530 this = _IMP_core.new_Surface(*args)
3532 self.this.append(this)
3536 def show(self, *args):
3538 show(Surface self, _ostream out)
3541 return _IMP_core.Surface_show(self, *args)
3544 def setup_particle(*args):
3546 setup_particle(Model m, ParticleIndex pi) -> Surface
3547 setup_particle(_ParticleAdaptor decorator) -> Surface
3548 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3549 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3550 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3551 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3552 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3553 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3555 return _IMP_core.Surface_setup_particle(*args)
3557 setup_particle = staticmethod(setup_particle)
3559 def get_normal_x(self):
3560 """get_normal_x(Surface self) -> IMP::Float"""
3561 return _IMP_core.Surface_get_normal_x(self)
3564 def set_normal_x(self, t):
3565 """set_normal_x(Surface self, IMP::Float t)"""
3566 return _IMP_core.Surface_set_normal_x(self, t)
3569 def get_normal_y(self):
3570 """get_normal_y(Surface self) -> IMP::Float"""
3571 return _IMP_core.Surface_get_normal_y(self)
3574 def set_normal_y(self, t):
3575 """set_normal_y(Surface self, IMP::Float t)"""
3576 return _IMP_core.Surface_set_normal_y(self, t)
3579 def get_normal_z(self):
3580 """get_normal_z(Surface self) -> IMP::Float"""
3581 return _IMP_core.Surface_get_normal_z(self)
3584 def set_normal_z(self, t):
3585 """set_normal_z(Surface self, IMP::Float t)"""
3586 return _IMP_core.Surface_set_normal_z(self, t)
3589 def get_is_setup(*args):
3591 get_is_setup(_ParticleAdaptor p) -> bool
3592 get_is_setup(Model m, ParticleIndex pi) -> bool
3594 return _IMP_core.Surface_get_is_setup(*args)
3596 get_is_setup = staticmethod(get_is_setup)
3598 def get_normal_key(i):
3599 """get_normal_key(unsigned int i) -> FloatKey"""
3600 return _IMP_core.Surface_get_normal_key(i)
3602 get_normal_key = staticmethod(get_normal_key)
3604 def get_normal_derivative(self, i):
3605 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3606 return _IMP_core.Surface_get_normal_derivative(self, i)
3609 def get_normal_derivatives(self):
3610 """get_normal_derivatives(Surface self) -> Vector3D"""
3611 return _IMP_core.Surface_get_normal_derivatives(self)
3614 def add_to_normal_derivative(self, i, v, d):
3615 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3616 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3619 def add_to_normal_derivatives(self, v, d):
3620 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3621 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3624 def get_normal_is_optimized(self):
3625 """get_normal_is_optimized(Surface self) -> bool"""
3626 return _IMP_core.Surface_get_normal_is_optimized(self)
3629 def set_normal_is_optimized(self, tf):
3630 """set_normal_is_optimized(Surface self, bool tf)"""
3631 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3634 def get_normal(self):
3635 """get_normal(Surface self) -> Vector3D"""
3636 return _IMP_core.Surface_get_normal(self)
3639 def set_normal(self, normal):
3640 """set_normal(Surface self, Vector3D normal)"""
3641 return _IMP_core.Surface_set_normal(self, normal)
3645 """reflect(Surface self)"""
3646 return _IMP_core.Surface_reflect(self)
3650 """get_height(Surface self, Vector3D v) -> double"""
3651 return _IMP_core.Surface_get_height(self, v)
3655 """get_depth(Surface self, Vector3D v) -> double"""
3656 return _IMP_core.Surface_get_depth(self, v)
3659 def get_distance_to(self, v):
3660 """get_distance_to(Surface self, Vector3D v) -> double"""
3661 return _IMP_core.Surface_get_distance_to(self, v)
3664 def get_distance_to_center(self, v):
3665 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3666 return _IMP_core.Surface_get_distance_to_center(self, v)
3669 def set_reference_frame(self, rf):
3670 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3671 return _IMP_core.Surface_set_reference_frame(self, rf)
3674 def get_reference_frame(self):
3675 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3676 return _IMP_core.Surface_get_reference_frame(self)
3679 def get_plane(self):
3680 """get_plane(Surface self) -> Plane3D"""
3681 return _IMP_core.Surface_get_plane(self)
3684 def add_attribute(self, *args):
3686 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3687 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3688 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3689 add_attribute(Surface self, FloatsKey a0, IMP::Floats a1)
3690 add_attribute(Surface self, IntsKey a0, IMP::Ints a1)
3691 add_attribute(Surface self, StringKey a0, IMP::String a1)
3692 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3693 add_attribute(Surface self, ObjectKey a0, Object a1)
3695 return _IMP_core.Surface_add_attribute(self, *args)
3698 def get_value(self, *args):
3700 get_value(Surface self, FloatKey a0) -> IMP::Float
3701 get_value(Surface self, IntKey a0) -> IMP::Int
3702 get_value(Surface self, FloatsKey a0) -> IMP::Floats
3703 get_value(Surface self, IntsKey a0) -> IMP::Ints
3704 get_value(Surface self, StringKey a0) -> IMP::String
3705 get_value(Surface self, ParticleIndexKey a0) -> Particle
3706 get_value(Surface self, ObjectKey a0) -> Object
3708 return _IMP_core.Surface_get_value(self, *args)
3711 def set_value(self, *args):
3713 set_value(Surface self, FloatKey a0, IMP::Float a1)
3714 set_value(Surface self, IntKey a0, IMP::Int a1)
3715 set_value(Surface self, FloatsKey a0, IMP::Floats a1)
3716 set_value(Surface self, IntsKey a0, IMP::Ints a1)
3717 set_value(Surface self, StringKey a0, IMP::String a1)
3718 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3719 set_value(Surface self, ObjectKey a0, Object a1)
3721 return _IMP_core.Surface_set_value(self, *args)
3724 def remove_attribute(self, *args):
3726 remove_attribute(Surface self, FloatKey a0)
3727 remove_attribute(Surface self, IntKey a0)
3728 remove_attribute(Surface self, FloatsKey a0)
3729 remove_attribute(Surface self, IntsKey a0)
3730 remove_attribute(Surface self, StringKey a0)
3731 remove_attribute(Surface self, ParticleIndexKey a0)
3732 remove_attribute(Surface self, ObjectKey a0)
3734 return _IMP_core.Surface_remove_attribute(self, *args)
3737 def has_attribute(self, *args):
3739 has_attribute(Surface self, FloatKey a0) -> bool
3740 has_attribute(Surface self, IntKey a0) -> bool
3741 has_attribute(Surface self, FloatsKey a0) -> bool
3742 has_attribute(Surface self, IntsKey a0) -> bool
3743 has_attribute(Surface self, StringKey a0) -> bool
3744 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3745 has_attribute(Surface self, ObjectKey a0) -> bool
3747 return _IMP_core.Surface_has_attribute(self, *args)
3750 def get_derivative(self, a0):
3751 """get_derivative(Surface self, FloatKey a0) -> double"""
3752 return _IMP_core.Surface_get_derivative(self, a0)
3756 """get_name(Surface self) -> std::string"""
3757 return _IMP_core.Surface_get_name(self)
3760 def clear_caches(self):
3761 """clear_caches(Surface self)"""
3762 return _IMP_core.Surface_clear_caches(self)
3765 def set_name(self, a0):
3766 """set_name(Surface self, std::string a0)"""
3767 return _IMP_core.Surface_set_name(self, a0)
3771 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3772 return _IMP_core.Surface_set_check_level(self, a0)
3775 def add_to_derivative(self, a0, a1, a2):
3776 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3777 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3780 def set_is_optimized(self, a0, a1):
3781 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3782 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3785 def get_is_optimized(self, a0):
3786 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3787 return _IMP_core.Surface_get_is_optimized(self, a0)
3791 """get_check_level(Surface self) -> IMP::CheckLevel"""
3792 return _IMP_core.Surface_get_check_level(self)
3795 def __eq__(self, *args):
3797 __eq__(Surface self, Surface o) -> bool
3798 __eq__(Surface self, Particle d) -> bool
3800 return _IMP_core.Surface___eq__(self, *args)
3803 def __ne__(self, *args):
3805 __ne__(Surface self, Surface o) -> bool
3806 __ne__(Surface self, Particle d) -> bool
3808 return _IMP_core.Surface___ne__(self, *args)
3811 def __le__(self, *args):
3813 __le__(Surface self, Surface o) -> bool
3814 __le__(Surface self, Particle d) -> bool
3816 return _IMP_core.Surface___le__(self, *args)
3819 def __lt__(self, *args):
3821 __lt__(Surface self, Surface o) -> bool
3822 __lt__(Surface self, Particle d) -> bool
3824 return _IMP_core.Surface___lt__(self, *args)
3827 def __ge__(self, *args):
3829 __ge__(Surface self, Surface o) -> bool
3830 __ge__(Surface self, Particle d) -> bool
3832 return _IMP_core.Surface___ge__(self, *args)
3835 def __gt__(self, *args):
3837 __gt__(Surface self, Surface o) -> bool
3838 __gt__(Surface self, Particle d) -> bool
3840 return _IMP_core.Surface___gt__(self, *args)
3844 """__hash__(Surface self) -> std::size_t"""
3845 return _IMP_core.Surface___hash__(self)
3849 """__str__(Surface self) -> std::string"""
3850 return _IMP_core.Surface___str__(self)
3854 """__repr__(Surface self) -> std::string"""
3855 return _IMP_core.Surface___repr__(self)
3857 __swig_destroy__ = _IMP_core.delete_Surface
3858 __del__ =
lambda self:
None
3859 Surface_swigregister = _IMP_core.Surface_swigregister
3860 Surface_swigregister(Surface)
3862 def Surface_do_setup_particle(*args):
3864 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3865 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3866 do_setup_particle(Model m, ParticleIndex pi)
3867 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3869 return _IMP_core.Surface_do_setup_particle(*args)
3871 def Surface_setup_particle(*args):
3873 setup_particle(Model m, ParticleIndex pi) -> Surface
3874 setup_particle(_ParticleAdaptor decorator) -> Surface
3875 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3876 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3877 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3878 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3879 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3880 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3882 return _IMP_core.Surface_setup_particle(*args)
3884 def Surface_get_is_setup(*args):
3886 get_is_setup(_ParticleAdaptor p) -> bool
3887 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3889 return _IMP_core.Surface_get_is_setup(*args)
3891 def Surface_get_normal_key(i):
3892 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3893 return _IMP_core.Surface_get_normal_key(i)
3898 get_height(Surface s, XYZR d) -> double
3899 get_height(Surface s, XYZ d) -> double
3901 return _IMP_core.get_height(*args)
3905 get_depth(Surface s, XYZR d) -> double
3906 get_depth(Surface s, XYZ d) -> double
3908 return _IMP_core.get_depth(*args)
3912 get_distance(XYZ a, XYZ b) -> double
3913 get_distance(XYZR a, XYZR b) -> double
3914 get_distance(Surface s, XYZR d) -> double
3915 get_distance(Surface s, XYZ d) -> double
3917 return _IMP_core.get_distance(*args)
3919 """Proxy of C++ IMP::core::SurfaceGeometry class"""
3920 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3922 def __init__(self, *args):
3924 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3925 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3926 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3927 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3928 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3929 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3931 this = _IMP_core.new_SurfaceGeometry(*args)
3933 self.this.append(this)
3937 def get_geometry(self):
3938 """get_geometry(SurfaceGeometry self) -> Surface"""
3939 return _IMP_core.SurfaceGeometry_get_geometry(self)
3942 def set_geometry(self, s):
3943 """set_geometry(SurfaceGeometry self, Surface s)"""
3944 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3947 def get_version_info(self):
3948 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3949 return _IMP_core.SurfaceGeometry_get_version_info(self)
3953 """__str__(SurfaceGeometry self) -> std::string"""
3954 return _IMP_core.SurfaceGeometry___str__(self)
3958 """__repr__(SurfaceGeometry self) -> std::string"""
3959 return _IMP_core.SurfaceGeometry___repr__(self)
3964 return _object_cast_to_SurfaceGeometry(o)
3966 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3967 SurfaceGeometry_swigregister(SurfaceGeometry)
3972 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3973 create_geometry(Surface s) -> SurfaceGeometry
3975 return _IMP_core.create_geometry(*args)
3977 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class"""
3978 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3980 def __init__(self, s, g):
3981 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3982 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
3984 self.this.append(this)
3988 def get_surface(self):
3989 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
3990 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3993 def get_geometry(self):
3994 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3995 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3998 def do_get_inputs(self):
3999 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
4000 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
4003 def do_get_outputs(self):
4004 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
4005 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
4008 def get_version_info(self):
4009 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
4010 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
4014 """__str__(SurfaceGeometryConstraint self) -> std::string"""
4015 return _IMP_core.SurfaceGeometryConstraint___str__(self)
4019 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
4020 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
4025 return _object_cast_to_SurfaceGeometryConstraint(o)
4027 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
4028 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
4033 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
4034 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
4036 return _IMP_core.get_constrained_surface_geometry(*args)
4038 """Proxy of C++ IMP::core::LateralSurfaceConstraint class"""
4039 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4041 def __init__(self, s, d):
4042 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
4043 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
4045 self.this.append(this)
4049 def do_get_inputs(self):
4050 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4051 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
4054 def do_get_outputs(self):
4055 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4056 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
4059 def get_version_info(self):
4060 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
4061 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
4065 """__str__(LateralSurfaceConstraint self) -> std::string"""
4066 return _IMP_core.LateralSurfaceConstraint___str__(self)
4070 """__repr__(LateralSurfaceConstraint self) -> std::string"""
4071 return _IMP_core.LateralSurfaceConstraint___repr__(self)
4076 return _object_cast_to_LateralSurfaceConstraint(o)
4078 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
4079 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
4082 """Proxy of C++ IMP::core::AngleTripletScore class"""
4083 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4085 def __init__(self, f):
4086 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
4087 this = _IMP_core.new_AngleTripletScore(f)
4089 self.this.append(this)
4093 def do_get_inputs(self, m, pis):
4094 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4095 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
4098 def get_version_info(self):
4099 """get_version_info(AngleTripletScore self) -> VersionInfo"""
4100 return _IMP_core.AngleTripletScore_get_version_info(self)
4104 """__str__(AngleTripletScore self) -> std::string"""
4105 return _IMP_core.AngleTripletScore___str__(self)
4109 """__repr__(AngleTripletScore self) -> std::string"""
4110 return _IMP_core.AngleTripletScore___repr__(self)
4115 return _object_cast_to_AngleTripletScore(o)
4117 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
4118 AngleTripletScore_swigregister(AngleTripletScore)
4120 class BallMover(MonteCarloMover):
4121 """Proxy of C++ IMP::core::BallMover class"""
4122 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4124 def __init__(self, *args):
4126 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
4127 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
4128 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
4129 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
4131 this = _IMP_core.new_BallMover(*args)
4133 self.this.append(this)
4137 def set_radius(self, radius):
4138 """set_radius(BallMover self, IMP::Float radius)"""
4139 return _IMP_core.BallMover_set_radius(self, radius)
4142 def get_radius(self):
4143 """get_radius(BallMover self) -> IMP::Float"""
4144 return _IMP_core.BallMover_get_radius(self)
4147 def get_version_info(self):
4148 """get_version_info(BallMover self) -> VersionInfo"""
4149 return _IMP_core.BallMover_get_version_info(self)
4153 """__str__(BallMover self) -> std::string"""
4154 return _IMP_core.BallMover___str__(self)
4158 """__repr__(BallMover self) -> std::string"""
4159 return _IMP_core.BallMover___repr__(self)
4164 return _object_cast_to_BallMover(o)
4166 BallMover_swigregister = _IMP_core.BallMover_swigregister
4167 BallMover_swigregister(BallMover)
4169 class SerialMover(MonteCarloMover):
4170 """Proxy of C++ IMP::core::SerialMover class"""
4171 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4173 def __init__(self, mvs):
4174 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4175 this = _IMP_core.new_SerialMover(mvs)
4177 self.this.append(this)
4181 def get_movers(self):
4182 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4183 return _IMP_core.SerialMover_get_movers(self)
4186 def get_version_info(self):
4187 """get_version_info(SerialMover self) -> VersionInfo"""
4188 return _IMP_core.SerialMover_get_version_info(self)
4192 """__str__(SerialMover self) -> std::string"""
4193 return _IMP_core.SerialMover___str__(self)
4197 """__repr__(SerialMover self) -> std::string"""
4198 return _IMP_core.SerialMover___repr__(self)
4203 return _object_cast_to_SerialMover(o)
4205 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4206 SerialMover_swigregister(SerialMover)
4208 class SubsetMover(MonteCarloMover):
4209 """Proxy of C++ IMP::core::SubsetMover class"""
4210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4212 def __init__(self, mvs, n):
4213 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4214 this = _IMP_core.new_SubsetMover(mvs, n)
4216 self.this.append(this)
4220 def get_movers(self):
4221 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4222 return _IMP_core.SubsetMover_get_movers(self)
4225 def get_subset_size(self):
4226 """get_subset_size(SubsetMover self) -> unsigned int"""
4227 return _IMP_core.SubsetMover_get_subset_size(self)
4230 def get_version_info(self):
4231 """get_version_info(SubsetMover self) -> VersionInfo"""
4232 return _IMP_core.SubsetMover_get_version_info(self)
4236 """__str__(SubsetMover self) -> std::string"""
4237 return _IMP_core.SubsetMover___str__(self)
4241 """__repr__(SubsetMover self) -> std::string"""
4242 return _IMP_core.SubsetMover___repr__(self)
4247 return _object_cast_to_SubsetMover(o)
4249 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4250 SubsetMover_swigregister(SubsetMover)
4252 class DirectionMover(MonteCarloMover):
4253 """Proxy of C++ IMP::core::DirectionMover class"""
4254 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4256 def __init__(self, *args):
4258 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4259 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4261 this = _IMP_core.new_DirectionMover(*args)
4263 self.this.append(this)
4267 def set_maximum_rotation(self, mr):
4268 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4269 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4272 def set_reflect_probability(self, rp):
4273 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4274 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4277 def get_maximum_rotation(self):
4278 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4279 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4282 def get_reflect_probability(self):
4283 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4284 return _IMP_core.DirectionMover_get_reflect_probability(self)
4287 def get_direction(self):
4288 """get_direction(DirectionMover self) -> Direction"""
4289 return _IMP_core.DirectionMover_get_direction(self)
4292 def get_version_info(self):
4293 """get_version_info(DirectionMover self) -> VersionInfo"""
4294 return _IMP_core.DirectionMover_get_version_info(self)
4298 """__str__(DirectionMover self) -> std::string"""
4299 return _IMP_core.DirectionMover___str__(self)
4303 """__repr__(DirectionMover self) -> std::string"""
4304 return _IMP_core.DirectionMover___repr__(self)
4309 return _object_cast_to_DirectionMover(o)
4311 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4312 DirectionMover_swigregister(DirectionMover)
4314 class SurfaceMover(MonteCarloMover):
4315 """Proxy of C++ IMP::core::SurfaceMover class"""
4316 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4318 def __init__(self, *args):
4320 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4321 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4323 this = _IMP_core.new_SurfaceMover(*args)
4325 self.this.append(this)
4329 def set_maximum_translation(self, mt):
4330 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4331 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4334 def set_maximum_rotation(self, mr):
4335 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4336 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4339 def set_reflect_probability(self, rp):
4340 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4341 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4344 def get_maximum_translation(self):
4345 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4346 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4349 def get_maximum_rotation(self):
4350 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4351 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4354 def get_reflect_probability(self):
4355 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4356 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4359 def get_surface(self):
4360 """get_surface(SurfaceMover self) -> Surface"""
4361 return _IMP_core.SurfaceMover_get_surface(self)
4364 def get_version_info(self):
4365 """get_version_info(SurfaceMover self) -> VersionInfo"""
4366 return _IMP_core.SurfaceMover_get_version_info(self)
4370 """__str__(SurfaceMover self) -> std::string"""
4371 return _IMP_core.SurfaceMover___str__(self)
4375 """__repr__(SurfaceMover self) -> std::string"""
4376 return _IMP_core.SurfaceMover___repr__(self)
4381 return _object_cast_to_SurfaceMover(o)
4383 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4384 SurfaceMover_swigregister(SurfaceMover)
4386 class BoxSweepClosePairsFinder(ClosePairsFinder):
4387 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
4388 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4391 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4392 this = _IMP_core.new_BoxSweepClosePairsFinder()
4394 self.this.append(this)
4398 def get_close_pairs(self, *args):
4400 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4401 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4402 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4403 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4405 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4408 def do_get_inputs(self, m, pis):
4409 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4410 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4413 def get_version_info(self):
4414 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4415 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4419 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4420 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4424 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4425 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4430 return _object_cast_to_BoxSweepClosePairsFinder(o)
4432 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4433 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4436 """Proxy of C++ IMP::core::CentroidOfRefined class"""
4437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4439 def __init__(self, *args):
4441 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4442 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4443 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4445 this = _IMP_core.new_CentroidOfRefined(*args)
4447 self.this.append(this)
4451 def do_get_inputs(self, m, pis):
4452 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4453 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4456 def do_get_outputs(self, m, pis):
4457 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4458 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4461 def get_version_info(self):
4462 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4463 return _IMP_core.CentroidOfRefined_get_version_info(self)
4467 """__str__(CentroidOfRefined self) -> std::string"""
4468 return _IMP_core.CentroidOfRefined___str__(self)
4472 """__repr__(CentroidOfRefined self) -> std::string"""
4473 return _IMP_core.CentroidOfRefined___repr__(self)
4478 return _object_cast_to_CentroidOfRefined(o)
4480 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4481 CentroidOfRefined_swigregister(CentroidOfRefined)
4483 class Centroid(XYZ):
4484 """Proxy of C++ IMP::core::Centroid class"""
4485 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4487 def get_constraint(self):
4488 """get_constraint(Centroid self) -> Constraint"""
4489 return _IMP_core.Centroid_get_constraint(self)
4492 def __init__(self, *args):
4494 __init__(IMP::core::Centroid self) -> Centroid
4495 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4496 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4498 this = _IMP_core.new_Centroid(*args)
4500 self.this.append(this)
4504 def show(self, *args):
4506 show(Centroid self, _ostream out)
4509 return _IMP_core.Centroid_show(self, *args)
4512 def setup_particle(*args):
4514 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4515 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4516 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4517 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4519 return _IMP_core.Centroid_setup_particle(*args)
4521 setup_particle = staticmethod(setup_particle)
4523 def get_is_setup(*args):
4525 get_is_setup(_ParticleAdaptor p) -> bool
4526 get_is_setup(Model m, ParticleIndex pi) -> bool
4528 return _IMP_core.Centroid_get_is_setup(*args)
4530 get_is_setup = staticmethod(get_is_setup)
4532 def add_attribute(self, *args):
4534 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4535 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4536 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4537 add_attribute(Centroid self, FloatsKey a0, IMP::Floats a1)
4538 add_attribute(Centroid self, IntsKey a0, IMP::Ints a1)
4539 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4540 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4541 add_attribute(Centroid self, ObjectKey a0, Object a1)
4543 return _IMP_core.Centroid_add_attribute(self, *args)
4546 def get_value(self, *args):
4548 get_value(Centroid self, FloatKey a0) -> IMP::Float
4549 get_value(Centroid self, IntKey a0) -> IMP::Int
4550 get_value(Centroid self, FloatsKey a0) -> IMP::Floats
4551 get_value(Centroid self, IntsKey a0) -> IMP::Ints
4552 get_value(Centroid self, StringKey a0) -> IMP::String
4553 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4554 get_value(Centroid self, ObjectKey a0) -> Object
4556 return _IMP_core.Centroid_get_value(self, *args)
4559 def set_value(self, *args):
4561 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4562 set_value(Centroid self, IntKey a0, IMP::Int a1)
4563 set_value(Centroid self, FloatsKey a0, IMP::Floats a1)
4564 set_value(Centroid self, IntsKey a0, IMP::Ints a1)
4565 set_value(Centroid self, StringKey a0, IMP::String a1)
4566 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4567 set_value(Centroid self, ObjectKey a0, Object a1)
4569 return _IMP_core.Centroid_set_value(self, *args)
4572 def remove_attribute(self, *args):
4574 remove_attribute(Centroid self, FloatKey a0)
4575 remove_attribute(Centroid self, IntKey a0)
4576 remove_attribute(Centroid self, FloatsKey a0)
4577 remove_attribute(Centroid self, IntsKey a0)
4578 remove_attribute(Centroid self, StringKey a0)
4579 remove_attribute(Centroid self, ParticleIndexKey a0)
4580 remove_attribute(Centroid self, ObjectKey a0)
4582 return _IMP_core.Centroid_remove_attribute(self, *args)
4585 def has_attribute(self, *args):
4587 has_attribute(Centroid self, FloatKey a0) -> bool
4588 has_attribute(Centroid self, IntKey a0) -> bool
4589 has_attribute(Centroid self, FloatsKey a0) -> bool
4590 has_attribute(Centroid self, IntsKey a0) -> bool
4591 has_attribute(Centroid self, StringKey a0) -> bool
4592 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4593 has_attribute(Centroid self, ObjectKey a0) -> bool
4595 return _IMP_core.Centroid_has_attribute(self, *args)
4598 def get_derivative(self, a0):
4599 """get_derivative(Centroid self, FloatKey a0) -> double"""
4600 return _IMP_core.Centroid_get_derivative(self, a0)
4604 """get_name(Centroid self) -> std::string"""
4605 return _IMP_core.Centroid_get_name(self)
4608 def clear_caches(self):
4609 """clear_caches(Centroid self)"""
4610 return _IMP_core.Centroid_clear_caches(self)
4613 def set_name(self, a0):
4614 """set_name(Centroid self, std::string a0)"""
4615 return _IMP_core.Centroid_set_name(self, a0)
4619 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4620 return _IMP_core.Centroid_set_check_level(self, a0)
4623 def add_to_derivative(self, a0, a1, a2):
4624 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4625 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4628 def set_is_optimized(self, a0, a1):
4629 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4630 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4633 def get_is_optimized(self, a0):
4634 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4635 return _IMP_core.Centroid_get_is_optimized(self, a0)
4639 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4640 return _IMP_core.Centroid_get_check_level(self)
4643 def __eq__(self, *args):
4645 __eq__(Centroid self, Centroid o) -> bool
4646 __eq__(Centroid self, Particle d) -> bool
4648 return _IMP_core.Centroid___eq__(self, *args)
4651 def __ne__(self, *args):
4653 __ne__(Centroid self, Centroid o) -> bool
4654 __ne__(Centroid self, Particle d) -> bool
4656 return _IMP_core.Centroid___ne__(self, *args)
4659 def __le__(self, *args):
4661 __le__(Centroid self, Centroid o) -> bool
4662 __le__(Centroid self, Particle d) -> bool
4664 return _IMP_core.Centroid___le__(self, *args)
4667 def __lt__(self, *args):
4669 __lt__(Centroid self, Centroid o) -> bool
4670 __lt__(Centroid self, Particle d) -> bool
4672 return _IMP_core.Centroid___lt__(self, *args)
4675 def __ge__(self, *args):
4677 __ge__(Centroid self, Centroid o) -> bool
4678 __ge__(Centroid self, Particle d) -> bool
4680 return _IMP_core.Centroid___ge__(self, *args)
4683 def __gt__(self, *args):
4685 __gt__(Centroid self, Centroid o) -> bool
4686 __gt__(Centroid self, Particle d) -> bool
4688 return _IMP_core.Centroid___gt__(self, *args)
4692 """__hash__(Centroid self) -> std::size_t"""
4693 return _IMP_core.Centroid___hash__(self)
4697 """__str__(Centroid self) -> std::string"""
4698 return _IMP_core.Centroid___str__(self)
4702 """__repr__(Centroid self) -> std::string"""
4703 return _IMP_core.Centroid___repr__(self)
4705 __swig_destroy__ = _IMP_core.delete_Centroid
4706 __del__ =
lambda self:
None
4707 Centroid_swigregister = _IMP_core.Centroid_swigregister
4708 Centroid_swigregister(Centroid)
4710 def Centroid_setup_particle(*args):
4712 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4713 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4714 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4715 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4717 return _IMP_core.Centroid_setup_particle(*args)
4719 def Centroid_get_is_setup(*args):
4721 get_is_setup(_ParticleAdaptor p) -> bool
4722 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4724 return _IMP_core.Centroid_get_is_setup(*args)
4727 """Proxy of C++ IMP::core::ChecksScoreState class"""
4728 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4730 def __init__(self, m, probability):
4731 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4732 this = _IMP_core.new_ChecksScoreState(m, probability)
4734 self.this.append(this)
4738 def get_number_of_checked(self):
4739 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4740 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4743 def do_before_evaluate(self):
4744 """do_before_evaluate(ChecksScoreState self)"""
4745 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4748 def do_after_evaluate(self, da):
4749 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4750 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4753 def do_get_outputs(self):
4754 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4755 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4758 def do_get_inputs(self):
4759 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4760 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4763 def get_version_info(self):
4764 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4765 return _IMP_core.ChecksScoreState_get_version_info(self)
4769 """__str__(ChecksScoreState self) -> std::string"""
4770 return _IMP_core.ChecksScoreState___str__(self)
4774 """__repr__(ChecksScoreState self) -> std::string"""
4775 return _IMP_core.ChecksScoreState___repr__(self)
4780 return _object_cast_to_ChecksScoreState(o)
4782 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4783 ChecksScoreState_swigregister(ChecksScoreState)
4786 """Proxy of C++ IMP::core::ChildrenRefiner class"""
4787 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4789 def __init__(self, tr):
4790 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4791 this = _IMP_core.new_ChildrenRefiner(tr)
4793 self.this.append(this)
4797 def do_get_inputs(self, m, pis):
4798 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4799 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4802 def get_version_info(self):
4803 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4804 return _IMP_core.ChildrenRefiner_get_version_info(self)
4808 """__str__(ChildrenRefiner self) -> std::string"""
4809 return _IMP_core.ChildrenRefiner___str__(self)
4813 """__repr__(ChildrenRefiner self) -> std::string"""
4814 return _IMP_core.ChildrenRefiner___repr__(self)
4819 return _object_cast_to_ChildrenRefiner(o)
4821 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4822 ChildrenRefiner_swigregister(ChildrenRefiner)
4825 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
4826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4828 def __init__(self, values, minrange, spacing):
4829 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4830 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4832 self.this.append(this)
4836 def get_version_info(self):
4837 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4838 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4841 def do_show(self, out):
4842 """do_show(ClosedCubicSpline self, _ostream out)"""
4843 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4847 """__str__(ClosedCubicSpline self) -> std::string"""
4848 return _IMP_core.ClosedCubicSpline___str__(self)
4852 """__repr__(ClosedCubicSpline self) -> std::string"""
4853 return _IMP_core.ClosedCubicSpline___repr__(self)
4858 return _object_cast_to_ClosedCubicSpline(o)
4860 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4861 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4864 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
4865 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4867 def __init__(self, f, r, k=1):
4869 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4870 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4872 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4874 self.this.append(this)
4878 def get_close_pairs(self, pp):
4879 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4880 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4883 def create_current_decomposition(self, m, vt):
4884 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4885 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4888 def do_get_inputs(self, m, pis):
4889 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4890 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4893 def get_version_info(self):
4894 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4895 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4899 """__str__(KClosePairsPairScore self) -> std::string"""
4900 return _IMP_core.KClosePairsPairScore___str__(self)
4904 """__repr__(KClosePairsPairScore self) -> std::string"""
4905 return _IMP_core.KClosePairsPairScore___repr__(self)
4910 return _object_cast_to_KClosePairsPairScore(o)
4912 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4913 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4916 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
4917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4919 def __init__(self, f, r, max_distance):
4920 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4921 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4923 self.this.append(this)
4927 def get_close_pairs(self, pp):
4928 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4929 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4932 def create_current_decomposition(self, m, vt):
4933 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4934 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4937 def do_get_inputs(self, m, pis):
4938 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4939 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4942 def get_version_info(self):
4943 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4944 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4948 """__str__(ClosePairsPairScore self) -> std::string"""
4949 return _IMP_core.ClosePairsPairScore___str__(self)
4953 """__repr__(ClosePairsPairScore self) -> std::string"""
4954 return _IMP_core.ClosePairsPairScore___repr__(self)
4959 return _object_cast_to_ClosePairsPairScore(o)
4961 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4962 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4965 """Proxy of C++ IMP::core::ConjugateGradients class"""
4966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4968 def __init__(self, *args):
4970 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4971 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4973 this = _IMP_core.new_ConjugateGradients(*args)
4975 self.this.append(this)
4979 def set_gradient_threshold(self, t):
4980 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4981 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4984 def set_threshold(self, t):
4985 """set_threshold(ConjugateGradients self, IMP::Float t)"""
4986 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4989 def set_max_change(self, t):
4990 """set_max_change(ConjugateGradients self, IMP::Float t)"""
4991 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4994 def do_optimize(self, max_steps):
4995 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4996 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4999 def get_version_info(self):
5000 """get_version_info(ConjugateGradients self) -> VersionInfo"""
5001 return _IMP_core.ConjugateGradients_get_version_info(self)
5005 """__str__(ConjugateGradients self) -> std::string"""
5006 return _IMP_core.ConjugateGradients___str__(self)
5010 """__repr__(ConjugateGradients self) -> std::string"""
5011 return _IMP_core.ConjugateGradients___repr__(self)
5016 return _object_cast_to_ConjugateGradients(o)
5018 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
5019 ConjugateGradients_swigregister(ConjugateGradients)
5022 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
5023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5025 def __init__(self, ps, sc):
5026 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
5027 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
5029 self.this.append(this)
5033 def get_connected_index_pairs(self):
5034 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
5035 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
5038 def get_pair_score(self):
5039 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
5040 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
5043 def do_create_current_decomposition(self):
5044 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
5045 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
5048 def do_get_inputs(self):
5049 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5050 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
5053 def get_version_info(self):
5054 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
5055 return _IMP_core.ConnectivityRestraint_get_version_info(self)
5059 """__str__(ConnectivityRestraint self) -> std::string"""
5060 return _IMP_core.ConnectivityRestraint___str__(self)
5064 """__repr__(ConnectivityRestraint self) -> std::string"""
5065 return _IMP_core.ConnectivityRestraint___repr__(self)
5070 return _object_cast_to_ConnectivityRestraint(o)
5072 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
5073 ConnectivityRestraint_swigregister(ConnectivityRestraint)
5076 """Proxy of C++ IMP::core::ConstantRestraint class"""
5077 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5079 def __init__(self, m, v):
5080 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
5081 this = _IMP_core.new_ConstantRestraint(m, v)
5083 self.this.append(this)
5087 def do_get_inputs(self):
5088 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
5089 return _IMP_core.ConstantRestraint_do_get_inputs(self)
5092 def get_version_info(self):
5093 """get_version_info(ConstantRestraint self) -> VersionInfo"""
5094 return _IMP_core.ConstantRestraint_get_version_info(self)
5098 """__str__(ConstantRestraint self) -> std::string"""
5099 return _IMP_core.ConstantRestraint___str__(self)
5103 """__repr__(ConstantRestraint self) -> std::string"""
5104 return _IMP_core.ConstantRestraint___repr__(self)
5109 return _object_cast_to_ConstantRestraint(o)
5111 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
5112 ConstantRestraint_swigregister(ConstantRestraint)
5115 """Proxy of C++ IMP::core::Cosine class"""
5116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5118 def __init__(self, force_constant, periodicity, phase):
5119 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
5120 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
5122 self.this.append(this)
5126 def get_version_info(self):
5127 """get_version_info(Cosine self) -> VersionInfo"""
5128 return _IMP_core.Cosine_get_version_info(self)
5131 def do_show(self, out):
5132 """do_show(Cosine self, _ostream out)"""
5133 return _IMP_core.Cosine_do_show(self, out)
5137 """__str__(Cosine self) -> std::string"""
5138 return _IMP_core.Cosine___str__(self)
5142 """__repr__(Cosine self) -> std::string"""
5143 return _IMP_core.Cosine___repr__(self)
5148 return _object_cast_to_Cosine(o)
5150 Cosine_swigregister = _IMP_core.Cosine_swigregister
5151 Cosine_swigregister(Cosine)
5154 """Proxy of C++ IMP::core::CoverRefined class"""
5155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5157 def __init__(self, ref, slack=0):
5159 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5160 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5162 this = _IMP_core.new_CoverRefined(ref, slack)
5164 self.this.append(this)
5168 def set_slack(self, slack):
5169 """set_slack(CoverRefined self, IMP::Float slack)"""
5170 return _IMP_core.CoverRefined_set_slack(self, slack)
5173 def do_get_inputs(self, m, pis):
5174 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5175 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5178 def do_get_outputs(self, m, pis):
5179 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5180 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5183 def get_version_info(self):
5184 """get_version_info(CoverRefined self) -> VersionInfo"""
5185 return _IMP_core.CoverRefined_get_version_info(self)
5189 """__str__(CoverRefined self) -> std::string"""
5190 return _IMP_core.CoverRefined___str__(self)
5194 """__repr__(CoverRefined self) -> std::string"""
5195 return _IMP_core.CoverRefined___repr__(self)
5200 return _object_cast_to_CoverRefined(o)
5202 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5203 CoverRefined_swigregister(CoverRefined)
5206 """Proxy of C++ IMP::core::Cover class"""
5207 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5209 def get_constraint(self):
5210 """get_constraint(Cover self) -> Constraint"""
5211 return _IMP_core.Cover_get_constraint(self)
5214 def __init__(self, *args):
5216 __init__(IMP::core::Cover self) -> Cover
5217 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5218 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5220 this = _IMP_core.new_Cover(*args)
5222 self.this.append(this)
5226 def show(self, *args):
5228 show(Cover self, _ostream out)
5231 return _IMP_core.Cover_show(self, *args)
5234 def setup_particle(*args):
5236 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5237 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5238 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5239 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5241 return _IMP_core.Cover_setup_particle(*args)
5243 setup_particle = staticmethod(setup_particle)
5245 def get_is_setup(*args):
5247 get_is_setup(_ParticleAdaptor p) -> bool
5248 get_is_setup(Model m, ParticleIndex pi) -> bool
5250 return _IMP_core.Cover_get_is_setup(*args)
5252 get_is_setup = staticmethod(get_is_setup)
5254 def add_attribute(self, *args):
5256 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5257 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5258 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5259 add_attribute(Cover self, FloatsKey a0, IMP::Floats a1)
5260 add_attribute(Cover self, IntsKey a0, IMP::Ints a1)
5261 add_attribute(Cover self, StringKey a0, IMP::String a1)
5262 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5263 add_attribute(Cover self, ObjectKey a0, Object a1)
5265 return _IMP_core.Cover_add_attribute(self, *args)
5268 def get_value(self, *args):
5270 get_value(Cover self, FloatKey a0) -> IMP::Float
5271 get_value(Cover self, IntKey a0) -> IMP::Int
5272 get_value(Cover self, FloatsKey a0) -> IMP::Floats
5273 get_value(Cover self, IntsKey a0) -> IMP::Ints
5274 get_value(Cover self, StringKey a0) -> IMP::String
5275 get_value(Cover self, ParticleIndexKey a0) -> Particle
5276 get_value(Cover self, ObjectKey a0) -> Object
5278 return _IMP_core.Cover_get_value(self, *args)
5281 def set_value(self, *args):
5283 set_value(Cover self, FloatKey a0, IMP::Float a1)
5284 set_value(Cover self, IntKey a0, IMP::Int a1)
5285 set_value(Cover self, FloatsKey a0, IMP::Floats a1)
5286 set_value(Cover self, IntsKey a0, IMP::Ints a1)
5287 set_value(Cover self, StringKey a0, IMP::String a1)
5288 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5289 set_value(Cover self, ObjectKey a0, Object a1)
5291 return _IMP_core.Cover_set_value(self, *args)
5294 def remove_attribute(self, *args):
5296 remove_attribute(Cover self, FloatKey a0)
5297 remove_attribute(Cover self, IntKey a0)
5298 remove_attribute(Cover self, FloatsKey a0)
5299 remove_attribute(Cover self, IntsKey a0)
5300 remove_attribute(Cover self, StringKey a0)
5301 remove_attribute(Cover self, ParticleIndexKey a0)
5302 remove_attribute(Cover self, ObjectKey a0)
5304 return _IMP_core.Cover_remove_attribute(self, *args)
5307 def has_attribute(self, *args):
5309 has_attribute(Cover self, FloatKey a0) -> bool
5310 has_attribute(Cover self, IntKey a0) -> bool
5311 has_attribute(Cover self, FloatsKey a0) -> bool
5312 has_attribute(Cover self, IntsKey a0) -> bool
5313 has_attribute(Cover self, StringKey a0) -> bool
5314 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5315 has_attribute(Cover self, ObjectKey a0) -> bool
5317 return _IMP_core.Cover_has_attribute(self, *args)
5320 def get_derivative(self, a0):
5321 """get_derivative(Cover self, FloatKey a0) -> double"""
5322 return _IMP_core.Cover_get_derivative(self, a0)
5326 """get_name(Cover self) -> std::string"""
5327 return _IMP_core.Cover_get_name(self)
5330 def clear_caches(self):
5331 """clear_caches(Cover self)"""
5332 return _IMP_core.Cover_clear_caches(self)
5335 def set_name(self, a0):
5336 """set_name(Cover self, std::string a0)"""
5337 return _IMP_core.Cover_set_name(self, a0)
5341 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5342 return _IMP_core.Cover_set_check_level(self, a0)
5345 def add_to_derivative(self, a0, a1, a2):
5346 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5347 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5350 def set_is_optimized(self, a0, a1):
5351 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5352 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5355 def get_is_optimized(self, a0):
5356 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5357 return _IMP_core.Cover_get_is_optimized(self, a0)
5361 """get_check_level(Cover self) -> IMP::CheckLevel"""
5362 return _IMP_core.Cover_get_check_level(self)
5365 def __eq__(self, *args):
5367 __eq__(Cover self, Cover o) -> bool
5368 __eq__(Cover self, Particle d) -> bool
5370 return _IMP_core.Cover___eq__(self, *args)
5373 def __ne__(self, *args):
5375 __ne__(Cover self, Cover o) -> bool
5376 __ne__(Cover self, Particle d) -> bool
5378 return _IMP_core.Cover___ne__(self, *args)
5381 def __le__(self, *args):
5383 __le__(Cover self, Cover o) -> bool
5384 __le__(Cover self, Particle d) -> bool
5386 return _IMP_core.Cover___le__(self, *args)
5389 def __lt__(self, *args):
5391 __lt__(Cover self, Cover o) -> bool
5392 __lt__(Cover self, Particle d) -> bool
5394 return _IMP_core.Cover___lt__(self, *args)
5397 def __ge__(self, *args):
5399 __ge__(Cover self, Cover o) -> bool
5400 __ge__(Cover self, Particle d) -> bool
5402 return _IMP_core.Cover___ge__(self, *args)
5405 def __gt__(self, *args):
5407 __gt__(Cover self, Cover o) -> bool
5408 __gt__(Cover self, Particle d) -> bool
5410 return _IMP_core.Cover___gt__(self, *args)
5414 """__hash__(Cover self) -> std::size_t"""
5415 return _IMP_core.Cover___hash__(self)
5419 """__str__(Cover self) -> std::string"""
5420 return _IMP_core.Cover___str__(self)
5424 """__repr__(Cover self) -> std::string"""
5425 return _IMP_core.Cover___repr__(self)
5427 __swig_destroy__ = _IMP_core.delete_Cover
5428 __del__ =
lambda self:
None
5429 Cover_swigregister = _IMP_core.Cover_swigregister
5430 Cover_swigregister(Cover)
5432 def Cover_setup_particle(*args):
5434 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5435 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5436 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5437 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5439 return _IMP_core.Cover_setup_particle(*args)
5441 def Cover_get_is_setup(*args):
5443 get_is_setup(_ParticleAdaptor p) -> bool
5444 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5446 return _IMP_core.Cover_get_is_setup(*args)
5449 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
5450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5452 def __init__(self, *args):
5454 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5455 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5457 this = _IMP_core.new_DerivativesFromRefined(*args)
5459 self.this.append(this)
5463 def do_get_inputs(self, m, pis):
5464 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5465 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5468 def do_get_outputs(self, m, pis):
5469 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5470 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5473 def get_version_info(self):
5474 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5475 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5479 """__str__(DerivativesFromRefined self) -> std::string"""
5480 return _IMP_core.DerivativesFromRefined___str__(self)
5484 """__repr__(DerivativesFromRefined self) -> std::string"""
5485 return _IMP_core.DerivativesFromRefined___repr__(self)
5490 return _object_cast_to_DerivativesFromRefined(o)
5492 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5493 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5496 """Proxy of C++ IMP::core::DerivativesToRefined class"""
5497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5499 def __init__(self, *args):
5501 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5502 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5504 this = _IMP_core.new_DerivativesToRefined(*args)
5506 self.this.append(this)
5510 def do_get_inputs(self, m, pis):
5511 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5512 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5515 def do_get_outputs(self, m, pis):
5516 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5517 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5520 def get_version_info(self):
5521 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5522 return _IMP_core.DerivativesToRefined_get_version_info(self)
5526 """__str__(DerivativesToRefined self) -> std::string"""
5527 return _IMP_core.DerivativesToRefined___str__(self)
5531 """__repr__(DerivativesToRefined self) -> std::string"""
5532 return _IMP_core.DerivativesToRefined___repr__(self)
5537 return _object_cast_to_DerivativesToRefined(o)
5539 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5540 DerivativesToRefined_swigregister(DerivativesToRefined)
5543 """Proxy of C++ IMP::core::DiameterRestraint class"""
5544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5546 def __init__(self, f, sc, diameter):
5547 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5548 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5550 self.this.append(this)
5554 def do_get_inputs(self):
5555 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5556 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5559 def get_version_info(self):
5560 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5561 return _IMP_core.DiameterRestraint_get_version_info(self)
5564 def do_create_decomposition(self):
5565 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5566 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5569 def do_create_current_decomposition(self):
5570 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5571 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5575 """__str__(DiameterRestraint self) -> std::string"""
5576 return _IMP_core.DiameterRestraint___str__(self)
5580 """__repr__(DiameterRestraint self) -> std::string"""
5581 return _IMP_core.DiameterRestraint___repr__(self)
5586 return _object_cast_to_DiameterRestraint(o)
5588 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5589 DiameterRestraint_swigregister(DiameterRestraint)
5592 """Proxy of C++ IMP::core::Transform class"""
5593 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5595 def __init__(self, t, ignore_non_xyz=False):
5597 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5598 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5600 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5602 self.this.append(this)
5606 def do_get_inputs(self, m, pis):
5607 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5608 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5611 def do_get_outputs(self, m, pis):
5612 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5613 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5616 def get_version_info(self):
5617 """get_version_info(Transform self) -> VersionInfo"""
5618 return _IMP_core.Transform_get_version_info(self)
5622 """__str__(Transform self) -> std::string"""
5623 return _IMP_core.Transform___str__(self)
5627 """__repr__(Transform self) -> std::string"""
5628 return _IMP_core.Transform___repr__(self)
5633 return _object_cast_to_Transform(o)
5635 Transform_swigregister = _IMP_core.Transform_swigregister
5636 Transform_swigregister(Transform)
5639 """Proxy of C++ IMP::core::Reference class"""
5640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5642 def __init__(self, *args):
5644 __init__(IMP::core::Reference self) -> Reference
5645 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5646 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5648 this = _IMP_core.new_Reference(*args)
5650 self.this.append(this)
5654 def show(self, *args):
5656 show(Reference self, _ostream out)
5657 show(Reference self)
5659 return _IMP_core.Reference_show(self, *args)
5662 def setup_particle(*args):
5664 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5665 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5667 return _IMP_core.Reference_setup_particle(*args)
5669 setup_particle = staticmethod(setup_particle)
5671 def get_reference_particle(self):
5672 """get_reference_particle(Reference self) -> Particle"""
5673 return _IMP_core.Reference_get_reference_particle(self)
5676 def get_is_setup(*args):
5678 get_is_setup(_ParticleAdaptor p) -> bool
5679 get_is_setup(Model m, ParticleIndex pi) -> bool
5681 return _IMP_core.Reference_get_is_setup(*args)
5683 get_is_setup = staticmethod(get_is_setup)
5685 def get_reference_key():
5686 """get_reference_key() -> ParticleIndexKey"""
5687 return _IMP_core.Reference_get_reference_key()
5689 get_reference_key = staticmethod(get_reference_key)
5691 def add_attribute(self, *args):
5693 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5694 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5695 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5696 add_attribute(Reference self, FloatsKey a0, IMP::Floats a1)
5697 add_attribute(Reference self, IntsKey a0, IMP::Ints a1)
5698 add_attribute(Reference self, StringKey a0, IMP::String a1)
5699 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5700 add_attribute(Reference self, ObjectKey a0, Object a1)
5702 return _IMP_core.Reference_add_attribute(self, *args)
5705 def get_value(self, *args):
5707 get_value(Reference self, FloatKey a0) -> IMP::Float
5708 get_value(Reference self, IntKey a0) -> IMP::Int
5709 get_value(Reference self, FloatsKey a0) -> IMP::Floats
5710 get_value(Reference self, IntsKey a0) -> IMP::Ints
5711 get_value(Reference self, StringKey a0) -> IMP::String
5712 get_value(Reference self, ParticleIndexKey a0) -> Particle
5713 get_value(Reference self, ObjectKey a0) -> Object
5715 return _IMP_core.Reference_get_value(self, *args)
5718 def set_value(self, *args):
5720 set_value(Reference self, FloatKey a0, IMP::Float a1)
5721 set_value(Reference self, IntKey a0, IMP::Int a1)
5722 set_value(Reference self, FloatsKey a0, IMP::Floats a1)
5723 set_value(Reference self, IntsKey a0, IMP::Ints a1)
5724 set_value(Reference self, StringKey a0, IMP::String a1)
5725 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5726 set_value(Reference self, ObjectKey a0, Object a1)
5728 return _IMP_core.Reference_set_value(self, *args)
5731 def remove_attribute(self, *args):
5733 remove_attribute(Reference self, FloatKey a0)
5734 remove_attribute(Reference self, IntKey a0)
5735 remove_attribute(Reference self, FloatsKey a0)
5736 remove_attribute(Reference self, IntsKey a0)
5737 remove_attribute(Reference self, StringKey a0)
5738 remove_attribute(Reference self, ParticleIndexKey a0)
5739 remove_attribute(Reference self, ObjectKey a0)
5741 return _IMP_core.Reference_remove_attribute(self, *args)
5744 def has_attribute(self, *args):
5746 has_attribute(Reference self, FloatKey a0) -> bool
5747 has_attribute(Reference self, IntKey a0) -> bool
5748 has_attribute(Reference self, FloatsKey a0) -> bool
5749 has_attribute(Reference self, IntsKey a0) -> bool
5750 has_attribute(Reference self, StringKey a0) -> bool
5751 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5752 has_attribute(Reference self, ObjectKey a0) -> bool
5754 return _IMP_core.Reference_has_attribute(self, *args)
5757 def get_derivative(self, a0):
5758 """get_derivative(Reference self, FloatKey a0) -> double"""
5759 return _IMP_core.Reference_get_derivative(self, a0)
5763 """get_name(Reference self) -> std::string"""
5764 return _IMP_core.Reference_get_name(self)
5767 def clear_caches(self):
5768 """clear_caches(Reference self)"""
5769 return _IMP_core.Reference_clear_caches(self)
5772 def set_name(self, a0):
5773 """set_name(Reference self, std::string a0)"""
5774 return _IMP_core.Reference_set_name(self, a0)
5778 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5779 return _IMP_core.Reference_set_check_level(self, a0)
5782 def add_to_derivative(self, a0, a1, a2):
5783 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5784 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5787 def set_is_optimized(self, a0, a1):
5788 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5789 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5792 def get_is_optimized(self, a0):
5793 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5794 return _IMP_core.Reference_get_is_optimized(self, a0)
5798 """get_check_level(Reference self) -> IMP::CheckLevel"""
5799 return _IMP_core.Reference_get_check_level(self)
5802 def __eq__(self, *args):
5804 __eq__(Reference self, Reference o) -> bool
5805 __eq__(Reference self, Particle d) -> bool
5807 return _IMP_core.Reference___eq__(self, *args)
5810 def __ne__(self, *args):
5812 __ne__(Reference self, Reference o) -> bool
5813 __ne__(Reference self, Particle d) -> bool
5815 return _IMP_core.Reference___ne__(self, *args)
5818 def __le__(self, *args):
5820 __le__(Reference self, Reference o) -> bool
5821 __le__(Reference self, Particle d) -> bool
5823 return _IMP_core.Reference___le__(self, *args)
5826 def __lt__(self, *args):
5828 __lt__(Reference self, Reference o) -> bool
5829 __lt__(Reference self, Particle d) -> bool
5831 return _IMP_core.Reference___lt__(self, *args)
5834 def __ge__(self, *args):
5836 __ge__(Reference self, Reference o) -> bool
5837 __ge__(Reference self, Particle d) -> bool
5839 return _IMP_core.Reference___ge__(self, *args)
5842 def __gt__(self, *args):
5844 __gt__(Reference self, Reference o) -> bool
5845 __gt__(Reference self, Particle d) -> bool
5847 return _IMP_core.Reference___gt__(self, *args)
5851 """__hash__(Reference self) -> std::size_t"""
5852 return _IMP_core.Reference___hash__(self)
5856 """__str__(Reference self) -> std::string"""
5857 return _IMP_core.Reference___str__(self)
5861 """__repr__(Reference self) -> std::string"""
5862 return _IMP_core.Reference___repr__(self)
5864 __swig_destroy__ = _IMP_core.delete_Reference
5865 __del__ =
lambda self:
None
5866 Reference_swigregister = _IMP_core.Reference_swigregister
5867 Reference_swigregister(Reference)
5869 def Reference_setup_particle(*args):
5871 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5872 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5874 return _IMP_core.Reference_setup_particle(*args)
5876 def Reference_get_is_setup(*args):
5878 get_is_setup(_ParticleAdaptor p) -> bool
5879 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5881 return _IMP_core.Reference_get_is_setup(*args)
5883 def Reference_get_reference_key():
5884 """Reference_get_reference_key() -> ParticleIndexKey"""
5885 return _IMP_core.Reference_get_reference_key()
5888 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
5889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5891 def __init__(self, t, r):
5892 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5893 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5895 self.this.append(this)
5899 def do_get_inputs(self, m, pis):
5900 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5901 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5904 def do_get_outputs(self, m, pis):
5905 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5906 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5909 def get_version_info(self):
5910 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5911 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5915 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5916 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5920 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5921 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5926 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5928 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5929 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5932 """Proxy of C++ IMP::core::TransformationSymmetry class"""
5933 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5935 def __init__(self, *args):
5937 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5938 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5940 this = _IMP_core.new_TransformationSymmetry(*args)
5942 self.this.append(this)
5946 def get_transformation(self):
5947 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5948 return _IMP_core.TransformationSymmetry_get_transformation(self)
5951 def set_transformation(self, t):
5952 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5953 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5956 def do_get_inputs(self, m, pis):
5957 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5958 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5961 def do_get_outputs(self, m, pis):
5962 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5963 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5966 def get_version_info(self):
5967 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5968 return _IMP_core.TransformationSymmetry_get_version_info(self)
5972 """__str__(TransformationSymmetry self) -> std::string"""
5973 return _IMP_core.TransformationSymmetry___str__(self)
5977 """__repr__(TransformationSymmetry self) -> std::string"""
5978 return _IMP_core.TransformationSymmetry___repr__(self)
5983 return _object_cast_to_TransformationSymmetry(o)
5985 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
5986 TransformationSymmetry_swigregister(TransformationSymmetry)
5988 class TransformationSymmetryMover(MonteCarloMover):
5989 """Proxy of C++ IMP::core::TransformationSymmetryMover class"""
5990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5992 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5993 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5994 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
5996 self.this.append(this)
6000 def set_maximum_translation(self, mt):
6001 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
6002 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
6005 def set_maximum_rotation(self, mr):
6006 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
6007 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
6010 def get_maximum_translation(self):
6011 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
6012 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
6015 def get_maximum_rotation(self):
6016 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
6017 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
6020 def get_version_info(self):
6021 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
6022 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
6026 """__str__(TransformationSymmetryMover self) -> std::string"""
6027 return _IMP_core.TransformationSymmetryMover___str__(self)
6031 """__repr__(TransformationSymmetryMover self) -> std::string"""
6032 return _IMP_core.TransformationSymmetryMover___repr__(self)
6037 return _object_cast_to_TransformationSymmetryMover(o)
6039 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
6040 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
6043 """Proxy of C++ IMP::core::DihedralRestraint class"""
6044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6046 def __init__(self, m, score_func, p1, p2, p3, p4):
6047 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
6048 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
6050 self.this.append(this)
6054 def do_get_inputs(self):
6055 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
6056 return _IMP_core.DihedralRestraint_do_get_inputs(self)
6059 def get_version_info(self):
6060 """get_version_info(DihedralRestraint self) -> VersionInfo"""
6061 return _IMP_core.DihedralRestraint_get_version_info(self)
6065 """__str__(DihedralRestraint self) -> std::string"""
6066 return _IMP_core.DihedralRestraint___str__(self)
6070 """__repr__(DihedralRestraint self) -> std::string"""
6071 return _IMP_core.DihedralRestraint___repr__(self)
6076 return _object_cast_to_DihedralRestraint(o)
6078 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
6079 DihedralRestraint_swigregister(DihedralRestraint)
6082 """Proxy of C++ IMP::core::DistancePairScore class"""
6083 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6085 def __init__(self, *args):
6087 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
6088 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
6090 this = _IMP_core.new_DistancePairScore(*args)
6092 self.this.append(this)
6096 def do_get_inputs(self, m, pis):
6097 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6098 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
6101 def get_version_info(self):
6102 """get_version_info(DistancePairScore self) -> VersionInfo"""
6103 return _IMP_core.DistancePairScore_get_version_info(self)
6107 """__str__(DistancePairScore self) -> std::string"""
6108 return _IMP_core.DistancePairScore___str__(self)
6112 """__repr__(DistancePairScore self) -> std::string"""
6113 return _IMP_core.DistancePairScore___repr__(self)
6118 return _object_cast_to_DistancePairScore(o)
6120 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
6121 DistancePairScore_swigregister(DistancePairScore)
6124 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
6125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6127 def __init__(self, *args):
6129 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
6130 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
6132 this = _IMP_core.new_HarmonicDistancePairScore(*args)
6134 self.this.append(this)
6138 def do_get_inputs(self, m, pis):
6139 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6140 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
6143 def get_version_info(self):
6144 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
6145 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
6149 """__str__(HarmonicDistancePairScore self) -> std::string"""
6150 return _IMP_core.HarmonicDistancePairScore___str__(self)
6154 """__repr__(HarmonicDistancePairScore self) -> std::string"""
6155 return _IMP_core.HarmonicDistancePairScore___repr__(self)
6160 return _object_cast_to_HarmonicDistancePairScore(o)
6162 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
6163 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
6166 """Proxy of C++ IMP::core::DistanceRestraint class"""
6167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6169 def __init__(self, *args):
6171 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6172 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6174 this = _IMP_core.new_DistanceRestraint(*args)
6176 self.this.append(this)
6180 def get_version_info(self):
6181 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6182 return _IMP_core.DistanceRestraint_get_version_info(self)
6186 """__str__(DistanceRestraint self) -> std::string"""
6187 return _IMP_core.DistanceRestraint___str__(self)
6191 """__repr__(DistanceRestraint self) -> std::string"""
6192 return _IMP_core.DistanceRestraint___repr__(self)
6197 return _object_cast_to_DistanceRestraint(o)
6199 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6200 DistanceRestraint_swigregister(DistanceRestraint)
6203 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
6204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6206 def __init__(self, f, pt):
6207 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6208 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6210 self.this.append(this)
6214 def do_get_inputs(self, m, pis):
6215 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6216 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6219 def get_version_info(self):
6220 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6221 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6225 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6226 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6230 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6231 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6236 return _object_cast_to_SphereDistanceToSingletonScore(o)
6238 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6239 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6242 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
6243 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6245 def __init__(self, *args):
6247 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6248 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6249 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6250 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6252 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6254 self.this.append(this)
6258 def do_get_inputs(self):
6259 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6260 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6263 def get_version_info(self):
6264 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6265 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6268 def do_create_decomposition(self):
6269 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6270 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6273 def do_create_current_decomposition(self):
6274 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6275 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6279 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6280 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6283 def remove_pair_filter(self, d):
6284 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6285 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6288 def remove_pair_filters(self, d):
6289 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6290 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6293 def set_pair_filters(self, ps):
6294 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6295 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6298 def set_pair_filters_order(self, objs):
6299 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6300 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6303 def add_pair_filter(self, obj):
6304 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6305 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6308 def add_pair_filters(self, objs):
6309 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6310 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6313 def clear_pair_filters(self):
6314 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6315 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6318 def get_number_of_pair_filters(self):
6319 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6320 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6323 def get_has_pair_filters(self):
6324 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6325 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6328 def get_pair_filter(self, i):
6329 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6330 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6333 def get_pair_filters(self):
6334 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6335 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6338 def reserve_pair_filters(self, sz):
6339 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6340 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6344 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6345 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6349 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6350 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6355 return _object_cast_to_ExcludedVolumeRestraint(o)
6357 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6358 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6361 """Proxy of C++ IMP::core::FixedRefiner class"""
6362 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6364 def __init__(self, *args):
6366 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6367 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6369 this = _IMP_core.new_FixedRefiner(*args)
6371 self.this.append(this)
6375 def do_get_inputs(self, m, pis):
6376 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6377 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6380 def get_version_info(self):
6381 """get_version_info(FixedRefiner self) -> VersionInfo"""
6382 return _IMP_core.FixedRefiner_get_version_info(self)
6386 """__str__(FixedRefiner self) -> std::string"""
6387 return _IMP_core.FixedRefiner___str__(self)
6391 """__repr__(FixedRefiner self) -> std::string"""
6392 return _IMP_core.FixedRefiner___repr__(self)
6397 return _object_cast_to_FixedRefiner(o)
6399 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6400 FixedRefiner_swigregister(FixedRefiner)
6402 class GridClosePairsFinder(ClosePairsFinder):
6403 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
6404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6407 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6408 this = _IMP_core.new_GridClosePairsFinder()
6410 self.this.append(this)
6414 def get_close_pairs(self, *args):
6416 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6417 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6418 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6419 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6421 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6424 def do_get_inputs(self, m, pis):
6425 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6426 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6429 def get_version_info(self):
6430 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6431 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6435 """__str__(GridClosePairsFinder self) -> std::string"""
6436 return _IMP_core.GridClosePairsFinder___str__(self)
6440 """__repr__(GridClosePairsFinder self) -> std::string"""
6441 return _IMP_core.GridClosePairsFinder___repr__(self)
6446 return _object_cast_to_GridClosePairsFinder(o)
6448 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6449 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6452 """Proxy of C++ IMP::core::Harmonic class"""
6453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6455 def __init__(self, mean, k):
6456 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6457 this = _IMP_core.new_Harmonic(mean, k)
6459 self.this.append(this)
6463 def get_version_info(self):
6464 """get_version_info(Harmonic self) -> VersionInfo"""
6465 return _IMP_core.Harmonic_get_version_info(self)
6469 """get_mean(Harmonic self) -> IMP::Float"""
6470 return _IMP_core.Harmonic_get_mean(self)
6474 """get_k(Harmonic self) -> IMP::Float"""
6475 return _IMP_core.Harmonic_get_k(self)
6478 def set_mean(self, mean):
6479 """set_mean(Harmonic self, IMP::Float mean)"""
6480 return _IMP_core.Harmonic_set_mean(self, mean)
6484 """set_k(Harmonic self, IMP::Float k)"""
6485 return _IMP_core.Harmonic_set_k(self, k)
6488 def get_k_from_standard_deviation(sd, t=297.15):
6490 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6491 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6493 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6495 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6498 """__str__(Harmonic self) -> std::string"""
6499 return _IMP_core.Harmonic___str__(self)
6503 """__repr__(Harmonic self) -> std::string"""
6504 return _IMP_core.Harmonic___repr__(self)
6509 return _object_cast_to_Harmonic(o)
6511 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6512 Harmonic_swigregister(Harmonic)
6514 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6516 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6517 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6519 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6522 """Proxy of C++ IMP::core::HarmonicWell class"""
6523 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6525 def __init__(self, well, k):
6526 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6527 this = _IMP_core.new_HarmonicWell(well, k)
6529 self.this.append(this)
6533 def get_version_info(self):
6534 """get_version_info(HarmonicWell self) -> VersionInfo"""
6535 return _IMP_core.HarmonicWell_get_version_info(self)
6539 """__str__(HarmonicWell self) -> std::string"""
6540 return _IMP_core.HarmonicWell___str__(self)
6544 """__repr__(HarmonicWell self) -> std::string"""
6545 return _IMP_core.HarmonicWell___repr__(self)
6550 return _object_cast_to_HarmonicWell(o)
6552 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6553 HarmonicWell_swigregister(HarmonicWell)
6555 class HarmonicLowerBound(Harmonic):
6556 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
6557 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6559 def __init__(self, mean, k):
6560 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6561 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6563 self.this.append(this)
6568 """__str__(HarmonicLowerBound self) -> std::string"""
6569 return _IMP_core.HarmonicLowerBound___str__(self)
6573 """__repr__(HarmonicLowerBound self) -> std::string"""
6574 return _IMP_core.HarmonicLowerBound___repr__(self)
6579 return _object_cast_to_HarmonicLowerBound(o)
6581 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6582 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6584 class HarmonicUpperBound(Harmonic):
6585 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
6586 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6588 def __init__(self, mean, k):
6589 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6590 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6592 self.this.append(this)
6597 """__str__(HarmonicUpperBound self) -> std::string"""
6598 return _IMP_core.HarmonicUpperBound___str__(self)
6602 """__repr__(HarmonicUpperBound self) -> std::string"""
6603 return _IMP_core.HarmonicUpperBound___repr__(self)
6608 return _object_cast_to_HarmonicUpperBound(o)
6610 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6611 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6614 """Proxy of C++ IMP::core::WeightedSum class"""
6615 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6617 def __init__(self, funcs, weights):
6618 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6619 this = _IMP_core.new_WeightedSum(funcs, weights)
6621 self.this.append(this)
6625 def get_function_number(self):
6626 """get_function_number(WeightedSum self) -> unsigned int"""
6627 return _IMP_core.WeightedSum_get_function_number(self)
6630 def set_weights(self, weights):
6631 """set_weights(WeightedSum self, IMP::Floats weights)"""
6632 return _IMP_core.WeightedSum_set_weights(self, weights)
6635 def get_weights(self):
6636 """get_weights(WeightedSum self) -> IMP::Floats"""
6637 return _IMP_core.WeightedSum_get_weights(self)
6640 def get_weight(self, i):
6641 """get_weight(WeightedSum self, unsigned int i) -> double"""
6642 return _IMP_core.WeightedSum_get_weight(self, i)
6645 def get_function(self, i):
6646 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6647 return _IMP_core.WeightedSum_get_function(self, i)
6650 def get_version_info(self):
6651 """get_version_info(WeightedSum self) -> VersionInfo"""
6652 return _IMP_core.WeightedSum_get_version_info(self)
6656 """__str__(WeightedSum self) -> std::string"""
6657 return _IMP_core.WeightedSum___str__(self)
6661 """__repr__(WeightedSum self) -> std::string"""
6662 return _IMP_core.WeightedSum___repr__(self)
6667 return _object_cast_to_WeightedSum(o)
6669 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6670 WeightedSum_swigregister(WeightedSum)
6673 """Proxy of C++ IMP::core::WeightedSumOfExponential class"""
6674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6676 def __init__(self, funcs, weights, denom=1.0):
6678 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6679 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6681 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6683 self.this.append(this)
6687 def get_function_number(self):
6688 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6689 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6692 def set_weights(self, weights):
6693 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6694 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6697 def get_weights(self):
6698 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6699 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6702 def get_weight(self, i):
6703 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6704 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6707 def get_function(self, i):
6708 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6709 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6712 def set_denominator(self, denom):
6713 """set_denominator(WeightedSumOfExponential self, double denom)"""
6714 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6717 def get_denominator(self):
6718 """get_denominator(WeightedSumOfExponential self) -> double"""
6719 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6722 def get_version_info(self):
6723 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6724 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6728 """__str__(WeightedSumOfExponential self) -> std::string"""
6729 return _IMP_core.WeightedSumOfExponential___str__(self)
6733 """__repr__(WeightedSumOfExponential self) -> std::string"""
6734 return _IMP_core.WeightedSumOfExponential___repr__(self)
6739 return _object_cast_to_WeightedSumOfExponential(o)
6741 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6742 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6745 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
6746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6748 def __init__(self, m, ps, eps=0.1):
6750 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6751 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6753 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6755 self.this.append(this)
6759 def add_type(self, ps):
6760 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6761 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6764 def add_composite(self, *args):
6766 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6767 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6769 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6772 def get_connected_pairs(self):
6773 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6774 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6777 def get_pair_score(self):
6778 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6779 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6782 def do_create_current_decomposition(self):
6783 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6784 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6787 def do_get_inputs(self):
6788 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6789 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6792 def get_version_info(self):
6793 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6794 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6798 """__str__(MSConnectivityRestraint self) -> std::string"""
6799 return _IMP_core.MSConnectivityRestraint___str__(self)
6803 """__repr__(MSConnectivityRestraint self) -> std::string"""
6804 return _IMP_core.MSConnectivityRestraint___repr__(self)
6809 return _object_cast_to_MSConnectivityRestraint(o)
6811 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6812 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6814 class HierarchyTraits(object):
6815 """Proxy of C++ IMP::core::HierarchyTraits class"""
6816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6818 def __init__(self, *args):
6820 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6821 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6823 this = _IMP_core.new_HierarchyTraits(*args)
6825 self.this.append(this)
6829 def get_children_key(self):
6830 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6831 return _IMP_core.HierarchyTraits_get_children_key(self)
6834 def get_parent_key(self):
6835 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6836 return _IMP_core.HierarchyTraits_get_parent_key(self)
6839 def __eq__(self, o):
6840 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6841 return _IMP_core.HierarchyTraits___eq__(self, o)
6844 def show(self, *args):
6846 show(HierarchyTraits self, _ostream out)
6847 show(HierarchyTraits self)
6849 return _IMP_core.HierarchyTraits_show(self, *args)
6853 """__str__(HierarchyTraits self) -> std::string"""
6854 return _IMP_core.HierarchyTraits___str__(self)
6858 """__repr__(HierarchyTraits self) -> std::string"""
6859 return _IMP_core.HierarchyTraits___repr__(self)
6861 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6862 __del__ =
lambda self:
None
6863 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6864 HierarchyTraits_swigregister(HierarchyTraits)
6867 """Proxy of C++ IMP::core::Hierarchy class"""
6868 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6870 def get_decorator_traits(self):
6871 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6872 return _IMP_core.Hierarchy_get_decorator_traits(self)
6875 def get_default_decorator_traits():
6876 """get_default_decorator_traits() -> HierarchyTraits"""
6877 return _IMP_core.Hierarchy_get_default_decorator_traits()
6879 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6881 def __init__(self, *args):
6883 __init__(IMP::core::Hierarchy self) -> Hierarchy
6884 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6885 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6886 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6887 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6889 this = _IMP_core.new_Hierarchy(*args)
6891 self.this.append(this)
6895 def show(self, *args):
6897 show(Hierarchy self, _ostream out)
6898 show(Hierarchy self)
6900 return _IMP_core.Hierarchy_show(self, *args)
6903 def setup_particle(*args):
6905 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6906 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6907 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6908 setup_particle(_ParticleAdaptor d) -> Hierarchy
6909 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6910 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6911 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6912 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6913 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6914 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6915 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6916 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6918 return _IMP_core.Hierarchy_setup_particle(*args)
6920 setup_particle = staticmethod(setup_particle)
6922 def get_is_setup(*args):
6924 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6925 get_is_setup(_ParticleAdaptor p) -> bool
6926 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6927 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6929 return _IMP_core.Hierarchy_get_is_setup(*args)
6931 get_is_setup = staticmethod(get_is_setup)
6933 def get_parent(self):
6934 """get_parent(Hierarchy self) -> Hierarchy"""
6935 return _IMP_core.Hierarchy_get_parent(self)
6938 def get_number_of_children(self):
6939 """get_number_of_children(Hierarchy self) -> unsigned int"""
6940 return _IMP_core.Hierarchy_get_number_of_children(self)
6943 def get_child(self, i):
6944 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6945 return _IMP_core.Hierarchy_get_child(self, i)
6948 def get_children_indexes(self):
6949 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6950 return _IMP_core.Hierarchy_get_children_indexes(self)
6953 def get_children(self):
6954 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6955 return _IMP_core.Hierarchy_get_children(self)
6958 def remove_child(self, *args):
6960 remove_child(Hierarchy self, unsigned int i)
6961 remove_child(Hierarchy self, Hierarchy h)
6963 return _IMP_core.Hierarchy_remove_child(self, *args)
6966 def clear_children(self):
6967 """clear_children(Hierarchy self)"""
6968 return _IMP_core.Hierarchy_clear_children(self)
6971 def add_child(self, h):
6972 """add_child(Hierarchy self, Hierarchy h)"""
6973 return _IMP_core.Hierarchy_add_child(self, h)
6976 def add_child_at(self, h, pos):
6977 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6978 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6981 def get_child_index(self, *args):
6983 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6984 get_child_index(Hierarchy self) -> int
6986 return _IMP_core.Hierarchy_get_child_index(self, *args)
6989 def get_default_traits():
6990 """get_default_traits() -> HierarchyTraits"""
6991 return _IMP_core.Hierarchy_get_default_traits()
6993 get_default_traits = staticmethod(get_default_traits)
6995 def get_traits(self):
6996 """get_traits(Hierarchy self) -> HierarchyTraits"""
6997 return _IMP_core.Hierarchy_get_traits(self)
7000 def add_attribute(self, *args):
7002 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
7003 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
7004 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
7005 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7006 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
7007 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
7008 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
7009 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
7011 return _IMP_core.Hierarchy_add_attribute(self, *args)
7014 def get_value(self, *args):
7016 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
7017 get_value(Hierarchy self, IntKey a0) -> IMP::Int
7018 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
7019 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
7020 get_value(Hierarchy self, StringKey a0) -> IMP::String
7021 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
7022 get_value(Hierarchy self, ObjectKey a0) -> Object
7024 return _IMP_core.Hierarchy_get_value(self, *args)
7027 def set_value(self, *args):
7029 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
7030 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
7031 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7032 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
7033 set_value(Hierarchy self, StringKey a0, IMP::String a1)
7034 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
7035 set_value(Hierarchy self, ObjectKey a0, Object a1)
7037 return _IMP_core.Hierarchy_set_value(self, *args)
7040 def remove_attribute(self, *args):
7042 remove_attribute(Hierarchy self, FloatKey a0)
7043 remove_attribute(Hierarchy self, IntKey a0)
7044 remove_attribute(Hierarchy self, FloatsKey a0)
7045 remove_attribute(Hierarchy self, IntsKey a0)
7046 remove_attribute(Hierarchy self, StringKey a0)
7047 remove_attribute(Hierarchy self, ParticleIndexKey a0)
7048 remove_attribute(Hierarchy self, ObjectKey a0)
7050 return _IMP_core.Hierarchy_remove_attribute(self, *args)
7053 def has_attribute(self, *args):
7055 has_attribute(Hierarchy self, FloatKey a0) -> bool
7056 has_attribute(Hierarchy self, IntKey a0) -> bool
7057 has_attribute(Hierarchy self, FloatsKey a0) -> bool
7058 has_attribute(Hierarchy self, IntsKey a0) -> bool
7059 has_attribute(Hierarchy self, StringKey a0) -> bool
7060 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
7061 has_attribute(Hierarchy self, ObjectKey a0) -> bool
7063 return _IMP_core.Hierarchy_has_attribute(self, *args)
7066 def get_derivative(self, a0):
7067 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
7068 return _IMP_core.Hierarchy_get_derivative(self, a0)
7072 """get_name(Hierarchy self) -> std::string"""
7073 return _IMP_core.Hierarchy_get_name(self)
7076 def clear_caches(self):
7077 """clear_caches(Hierarchy self)"""
7078 return _IMP_core.Hierarchy_clear_caches(self)
7081 def set_name(self, a0):
7082 """set_name(Hierarchy self, std::string a0)"""
7083 return _IMP_core.Hierarchy_set_name(self, a0)
7087 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
7088 return _IMP_core.Hierarchy_set_check_level(self, a0)
7091 def add_to_derivative(self, a0, a1, a2):
7092 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7093 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
7096 def set_is_optimized(self, a0, a1):
7097 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
7098 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
7101 def get_is_optimized(self, a0):
7102 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
7103 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
7107 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
7108 return _IMP_core.Hierarchy_get_check_level(self)
7111 def __eq__(self, *args):
7113 __eq__(Hierarchy self, Hierarchy o) -> bool
7114 __eq__(Hierarchy self, Particle d) -> bool
7116 return _IMP_core.Hierarchy___eq__(self, *args)
7119 def __ne__(self, *args):
7121 __ne__(Hierarchy self, Hierarchy o) -> bool
7122 __ne__(Hierarchy self, Particle d) -> bool
7124 return _IMP_core.Hierarchy___ne__(self, *args)
7127 def __le__(self, *args):
7129 __le__(Hierarchy self, Hierarchy o) -> bool
7130 __le__(Hierarchy self, Particle d) -> bool
7132 return _IMP_core.Hierarchy___le__(self, *args)
7135 def __lt__(self, *args):
7137 __lt__(Hierarchy self, Hierarchy o) -> bool
7138 __lt__(Hierarchy self, Particle d) -> bool
7140 return _IMP_core.Hierarchy___lt__(self, *args)
7143 def __ge__(self, *args):
7145 __ge__(Hierarchy self, Hierarchy o) -> bool
7146 __ge__(Hierarchy self, Particle d) -> bool
7148 return _IMP_core.Hierarchy___ge__(self, *args)
7151 def __gt__(self, *args):
7153 __gt__(Hierarchy self, Hierarchy o) -> bool
7154 __gt__(Hierarchy self, Particle d) -> bool
7156 return _IMP_core.Hierarchy___gt__(self, *args)
7160 """__hash__(Hierarchy self) -> std::size_t"""
7161 return _IMP_core.Hierarchy___hash__(self)
7165 """__str__(Hierarchy self) -> std::string"""
7166 return _IMP_core.Hierarchy___str__(self)
7170 """__repr__(Hierarchy self) -> std::string"""
7171 return _IMP_core.Hierarchy___repr__(self)
7173 __swig_destroy__ = _IMP_core.delete_Hierarchy
7174 __del__ =
lambda self:
None
7175 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7176 Hierarchy_swigregister(Hierarchy)
7178 def Hierarchy_get_default_decorator_traits():
7179 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7180 return _IMP_core.Hierarchy_get_default_decorator_traits()
7182 def Hierarchy_setup_particle(*args):
7184 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7185 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7186 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7187 setup_particle(_ParticleAdaptor d) -> Hierarchy
7188 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7189 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7190 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7191 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7192 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7193 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7194 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7195 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7197 return _IMP_core.Hierarchy_setup_particle(*args)
7199 def Hierarchy_get_is_setup(*args):
7201 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7202 get_is_setup(_ParticleAdaptor p) -> bool
7203 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7204 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7206 return _IMP_core.Hierarchy_get_is_setup(*args)
7208 def Hierarchy_get_default_traits():
7209 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7210 return _IMP_core.Hierarchy_get_default_traits()
7212 class HierarchyVisitor(object):
7213 """Proxy of C++ IMP::core::HierarchyVisitor class"""
7214 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7215 __repr__ = _swig_repr
7218 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7219 if self.__class__ == HierarchyVisitor:
7223 this = _IMP_core.new_HierarchyVisitor(_self, )
7225 self.this.append(this)
7229 if self.__class__ != HierarchyVisitor:
7230 _director_objects.register(self)
7235 def __call__(self, p):
7236 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7237 return _IMP_core.HierarchyVisitor___call__(self, p)
7239 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7240 __del__ =
lambda self:
None
7241 def __disown__(self):
7243 _IMP_core.disown_HierarchyVisitor(self)
7244 return weakref_proxy(self)
7245 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7246 HierarchyVisitor_swigregister(HierarchyVisitor)
7248 class ModifierVisitor(HierarchyVisitor):
7249 """Proxy of C++ IMP::core::ModifierVisitor class"""
7250 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7251 __repr__ = _swig_repr
7253 def __init__(self, sm):
7254 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7255 this = _IMP_core.new_ModifierVisitor(sm)
7257 self.this.append(this)
7260 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7261 __del__ =
lambda self:
None
7262 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7263 ModifierVisitor_swigregister(ModifierVisitor)
7265 class HierarchyCounter(HierarchyVisitor):
7266 """Proxy of C++ IMP::core::HierarchyCounter class"""
7267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7270 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7271 this = _IMP_core.new_HierarchyCounter()
7273 self.this.append(this)
7277 def get_count(self):
7278 """get_count(HierarchyCounter self) -> unsigned int"""
7279 return _IMP_core.HierarchyCounter_get_count(self)
7282 def show(self, *args):
7284 show(HierarchyCounter self, _ostream out)
7285 show(HierarchyCounter self)
7287 return _IMP_core.HierarchyCounter_show(self, *args)
7291 """__str__(HierarchyCounter self) -> std::string"""
7292 return _IMP_core.HierarchyCounter___str__(self)
7296 """__repr__(HierarchyCounter self) -> std::string"""
7297 return _IMP_core.HierarchyCounter___repr__(self)
7299 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7300 __del__ =
lambda self:
None
7301 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7302 HierarchyCounter_swigregister(HierarchyCounter)
7306 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7307 return _IMP_core.get_leaves(mhd)
7310 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7311 return _IMP_core.get_internal(mhd)
7314 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7315 return _IMP_core.get_all_descendants(mhd)
7318 """get_root(Hierarchy h) -> Hierarchy"""
7319 return _IMP_core.get_root(h)
7322 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7323 return _IMP_core.visit_breadth_first(d, f)
7326 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7327 return _IMP_core.visit_depth_first(d, f)
7329 """Proxy of C++ IMP::core::LeavesRefiner class"""
7330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7332 def __init__(self, tr):
7333 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7334 this = _IMP_core.new_LeavesRefiner(tr)
7336 self.this.append(this)
7340 def do_get_inputs(self, m, pis):
7341 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7342 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7345 def get_version_info(self):
7346 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7347 return _IMP_core.LeavesRefiner_get_version_info(self)
7351 """__str__(LeavesRefiner self) -> std::string"""
7352 return _IMP_core.LeavesRefiner___str__(self)
7356 """__repr__(LeavesRefiner self) -> std::string"""
7357 return _IMP_core.LeavesRefiner___repr__(self)
7362 return _object_cast_to_LeavesRefiner(o)
7364 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7365 LeavesRefiner_swigregister(LeavesRefiner)
7368 """Proxy of C++ IMP::core::Linear class"""
7369 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7371 def __init__(self, offset, slope):
7372 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7373 this = _IMP_core.new_Linear(offset, slope)
7375 self.this.append(this)
7379 def set_slope(self, f):
7380 """set_slope(Linear self, double f)"""
7381 return _IMP_core.Linear_set_slope(self, f)
7384 def set_offset(self, f):
7385 """set_offset(Linear self, double f)"""
7386 return _IMP_core.Linear_set_offset(self, f)
7389 def get_version_info(self):
7390 """get_version_info(Linear self) -> VersionInfo"""
7391 return _IMP_core.Linear_get_version_info(self)
7395 """__str__(Linear self) -> std::string"""
7396 return _IMP_core.Linear___str__(self)
7400 """__repr__(Linear self) -> std::string"""
7401 return _IMP_core.Linear___repr__(self)
7406 return _object_cast_to_Linear(o)
7408 Linear_swigregister = _IMP_core.Linear_swigregister
7409 Linear_swigregister(Linear)
7411 class LogNormalMover(MonteCarloMover):
7412 """Proxy of C++ IMP::core::LogNormalMover class"""
7413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7415 def __init__(self, *args):
7417 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7418 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7419 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7420 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7422 this = _IMP_core.new_LogNormalMover(*args)
7424 self.this.append(this)
7428 def set_sigma(self, sigma):
7429 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7430 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7433 def get_sigma(self):
7434 """get_sigma(LogNormalMover self) -> IMP::Float"""
7435 return _IMP_core.LogNormalMover_get_sigma(self)
7438 def get_version_info(self):
7439 """get_version_info(LogNormalMover self) -> VersionInfo"""
7440 return _IMP_core.LogNormalMover_get_version_info(self)
7444 """__str__(LogNormalMover self) -> std::string"""
7445 return _IMP_core.LogNormalMover___str__(self)
7449 """__repr__(LogNormalMover self) -> std::string"""
7450 return _IMP_core.LogNormalMover___repr__(self)
7455 return _object_cast_to_LogNormalMover(o)
7457 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7458 LogNormalMover_swigregister(LogNormalMover)
7461 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
7462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7464 def __init__(self, *args):
7466 __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
7467 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7468 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7469 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7471 this = _IMP_core.new_IncrementalScoringFunction(*args)
7473 self.this.append(this)
7477 def reset_moved_particles(self):
7478 """reset_moved_particles(IncrementalScoringFunction self)"""
7479 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7482 def set_moved_particles(self, p):
7483 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7484 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7487 def add_close_pair_score(self, *args):
7489 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7490 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7492 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7495 def clear_close_pair_scores(self):
7496 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7497 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7500 def get_movable_indexes(self):
7501 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7502 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7505 def do_add_score_and_derivatives(self, sa, ss):
7506 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7507 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7510 def do_get_inputs(self):
7511 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7512 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7515 def handle_set_has_required_score_states(self, arg2):
7516 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7517 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7520 def get_version_info(self):
7521 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7522 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7526 """__str__(IncrementalScoringFunction self) -> std::string"""
7527 return _IMP_core.IncrementalScoringFunction___str__(self)
7531 """__repr__(IncrementalScoringFunction self) -> std::string"""
7532 return _IMP_core.IncrementalScoringFunction___repr__(self)
7537 return _object_cast_to_IncrementalScoringFunction(o)
7539 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7540 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7543 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
7544 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7546 """Proxy of C++ IMP::core::MonteCarlo class"""
7547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7549 def __init__(self, m):
7550 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7551 this = _IMP_core.new_MonteCarlo(m)
7553 self.this.append(this)
7557 def get_version_info(self):
7558 """get_version_info(MonteCarlo self) -> VersionInfo"""
7559 return _IMP_core.MonteCarlo_get_version_info(self)
7562 def set_return_best(self, tf):
7563 """set_return_best(MonteCarlo self, bool tf)"""
7564 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7567 def set_kt(self, t):
7568 """set_kt(MonteCarlo self, IMP::Float t)"""
7569 return _IMP_core.MonteCarlo_set_kt(self, t)
7573 """get_kt(MonteCarlo self) -> IMP::Float"""
7574 return _IMP_core.MonteCarlo_get_kt(self)
7577 def get_last_accepted_energy(self):
7578 """get_last_accepted_energy(MonteCarlo self) -> double"""
7579 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7582 def get_best_accepted_energy(self):
7583 """get_best_accepted_energy(MonteCarlo self) -> double"""
7584 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7587 def get_number_of_downward_steps(self):
7588 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7589 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7592 def get_number_of_upward_steps(self):
7593 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7594 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7597 def get_number_of_proposed_steps(self):
7598 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7599 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7602 def get_number_of_accepted_steps(self):
7603 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7604 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7607 def reset_statistics(self):
7608 """reset_statistics(MonteCarlo self)"""
7609 return _IMP_core.MonteCarlo_reset_statistics(self)
7612 def set_score_threshold(self, s):
7613 """set_score_threshold(MonteCarlo self, double s)"""
7614 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7617 def get_score_threshold(self):
7618 """get_score_threshold(MonteCarlo self) -> double"""
7619 return _IMP_core.MonteCarlo_get_score_threshold(self)
7622 def set_maximum_difference(self, d):
7623 """set_maximum_difference(MonteCarlo self, double d)"""
7624 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7627 def get_maximum_difference(self):
7628 """get_maximum_difference(MonteCarlo self) -> double"""
7629 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7632 def remove_mover(self, d):
7633 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7634 return _IMP_core.MonteCarlo_remove_mover(self, d)
7637 def remove_movers(self, d):
7638 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7639 return _IMP_core.MonteCarlo_remove_movers(self, d)
7642 def set_movers(self, ps):
7643 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7644 return _IMP_core.MonteCarlo_set_movers(self, ps)
7647 def set_movers_order(self, objs):
7648 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7649 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7652 def add_mover(self, obj):
7653 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7654 return _IMP_core.MonteCarlo_add_mover(self, obj)
7657 def add_movers(self, objs):
7658 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7659 return _IMP_core.MonteCarlo_add_movers(self, objs)
7662 def clear_movers(self):
7663 """clear_movers(MonteCarlo self)"""
7664 return _IMP_core.MonteCarlo_clear_movers(self)
7667 def get_number_of_movers(self):
7668 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7669 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7672 def get_has_movers(self):
7673 """get_has_movers(MonteCarlo self) -> bool"""
7674 return _IMP_core.MonteCarlo_get_has_movers(self)
7677 def get_mover(self, i):
7678 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7679 return _IMP_core.MonteCarlo_get_mover(self, i)
7682 def get_movers(self):
7683 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7684 return _IMP_core.MonteCarlo_get_movers(self)
7687 def reserve_movers(self, sz):
7688 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7689 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7692 def set_incremental_scoring_function(self, isf):
7693 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7694 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7697 def get_use_incremental_scoring_function(self):
7698 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7699 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7702 def get_incremental_scoring_function(self):
7703 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7704 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7708 """__str__(MonteCarlo self) -> std::string"""
7709 return _IMP_core.MonteCarlo___str__(self)
7713 """__repr__(MonteCarlo self) -> std::string"""
7714 return _IMP_core.MonteCarlo___repr__(self)
7719 return _object_cast_to_MonteCarlo(o)
7721 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7722 MonteCarlo_swigregister(MonteCarlo)
7724 class MonteCarloWithLocalOptimization(MonteCarlo):
7725 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
7726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7728 def __init__(self, opt, steps):
7729 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7730 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7732 self.this.append(this)
7736 def get_number_of_steps(self):
7737 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7738 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7741 def get_local_optimizer(self):
7742 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7743 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7747 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7748 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7752 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7753 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7758 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7760 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7761 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7763 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7764 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
7765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7767 def __init__(self, opt, ns):
7768 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7769 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7771 self.this.append(this)
7776 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7777 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7781 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7782 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7787 return _object_cast_to_MonteCarloWithBasinHopping(o)
7789 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7790 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7793 """Proxy of C++ IMP::core::NeighborsTable class"""
7794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7796 def __init__(self, *args):
7798 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7799 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7801 this = _IMP_core.new_NeighborsTable(*args)
7803 self.this.append(this)
7807 def get_neighbors(self, pi):
7808 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7809 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7812 def get_version_info(self):
7813 """get_version_info(NeighborsTable self) -> VersionInfo"""
7814 return _IMP_core.NeighborsTable_get_version_info(self)
7818 """__str__(NeighborsTable self) -> std::string"""
7819 return _IMP_core.NeighborsTable___str__(self)
7823 """__repr__(NeighborsTable self) -> std::string"""
7824 return _IMP_core.NeighborsTable___repr__(self)
7829 return _object_cast_to_NeighborsTable(o)
7831 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7832 NeighborsTable_swigregister(NeighborsTable)
7834 class NormalMover(MonteCarloMover):
7835 """Proxy of C++ IMP::core::NormalMover class"""
7836 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7838 def __init__(self, *args):
7840 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7841 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7842 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7843 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7845 this = _IMP_core.new_NormalMover(*args)
7847 self.this.append(this)
7851 def set_sigma(self, sigma):
7852 """set_sigma(NormalMover self, IMP::Float sigma)"""
7853 return _IMP_core.NormalMover_set_sigma(self, sigma)
7856 def get_sigma(self):
7857 """get_sigma(NormalMover self) -> IMP::Float"""
7858 return _IMP_core.NormalMover_get_sigma(self)
7861 def get_version_info(self):
7862 """get_version_info(NormalMover self) -> VersionInfo"""
7863 return _IMP_core.NormalMover_get_version_info(self)
7867 """__str__(NormalMover self) -> std::string"""
7868 return _IMP_core.NormalMover___str__(self)
7872 """__repr__(NormalMover self) -> std::string"""
7873 return _IMP_core.NormalMover___repr__(self)
7878 return _object_cast_to_NormalMover(o)
7880 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7881 NormalMover_swigregister(NormalMover)
7883 class OpenCubicSpline(_OpenCubicSplineBase):
7884 """Proxy of C++ IMP::core::OpenCubicSpline class"""
7885 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7887 def __init__(self, values, minrange, spacing, extend=False):
7889 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7890 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7892 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7894 self.this.append(this)
7899 """__str__(OpenCubicSpline self) -> std::string"""
7900 return _IMP_core.OpenCubicSpline___str__(self)
7904 """__repr__(OpenCubicSpline self) -> std::string"""
7905 return _IMP_core.OpenCubicSpline___repr__(self)
7910 return _object_cast_to_OpenCubicSpline(o)
7912 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7913 __del__ =
lambda self:
None
7914 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7915 OpenCubicSpline_swigregister(OpenCubicSpline)
7917 class QuadraticClosePairsFinder(ClosePairsFinder):
7918 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
7919 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7922 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7923 this = _IMP_core.new_QuadraticClosePairsFinder()
7925 self.this.append(this)
7929 def get_are_close_and_filtered(self, *args):
7931 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7932 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7934 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7937 def get_close_pairs(self, *args):
7939 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7940 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7941 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7942 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7944 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7947 def do_get_inputs(self, m, pis):
7948 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7949 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7952 def get_version_info(self):
7953 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7954 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7958 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7959 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7963 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7964 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7969 return _object_cast_to_QuadraticClosePairsFinder(o)
7971 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7972 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7975 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
7976 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7978 def __init__(self, r, f):
7979 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7980 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7982 self.this.append(this)
7986 def do_get_inputs(self, m, pis):
7987 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7988 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7991 def get_version_info(self):
7992 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7993 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7997 """__str__(RefinedPairsPairScore self) -> std::string"""
7998 return _IMP_core.RefinedPairsPairScore___str__(self)
8002 """__repr__(RefinedPairsPairScore self) -> std::string"""
8003 return _IMP_core.RefinedPairsPairScore___repr__(self)
8008 return _object_cast_to_RefinedPairsPairScore(o)
8010 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
8011 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
8013 class RigidBody(XYZ):
8014 """Proxy of C++ IMP::core::RigidBody class"""
8015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8017 def get_rigid_members(self):
8018 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
8019 return _IMP_core.RigidBody_get_rigid_members(self)
8022 def get_rotation_keys():
8023 """get_rotation_keys() -> IMP::FloatKeys"""
8024 return _IMP_core.RigidBody_get_rotation_keys()
8026 get_rotation_keys = staticmethod(get_rotation_keys)
8028 def get_member_particle_indexes(self):
8029 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8030 return _IMP_core.RigidBody_get_member_particle_indexes(self)
8033 def get_body_member_particle_indexes(self):
8034 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8035 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
8038 def get_member_indexes(self):
8039 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
8040 return _IMP_core.RigidBody_get_member_indexes(self)
8043 def __init__(self, *args):
8045 __init__(IMP::core::RigidBody self) -> RigidBody
8046 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
8047 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
8049 this = _IMP_core.new_RigidBody(*args)
8051 self.this.append(this)
8055 def show(self, *args):
8057 show(RigidBody self, _ostream out)
8058 show(RigidBody self)
8060 return _IMP_core.RigidBody_show(self, *args)
8063 def setup_particle(*args):
8065 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8066 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8067 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8068 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8070 return _IMP_core.RigidBody_setup_particle(*args)
8072 setup_particle = staticmethod(setup_particle)
8074 def teardown_particle(rb):
8075 """teardown_particle(RigidBody rb)"""
8076 return _IMP_core.RigidBody_teardown_particle(rb)
8078 teardown_particle = staticmethod(teardown_particle)
8079 __swig_destroy__ = _IMP_core.delete_RigidBody
8080 __del__ =
lambda self:
None
8082 def get_is_setup(*args):
8084 get_is_setup(_ParticleAdaptor p) -> bool
8085 get_is_setup(Model m, ParticleIndex pi) -> bool
8087 return _IMP_core.RigidBody_get_is_setup(*args)
8089 get_is_setup = staticmethod(get_is_setup)
8091 def get_coordinates(self):
8092 """get_coordinates(RigidBody self) -> Vector3D"""
8093 return _IMP_core.RigidBody_get_coordinates(self)
8096 def get_rotation(self):
8097 """get_rotation(RigidBody self) -> Rotation3D"""
8098 return _IMP_core.RigidBody_get_rotation(self)
8101 def get_reference_frame(self):
8102 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
8103 return _IMP_core.RigidBody_get_reference_frame(self)
8106 def set_reference_frame(self, tr):
8107 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
8108 return _IMP_core.RigidBody_set_reference_frame(self, tr)
8111 def set_reference_frame_lazy(self, tr):
8112 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
8113 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
8116 def set_reference_frame_from_members(self, members):
8117 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
8118 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
8121 def pull_back_members_adjoints(self, da):
8122 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
8123 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
8126 def pull_back_member_adjoints(self, pi, da):
8127 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8128 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
8131 def pull_back_body_member_adjoints(self, pi, da):
8132 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8133 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
8136 def add_to_derivatives(self, *args):
8138 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
8139 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8141 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8144 def add_to_rotational_derivatives(self, *args):
8146 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8147 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8149 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8152 def add_to_torque(self, torque_local, da):
8153 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8154 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8157 def get_torque(self):
8158 """get_torque(RigidBody self) -> Vector3D"""
8159 return _IMP_core.RigidBody_get_torque(self)
8162 def get_coordinates_are_optimized(self):
8163 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8164 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8167 def set_coordinates_are_optimized(self, tf):
8168 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8169 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8172 def normalize_rotation(self):
8173 """normalize_rotation(RigidBody self)"""
8174 return _IMP_core.RigidBody_normalize_rotation(self)
8177 def update_members(self):
8178 """update_members(RigidBody self)"""
8179 return _IMP_core.RigidBody_update_members(self)
8182 def get_rotational_derivatives(self):
8183 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8184 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8187 def get_number_of_members(self):
8188 """get_number_of_members(RigidBody self) -> unsigned int"""
8189 return _IMP_core.RigidBody_get_number_of_members(self)
8192 def get_member(self, i):
8193 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8194 return _IMP_core.RigidBody_get_member(self, i)
8197 def add_member(self, p):
8198 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8199 return _IMP_core.RigidBody_add_member(self, p)
8202 def add_non_rigid_member(self, p):
8203 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8204 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8207 def set_is_rigid_member(self, pi, tf):
8208 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8209 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8212 def add_attribute(self, *args):
8214 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8215 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8216 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8217 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
8218 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
8219 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8220 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8221 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8223 return _IMP_core.RigidBody_add_attribute(self, *args)
8226 def get_value(self, *args):
8228 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8229 get_value(RigidBody self, IntKey a0) -> IMP::Int
8230 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
8231 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
8232 get_value(RigidBody self, StringKey a0) -> IMP::String
8233 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8234 get_value(RigidBody self, ObjectKey a0) -> Object
8236 return _IMP_core.RigidBody_get_value(self, *args)
8239 def set_value(self, *args):
8241 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8242 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8243 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
8244 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
8245 set_value(RigidBody self, StringKey a0, IMP::String a1)
8246 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8247 set_value(RigidBody self, ObjectKey a0, Object a1)
8249 return _IMP_core.RigidBody_set_value(self, *args)
8252 def remove_attribute(self, *args):
8254 remove_attribute(RigidBody self, FloatKey a0)
8255 remove_attribute(RigidBody self, IntKey a0)
8256 remove_attribute(RigidBody self, FloatsKey a0)
8257 remove_attribute(RigidBody self, IntsKey a0)
8258 remove_attribute(RigidBody self, StringKey a0)
8259 remove_attribute(RigidBody self, ParticleIndexKey a0)
8260 remove_attribute(RigidBody self, ObjectKey a0)
8262 return _IMP_core.RigidBody_remove_attribute(self, *args)
8265 def has_attribute(self, *args):
8267 has_attribute(RigidBody self, FloatKey a0) -> bool
8268 has_attribute(RigidBody self, IntKey a0) -> bool
8269 has_attribute(RigidBody self, FloatsKey a0) -> bool
8270 has_attribute(RigidBody self, IntsKey a0) -> bool
8271 has_attribute(RigidBody self, StringKey a0) -> bool
8272 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8273 has_attribute(RigidBody self, ObjectKey a0) -> bool
8275 return _IMP_core.RigidBody_has_attribute(self, *args)
8278 def get_derivative(self, a0):
8279 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8280 return _IMP_core.RigidBody_get_derivative(self, a0)
8284 """get_name(RigidBody self) -> std::string"""
8285 return _IMP_core.RigidBody_get_name(self)
8288 def clear_caches(self):
8289 """clear_caches(RigidBody self)"""
8290 return _IMP_core.RigidBody_clear_caches(self)
8293 def set_name(self, a0):
8294 """set_name(RigidBody self, std::string a0)"""
8295 return _IMP_core.RigidBody_set_name(self, a0)
8299 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8300 return _IMP_core.RigidBody_set_check_level(self, a0)
8303 def add_to_derivative(self, a0, a1, a2):
8304 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8305 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8308 def set_is_optimized(self, a0, a1):
8309 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8310 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8313 def get_is_optimized(self, a0):
8314 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8315 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8319 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8320 return _IMP_core.RigidBody_get_check_level(self)
8323 def __eq__(self, *args):
8325 __eq__(RigidBody self, RigidBody o) -> bool
8326 __eq__(RigidBody self, Particle d) -> bool
8328 return _IMP_core.RigidBody___eq__(self, *args)
8331 def __ne__(self, *args):
8333 __ne__(RigidBody self, RigidBody o) -> bool
8334 __ne__(RigidBody self, Particle d) -> bool
8336 return _IMP_core.RigidBody___ne__(self, *args)
8339 def __le__(self, *args):
8341 __le__(RigidBody self, RigidBody o) -> bool
8342 __le__(RigidBody self, Particle d) -> bool
8344 return _IMP_core.RigidBody___le__(self, *args)
8347 def __lt__(self, *args):
8349 __lt__(RigidBody self, RigidBody o) -> bool
8350 __lt__(RigidBody self, Particle d) -> bool
8352 return _IMP_core.RigidBody___lt__(self, *args)
8355 def __ge__(self, *args):
8357 __ge__(RigidBody self, RigidBody o) -> bool
8358 __ge__(RigidBody self, Particle d) -> bool
8360 return _IMP_core.RigidBody___ge__(self, *args)
8363 def __gt__(self, *args):
8365 __gt__(RigidBody self, RigidBody o) -> bool
8366 __gt__(RigidBody self, Particle d) -> bool
8368 return _IMP_core.RigidBody___gt__(self, *args)
8372 """__hash__(RigidBody self) -> std::size_t"""
8373 return _IMP_core.RigidBody___hash__(self)
8377 """__str__(RigidBody self) -> std::string"""
8378 return _IMP_core.RigidBody___str__(self)
8382 """__repr__(RigidBody self) -> std::string"""
8383 return _IMP_core.RigidBody___repr__(self)
8385 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8386 RigidBody_swigregister(RigidBody)
8388 def RigidBody_get_rotation_keys():
8389 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8390 return _IMP_core.RigidBody_get_rotation_keys()
8392 def RigidBody_setup_particle(*args):
8394 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8395 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8396 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8397 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8399 return _IMP_core.RigidBody_setup_particle(*args)
8401 def RigidBody_teardown_particle(rb):
8402 """RigidBody_teardown_particle(RigidBody rb)"""
8403 return _IMP_core.RigidBody_teardown_particle(rb)
8405 def RigidBody_get_is_setup(*args):
8407 get_is_setup(_ParticleAdaptor p) -> bool
8408 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8410 return _IMP_core.RigidBody_get_is_setup(*args)
8414 """add_rigid_body_cache_key(ObjectKey k)"""
8415 return _IMP_core.add_rigid_body_cache_key(k)
8416 class RigidBodyMember(XYZ):
8417 """Proxy of C++ IMP::core::RigidBodyMember class"""
8418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8420 def __init__(self, *args):
8422 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8423 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8424 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8426 this = _IMP_core.new_RigidBodyMember(*args)
8428 self.this.append(this)
8432 def show(self, *args):
8434 show(RigidBodyMember self, _ostream out)
8435 show(RigidBodyMember self)
8437 return _IMP_core.RigidBodyMember_show(self, *args)
8440 def get_rigid_body(self):
8441 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8442 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8445 def get_internal_coordinates(self):
8446 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8447 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8450 def set_internal_coordinates(self, v):
8451 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8452 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8455 def set_internal_transformation(self, v):
8456 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8457 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8460 def get_internal_transformation(self):
8461 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8462 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8464 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8465 __del__ =
lambda self:
None
8467 def set_coordinates(self, *args):
8469 set_coordinates(RigidBodyMember self, Vector3D center)
8470 set_coordinates(RigidBodyMember self, Transformation3D tr)
8472 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8475 def get_is_setup(*args):
8477 get_is_setup(_ParticleAdaptor p) -> bool
8478 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8480 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8482 get_is_setup = staticmethod(get_is_setup)
8484 def get_internal_coordinate_keys():
8485 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8486 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8488 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8490 def get_internal_rotation_keys():
8491 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8492 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8494 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8496 def add_attribute(self, *args):
8498 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8499 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8500 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8501 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8502 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8503 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8504 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8505 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8507 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8510 def get_value(self, *args):
8512 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8513 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8514 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
8515 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
8516 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8517 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8518 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8520 return _IMP_core.RigidBodyMember_get_value(self, *args)
8523 def set_value(self, *args):
8525 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8526 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8527 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8528 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8529 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8530 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8531 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8533 return _IMP_core.RigidBodyMember_set_value(self, *args)
8536 def remove_attribute(self, *args):
8538 remove_attribute(RigidBodyMember self, FloatKey a0)
8539 remove_attribute(RigidBodyMember self, IntKey a0)
8540 remove_attribute(RigidBodyMember self, FloatsKey a0)
8541 remove_attribute(RigidBodyMember self, IntsKey a0)
8542 remove_attribute(RigidBodyMember self, StringKey a0)
8543 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8544 remove_attribute(RigidBodyMember self, ObjectKey a0)
8546 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8549 def has_attribute(self, *args):
8551 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8552 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8553 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
8554 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
8555 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8556 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8557 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8559 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8562 def get_derivative(self, a0):
8563 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8564 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8568 """get_name(RigidBodyMember self) -> std::string"""
8569 return _IMP_core.RigidBodyMember_get_name(self)
8572 def clear_caches(self):
8573 """clear_caches(RigidBodyMember self)"""
8574 return _IMP_core.RigidBodyMember_clear_caches(self)
8577 def set_name(self, a0):
8578 """set_name(RigidBodyMember self, std::string a0)"""
8579 return _IMP_core.RigidBodyMember_set_name(self, a0)
8583 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8584 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8587 def add_to_derivative(self, a0, a1, a2):
8588 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8589 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8592 def set_is_optimized(self, a0, a1):
8593 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8594 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8597 def get_is_optimized(self, a0):
8598 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8599 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8603 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8604 return _IMP_core.RigidBodyMember_get_check_level(self)
8607 def __eq__(self, *args):
8609 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8610 __eq__(RigidBodyMember self, Particle d) -> bool
8612 return _IMP_core.RigidBodyMember___eq__(self, *args)
8615 def __ne__(self, *args):
8617 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8618 __ne__(RigidBodyMember self, Particle d) -> bool
8620 return _IMP_core.RigidBodyMember___ne__(self, *args)
8623 def __le__(self, *args):
8625 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8626 __le__(RigidBodyMember self, Particle d) -> bool
8628 return _IMP_core.RigidBodyMember___le__(self, *args)
8631 def __lt__(self, *args):
8633 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8634 __lt__(RigidBodyMember self, Particle d) -> bool
8636 return _IMP_core.RigidBodyMember___lt__(self, *args)
8639 def __ge__(self, *args):
8641 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8642 __ge__(RigidBodyMember self, Particle d) -> bool
8644 return _IMP_core.RigidBodyMember___ge__(self, *args)
8647 def __gt__(self, *args):
8649 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8650 __gt__(RigidBodyMember self, Particle d) -> bool
8652 return _IMP_core.RigidBodyMember___gt__(self, *args)
8656 """__hash__(RigidBodyMember self) -> std::size_t"""
8657 return _IMP_core.RigidBodyMember___hash__(self)
8661 """__str__(RigidBodyMember self) -> std::string"""
8662 return _IMP_core.RigidBodyMember___str__(self)
8666 """__repr__(RigidBodyMember self) -> std::string"""
8667 return _IMP_core.RigidBodyMember___repr__(self)
8669 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8670 RigidBodyMember_swigregister(RigidBodyMember)
8672 def RigidBodyMember_get_is_setup(*args):
8674 get_is_setup(_ParticleAdaptor p) -> bool
8675 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8677 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8679 def RigidBodyMember_get_internal_coordinate_keys():
8680 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8681 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8683 def RigidBodyMember_get_internal_rotation_keys():
8684 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8685 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8687 class RigidMember(RigidBodyMember):
8688 """Proxy of C++ IMP::core::RigidMember class"""
8689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8691 def __init__(self, *args):
8693 __init__(IMP::core::RigidMember self) -> RigidMember
8694 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8695 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8697 this = _IMP_core.new_RigidMember(*args)
8699 self.this.append(this)
8703 def show(self, *args):
8705 show(RigidMember self, _ostream out)
8706 show(RigidMember self)
8708 return _IMP_core.RigidMember_show(self, *args)
8710 __swig_destroy__ = _IMP_core.delete_RigidMember
8711 __del__ =
lambda self:
None
8713 def get_is_setup(*args):
8715 get_is_setup(_ParticleAdaptor p) -> bool
8716 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8718 return _IMP_core.RigidMember_get_is_setup(*args)
8720 get_is_setup = staticmethod(get_is_setup)
8722 def add_attribute(self, *args):
8724 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8725 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8726 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8727 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
8728 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
8729 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8730 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8731 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8733 return _IMP_core.RigidMember_add_attribute(self, *args)
8736 def get_value(self, *args):
8738 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8739 get_value(RigidMember self, IntKey a0) -> IMP::Int
8740 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
8741 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
8742 get_value(RigidMember self, StringKey a0) -> IMP::String
8743 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8744 get_value(RigidMember self, ObjectKey a0) -> Object
8746 return _IMP_core.RigidMember_get_value(self, *args)
8749 def set_value(self, *args):
8751 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8752 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8753 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8754 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8755 set_value(RigidMember self, StringKey a0, IMP::String a1)
8756 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8757 set_value(RigidMember self, ObjectKey a0, Object a1)
8759 return _IMP_core.RigidMember_set_value(self, *args)
8762 def remove_attribute(self, *args):
8764 remove_attribute(RigidMember self, FloatKey a0)
8765 remove_attribute(RigidMember self, IntKey a0)
8766 remove_attribute(RigidMember self, FloatsKey a0)
8767 remove_attribute(RigidMember self, IntsKey a0)
8768 remove_attribute(RigidMember self, StringKey a0)
8769 remove_attribute(RigidMember self, ParticleIndexKey a0)
8770 remove_attribute(RigidMember self, ObjectKey a0)
8772 return _IMP_core.RigidMember_remove_attribute(self, *args)
8775 def has_attribute(self, *args):
8777 has_attribute(RigidMember self, FloatKey a0) -> bool
8778 has_attribute(RigidMember self, IntKey a0) -> bool
8779 has_attribute(RigidMember self, FloatsKey a0) -> bool
8780 has_attribute(RigidMember self, IntsKey a0) -> bool
8781 has_attribute(RigidMember self, StringKey a0) -> bool
8782 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8783 has_attribute(RigidMember self, ObjectKey a0) -> bool
8785 return _IMP_core.RigidMember_has_attribute(self, *args)
8788 def get_derivative(self, a0):
8789 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8790 return _IMP_core.RigidMember_get_derivative(self, a0)
8794 """get_name(RigidMember self) -> std::string"""
8795 return _IMP_core.RigidMember_get_name(self)
8798 def clear_caches(self):
8799 """clear_caches(RigidMember self)"""
8800 return _IMP_core.RigidMember_clear_caches(self)
8803 def set_name(self, a0):
8804 """set_name(RigidMember self, std::string a0)"""
8805 return _IMP_core.RigidMember_set_name(self, a0)
8809 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8810 return _IMP_core.RigidMember_set_check_level(self, a0)
8813 def add_to_derivative(self, a0, a1, a2):
8814 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8815 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8818 def set_is_optimized(self, a0, a1):
8819 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8820 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8823 def get_is_optimized(self, a0):
8824 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8825 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8829 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8830 return _IMP_core.RigidMember_get_check_level(self)
8833 def __eq__(self, *args):
8835 __eq__(RigidMember self, RigidMember o) -> bool
8836 __eq__(RigidMember self, Particle d) -> bool
8838 return _IMP_core.RigidMember___eq__(self, *args)
8841 def __ne__(self, *args):
8843 __ne__(RigidMember self, RigidMember o) -> bool
8844 __ne__(RigidMember self, Particle d) -> bool
8846 return _IMP_core.RigidMember___ne__(self, *args)
8849 def __le__(self, *args):
8851 __le__(RigidMember self, RigidMember o) -> bool
8852 __le__(RigidMember self, Particle d) -> bool
8854 return _IMP_core.RigidMember___le__(self, *args)
8857 def __lt__(self, *args):
8859 __lt__(RigidMember self, RigidMember o) -> bool
8860 __lt__(RigidMember self, Particle d) -> bool
8862 return _IMP_core.RigidMember___lt__(self, *args)
8865 def __ge__(self, *args):
8867 __ge__(RigidMember self, RigidMember o) -> bool
8868 __ge__(RigidMember self, Particle d) -> bool
8870 return _IMP_core.RigidMember___ge__(self, *args)
8873 def __gt__(self, *args):
8875 __gt__(RigidMember self, RigidMember o) -> bool
8876 __gt__(RigidMember self, Particle d) -> bool
8878 return _IMP_core.RigidMember___gt__(self, *args)
8882 """__hash__(RigidMember self) -> std::size_t"""
8883 return _IMP_core.RigidMember___hash__(self)
8887 """__str__(RigidMember self) -> std::string"""
8888 return _IMP_core.RigidMember___str__(self)
8892 """__repr__(RigidMember self) -> std::string"""
8893 return _IMP_core.RigidMember___repr__(self)
8895 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8896 RigidMember_swigregister(RigidMember)
8898 def RigidMember_get_is_setup(*args):
8900 get_is_setup(_ParticleAdaptor p) -> bool
8901 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8903 return _IMP_core.RigidMember_get_is_setup(*args)
8905 class NonRigidMember(RigidBodyMember):
8906 """Proxy of C++ IMP::core::NonRigidMember class"""
8907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8909 def __init__(self, *args):
8911 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8912 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8913 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8915 this = _IMP_core.new_NonRigidMember(*args)
8917 self.this.append(this)
8921 def show(self, *args):
8923 show(NonRigidMember self, _ostream out)
8924 show(NonRigidMember self)
8926 return _IMP_core.NonRigidMember_show(self, *args)
8928 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8929 __del__ =
lambda self:
None
8931 def get_is_setup(*args):
8933 get_is_setup(_ParticleAdaptor p) -> bool
8934 get_is_setup(Model m, ParticleIndex p) -> bool
8936 return _IMP_core.NonRigidMember_get_is_setup(*args)
8938 get_is_setup = staticmethod(get_is_setup)
8940 def add_to_internal_derivatives(self, deriv_parent, da):
8941 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8942 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8945 def add_to_internal_rotational_derivatives(self, *args):
8947 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8948 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8950 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8953 def get_internal_derivatives(self):
8954 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8955 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8958 def get_internal_rotational_derivatives(self):
8959 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8960 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8963 def add_attribute(self, *args):
8965 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8966 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8967 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8968 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8969 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8970 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8971 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8972 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8974 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8977 def get_value(self, *args):
8979 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8980 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8981 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
8982 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
8983 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8984 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8985 get_value(NonRigidMember self, ObjectKey a0) -> Object
8987 return _IMP_core.NonRigidMember_get_value(self, *args)
8990 def set_value(self, *args):
8992 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8993 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8994 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8995 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8996 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8997 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8998 set_value(NonRigidMember self, ObjectKey a0, Object a1)
9000 return _IMP_core.NonRigidMember_set_value(self, *args)
9003 def remove_attribute(self, *args):
9005 remove_attribute(NonRigidMember self, FloatKey a0)
9006 remove_attribute(NonRigidMember self, IntKey a0)
9007 remove_attribute(NonRigidMember self, FloatsKey a0)
9008 remove_attribute(NonRigidMember self, IntsKey a0)
9009 remove_attribute(NonRigidMember self, StringKey a0)
9010 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
9011 remove_attribute(NonRigidMember self, ObjectKey a0)
9013 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
9016 def has_attribute(self, *args):
9018 has_attribute(NonRigidMember self, FloatKey a0) -> bool
9019 has_attribute(NonRigidMember self, IntKey a0) -> bool
9020 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
9021 has_attribute(NonRigidMember self, IntsKey a0) -> bool
9022 has_attribute(NonRigidMember self, StringKey a0) -> bool
9023 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
9024 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
9026 return _IMP_core.NonRigidMember_has_attribute(self, *args)
9029 def get_derivative(self, a0):
9030 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
9031 return _IMP_core.NonRigidMember_get_derivative(self, a0)
9035 """get_name(NonRigidMember self) -> std::string"""
9036 return _IMP_core.NonRigidMember_get_name(self)
9039 def clear_caches(self):
9040 """clear_caches(NonRigidMember self)"""
9041 return _IMP_core.NonRigidMember_clear_caches(self)
9044 def set_name(self, a0):
9045 """set_name(NonRigidMember self, std::string a0)"""
9046 return _IMP_core.NonRigidMember_set_name(self, a0)
9050 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
9051 return _IMP_core.NonRigidMember_set_check_level(self, a0)
9054 def add_to_derivative(self, a0, a1, a2):
9055 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9056 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
9059 def set_is_optimized(self, a0, a1):
9060 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
9061 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
9064 def get_is_optimized(self, a0):
9065 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
9066 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
9070 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
9071 return _IMP_core.NonRigidMember_get_check_level(self)
9074 def __eq__(self, *args):
9076 __eq__(NonRigidMember self, NonRigidMember o) -> bool
9077 __eq__(NonRigidMember self, Particle d) -> bool
9079 return _IMP_core.NonRigidMember___eq__(self, *args)
9082 def __ne__(self, *args):
9084 __ne__(NonRigidMember self, NonRigidMember o) -> bool
9085 __ne__(NonRigidMember self, Particle d) -> bool
9087 return _IMP_core.NonRigidMember___ne__(self, *args)
9090 def __le__(self, *args):
9092 __le__(NonRigidMember self, NonRigidMember o) -> bool
9093 __le__(NonRigidMember self, Particle d) -> bool
9095 return _IMP_core.NonRigidMember___le__(self, *args)
9098 def __lt__(self, *args):
9100 __lt__(NonRigidMember self, NonRigidMember o) -> bool
9101 __lt__(NonRigidMember self, Particle d) -> bool
9103 return _IMP_core.NonRigidMember___lt__(self, *args)
9106 def __ge__(self, *args):
9108 __ge__(NonRigidMember self, NonRigidMember o) -> bool
9109 __ge__(NonRigidMember self, Particle d) -> bool
9111 return _IMP_core.NonRigidMember___ge__(self, *args)
9114 def __gt__(self, *args):
9116 __gt__(NonRigidMember self, NonRigidMember o) -> bool
9117 __gt__(NonRigidMember self, Particle d) -> bool
9119 return _IMP_core.NonRigidMember___gt__(self, *args)
9123 """__hash__(NonRigidMember self) -> std::size_t"""
9124 return _IMP_core.NonRigidMember___hash__(self)
9128 """__str__(NonRigidMember self) -> std::string"""
9129 return _IMP_core.NonRigidMember___str__(self)
9133 """__repr__(NonRigidMember self) -> std::string"""
9134 return _IMP_core.NonRigidMember___repr__(self)
9136 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
9137 NonRigidMember_swigregister(NonRigidMember)
9139 def NonRigidMember_get_is_setup(*args):
9141 get_is_setup(_ParticleAdaptor p) -> bool
9142 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
9144 return _IMP_core.NonRigidMember_get_is_setup(*args)
9147 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
9148 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9150 def __init__(self, *args):
9152 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
9153 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
9155 this = _IMP_core.new_RigidMembersRefiner(*args)
9157 self.this.append(this)
9161 def do_get_inputs(self, m, pis):
9162 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9163 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
9166 def get_version_info(self):
9167 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
9168 return _IMP_core.RigidMembersRefiner_get_version_info(self)
9172 """__str__(RigidMembersRefiner self) -> std::string"""
9173 return _IMP_core.RigidMembersRefiner___str__(self)
9177 """__repr__(RigidMembersRefiner self) -> std::string"""
9178 return _IMP_core.RigidMembersRefiner___repr__(self)
9183 return _object_cast_to_RigidMembersRefiner(o)
9185 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9186 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9189 def get_rigid_members_refiner():
9190 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9191 return _IMP_core.get_rigid_members_refiner()
9195 transform(XYZ a, Transformation3D tr)
9196 transform(RigidBody a, Transformation3D tr)
9198 return _IMP_core.transform(*args)
9202 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9203 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9205 return _IMP_core.get_initial_reference_frame(*args)
9209 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9210 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9212 return _IMP_core.create_rigid_bodies(m, n, no_members)
9216 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9217 show_rigid_body_hierarchy(RigidBody rb)
9219 return _IMP_core.show_rigid_body_hierarchy(*args)
9222 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9223 return _IMP_core.get_root_rigid_body(m)
9225 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
9226 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9228 def __init__(self, rb, constituents):
9229 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9230 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9232 self.this.append(this)
9236 def get_version_info(self):
9237 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9238 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9242 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9243 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9247 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9248 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9253 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9255 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9256 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9259 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
9260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9262 def __init__(self, *args):
9264 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9265 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9267 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9269 self.this.append(this)
9273 def get_version_info(self):
9274 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9275 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9279 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9280 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9284 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9285 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9290 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9292 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9293 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9296 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
9297 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9299 def __init__(self, sc):
9300 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9301 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9303 self.this.append(this)
9307 def get_version_info(self):
9308 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9309 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9313 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9314 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9318 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9319 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9324 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9326 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9327 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9330 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
9331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9333 def __init__(self, *args):
9335 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9336 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9338 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9340 self.this.append(this)
9344 def get_version_info(self):
9345 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9346 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9350 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9351 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9355 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9356 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9361 return _object_cast_to_RigidBodyFrameGeometry(o)
9363 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9364 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9367 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
9368 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9370 def __init__(self, sc):
9371 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9372 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9374 self.this.append(this)
9378 def get_version_info(self):
9379 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9380 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9384 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9385 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9389 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9390 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9395 return _object_cast_to_RigidBodyFramesGeometry(o)
9397 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9398 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9401 """Proxy of C++ IMP::core::RigidBodyTorque class"""
9402 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9404 def __init__(self, p):
9405 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9406 this = _IMP_core.new_RigidBodyTorque(p)
9408 self.this.append(this)
9413 """__str__(RigidBodyTorque self) -> std::string"""
9414 return _IMP_core.RigidBodyTorque___str__(self)
9418 """__repr__(RigidBodyTorque self) -> std::string"""
9419 return _IMP_core.RigidBodyTorque___repr__(self)
9424 return _object_cast_to_RigidBodyTorque(o)
9426 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9427 __del__ =
lambda self:
None
9428 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9429 RigidBodyTorque_swigregister(RigidBodyTorque)
9431 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9432 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
9433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9436 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9437 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9439 self.this.append(this)
9443 def get_close_pairs(self, *args):
9445 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9446 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9447 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9448 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9450 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9453 def do_get_inputs(self, m, pis):
9454 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9455 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9458 def get_version_info(self):
9459 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9460 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9464 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9465 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9469 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9470 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9475 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9477 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9478 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9481 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
9482 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9484 def __init__(self, *args):
9486 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9487 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9488 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9489 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9490 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9492 this = _IMP_core.new_RestraintsScoringFunction(*args)
9494 self.this.append(this)
9498 def do_add_score_and_derivatives(self, sa, ss):
9499 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9500 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9503 def do_get_inputs(self):
9504 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9505 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9508 def get_version_info(self):
9509 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9510 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9514 """__str__(RestraintsScoringFunction self) -> std::string"""
9515 return _IMP_core.RestraintsScoringFunction___str__(self)
9519 """__repr__(RestraintsScoringFunction self) -> std::string"""
9520 return _IMP_core.RestraintsScoringFunction___repr__(self)
9525 return _object_cast_to_RestraintsScoringFunction(o)
9527 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9528 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9530 class RigidClosePairsFinder(ClosePairsFinder):
9531 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
9532 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9534 def __init__(self, cpf=None):
9536 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9537 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9539 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9541 self.this.append(this)
9545 def do_get_inputs(self, m, pis):
9546 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9547 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9550 def get_close_pairs(self, *args):
9552 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9553 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9554 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9555 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9556 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9558 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9561 def get_version_info(self):
9562 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9563 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9567 """__str__(RigidClosePairsFinder self) -> std::string"""
9568 return _IMP_core.RigidClosePairsFinder___str__(self)
9572 """__repr__(RigidClosePairsFinder self) -> std::string"""
9573 return _IMP_core.RigidClosePairsFinder___repr__(self)
9578 return _object_cast_to_RigidClosePairsFinder(o)
9580 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9581 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9584 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
9585 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9587 def __init__(self, *args):
9589 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9590 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9592 this = _IMP_core.new_SphereDistancePairScore(*args)
9594 self.this.append(this)
9598 def do_get_inputs(self, m, pis):
9599 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9600 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9603 def get_version_info(self):
9604 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9605 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9609 """__str__(SphereDistancePairScore self) -> std::string"""
9610 return _IMP_core.SphereDistancePairScore___str__(self)
9614 """__repr__(SphereDistancePairScore self) -> std::string"""
9615 return _IMP_core.SphereDistancePairScore___repr__(self)
9620 return _object_cast_to_SphereDistancePairScore(o)
9622 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9623 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9625 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9626 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
9627 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9629 def __init__(self, *args):
9631 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9632 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9634 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9636 self.this.append(this)
9640 def do_get_inputs(self, m, pis):
9641 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9642 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9645 def get_version_info(self):
9646 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9647 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9651 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9652 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9656 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9657 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9662 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9664 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9665 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9667 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9668 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
9669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9671 def __init__(self, d0, k):
9672 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9673 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9675 self.this.append(this)
9679 def get_rest_length(self):
9680 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9681 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9684 def get_stiffness(self):
9685 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9686 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9689 def do_get_inputs(self, m, pis):
9690 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9691 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9694 def get_version_info(self):
9695 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9696 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9700 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9701 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9705 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9706 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9711 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9713 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9714 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9717 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
9718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9720 def __init__(self, *args):
9722 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9723 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9725 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9727 self.this.append(this)
9731 def do_get_inputs(self, m, pis):
9732 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9733 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9736 def get_version_info(self):
9737 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9738 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9742 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9743 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9747 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9748 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9753 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9755 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9756 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9759 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
9760 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9762 def __init__(self, *args):
9764 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9765 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9767 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9769 self.this.append(this)
9773 def do_get_inputs(self, m, pis):
9774 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9775 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9778 def get_version_info(self):
9779 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9780 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9784 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9785 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9789 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9790 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9795 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9797 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9798 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9801 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
9802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9804 def __init__(self, *args):
9806 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9807 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9809 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9811 self.this.append(this)
9815 def do_get_inputs(self, m, pis):
9816 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9817 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9820 def get_version_info(self):
9821 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9822 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9826 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9827 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9831 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9832 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9837 return _object_cast_to_WeightedSphereDistancePairScore(o)
9839 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9840 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9843 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
9844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9846 def __init__(self, *args):
9848 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9849 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9851 this = _IMP_core.new_SoftSpherePairScore(*args)
9853 self.this.append(this)
9857 def do_get_inputs(self, m, pis):
9858 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9859 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9862 def get_version_info(self):
9863 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9864 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9868 """__str__(SoftSpherePairScore self) -> std::string"""
9869 return _IMP_core.SoftSpherePairScore___str__(self)
9873 """__repr__(SoftSpherePairScore self) -> std::string"""
9874 return _IMP_core.SoftSpherePairScore___repr__(self)
9879 return _object_cast_to_SoftSpherePairScore(o)
9881 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9882 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9885 """Proxy of C++ IMP::core::SurfaceDistancePairScore class"""
9886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9888 def __init__(self, *args):
9890 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9891 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9893 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9895 self.this.append(this)
9899 def do_get_inputs(self, m, pis):
9900 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9901 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9904 def get_version_info(self):
9905 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9906 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9910 """__str__(SurfaceDistancePairScore self) -> std::string"""
9911 return _IMP_core.SurfaceDistancePairScore___str__(self)
9915 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9916 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9921 return _object_cast_to_SurfaceDistancePairScore(o)
9923 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9924 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9927 """Proxy of C++ IMP::core::SurfaceHeightPairScore class"""
9928 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9930 def __init__(self, *args):
9932 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9933 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9935 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9937 self.this.append(this)
9941 def do_get_inputs(self, m, pis):
9942 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9943 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9946 def get_version_info(self):
9947 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9948 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9952 """__str__(SurfaceHeightPairScore self) -> std::string"""
9953 return _IMP_core.SurfaceHeightPairScore___str__(self)
9957 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9958 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9963 return _object_cast_to_SurfaceHeightPairScore(o)
9965 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9966 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9969 """Proxy of C++ IMP::core::SurfaceDepthPairScore class"""
9970 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9972 def __init__(self, *args):
9974 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9975 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9977 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9979 self.this.append(this)
9983 def do_get_inputs(self, m, pis):
9984 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9985 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9988 def get_version_info(self):
9989 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9990 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9994 """__str__(SurfaceDepthPairScore self) -> std::string"""
9995 return _IMP_core.SurfaceDepthPairScore___str__(self)
9999 """__repr__(SurfaceDepthPairScore self) -> std::string"""
10000 return _IMP_core.SurfaceDepthPairScore___repr__(self)
10005 return _object_cast_to_SurfaceDepthPairScore(o)
10007 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
10008 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
10011 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class"""
10012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10014 def __init__(self, *args):
10016 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
10017 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
10019 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
10021 self.this.append(this)
10025 def do_get_inputs(self, m, pis):
10026 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10027 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
10030 def get_version_info(self):
10031 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
10032 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
10036 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10037 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
10040 def __repr__(self):
10041 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10042 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
10047 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
10049 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
10050 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
10053 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class"""
10054 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10056 def __init__(self, *args):
10058 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
10059 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
10061 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
10063 self.this.append(this)
10067 def do_get_inputs(self, m, pis):
10068 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10069 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
10072 def get_version_info(self):
10073 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
10074 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
10078 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10079 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
10082 def __repr__(self):
10083 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10084 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
10089 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
10091 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
10092 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
10095 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class"""
10096 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10098 def __init__(self, *args):
10100 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
10101 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
10103 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
10105 self.this.append(this)
10109 def do_get_inputs(self, m, pis):
10110 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10111 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
10114 def get_version_info(self):
10115 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
10116 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
10120 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10121 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
10124 def __repr__(self):
10125 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10126 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
10131 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
10133 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
10134 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
10137 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class"""
10138 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10140 def __init__(self, *args):
10142 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
10143 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
10145 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
10147 self.this.append(this)
10151 def do_get_inputs(self, m, pis):
10152 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10153 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10156 def get_version_info(self):
10157 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10158 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10162 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10163 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10166 def __repr__(self):
10167 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10168 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10173 return _object_cast_to_SoftSuperSurfacePairScore(o)
10175 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10176 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10179 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class"""
10180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10182 def __init__(self, *args):
10184 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10185 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10187 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10189 self.this.append(this)
10193 def do_get_inputs(self, m, pis):
10194 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10195 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10198 def get_version_info(self):
10199 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10200 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10204 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10205 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10208 def __repr__(self):
10209 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10210 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10215 return _object_cast_to_SoftSubSurfacePairScore(o)
10217 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10218 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10221 """Proxy of C++ IMP::core::SurfaceTetheredChain class"""
10222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10224 def __init__(self, link_num, link_length):
10225 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10226 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10228 self.this.append(this)
10232 def get_version_info(self):
10233 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10234 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10237 def get_link_number(self):
10238 """get_link_number(SurfaceTetheredChain self) -> int"""
10239 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10242 def get_link_length(self):
10243 """get_link_length(SurfaceTetheredChain self) -> double"""
10244 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10247 def set_link_number(self, N):
10248 """set_link_number(SurfaceTetheredChain self, int N)"""
10249 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10252 def set_link_length(self, b):
10253 """set_link_length(SurfaceTetheredChain self, double b)"""
10254 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10257 def get_distance_at_minimum(self):
10258 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10259 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10262 def get_average_distance(self):
10263 """get_average_distance(SurfaceTetheredChain self) -> double"""
10264 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10268 """__str__(SurfaceTetheredChain self) -> std::string"""
10269 return _IMP_core.SurfaceTetheredChain___str__(self)
10272 def __repr__(self):
10273 """__repr__(SurfaceTetheredChain self) -> std::string"""
10274 return _IMP_core.SurfaceTetheredChain___repr__(self)
10279 return _object_cast_to_SurfaceTetheredChain(o)
10281 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10282 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10285 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class"""
10286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10288 def __init__(self, m, ss, rbs):
10289 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10290 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10292 self.this.append(this)
10296 def do_get_inputs(self):
10297 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10298 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10301 def do_get_outputs(self):
10302 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10303 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10306 def get_version_info(self):
10307 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10308 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10312 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10313 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10316 def __repr__(self):
10317 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10318 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10323 return _object_cast_to_SurfaceSymmetryConstraint(o)
10325 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10326 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10329 """Proxy of C++ IMP::core::SteepestDescent class"""
10330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10332 def __init__(self, *args):
10334 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10335 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10337 this = _IMP_core.new_SteepestDescent(*args)
10339 self.this.append(this)
10343 def do_optimize(self, max_steps):
10344 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10345 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10348 def get_version_info(self):
10349 """get_version_info(SteepestDescent self) -> VersionInfo"""
10350 return _IMP_core.SteepestDescent_get_version_info(self)
10353 def set_threshold(self, t):
10354 """set_threshold(SteepestDescent self, IMP::Float t)"""
10355 return _IMP_core.SteepestDescent_set_threshold(self, t)
10358 def set_step_size(self, t):
10359 """set_step_size(SteepestDescent self, IMP::Float t)"""
10360 return _IMP_core.SteepestDescent_set_step_size(self, t)
10363 def set_maximum_step_size(self, t):
10364 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10365 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10369 """__str__(SteepestDescent self) -> std::string"""
10370 return _IMP_core.SteepestDescent___str__(self)
10373 def __repr__(self):
10374 """__repr__(SteepestDescent self) -> std::string"""
10375 return _IMP_core.SteepestDescent___repr__(self)
10380 return _object_cast_to_SteepestDescent(o)
10382 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10383 SteepestDescent_swigregister(SteepestDescent)
10386 """Proxy of C++ IMP::core::TransformedDistancePairScore 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, f, transformation):
10390 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10391 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10393 self.this.append(this)
10397 def set_transformation(self, rot):
10398 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10399 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10402 def do_get_inputs(self, m, pis):
10403 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10404 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10407 def get_version_info(self):
10408 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10409 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10413 """__str__(TransformedDistancePairScore self) -> std::string"""
10414 return _IMP_core.TransformedDistancePairScore___str__(self)
10417 def __repr__(self):
10418 """__repr__(TransformedDistancePairScore self) -> std::string"""
10419 return _IMP_core.TransformedDistancePairScore___repr__(self)
10424 return _object_cast_to_TransformedDistancePairScore(o)
10426 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10427 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10430 """Proxy of C++ IMP::core::TypedPairScore class"""
10431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10433 def __init__(self, typekey, allow_invalid_types=True):
10435 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10436 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10438 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10440 self.this.append(this)
10444 def set_particle_type(self, arg2):
10445 """set_particle_type(TypedPairScore self, Particle arg2)"""
10446 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10449 def set_pair_score(self, ps, atype, btype):
10450 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10451 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10454 def do_get_inputs(self, m, pis):
10455 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10456 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10459 def get_version_info(self):
10460 """get_version_info(TypedPairScore self) -> VersionInfo"""
10461 return _IMP_core.TypedPairScore_get_version_info(self)
10465 """__str__(TypedPairScore self) -> std::string"""
10466 return _IMP_core.TypedPairScore___str__(self)
10469 def __repr__(self):
10470 """__repr__(TypedPairScore self) -> std::string"""
10471 return _IMP_core.TypedPairScore___repr__(self)
10476 return _object_cast_to_TypedPairScore(o)
10478 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10479 TypedPairScore_swigregister(TypedPairScore)
10481 class RigidBodyDistancePairScore(KClosePairsPairScore):
10482 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
10483 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10485 def __init__(self, ps, r):
10486 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10487 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10489 self.this.append(this)
10494 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10495 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10498 def __repr__(self):
10499 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10500 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10505 return _object_cast_to_RigidBodyDistancePairScore(o)
10507 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10508 __del__ =
lambda self:
None
10509 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10510 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10513 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
10514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10516 def __init__(self, f):
10517 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10518 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10520 self.this.append(this)
10524 def do_get_inputs(self, m, pis):
10525 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10526 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10529 def get_version_info(self):
10530 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10531 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10535 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10536 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10539 def __repr__(self):
10540 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10541 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10546 return _object_cast_to_RigidBodyAnglePairScore(o)
10548 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10549 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10552 """Proxy of C++ IMP::core::TableRefiner class"""
10553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10555 def __init__(self):
10556 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10557 this = _IMP_core.new_TableRefiner()
10559 self.this.append(this)
10564 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10565 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10568 def remove_particle(self, p):
10569 """remove_particle(TableRefiner self, Particle p)"""
10570 return _IMP_core.TableRefiner_remove_particle(self, p)
10573 def set_particle(self, p, ps):
10574 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10575 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10578 def do_get_inputs(self, m, pis):
10579 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10580 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10583 def get_version_info(self):
10584 """get_version_info(TableRefiner self) -> VersionInfo"""
10585 return _IMP_core.TableRefiner_get_version_info(self)
10589 """__str__(TableRefiner self) -> std::string"""
10590 return _IMP_core.TableRefiner___str__(self)
10593 def __repr__(self):
10594 """__repr__(TableRefiner self) -> std::string"""
10595 return _IMP_core.TableRefiner___repr__(self)
10600 return _object_cast_to_TableRefiner(o)
10602 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10603 TableRefiner_swigregister(TableRefiner)
10606 _IMP_core.LOWER_swigconstant(_IMP_core)
10607 LOWER = _IMP_core.LOWER
10609 _IMP_core.BOTH_swigconstant(_IMP_core)
10610 BOTH = _IMP_core.BOTH
10612 _IMP_core.UPPER_swigconstant(_IMP_core)
10613 UPPER = _IMP_core.UPPER
10615 """Proxy of C++ IMP::core::MCCGSampler class"""
10616 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10618 def __init__(self, *args):
10620 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10621 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10623 this = _IMP_core.new_MCCGSampler(*args)
10625 self.this.append(this)
10629 def set_bounding_box(self, bb):
10630 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10631 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10634 def set_number_of_attempts(self, att):
10635 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10636 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10639 def set_number_of_monte_carlo_steps(self, cg):
10640 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10641 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10644 def set_number_of_conjugate_gradient_steps(self, cg):
10645 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10646 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10649 def set_max_monte_carlo_step_size(self, *args):
10651 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10652 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10654 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10657 def set_is_refining(self, tf):
10658 """set_is_refining(MCCGSampler self, bool tf)"""
10659 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10662 def set_local_optimizer(self, opt):
10663 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10664 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10667 def set_save_rejected_configurations(self, tf):
10668 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10669 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10672 def get_rejected_configurations(self):
10673 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10674 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10677 def remove_optimizer_state(self, d):
10678 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10679 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10682 def remove_optimizer_states(self, d):
10683 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10684 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10687 def set_optimizer_states(self, ps):
10688 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10689 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10692 def set_optimizer_states_order(self, objs):
10693 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10694 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10697 def add_optimizer_state(self, obj):
10698 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10699 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10702 def add_optimizer_states(self, objs):
10703 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10704 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10707 def clear_optimizer_states(self):
10708 """clear_optimizer_states(MCCGSampler self)"""
10709 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10712 def get_number_of_optimizer_states(self):
10713 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10714 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10717 def get_has_optimizer_states(self):
10718 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10719 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10722 def get_optimizer_state(self, i):
10723 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10724 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10727 def get_optimizer_states(self):
10728 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10729 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10732 def reserve_optimizer_states(self, sz):
10733 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10734 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10737 def do_sample(self):
10738 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10739 return _IMP_core.MCCGSampler_do_sample(self)
10742 def get_version_info(self):
10743 """get_version_info(MCCGSampler self) -> VersionInfo"""
10744 return _IMP_core.MCCGSampler_get_version_info(self)
10748 """__str__(MCCGSampler self) -> std::string"""
10749 return _IMP_core.MCCGSampler___str__(self)
10752 def __repr__(self):
10753 """__repr__(MCCGSampler self) -> std::string"""
10754 return _IMP_core.MCCGSampler___repr__(self)
10759 return _object_cast_to_MCCGSampler(o)
10761 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10762 MCCGSampler_swigregister(MCCGSampler)
10765 """Proxy of C++ IMP::core::MinimumRestraint class"""
10766 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10768 def __init__(self, *args):
10770 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10771 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10772 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10774 this = _IMP_core.new_MinimumRestraint(*args)
10776 self.this.append(this)
10780 def do_get_inputs(self):
10781 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10782 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10785 def get_version_info(self):
10786 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10787 return _IMP_core.MinimumRestraint_get_version_info(self)
10790 def remove_restraint(self, d):
10791 """remove_restraint(MinimumRestraint self, Restraint d)"""
10792 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10795 def remove_restraints(self, d):
10796 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10797 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10800 def set_restraints(self, ps):
10801 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10802 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10805 def set_restraints_order(self, objs):
10806 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10807 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10811 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10812 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10816 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10817 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10820 def clear_restraints(self):
10821 """clear_restraints(MinimumRestraint self)"""
10822 return _IMP_core.MinimumRestraint_clear_restraints(self)
10825 def get_number_of_restraints(self):
10826 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10827 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10830 def get_has_restraints(self):
10831 """get_has_restraints(MinimumRestraint self) -> bool"""
10832 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10835 def get_restraint(self, i):
10836 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10837 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10840 def get_restraints(self):
10841 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10842 return _IMP_core.MinimumRestraint_get_restraints(self)
10845 def reserve_restraints(self, sz):
10846 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10847 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10851 """__str__(MinimumRestraint self) -> std::string"""
10852 return _IMP_core.MinimumRestraint___str__(self)
10855 def __repr__(self):
10856 """__repr__(MinimumRestraint self) -> std::string"""
10857 return _IMP_core.MinimumRestraint___repr__(self)
10862 return _object_cast_to_MinimumRestraint(o)
10864 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10865 MinimumRestraint_swigregister(MinimumRestraint)
10867 class Gaussian(RigidBody):
10868 """Proxy of C++ IMP::core::Gaussian class"""
10869 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10871 def __init__(self, *args):
10873 __init__(IMP::core::Gaussian self) -> Gaussian
10874 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10875 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10877 this = _IMP_core.new_Gaussian(*args)
10879 self.this.append(this)
10883 def show(self, *args):
10885 show(Gaussian self, _ostream out)
10886 show(Gaussian self)
10888 return _IMP_core.Gaussian_show(self, *args)
10891 def setup_particle(*args):
10893 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10894 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10895 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10896 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10898 return _IMP_core.Gaussian_setup_particle(*args)
10900 setup_particle = staticmethod(setup_particle)
10902 def get_local_covariance_key():
10903 """get_local_covariance_key() -> ObjectKey"""
10904 return _IMP_core.Gaussian_get_local_covariance_key()
10906 get_local_covariance_key = staticmethod(get_local_covariance_key)
10908 def get_global_covariance_key():
10909 """get_global_covariance_key() -> ObjectKey"""
10910 return _IMP_core.Gaussian_get_global_covariance_key()
10912 get_global_covariance_key = staticmethod(get_global_covariance_key)
10914 def get_is_setup(*args):
10916 get_is_setup(_ParticleAdaptor p) -> bool
10917 get_is_setup(Model m, ParticleIndex pi) -> bool
10919 return _IMP_core.Gaussian_get_is_setup(*args)
10921 get_is_setup = staticmethod(get_is_setup)
10923 def get_local_covariance(self):
10924 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10925 return _IMP_core.Gaussian_get_local_covariance(self)
10928 def get_variances(self):
10929 """get_variances(Gaussian self) -> Vector3D"""
10930 return _IMP_core.Gaussian_get_variances(self)
10933 def get_global_covariance(self):
10934 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10935 return _IMP_core.Gaussian_get_global_covariance(self)
10938 def get_gaussian(self):
10939 """get_gaussian(Gaussian self) -> Gaussian3D"""
10940 return _IMP_core.Gaussian_get_gaussian(self)
10943 def set_gaussian(self, g):
10944 """set_gaussian(Gaussian self, Gaussian3D g)"""
10945 return _IMP_core.Gaussian_set_gaussian(self, g)
10948 def set_local_covariance(self, covar):
10949 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10950 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10953 def set_variances(self, v):
10954 """set_variances(Gaussian self, Vector3D v)"""
10955 return _IMP_core.Gaussian_set_variances(self, v)
10958 def set_global_covariance(self, covar):
10959 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10960 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10963 def update_global_covariance(self):
10964 """update_global_covariance(Gaussian self)"""
10965 return _IMP_core.Gaussian_update_global_covariance(self)
10968 def add_attribute(self, *args):
10970 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10971 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10972 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10973 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
10974 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
10975 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10976 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10977 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10979 return _IMP_core.Gaussian_add_attribute(self, *args)
10982 def get_value(self, *args):
10984 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10985 get_value(Gaussian self, IntKey a0) -> IMP::Int
10986 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
10987 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
10988 get_value(Gaussian self, StringKey a0) -> IMP::String
10989 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10990 get_value(Gaussian self, ObjectKey a0) -> Object
10992 return _IMP_core.Gaussian_get_value(self, *args)
10995 def set_value(self, *args):
10997 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10998 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10999 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
11000 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
11001 set_value(Gaussian self, StringKey a0, IMP::String a1)
11002 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
11003 set_value(Gaussian self, ObjectKey a0, Object a1)
11005 return _IMP_core.Gaussian_set_value(self, *args)
11008 def remove_attribute(self, *args):
11010 remove_attribute(Gaussian self, FloatKey a0)
11011 remove_attribute(Gaussian self, IntKey a0)
11012 remove_attribute(Gaussian self, FloatsKey a0)
11013 remove_attribute(Gaussian self, IntsKey a0)
11014 remove_attribute(Gaussian self, StringKey a0)
11015 remove_attribute(Gaussian self, ParticleIndexKey a0)
11016 remove_attribute(Gaussian self, ObjectKey a0)
11018 return _IMP_core.Gaussian_remove_attribute(self, *args)
11021 def has_attribute(self, *args):
11023 has_attribute(Gaussian self, FloatKey a0) -> bool
11024 has_attribute(Gaussian self, IntKey a0) -> bool
11025 has_attribute(Gaussian self, FloatsKey a0) -> bool
11026 has_attribute(Gaussian self, IntsKey a0) -> bool
11027 has_attribute(Gaussian self, StringKey a0) -> bool
11028 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
11029 has_attribute(Gaussian self, ObjectKey a0) -> bool
11031 return _IMP_core.Gaussian_has_attribute(self, *args)
11034 def get_derivative(self, a0):
11035 """get_derivative(Gaussian self, FloatKey a0) -> double"""
11036 return _IMP_core.Gaussian_get_derivative(self, a0)
11039 def get_name(self):
11040 """get_name(Gaussian self) -> std::string"""
11041 return _IMP_core.Gaussian_get_name(self)
11044 def clear_caches(self):
11045 """clear_caches(Gaussian self)"""
11046 return _IMP_core.Gaussian_clear_caches(self)
11049 def set_name(self, a0):
11050 """set_name(Gaussian self, std::string a0)"""
11051 return _IMP_core.Gaussian_set_name(self, a0)
11055 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
11056 return _IMP_core.Gaussian_set_check_level(self, a0)
11059 def add_to_derivative(self, a0, a1, a2):
11060 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11061 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
11064 def set_is_optimized(self, a0, a1):
11065 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
11066 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
11069 def get_is_optimized(self, a0):
11070 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
11071 return _IMP_core.Gaussian_get_is_optimized(self, a0)
11075 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
11076 return _IMP_core.Gaussian_get_check_level(self)
11079 def __eq__(self, *args):
11081 __eq__(Gaussian self, Gaussian o) -> bool
11082 __eq__(Gaussian self, Particle d) -> bool
11084 return _IMP_core.Gaussian___eq__(self, *args)
11087 def __ne__(self, *args):
11089 __ne__(Gaussian self, Gaussian o) -> bool
11090 __ne__(Gaussian self, Particle d) -> bool
11092 return _IMP_core.Gaussian___ne__(self, *args)
11095 def __le__(self, *args):
11097 __le__(Gaussian self, Gaussian o) -> bool
11098 __le__(Gaussian self, Particle d) -> bool
11100 return _IMP_core.Gaussian___le__(self, *args)
11103 def __lt__(self, *args):
11105 __lt__(Gaussian self, Gaussian o) -> bool
11106 __lt__(Gaussian self, Particle d) -> bool
11108 return _IMP_core.Gaussian___lt__(self, *args)
11111 def __ge__(self, *args):
11113 __ge__(Gaussian self, Gaussian o) -> bool
11114 __ge__(Gaussian self, Particle d) -> bool
11116 return _IMP_core.Gaussian___ge__(self, *args)
11119 def __gt__(self, *args):
11121 __gt__(Gaussian self, Gaussian o) -> bool
11122 __gt__(Gaussian self, Particle d) -> bool
11124 return _IMP_core.Gaussian___gt__(self, *args)
11127 def __hash__(self):
11128 """__hash__(Gaussian self) -> std::size_t"""
11129 return _IMP_core.Gaussian___hash__(self)
11133 """__str__(Gaussian self) -> std::string"""
11134 return _IMP_core.Gaussian___str__(self)
11137 def __repr__(self):
11138 """__repr__(Gaussian self) -> std::string"""
11139 return _IMP_core.Gaussian___repr__(self)
11141 __swig_destroy__ = _IMP_core.delete_Gaussian
11142 __del__ =
lambda self:
None
11143 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
11144 Gaussian_swigregister(Gaussian)
11146 def Gaussian_setup_particle(*args):
11148 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11149 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11150 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11151 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11153 return _IMP_core.Gaussian_setup_particle(*args)
11155 def Gaussian_get_local_covariance_key():
11156 """Gaussian_get_local_covariance_key() -> ObjectKey"""
11157 return _IMP_core.Gaussian_get_local_covariance_key()
11159 def Gaussian_get_global_covariance_key():
11160 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11161 return _IMP_core.Gaussian_get_global_covariance_key()
11163 def Gaussian_get_is_setup(*args):
11165 get_is_setup(_ParticleAdaptor p) -> bool
11166 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11168 return _IMP_core.Gaussian_get_is_setup(*args)
11171 """Proxy of C++ IMP::core::PairRestraint class"""
11172 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11174 def __init__(self, *args):
11176 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11177 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11179 this = _IMP_core.new_PairRestraint(*args)
11181 self.this.append(this)
11185 def get_version_info(self):
11186 """get_version_info(PairRestraint self) -> VersionInfo"""
11187 return _IMP_core.PairRestraint_get_version_info(self)
11191 """__str__(PairRestraint self) -> std::string"""
11192 return _IMP_core.PairRestraint___str__(self)
11195 def __repr__(self):
11196 """__repr__(PairRestraint self) -> std::string"""
11197 return _IMP_core.PairRestraint___repr__(self)
11202 return _object_cast_to_PairRestraint(o)
11204 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11205 PairRestraint_swigregister(PairRestraint)
11208 """Proxy of C++ IMP::core::SingletonRestraint class"""
11209 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11211 def __init__(self, *args):
11213 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11214 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11216 this = _IMP_core.new_SingletonRestraint(*args)
11218 self.this.append(this)
11222 def get_version_info(self):
11223 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11224 return _IMP_core.SingletonRestraint_get_version_info(self)
11228 """__str__(SingletonRestraint self) -> std::string"""
11229 return _IMP_core.SingletonRestraint___str__(self)
11232 def __repr__(self):
11233 """__repr__(SingletonRestraint self) -> std::string"""
11234 return _IMP_core.SingletonRestraint___repr__(self)
11239 return _object_cast_to_SingletonRestraint(o)
11241 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11242 SingletonRestraint_swigregister(SingletonRestraint)
11245 """Proxy of C++ IMP::core::TripletRestraint class"""
11246 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11248 def __init__(self, *args):
11250 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11251 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11253 this = _IMP_core.new_TripletRestraint(*args)
11255 self.this.append(this)
11259 def get_version_info(self):
11260 """get_version_info(TripletRestraint self) -> VersionInfo"""
11261 return _IMP_core.TripletRestraint_get_version_info(self)
11265 """__str__(TripletRestraint self) -> std::string"""
11266 return _IMP_core.TripletRestraint___str__(self)
11269 def __repr__(self):
11270 """__repr__(TripletRestraint self) -> std::string"""
11271 return _IMP_core.TripletRestraint___repr__(self)
11276 return _object_cast_to_TripletRestraint(o)
11278 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11279 TripletRestraint_swigregister(TripletRestraint)
11282 """Proxy of C++ IMP::core::QuadRestraint class"""
11283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11285 def __init__(self, *args):
11287 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11288 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11290 this = _IMP_core.new_QuadRestraint(*args)
11292 self.this.append(this)
11296 def get_version_info(self):
11297 """get_version_info(QuadRestraint self) -> VersionInfo"""
11298 return _IMP_core.QuadRestraint_get_version_info(self)
11302 """__str__(QuadRestraint self) -> std::string"""
11303 return _IMP_core.QuadRestraint___str__(self)
11306 def __repr__(self):
11307 """__repr__(QuadRestraint self) -> std::string"""
11308 return _IMP_core.QuadRestraint___repr__(self)
11313 return _object_cast_to_QuadRestraint(o)
11315 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11316 QuadRestraint_swigregister(QuadRestraint)
11319 """Proxy of C++ IMP::core::SingletonConstraint class"""
11320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11322 def __init__(self, *args):
11324 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11325 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11326 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11327 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11329 this = _IMP_core.new_SingletonConstraint(*args)
11331 self.this.append(this)
11335 def get_version_info(self):
11336 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11337 return _IMP_core.SingletonConstraint_get_version_info(self)
11341 """__str__(SingletonConstraint self) -> std::string"""
11342 return _IMP_core.SingletonConstraint___str__(self)
11345 def __repr__(self):
11346 """__repr__(SingletonConstraint self) -> std::string"""
11347 return _IMP_core.SingletonConstraint___repr__(self)
11352 return _object_cast_to_SingletonConstraint(o)
11354 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11355 SingletonConstraint_swigregister(SingletonConstraint)
11358 """Proxy of C++ IMP::core::PairConstraint class"""
11359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11361 def __init__(self, *args):
11363 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11364 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11365 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11366 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11368 this = _IMP_core.new_PairConstraint(*args)
11370 self.this.append(this)
11374 def get_version_info(self):
11375 """get_version_info(PairConstraint self) -> VersionInfo"""
11376 return _IMP_core.PairConstraint_get_version_info(self)
11380 """__str__(PairConstraint self) -> std::string"""
11381 return _IMP_core.PairConstraint___str__(self)
11384 def __repr__(self):
11385 """__repr__(PairConstraint self) -> std::string"""
11386 return _IMP_core.PairConstraint___repr__(self)
11391 return _object_cast_to_PairConstraint(o)
11393 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11394 PairConstraint_swigregister(PairConstraint)
11397 """Proxy of C++ IMP::core::TripletConstraint class"""
11398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11400 def __init__(self, *args):
11402 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11403 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11404 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11405 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11407 this = _IMP_core.new_TripletConstraint(*args)
11409 self.this.append(this)
11413 def get_version_info(self):
11414 """get_version_info(TripletConstraint self) -> VersionInfo"""
11415 return _IMP_core.TripletConstraint_get_version_info(self)
11419 """__str__(TripletConstraint self) -> std::string"""
11420 return _IMP_core.TripletConstraint___str__(self)
11423 def __repr__(self):
11424 """__repr__(TripletConstraint self) -> std::string"""
11425 return _IMP_core.TripletConstraint___repr__(self)
11430 return _object_cast_to_TripletConstraint(o)
11432 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11433 TripletConstraint_swigregister(TripletConstraint)
11436 """Proxy of C++ IMP::core::QuadConstraint class"""
11437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11439 def __init__(self, *args):
11441 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11442 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11443 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11444 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11446 this = _IMP_core.new_QuadConstraint(*args)
11448 self.this.append(this)
11452 def get_version_info(self):
11453 """get_version_info(QuadConstraint self) -> VersionInfo"""
11454 return _IMP_core.QuadConstraint_get_version_info(self)
11458 """__str__(QuadConstraint self) -> std::string"""
11459 return _IMP_core.QuadConstraint___str__(self)
11462 def __repr__(self):
11463 """__repr__(QuadConstraint self) -> std::string"""
11464 return _IMP_core.QuadConstraint___repr__(self)
11469 return _object_cast_to_QuadConstraint(o)
11471 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11472 QuadConstraint_swigregister(QuadConstraint)
11475 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
11476 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11478 def __init__(self, *args):
11480 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11481 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11483 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11485 self.this.append(this)
11489 def do_get_inputs(self, arg2, arg3):
11490 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11491 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11494 def get_value(self, *args):
11496 get_value(ConstantSingletonPredicate self, Particle a) -> int
11497 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11499 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11502 def get_value_index(self, *args):
11504 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11505 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11507 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11510 def get_version_info(self):
11511 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11512 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11516 """__str__(ConstantSingletonPredicate self) -> std::string"""
11517 return _IMP_core.ConstantSingletonPredicate___str__(self)
11520 def __repr__(self):
11521 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11522 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11527 return _object_cast_to_ConstantSingletonPredicate(o)
11529 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11530 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11533 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
11534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11536 def __init__(self, *args):
11538 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11539 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11541 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11543 self.this.append(this)
11547 def do_get_inputs(self, m, pis):
11548 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11549 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11552 def get_value(self, *args):
11554 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11555 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11557 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11560 def get_value_index(self, *args):
11562 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11563 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11565 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11568 def get_version_info(self):
11569 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11570 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11574 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11575 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11578 def __repr__(self):
11579 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11580 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11585 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11587 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11588 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11591 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate 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::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11597 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11599 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11601 self.this.append(this)
11605 def do_get_inputs(self, m, pis):
11606 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11607 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11610 def get_value(self, *args):
11612 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11613 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11614 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11616 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11619 def get_value_index(self, *args):
11621 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11622 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11624 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11627 def get_version_info(self):
11628 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11629 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11633 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11634 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11637 def __repr__(self):
11638 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11639 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11644 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11646 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11647 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11650 """Proxy of C++ IMP::core::AllSameSingletonPredicate 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::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11656 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11658 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11660 self.this.append(this)
11664 def do_get_inputs(self, arg2, arg3):
11665 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11666 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11669 def get_value(self, *args):
11671 get_value(AllSameSingletonPredicate self, Particle a) -> int
11672 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11674 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11677 def get_value_index(self, *args):
11679 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11680 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11682 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11685 def get_version_info(self):
11686 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11687 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11691 """__str__(AllSameSingletonPredicate self) -> std::string"""
11692 return _IMP_core.AllSameSingletonPredicate___str__(self)
11695 def __repr__(self):
11696 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11697 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11702 return _object_cast_to_AllSameSingletonPredicate(o)
11704 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11705 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11708 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
11709 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11711 def __init__(self, *args):
11713 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11714 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11716 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11718 self.this.append(this)
11722 def do_get_inputs(self, arg2, arg3):
11723 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11724 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11727 def get_value(self, *args):
11729 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11730 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11732 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11735 def get_value_index(self, *args):
11737 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11738 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11740 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11743 def get_version_info(self):
11744 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11745 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11749 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11750 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11753 def __repr__(self):
11754 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11755 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11760 return _object_cast_to_CoinFlipSingletonPredicate(o)
11762 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11763 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11766 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
11767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11769 def __init__(self, *args):
11771 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11772 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11774 this = _IMP_core.new_ConstantPairPredicate(*args)
11776 self.this.append(this)
11780 def do_get_inputs(self, arg2, arg3):
11781 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11782 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11785 def get_value(self, *args):
11787 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11788 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11790 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11793 def get_value_index(self, *args):
11795 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11796 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11798 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11801 def get_version_info(self):
11802 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11803 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11807 """__str__(ConstantPairPredicate self) -> std::string"""
11808 return _IMP_core.ConstantPairPredicate___str__(self)
11811 def __repr__(self):
11812 """__repr__(ConstantPairPredicate self) -> std::string"""
11813 return _IMP_core.ConstantPairPredicate___repr__(self)
11818 return _object_cast_to_ConstantPairPredicate(o)
11820 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11821 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11824 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
11825 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11827 def __init__(self, *args):
11829 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11830 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11832 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11834 self.this.append(this)
11838 def do_get_inputs(self, m, pis):
11839 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11840 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11843 def get_value(self, *args):
11845 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11846 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11848 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11851 def get_value_index(self, *args):
11853 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11854 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11856 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11859 def get_version_info(self):
11860 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11861 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11865 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11866 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11869 def __repr__(self):
11870 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11871 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11876 return _object_cast_to_UnorderedTypePairPredicate(o)
11878 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11879 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11882 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
11883 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11885 def __init__(self, *args):
11887 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11888 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11890 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11892 self.this.append(this)
11896 def do_get_inputs(self, m, pis):
11897 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11898 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11901 def get_value(self, *args):
11903 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11904 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11905 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11907 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11910 def get_value_index(self, *args):
11912 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11913 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11915 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11918 def get_version_info(self):
11919 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11920 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11924 """__str__(OrderedTypePairPredicate self) -> std::string"""
11925 return _IMP_core.OrderedTypePairPredicate___str__(self)
11928 def __repr__(self):
11929 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11930 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11935 return _object_cast_to_OrderedTypePairPredicate(o)
11937 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11938 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11941 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
11942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11944 def __init__(self, *args):
11946 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11947 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11949 this = _IMP_core.new_AllSamePairPredicate(*args)
11951 self.this.append(this)
11955 def do_get_inputs(self, arg2, arg3):
11956 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11957 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11960 def get_value(self, *args):
11962 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11963 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11965 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11968 def get_value_index(self, *args):
11970 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11971 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11973 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11976 def get_version_info(self):
11977 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11978 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11982 """__str__(AllSamePairPredicate self) -> std::string"""
11983 return _IMP_core.AllSamePairPredicate___str__(self)
11986 def __repr__(self):
11987 """__repr__(AllSamePairPredicate self) -> std::string"""
11988 return _IMP_core.AllSamePairPredicate___repr__(self)
11993 return _object_cast_to_AllSamePairPredicate(o)
11995 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
11996 AllSamePairPredicate_swigregister(AllSamePairPredicate)
11999 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
12000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12002 def __init__(self, *args):
12004 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
12005 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
12007 this = _IMP_core.new_CoinFlipPairPredicate(*args)
12009 self.this.append(this)
12013 def do_get_inputs(self, arg2, arg3):
12014 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12015 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
12018 def get_value(self, *args):
12020 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
12021 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12023 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
12026 def get_value_index(self, *args):
12028 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
12029 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12031 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
12034 def get_version_info(self):
12035 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
12036 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
12040 """__str__(CoinFlipPairPredicate self) -> std::string"""
12041 return _IMP_core.CoinFlipPairPredicate___str__(self)
12044 def __repr__(self):
12045 """__repr__(CoinFlipPairPredicate self) -> std::string"""
12046 return _IMP_core.CoinFlipPairPredicate___repr__(self)
12051 return _object_cast_to_CoinFlipPairPredicate(o)
12053 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
12054 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
12057 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
12058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12060 def __init__(self, *args):
12062 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
12063 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
12065 this = _IMP_core.new_ConstantTripletPredicate(*args)
12067 self.this.append(this)
12071 def do_get_inputs(self, arg2, arg3):
12072 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12073 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
12076 def get_value(self, *args):
12078 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12079 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12081 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
12084 def get_value_index(self, *args):
12086 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12087 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12089 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
12092 def get_version_info(self):
12093 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
12094 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
12098 """__str__(ConstantTripletPredicate self) -> std::string"""
12099 return _IMP_core.ConstantTripletPredicate___str__(self)
12102 def __repr__(self):
12103 """__repr__(ConstantTripletPredicate self) -> std::string"""
12104 return _IMP_core.ConstantTripletPredicate___repr__(self)
12109 return _object_cast_to_ConstantTripletPredicate(o)
12111 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
12112 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
12115 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
12116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12118 def __init__(self, *args):
12120 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
12121 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
12123 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
12125 self.this.append(this)
12129 def do_get_inputs(self, m, pis):
12130 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12131 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12134 def get_value(self, *args):
12136 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12137 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12139 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12142 def get_value_index(self, *args):
12144 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12145 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12147 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12150 def get_version_info(self):
12151 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12152 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12156 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12157 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12160 def __repr__(self):
12161 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12162 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12167 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12169 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12170 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12173 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
12174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12176 def __init__(self, *args):
12178 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12179 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12181 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12183 self.this.append(this)
12187 def do_get_inputs(self, m, pis):
12188 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12189 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12192 def get_value(self, *args):
12194 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12195 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12196 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12198 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12201 def get_value_index(self, *args):
12203 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12204 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12206 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12209 def get_version_info(self):
12210 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12211 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12215 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12216 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12219 def __repr__(self):
12220 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12221 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12226 return _object_cast_to_OrderedTypeTripletPredicate(o)
12228 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12229 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12232 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
12233 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12235 def __init__(self, *args):
12237 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12238 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12240 this = _IMP_core.new_AllSameTripletPredicate(*args)
12242 self.this.append(this)
12246 def do_get_inputs(self, arg2, arg3):
12247 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12248 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12251 def get_value(self, *args):
12253 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12254 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12256 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12259 def get_value_index(self, *args):
12261 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12262 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12264 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12267 def get_version_info(self):
12268 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12269 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12273 """__str__(AllSameTripletPredicate self) -> std::string"""
12274 return _IMP_core.AllSameTripletPredicate___str__(self)
12277 def __repr__(self):
12278 """__repr__(AllSameTripletPredicate self) -> std::string"""
12279 return _IMP_core.AllSameTripletPredicate___repr__(self)
12284 return _object_cast_to_AllSameTripletPredicate(o)
12286 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12287 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12290 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
12291 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12293 def __init__(self, *args):
12295 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12296 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12298 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12300 self.this.append(this)
12304 def do_get_inputs(self, arg2, arg3):
12305 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12306 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12309 def get_value(self, *args):
12311 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12312 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12314 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12317 def get_value_index(self, *args):
12319 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12320 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12322 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12325 def get_version_info(self):
12326 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12327 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12331 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12332 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12335 def __repr__(self):
12336 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12337 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12342 return _object_cast_to_CoinFlipTripletPredicate(o)
12344 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12345 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12348 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
12349 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12351 def __init__(self, *args):
12353 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12354 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12356 this = _IMP_core.new_ConstantQuadPredicate(*args)
12358 self.this.append(this)
12362 def do_get_inputs(self, arg2, arg3):
12363 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12364 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12367 def get_value(self, *args):
12369 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12370 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12372 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12375 def get_value_index(self, *args):
12377 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12378 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12380 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12383 def get_version_info(self):
12384 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12385 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12389 """__str__(ConstantQuadPredicate self) -> std::string"""
12390 return _IMP_core.ConstantQuadPredicate___str__(self)
12393 def __repr__(self):
12394 """__repr__(ConstantQuadPredicate self) -> std::string"""
12395 return _IMP_core.ConstantQuadPredicate___repr__(self)
12400 return _object_cast_to_ConstantQuadPredicate(o)
12402 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12403 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12406 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
12407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12409 def __init__(self, *args):
12411 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12412 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12414 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12416 self.this.append(this)
12420 def do_get_inputs(self, m, pis):
12421 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12422 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12425 def get_value(self, *args):
12427 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12428 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12430 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12433 def get_value_index(self, *args):
12435 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12436 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12438 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12441 def get_version_info(self):
12442 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12443 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12447 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12448 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12451 def __repr__(self):
12452 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12453 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12458 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12460 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12461 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12464 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
12465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12467 def __init__(self, *args):
12469 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12470 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12472 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12474 self.this.append(this)
12478 def do_get_inputs(self, m, pis):
12479 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12480 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12483 def get_value(self, *args):
12485 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12486 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12487 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12489 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12492 def get_value_index(self, *args):
12494 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12495 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12497 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12500 def get_version_info(self):
12501 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12502 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12506 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12507 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12510 def __repr__(self):
12511 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12512 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12517 return _object_cast_to_OrderedTypeQuadPredicate(o)
12519 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12520 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12523 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
12524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12526 def __init__(self, *args):
12528 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12529 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12531 this = _IMP_core.new_AllSameQuadPredicate(*args)
12533 self.this.append(this)
12537 def do_get_inputs(self, arg2, arg3):
12538 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12539 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12542 def get_value(self, *args):
12544 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12545 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12547 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12550 def get_value_index(self, *args):
12552 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12553 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12555 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12558 def get_version_info(self):
12559 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12560 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12564 """__str__(AllSameQuadPredicate self) -> std::string"""
12565 return _IMP_core.AllSameQuadPredicate___str__(self)
12568 def __repr__(self):
12569 """__repr__(AllSameQuadPredicate self) -> std::string"""
12570 return _IMP_core.AllSameQuadPredicate___repr__(self)
12575 return _object_cast_to_AllSameQuadPredicate(o)
12577 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12578 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12581 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
12582 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12584 def __init__(self, *args):
12586 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12587 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12589 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12591 self.this.append(this)
12595 def do_get_inputs(self, arg2, arg3):
12596 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12597 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12600 def get_value(self, *args):
12602 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12603 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12605 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12608 def get_value_index(self, *args):
12610 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12611 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12613 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12616 def get_version_info(self):
12617 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12618 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12622 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12623 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12626 def __repr__(self):
12627 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12628 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12633 return _object_cast_to_CoinFlipQuadPredicate(o)
12635 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12636 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12639 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
12640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12642 def __init__(self, *args):
12644 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12645 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12647 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12649 self.this.append(this)
12653 def do_get_inputs(self, m, pi):
12654 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12655 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12658 def get_value(self, *args):
12660 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12661 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12663 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12666 def get_value_index(self, *args):
12668 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12669 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12671 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12674 def get_version_info(self):
12675 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12676 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12680 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12681 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12684 def __repr__(self):
12685 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12686 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12691 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12693 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12694 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12697 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
12698 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12700 def __init__(self, *args):
12702 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12703 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12705 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12707 self.this.append(this)
12711 def do_get_inputs(self, m, pi):
12712 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12713 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12716 def get_value(self, *args):
12718 get_value(AttributeSingletonPredicate self, Particle a) -> int
12719 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12721 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12724 def get_value_index(self, *args):
12726 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12727 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12729 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12732 def get_version_info(self):
12733 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12734 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12738 """__str__(AttributeSingletonPredicate self) -> std::string"""
12739 return _IMP_core.AttributeSingletonPredicate___str__(self)
12742 def __repr__(self):
12743 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12744 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12749 return _object_cast_to_AttributeSingletonPredicate(o)
12751 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12752 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12755 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
12756 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12758 def __init__(self, *args):
12760 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12761 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12763 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12765 self.this.append(this)
12769 def do_get_inputs(self, m, pi):
12770 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12771 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12774 def get_value(self, *args):
12776 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12777 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12779 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12782 def get_value_index(self, *args):
12784 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12785 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12787 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12790 def get_version_info(self):
12791 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12792 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12796 """__str__(IsCollisionPairPredicate self) -> std::string"""
12797 return _IMP_core.IsCollisionPairPredicate___str__(self)
12800 def __repr__(self):
12801 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12802 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12807 return _object_cast_to_IsCollisionPairPredicate(o)
12809 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12810 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12812 class AngleRestraint(TripletRestraint):
12813 """Proxy of C++ IMP::core::AngleRestraint class"""
12814 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12816 def __init__(self, m, score_func, p1, p2, p3):
12817 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12818 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12820 self.this.append(this)
12825 """__str__(AngleRestraint self) -> std::string"""
12826 return _IMP_core.AngleRestraint___str__(self)
12829 def __repr__(self):
12830 """__repr__(AngleRestraint self) -> std::string"""
12831 return _IMP_core.AngleRestraint___repr__(self)
12836 return _object_cast_to_AngleRestraint(o)
12838 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12839 AngleRestraint_swigregister(AngleRestraint)
12841 class RigidBodyMover(MonteCarloMover):
12842 """Proxy of C++ IMP::core::RigidBodyMover class"""
12843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12845 def __init__(self, m, pi, max_translation, max_rotation):
12846 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12847 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12849 self.this.append(this)
12853 def set_maximum_translation(self, mt):
12854 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12855 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12858 def set_maximum_rotation(self, mr):
12859 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12860 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12863 def get_maximum_translation(self):
12864 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12865 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12868 def get_maximum_rotation(self):
12869 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12870 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12873 def get_version_info(self):
12874 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12875 return _IMP_core.RigidBodyMover_get_version_info(self)
12879 """__str__(RigidBodyMover self) -> std::string"""
12880 return _IMP_core.RigidBodyMover___str__(self)
12883 def __repr__(self):
12884 """__repr__(RigidBodyMover self) -> std::string"""
12885 return _IMP_core.RigidBodyMover___repr__(self)
12890 return _object_cast_to_RigidBodyMover(o)
12892 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12893 RigidBodyMover_swigregister(RigidBodyMover)
12895 class RigidBodyTunneler(MonteCarloMover):
12896 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
12897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12899 def __init__(self, m, pis, ref, k, move_probability=1.):
12901 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12902 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12904 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12906 self.this.append(this)
12910 def add_entry_point(self, fl):
12911 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12912 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12915 def reset_stats(self):
12916 """reset_stats(RigidBodyTunneler self)"""
12917 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12920 def get_number_of_rejected_moves(self):
12921 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12922 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12925 def get_number_of_proposed_moves(self):
12926 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12927 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12930 def get_number_of_impossible_moves(self):
12931 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12932 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12935 def get_number_of_calls(self):
12936 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12937 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12940 def get_reduced_coordinates(*args):
12942 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12943 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12945 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12947 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12949 def set_reduced_coordinates(m, target, ref, coords):
12950 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12951 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12953 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12955 def get_version_info(self):
12956 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12957 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12961 """__str__(RigidBodyTunneler self) -> std::string"""
12962 return _IMP_core.RigidBodyTunneler___str__(self)
12965 def __repr__(self):
12966 """__repr__(RigidBodyTunneler self) -> std::string"""
12967 return _IMP_core.RigidBodyTunneler___repr__(self)
12972 return _object_cast_to_RigidBodyTunneler(o)
12974 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12975 RigidBodyTunneler_swigregister(RigidBodyTunneler)
12977 def RigidBodyTunneler_get_reduced_coordinates(*args):
12979 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12980 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12982 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12984 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
12985 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12986 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12989 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
12990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12992 def __init__(self, *args):
12994 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
12995 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
12996 __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
12997 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
12999 this = _IMP_core.new_RigidBodyUmbrella(*args)
13001 self.this.append(this)
13005 def set_x0(self, *args):
13007 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
13008 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
13010 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
13014 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
13015 return _IMP_core.RigidBodyUmbrella_get_x0(self)
13019 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
13020 return _IMP_core.RigidBodyUmbrella_get_x(self)
13023 def set_alpha(self, alpha):
13024 """set_alpha(RigidBodyUmbrella self, double alpha)"""
13025 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
13028 def set_k(self, k):
13029 """set_k(RigidBodyUmbrella self, double k)"""
13030 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
13033 def get_version_info(self):
13034 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
13035 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
13039 """__str__(RigidBodyUmbrella self) -> std::string"""
13040 return _IMP_core.RigidBodyUmbrella___str__(self)
13043 def __repr__(self):
13044 """__repr__(RigidBodyUmbrella self) -> std::string"""
13045 return _IMP_core.RigidBodyUmbrella___repr__(self)
13050 return _object_cast_to_RigidBodyUmbrella(o)
13052 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
13053 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
13056 """Proxy of C++ IMP::core::VolumeRestraint class"""
13057 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13059 def __init__(self, f, sc, volume):
13060 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
13061 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
13063 self.this.append(this)
13067 def do_get_inputs(self):
13068 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
13069 return _IMP_core.VolumeRestraint_do_get_inputs(self)
13072 def get_version_info(self):
13073 """get_version_info(VolumeRestraint self) -> VersionInfo"""
13074 return _IMP_core.VolumeRestraint_get_version_info(self)
13078 """__str__(VolumeRestraint self) -> std::string"""
13079 return _IMP_core.VolumeRestraint___str__(self)
13082 def __repr__(self):
13083 """__repr__(VolumeRestraint self) -> std::string"""
13084 return _IMP_core.VolumeRestraint___repr__(self)
13089 return _object_cast_to_VolumeRestraint(o)
13091 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
13092 VolumeRestraint_swigregister(VolumeRestraint)
13096 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
13097 return _IMP_core.get_centroid(ps)
13100 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
13101 return _IMP_core.get_bounding_box(ps)
13103 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
13104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13106 def __init__(self, ps):
13107 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
13108 this = _IMP_core.new_MoveStatisticsScoreState(ps)
13110 self.this.append(this)
13114 def show_statistics(self, *args):
13116 show_statistics(MoveStatisticsScoreState self, _ostream out)
13117 show_statistics(MoveStatisticsScoreState self)
13119 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13123 """reset(MoveStatisticsScoreState self)"""
13124 return _IMP_core.MoveStatisticsScoreState_reset(self)
13127 def do_before_evaluate(self):
13128 """do_before_evaluate(MoveStatisticsScoreState self)"""
13129 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13132 def do_after_evaluate(self, da):
13133 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13134 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13137 def do_get_inputs(self):
13138 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13139 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13142 def do_get_outputs(self):
13143 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13144 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13147 def get_version_info(self):
13148 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13149 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13153 """__str__(MoveStatisticsScoreState self) -> std::string"""
13154 return _IMP_core.MoveStatisticsScoreState___str__(self)
13157 def __repr__(self):
13158 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13159 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13164 return _object_cast_to_MoveStatisticsScoreState(o)
13166 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13167 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13170 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
13171 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13173 """Proxy of C++ IMP::core::Typed class"""
13174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13176 def get_type_key():
13177 """get_type_key() -> IntKey"""
13178 return _IMP_core.Typed_get_type_key()
13180 get_type_key = staticmethod(get_type_key)
13182 def __init__(self, *args):
13184 __init__(IMP::core::Typed self) -> Typed
13185 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13186 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13188 this = _IMP_core.new_Typed(*args)
13190 self.this.append(this)
13194 def show(self, *args):
13196 show(Typed self, _ostream out)
13199 return _IMP_core.Typed_show(self, *args)
13202 def setup_particle(*args):
13204 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13205 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13207 return _IMP_core.Typed_setup_particle(*args)
13209 setup_particle = staticmethod(setup_particle)
13211 def get_is_setup(*args):
13213 get_is_setup(_ParticleAdaptor p) -> bool
13214 get_is_setup(Model m, ParticleIndex pi) -> bool
13216 return _IMP_core.Typed_get_is_setup(*args)
13218 get_is_setup = staticmethod(get_is_setup)
13220 def get_type(self):
13221 """get_type(Typed self) -> ParticleType"""
13222 return _IMP_core.Typed_get_type(self)
13225 def set_type(self, pt):
13226 """set_type(Typed self, ParticleType pt)"""
13227 return _IMP_core.Typed_set_type(self, pt)
13230 def add_attribute(self, *args):
13232 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13233 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13234 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13235 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
13236 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
13237 add_attribute(Typed self, StringKey a0, IMP::String a1)
13238 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13239 add_attribute(Typed self, ObjectKey a0, Object a1)
13241 return _IMP_core.Typed_add_attribute(self, *args)
13244 def get_value(self, *args):
13246 get_value(Typed self, FloatKey a0) -> IMP::Float
13247 get_value(Typed self, IntKey a0) -> IMP::Int
13248 get_value(Typed self, FloatsKey a0) -> IMP::Floats
13249 get_value(Typed self, IntsKey a0) -> IMP::Ints
13250 get_value(Typed self, StringKey a0) -> IMP::String
13251 get_value(Typed self, ParticleIndexKey a0) -> Particle
13252 get_value(Typed self, ObjectKey a0) -> Object
13254 return _IMP_core.Typed_get_value(self, *args)
13257 def set_value(self, *args):
13259 set_value(Typed self, FloatKey a0, IMP::Float a1)
13260 set_value(Typed self, IntKey a0, IMP::Int a1)
13261 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
13262 set_value(Typed self, IntsKey a0, IMP::Ints a1)
13263 set_value(Typed self, StringKey a0, IMP::String a1)
13264 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13265 set_value(Typed self, ObjectKey a0, Object a1)
13267 return _IMP_core.Typed_set_value(self, *args)
13270 def remove_attribute(self, *args):
13272 remove_attribute(Typed self, FloatKey a0)
13273 remove_attribute(Typed self, IntKey a0)
13274 remove_attribute(Typed self, FloatsKey a0)
13275 remove_attribute(Typed self, IntsKey a0)
13276 remove_attribute(Typed self, StringKey a0)
13277 remove_attribute(Typed self, ParticleIndexKey a0)
13278 remove_attribute(Typed self, ObjectKey a0)
13280 return _IMP_core.Typed_remove_attribute(self, *args)
13283 def has_attribute(self, *args):
13285 has_attribute(Typed self, FloatKey a0) -> bool
13286 has_attribute(Typed self, IntKey a0) -> bool
13287 has_attribute(Typed self, FloatsKey a0) -> bool
13288 has_attribute(Typed self, IntsKey a0) -> bool
13289 has_attribute(Typed self, StringKey a0) -> bool
13290 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13291 has_attribute(Typed self, ObjectKey a0) -> bool
13293 return _IMP_core.Typed_has_attribute(self, *args)
13296 def get_derivative(self, a0):
13297 """get_derivative(Typed self, FloatKey a0) -> double"""
13298 return _IMP_core.Typed_get_derivative(self, a0)
13301 def get_name(self):
13302 """get_name(Typed self) -> std::string"""
13303 return _IMP_core.Typed_get_name(self)
13306 def clear_caches(self):
13307 """clear_caches(Typed self)"""
13308 return _IMP_core.Typed_clear_caches(self)
13311 def set_name(self, a0):
13312 """set_name(Typed self, std::string a0)"""
13313 return _IMP_core.Typed_set_name(self, a0)
13317 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13318 return _IMP_core.Typed_set_check_level(self, a0)
13321 def add_to_derivative(self, a0, a1, a2):
13322 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13323 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13326 def set_is_optimized(self, a0, a1):
13327 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13328 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13331 def get_is_optimized(self, a0):
13332 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13333 return _IMP_core.Typed_get_is_optimized(self, a0)
13337 """get_check_level(Typed self) -> IMP::CheckLevel"""
13338 return _IMP_core.Typed_get_check_level(self)
13341 def __eq__(self, *args):
13343 __eq__(Typed self, Typed o) -> bool
13344 __eq__(Typed self, Particle d) -> bool
13346 return _IMP_core.Typed___eq__(self, *args)
13349 def __ne__(self, *args):
13351 __ne__(Typed self, Typed o) -> bool
13352 __ne__(Typed self, Particle d) -> bool
13354 return _IMP_core.Typed___ne__(self, *args)
13357 def __le__(self, *args):
13359 __le__(Typed self, Typed o) -> bool
13360 __le__(Typed self, Particle d) -> bool
13362 return _IMP_core.Typed___le__(self, *args)
13365 def __lt__(self, *args):
13367 __lt__(Typed self, Typed o) -> bool
13368 __lt__(Typed self, Particle d) -> bool
13370 return _IMP_core.Typed___lt__(self, *args)
13373 def __ge__(self, *args):
13375 __ge__(Typed self, Typed o) -> bool
13376 __ge__(Typed self, Particle d) -> bool
13378 return _IMP_core.Typed___ge__(self, *args)
13381 def __gt__(self, *args):
13383 __gt__(Typed self, Typed o) -> bool
13384 __gt__(Typed self, Particle d) -> bool
13386 return _IMP_core.Typed___gt__(self, *args)
13389 def __hash__(self):
13390 """__hash__(Typed self) -> std::size_t"""
13391 return _IMP_core.Typed___hash__(self)
13395 """__str__(Typed self) -> std::string"""
13396 return _IMP_core.Typed___str__(self)
13399 def __repr__(self):
13400 """__repr__(Typed self) -> std::string"""
13401 return _IMP_core.Typed___repr__(self)
13403 __swig_destroy__ = _IMP_core.delete_Typed
13404 __del__ =
lambda self:
None
13405 Typed_swigregister = _IMP_core.Typed_swigregister
13406 Typed_swigregister(Typed)
13408 def Typed_get_type_key():
13409 """Typed_get_type_key() -> IntKey"""
13410 return _IMP_core.Typed_get_type_key()
13412 def Typed_setup_particle(*args):
13414 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13415 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13417 return _IMP_core.Typed_setup_particle(*args)
13419 def Typed_get_is_setup(*args):
13421 get_is_setup(_ParticleAdaptor p) -> bool
13422 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13424 return _IMP_core.Typed_get_is_setup(*args)
13427 def __lshift__(*args):
13429 __lshift__(_ostream out, XYZ n) -> _ostream
13430 __lshift__(_ostream out, XYZR n) -> _ostream
13431 __lshift__(_ostream out, Direction n) -> _ostream
13432 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13433 __lshift__(_ostream out, Surface n) -> _ostream
13434 __lshift__(_ostream out, Centroid n) -> _ostream
13435 __lshift__(_ostream out, Cover n) -> _ostream
13436 __lshift__(_ostream out, Reference n) -> _ostream
13437 __lshift__(_ostream out, RigidMember n) -> _ostream
13438 __lshift__(_ostream out, RigidBody n) -> _ostream
13439 __lshift__(_ostream out, Gaussian n) -> _ostream
13440 __lshift__(_ostream out, Typed n) -> _ostream
13442 return _IMP_core.__lshift__(*args)
13444 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
13445 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13447 def __init__(self, rs, out):
13448 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13449 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13451 self.this.append(this)
13455 def get_version_info(self):
13456 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13457 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13461 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13462 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13465 def __repr__(self):
13466 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13467 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13472 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13474 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13475 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13479 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13480 return _IMP_core.assign_blame(rs, ps, attribute)
13484 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13485 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13486 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13488 return _IMP_core.create_blame_geometries(*args)
13490 """Proxy of C++ IMP::core::MultipleBinormalRestraint class"""
13491 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13493 def __init__(self, m, q1, q2):
13494 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13495 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13497 self.this.append(this)
13501 def add_term(self, term):
13502 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13503 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13506 def do_get_inputs(self):
13507 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13508 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13511 def get_version_info(self):
13512 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13513 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13517 """__str__(MultipleBinormalRestraint self) -> std::string"""
13518 return _IMP_core.MultipleBinormalRestraint___str__(self)
13521 def __repr__(self):
13522 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13523 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13528 return _object_cast_to_MultipleBinormalRestraint(o)
13530 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13531 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13533 class BinormalTerm(object):
13534 """Proxy of C++ IMP::core::BinormalTerm class"""
13535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13537 def __init__(self):
13538 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13539 this = _IMP_core.new_BinormalTerm()
13541 self.this.append(this)
13545 def set_correlation(self, correlation):
13546 """set_correlation(BinormalTerm self, double correlation)"""
13547 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13550 def set_weight(self, weight):
13551 """set_weight(BinormalTerm self, double weight)"""
13552 return _IMP_core.BinormalTerm_set_weight(self, weight)
13555 def set_means(self, means):
13556 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13557 return _IMP_core.BinormalTerm_set_means(self, means)
13560 def set_standard_deviations(self, stdevs):
13561 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13562 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13565 def show(self, *args):
13567 show(BinormalTerm self, _ostream out)
13568 show(BinormalTerm self)
13570 return _IMP_core.BinormalTerm_show(self, *args)
13574 """__str__(BinormalTerm self) -> std::string"""
13575 return _IMP_core.BinormalTerm___str__(self)
13578 def __repr__(self):
13579 """__repr__(BinormalTerm self) -> std::string"""
13580 return _IMP_core.BinormalTerm___repr__(self)
13582 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13583 __del__ =
lambda self:
None
13584 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13585 BinormalTerm_swigregister(BinormalTerm)
13588 """Proxy of C++ IMP::core::Provenance class"""
13589 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13591 def get_previous(self):
13592 """get_previous(Provenance self) -> Provenance"""
13593 return _IMP_core.Provenance_get_previous(self)
13596 def set_previous(self, p):
13597 """set_previous(Provenance self, Provenance p)"""
13598 return _IMP_core.Provenance_set_previous(self, p)
13601 def __init__(self, *args):
13603 __init__(IMP::core::Provenance self) -> Provenance
13604 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13605 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13607 this = _IMP_core.new_Provenance(*args)
13609 self.this.append(this)
13613 def get_is_setup(*args):
13615 get_is_setup(Model m, ParticleIndex pi) -> bool
13616 get_is_setup(_ParticleAdaptor p) -> bool
13618 return _IMP_core.Provenance_get_is_setup(*args)
13620 get_is_setup = staticmethod(get_is_setup)
13622 def show(self, *args):
13624 show(Provenance self, _ostream out)
13625 show(Provenance self)
13627 return _IMP_core.Provenance_show(self, *args)
13630 def setup_particle(*args):
13632 setup_particle(Model m, ParticleIndex pi) -> Provenance
13633 setup_particle(_ParticleAdaptor decorator) -> Provenance
13635 return _IMP_core.Provenance_setup_particle(*args)
13637 setup_particle = staticmethod(setup_particle)
13639 def add_attribute(self, *args):
13641 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13642 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13643 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13644 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
13645 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
13646 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13647 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13648 add_attribute(Provenance self, ObjectKey a0, Object a1)
13650 return _IMP_core.Provenance_add_attribute(self, *args)
13653 def get_value(self, *args):
13655 get_value(Provenance self, FloatKey a0) -> IMP::Float
13656 get_value(Provenance self, IntKey a0) -> IMP::Int
13657 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
13658 get_value(Provenance self, IntsKey a0) -> IMP::Ints
13659 get_value(Provenance self, StringKey a0) -> IMP::String
13660 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13661 get_value(Provenance self, ObjectKey a0) -> Object
13663 return _IMP_core.Provenance_get_value(self, *args)
13666 def set_value(self, *args):
13668 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13669 set_value(Provenance self, IntKey a0, IMP::Int a1)
13670 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
13671 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
13672 set_value(Provenance self, StringKey a0, IMP::String a1)
13673 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13674 set_value(Provenance self, ObjectKey a0, Object a1)
13676 return _IMP_core.Provenance_set_value(self, *args)
13679 def remove_attribute(self, *args):
13681 remove_attribute(Provenance self, FloatKey a0)
13682 remove_attribute(Provenance self, IntKey a0)
13683 remove_attribute(Provenance self, FloatsKey a0)
13684 remove_attribute(Provenance self, IntsKey a0)
13685 remove_attribute(Provenance self, StringKey a0)
13686 remove_attribute(Provenance self, ParticleIndexKey a0)
13687 remove_attribute(Provenance self, ObjectKey a0)
13689 return _IMP_core.Provenance_remove_attribute(self, *args)
13692 def has_attribute(self, *args):
13694 has_attribute(Provenance self, FloatKey a0) -> bool
13695 has_attribute(Provenance self, IntKey a0) -> bool
13696 has_attribute(Provenance self, FloatsKey a0) -> bool
13697 has_attribute(Provenance self, IntsKey a0) -> bool
13698 has_attribute(Provenance self, StringKey a0) -> bool
13699 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13700 has_attribute(Provenance self, ObjectKey a0) -> bool
13702 return _IMP_core.Provenance_has_attribute(self, *args)
13705 def get_derivative(self, a0):
13706 """get_derivative(Provenance self, FloatKey a0) -> double"""
13707 return _IMP_core.Provenance_get_derivative(self, a0)
13710 def get_name(self):
13711 """get_name(Provenance self) -> std::string"""
13712 return _IMP_core.Provenance_get_name(self)
13715 def clear_caches(self):
13716 """clear_caches(Provenance self)"""
13717 return _IMP_core.Provenance_clear_caches(self)
13720 def set_name(self, a0):
13721 """set_name(Provenance self, std::string a0)"""
13722 return _IMP_core.Provenance_set_name(self, a0)
13726 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13727 return _IMP_core.Provenance_set_check_level(self, a0)
13730 def add_to_derivative(self, a0, a1, a2):
13731 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13732 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13735 def set_is_optimized(self, a0, a1):
13736 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13737 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13740 def get_is_optimized(self, a0):
13741 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13742 return _IMP_core.Provenance_get_is_optimized(self, a0)
13746 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13747 return _IMP_core.Provenance_get_check_level(self)
13750 def __eq__(self, *args):
13752 __eq__(Provenance self, Provenance o) -> bool
13753 __eq__(Provenance self, Particle d) -> bool
13755 return _IMP_core.Provenance___eq__(self, *args)
13758 def __ne__(self, *args):
13760 __ne__(Provenance self, Provenance o) -> bool
13761 __ne__(Provenance self, Particle d) -> bool
13763 return _IMP_core.Provenance___ne__(self, *args)
13766 def __le__(self, *args):
13768 __le__(Provenance self, Provenance o) -> bool
13769 __le__(Provenance self, Particle d) -> bool
13771 return _IMP_core.Provenance___le__(self, *args)
13774 def __lt__(self, *args):
13776 __lt__(Provenance self, Provenance o) -> bool
13777 __lt__(Provenance self, Particle d) -> bool
13779 return _IMP_core.Provenance___lt__(self, *args)
13782 def __ge__(self, *args):
13784 __ge__(Provenance self, Provenance o) -> bool
13785 __ge__(Provenance self, Particle d) -> bool
13787 return _IMP_core.Provenance___ge__(self, *args)
13790 def __gt__(self, *args):
13792 __gt__(Provenance self, Provenance o) -> bool
13793 __gt__(Provenance self, Particle d) -> bool
13795 return _IMP_core.Provenance___gt__(self, *args)
13798 def __hash__(self):
13799 """__hash__(Provenance self) -> std::size_t"""
13800 return _IMP_core.Provenance___hash__(self)
13804 """__str__(Provenance self) -> std::string"""
13805 return _IMP_core.Provenance___str__(self)
13808 def __repr__(self):
13809 """__repr__(Provenance self) -> std::string"""
13810 return _IMP_core.Provenance___repr__(self)
13812 __swig_destroy__ = _IMP_core.delete_Provenance
13813 __del__ =
lambda self:
None
13814 Provenance_swigregister = _IMP_core.Provenance_swigregister
13815 Provenance_swigregister(Provenance)
13817 def Provenance_get_is_setup(*args):
13819 get_is_setup(Model m, ParticleIndex pi) -> bool
13820 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13822 return _IMP_core.Provenance_get_is_setup(*args)
13824 def Provenance_setup_particle(*args):
13826 setup_particle(Model m, ParticleIndex pi) -> Provenance
13827 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13829 return _IMP_core.Provenance_setup_particle(*args)
13831 class StructureProvenance(Provenance):
13832 """Proxy of C++ IMP::core::StructureProvenance class"""
13833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13835 def set_filename(self, filename):
13836 """set_filename(StructureProvenance self, std::string filename)"""
13837 return _IMP_core.StructureProvenance_set_filename(self, filename)
13840 def get_filename(self):
13841 """get_filename(StructureProvenance self) -> std::string"""
13842 return _IMP_core.StructureProvenance_get_filename(self)
13845 def set_chain_id(self, chain_id):
13846 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13847 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13851 """get_chain_id(StructureProvenance self) -> std::string"""
13852 return _IMP_core.StructureProvenance_get_chain_id(self)
13855 def set_residue_offset(self, residue_offset):
13856 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13857 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13860 def get_residue_offset(self):
13861 """get_residue_offset(StructureProvenance self) -> int"""
13862 return _IMP_core.StructureProvenance_get_residue_offset(self)
13865 def __init__(self, *args):
13867 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13868 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13869 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13871 this = _IMP_core.new_StructureProvenance(*args)
13873 self.this.append(this)
13877 def get_is_setup(*args):
13879 get_is_setup(Model m, ParticleIndex pi) -> bool
13880 get_is_setup(_ParticleAdaptor p) -> bool
13882 return _IMP_core.StructureProvenance_get_is_setup(*args)
13884 get_is_setup = staticmethod(get_is_setup)
13886 def show(self, *args):
13888 show(StructureProvenance self, _ostream out)
13889 show(StructureProvenance self)
13891 return _IMP_core.StructureProvenance_show(self, *args)
13894 def setup_particle(*args):
13896 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13897 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13898 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13899 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13900 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13901 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13903 return _IMP_core.StructureProvenance_setup_particle(*args)
13905 setup_particle = staticmethod(setup_particle)
13907 def add_attribute(self, *args):
13909 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13910 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13911 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13912 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13913 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13914 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13915 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13916 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13918 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13921 def get_value(self, *args):
13923 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13924 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13925 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
13926 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
13927 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13928 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13929 get_value(StructureProvenance self, ObjectKey a0) -> Object
13931 return _IMP_core.StructureProvenance_get_value(self, *args)
13934 def set_value(self, *args):
13936 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13937 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13938 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13939 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13940 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13941 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13942 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13944 return _IMP_core.StructureProvenance_set_value(self, *args)
13947 def remove_attribute(self, *args):
13949 remove_attribute(StructureProvenance self, FloatKey a0)
13950 remove_attribute(StructureProvenance self, IntKey a0)
13951 remove_attribute(StructureProvenance self, FloatsKey a0)
13952 remove_attribute(StructureProvenance self, IntsKey a0)
13953 remove_attribute(StructureProvenance self, StringKey a0)
13954 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13955 remove_attribute(StructureProvenance self, ObjectKey a0)
13957 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13960 def has_attribute(self, *args):
13962 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13963 has_attribute(StructureProvenance self, IntKey a0) -> bool
13964 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
13965 has_attribute(StructureProvenance self, IntsKey a0) -> bool
13966 has_attribute(StructureProvenance self, StringKey a0) -> bool
13967 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13968 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13970 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13973 def get_derivative(self, a0):
13974 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13975 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13978 def get_name(self):
13979 """get_name(StructureProvenance self) -> std::string"""
13980 return _IMP_core.StructureProvenance_get_name(self)
13983 def clear_caches(self):
13984 """clear_caches(StructureProvenance self)"""
13985 return _IMP_core.StructureProvenance_clear_caches(self)
13988 def set_name(self, a0):
13989 """set_name(StructureProvenance self, std::string a0)"""
13990 return _IMP_core.StructureProvenance_set_name(self, a0)
13994 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13995 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13998 def add_to_derivative(self, a0, a1, a2):
13999 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14000 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
14003 def set_is_optimized(self, a0, a1):
14004 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
14005 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
14008 def get_is_optimized(self, a0):
14009 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
14010 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
14014 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
14015 return _IMP_core.StructureProvenance_get_check_level(self)
14018 def __eq__(self, *args):
14020 __eq__(StructureProvenance self, StructureProvenance o) -> bool
14021 __eq__(StructureProvenance self, Particle d) -> bool
14023 return _IMP_core.StructureProvenance___eq__(self, *args)
14026 def __ne__(self, *args):
14028 __ne__(StructureProvenance self, StructureProvenance o) -> bool
14029 __ne__(StructureProvenance self, Particle d) -> bool
14031 return _IMP_core.StructureProvenance___ne__(self, *args)
14034 def __le__(self, *args):
14036 __le__(StructureProvenance self, StructureProvenance o) -> bool
14037 __le__(StructureProvenance self, Particle d) -> bool
14039 return _IMP_core.StructureProvenance___le__(self, *args)
14042 def __lt__(self, *args):
14044 __lt__(StructureProvenance self, StructureProvenance o) -> bool
14045 __lt__(StructureProvenance self, Particle d) -> bool
14047 return _IMP_core.StructureProvenance___lt__(self, *args)
14050 def __ge__(self, *args):
14052 __ge__(StructureProvenance self, StructureProvenance o) -> bool
14053 __ge__(StructureProvenance self, Particle d) -> bool
14055 return _IMP_core.StructureProvenance___ge__(self, *args)
14058 def __gt__(self, *args):
14060 __gt__(StructureProvenance self, StructureProvenance o) -> bool
14061 __gt__(StructureProvenance self, Particle d) -> bool
14063 return _IMP_core.StructureProvenance___gt__(self, *args)
14066 def __hash__(self):
14067 """__hash__(StructureProvenance self) -> std::size_t"""
14068 return _IMP_core.StructureProvenance___hash__(self)
14072 """__str__(StructureProvenance self) -> std::string"""
14073 return _IMP_core.StructureProvenance___str__(self)
14076 def __repr__(self):
14077 """__repr__(StructureProvenance self) -> std::string"""
14078 return _IMP_core.StructureProvenance___repr__(self)
14080 __swig_destroy__ = _IMP_core.delete_StructureProvenance
14081 __del__ =
lambda self:
None
14082 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
14083 StructureProvenance_swigregister(StructureProvenance)
14085 def StructureProvenance_get_is_setup(*args):
14087 get_is_setup(Model m, ParticleIndex pi) -> bool
14088 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14090 return _IMP_core.StructureProvenance_get_is_setup(*args)
14092 def StructureProvenance_setup_particle(*args):
14094 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14095 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14096 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14097 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14098 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14099 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14101 return _IMP_core.StructureProvenance_setup_particle(*args)
14103 class SampleProvenance(Provenance):
14104 """Proxy of C++ IMP::core::SampleProvenance class"""
14105 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14107 def set_method(self, method):
14108 """set_method(SampleProvenance self, std::string method)"""
14109 return _IMP_core.SampleProvenance_set_method(self, method)
14112 def get_method(self):
14113 """get_method(SampleProvenance self) -> std::string"""
14114 return _IMP_core.SampleProvenance_get_method(self)
14117 def set_number_of_frames(self, frames):
14118 """set_number_of_frames(SampleProvenance self, int frames)"""
14119 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
14123 """get_number_of_frames(SampleProvenance self) -> int"""
14124 return _IMP_core.SampleProvenance_get_number_of_frames(self)
14127 def set_number_of_iterations(self, iterations):
14128 """set_number_of_iterations(SampleProvenance self, int iterations)"""
14129 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
14132 def get_number_of_iterations(self):
14133 """get_number_of_iterations(SampleProvenance self) -> int"""
14134 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
14137 def set_number_of_replicas(self, replicas):
14138 """set_number_of_replicas(SampleProvenance self, int replicas)"""
14139 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
14142 def get_number_of_replicas(self):
14143 """get_number_of_replicas(SampleProvenance self) -> int"""
14144 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
14147 def __init__(self, *args):
14149 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14150 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14151 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14153 this = _IMP_core.new_SampleProvenance(*args)
14155 self.this.append(this)
14159 def get_is_setup(*args):
14161 get_is_setup(Model m, ParticleIndex pi) -> bool
14162 get_is_setup(_ParticleAdaptor p) -> bool
14164 return _IMP_core.SampleProvenance_get_is_setup(*args)
14166 get_is_setup = staticmethod(get_is_setup)
14168 def show(self, *args):
14170 show(SampleProvenance self, _ostream out)
14171 show(SampleProvenance self)
14173 return _IMP_core.SampleProvenance_show(self, *args)
14176 def setup_particle(*args):
14178 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14179 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14180 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14181 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14182 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14183 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14185 return _IMP_core.SampleProvenance_setup_particle(*args)
14187 setup_particle = staticmethod(setup_particle)
14189 def add_attribute(self, *args):
14191 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14192 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14193 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14194 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14195 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14196 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14197 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14198 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14200 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14203 def get_value(self, *args):
14205 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14206 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14207 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
14208 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
14209 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14210 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14211 get_value(SampleProvenance self, ObjectKey a0) -> Object
14213 return _IMP_core.SampleProvenance_get_value(self, *args)
14216 def set_value(self, *args):
14218 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14219 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14220 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14221 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14222 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14223 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14224 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14226 return _IMP_core.SampleProvenance_set_value(self, *args)
14229 def remove_attribute(self, *args):
14231 remove_attribute(SampleProvenance self, FloatKey a0)
14232 remove_attribute(SampleProvenance self, IntKey a0)
14233 remove_attribute(SampleProvenance self, FloatsKey a0)
14234 remove_attribute(SampleProvenance self, IntsKey a0)
14235 remove_attribute(SampleProvenance self, StringKey a0)
14236 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14237 remove_attribute(SampleProvenance self, ObjectKey a0)
14239 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14242 def has_attribute(self, *args):
14244 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14245 has_attribute(SampleProvenance self, IntKey a0) -> bool
14246 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
14247 has_attribute(SampleProvenance self, IntsKey a0) -> bool
14248 has_attribute(SampleProvenance self, StringKey a0) -> bool
14249 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14250 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14252 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14255 def get_derivative(self, a0):
14256 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14257 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14260 def get_name(self):
14261 """get_name(SampleProvenance self) -> std::string"""
14262 return _IMP_core.SampleProvenance_get_name(self)
14265 def clear_caches(self):
14266 """clear_caches(SampleProvenance self)"""
14267 return _IMP_core.SampleProvenance_clear_caches(self)
14270 def set_name(self, a0):
14271 """set_name(SampleProvenance self, std::string a0)"""
14272 return _IMP_core.SampleProvenance_set_name(self, a0)
14276 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14277 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14280 def add_to_derivative(self, a0, a1, a2):
14281 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14282 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14285 def set_is_optimized(self, a0, a1):
14286 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14287 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14290 def get_is_optimized(self, a0):
14291 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14292 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14296 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14297 return _IMP_core.SampleProvenance_get_check_level(self)
14300 def __eq__(self, *args):
14302 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14303 __eq__(SampleProvenance self, Particle d) -> bool
14305 return _IMP_core.SampleProvenance___eq__(self, *args)
14308 def __ne__(self, *args):
14310 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14311 __ne__(SampleProvenance self, Particle d) -> bool
14313 return _IMP_core.SampleProvenance___ne__(self, *args)
14316 def __le__(self, *args):
14318 __le__(SampleProvenance self, SampleProvenance o) -> bool
14319 __le__(SampleProvenance self, Particle d) -> bool
14321 return _IMP_core.SampleProvenance___le__(self, *args)
14324 def __lt__(self, *args):
14326 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14327 __lt__(SampleProvenance self, Particle d) -> bool
14329 return _IMP_core.SampleProvenance___lt__(self, *args)
14332 def __ge__(self, *args):
14334 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14335 __ge__(SampleProvenance self, Particle d) -> bool
14337 return _IMP_core.SampleProvenance___ge__(self, *args)
14340 def __gt__(self, *args):
14342 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14343 __gt__(SampleProvenance self, Particle d) -> bool
14345 return _IMP_core.SampleProvenance___gt__(self, *args)
14348 def __hash__(self):
14349 """__hash__(SampleProvenance self) -> std::size_t"""
14350 return _IMP_core.SampleProvenance___hash__(self)
14354 """__str__(SampleProvenance self) -> std::string"""
14355 return _IMP_core.SampleProvenance___str__(self)
14358 def __repr__(self):
14359 """__repr__(SampleProvenance self) -> std::string"""
14360 return _IMP_core.SampleProvenance___repr__(self)
14362 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14363 __del__ =
lambda self:
None
14364 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14365 SampleProvenance_swigregister(SampleProvenance)
14367 def SampleProvenance_get_is_setup(*args):
14369 get_is_setup(Model m, ParticleIndex pi) -> bool
14370 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14372 return _IMP_core.SampleProvenance_get_is_setup(*args)
14374 def SampleProvenance_setup_particle(*args):
14376 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14377 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14378 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14379 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14380 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14381 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14383 return _IMP_core.SampleProvenance_setup_particle(*args)
14385 class CombineProvenance(Provenance):
14386 """Proxy of C++ IMP::core::CombineProvenance class"""
14387 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14389 def set_number_of_frames(self, frames):
14390 """set_number_of_frames(CombineProvenance self, int frames)"""
14391 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14395 """get_number_of_frames(CombineProvenance self) -> int"""
14396 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14399 def set_number_of_runs(self, runs):
14400 """set_number_of_runs(CombineProvenance self, int runs)"""
14401 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14404 def get_number_of_runs(self):
14405 """get_number_of_runs(CombineProvenance self) -> int"""
14406 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14409 def __init__(self, *args):
14411 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14412 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14413 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14415 this = _IMP_core.new_CombineProvenance(*args)
14417 self.this.append(this)
14421 def get_is_setup(*args):
14423 get_is_setup(Model m, ParticleIndex pi) -> bool
14424 get_is_setup(_ParticleAdaptor p) -> bool
14426 return _IMP_core.CombineProvenance_get_is_setup(*args)
14428 get_is_setup = staticmethod(get_is_setup)
14430 def show(self, *args):
14432 show(CombineProvenance self, _ostream out)
14433 show(CombineProvenance self)
14435 return _IMP_core.CombineProvenance_show(self, *args)
14438 def setup_particle(*args):
14440 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14441 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14442 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14443 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14445 return _IMP_core.CombineProvenance_setup_particle(*args)
14447 setup_particle = staticmethod(setup_particle)
14449 def add_attribute(self, *args):
14451 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14452 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14453 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14454 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14455 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14456 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14457 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14458 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14460 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14463 def get_value(self, *args):
14465 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14466 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14467 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
14468 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
14469 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14470 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14471 get_value(CombineProvenance self, ObjectKey a0) -> Object
14473 return _IMP_core.CombineProvenance_get_value(self, *args)
14476 def set_value(self, *args):
14478 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14479 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14480 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14481 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14482 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14483 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14484 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14486 return _IMP_core.CombineProvenance_set_value(self, *args)
14489 def remove_attribute(self, *args):
14491 remove_attribute(CombineProvenance self, FloatKey a0)
14492 remove_attribute(CombineProvenance self, IntKey a0)
14493 remove_attribute(CombineProvenance self, FloatsKey a0)
14494 remove_attribute(CombineProvenance self, IntsKey a0)
14495 remove_attribute(CombineProvenance self, StringKey a0)
14496 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14497 remove_attribute(CombineProvenance self, ObjectKey a0)
14499 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14502 def has_attribute(self, *args):
14504 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14505 has_attribute(CombineProvenance self, IntKey a0) -> bool
14506 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
14507 has_attribute(CombineProvenance self, IntsKey a0) -> bool
14508 has_attribute(CombineProvenance self, StringKey a0) -> bool
14509 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14510 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14512 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14515 def get_derivative(self, a0):
14516 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14517 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14520 def get_name(self):
14521 """get_name(CombineProvenance self) -> std::string"""
14522 return _IMP_core.CombineProvenance_get_name(self)
14525 def clear_caches(self):
14526 """clear_caches(CombineProvenance self)"""
14527 return _IMP_core.CombineProvenance_clear_caches(self)
14530 def set_name(self, a0):
14531 """set_name(CombineProvenance self, std::string a0)"""
14532 return _IMP_core.CombineProvenance_set_name(self, a0)
14536 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14537 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14540 def add_to_derivative(self, a0, a1, a2):
14541 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14542 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14545 def set_is_optimized(self, a0, a1):
14546 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14547 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14550 def get_is_optimized(self, a0):
14551 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14552 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14556 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14557 return _IMP_core.CombineProvenance_get_check_level(self)
14560 def __eq__(self, *args):
14562 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14563 __eq__(CombineProvenance self, Particle d) -> bool
14565 return _IMP_core.CombineProvenance___eq__(self, *args)
14568 def __ne__(self, *args):
14570 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14571 __ne__(CombineProvenance self, Particle d) -> bool
14573 return _IMP_core.CombineProvenance___ne__(self, *args)
14576 def __le__(self, *args):
14578 __le__(CombineProvenance self, CombineProvenance o) -> bool
14579 __le__(CombineProvenance self, Particle d) -> bool
14581 return _IMP_core.CombineProvenance___le__(self, *args)
14584 def __lt__(self, *args):
14586 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14587 __lt__(CombineProvenance self, Particle d) -> bool
14589 return _IMP_core.CombineProvenance___lt__(self, *args)
14592 def __ge__(self, *args):
14594 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14595 __ge__(CombineProvenance self, Particle d) -> bool
14597 return _IMP_core.CombineProvenance___ge__(self, *args)
14600 def __gt__(self, *args):
14602 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14603 __gt__(CombineProvenance self, Particle d) -> bool
14605 return _IMP_core.CombineProvenance___gt__(self, *args)
14608 def __hash__(self):
14609 """__hash__(CombineProvenance self) -> std::size_t"""
14610 return _IMP_core.CombineProvenance___hash__(self)
14614 """__str__(CombineProvenance self) -> std::string"""
14615 return _IMP_core.CombineProvenance___str__(self)
14618 def __repr__(self):
14619 """__repr__(CombineProvenance self) -> std::string"""
14620 return _IMP_core.CombineProvenance___repr__(self)
14622 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14623 __del__ =
lambda self:
None
14624 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14625 CombineProvenance_swigregister(CombineProvenance)
14627 def CombineProvenance_get_is_setup(*args):
14629 get_is_setup(Model m, ParticleIndex pi) -> bool
14630 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14632 return _IMP_core.CombineProvenance_get_is_setup(*args)
14634 def CombineProvenance_setup_particle(*args):
14636 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14637 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14638 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14639 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14641 return _IMP_core.CombineProvenance_setup_particle(*args)
14643 class FilterProvenance(Provenance):
14644 """Proxy of C++ IMP::core::FilterProvenance class"""
14645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14647 def set_method(self, method):
14648 """set_method(FilterProvenance self, std::string method)"""
14649 return _IMP_core.FilterProvenance_set_method(self, method)
14652 def get_method(self):
14653 """get_method(FilterProvenance self) -> std::string"""
14654 return _IMP_core.FilterProvenance_get_method(self)
14657 def set_number_of_frames(self, frames):
14658 """set_number_of_frames(FilterProvenance self, int frames)"""
14659 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14663 """get_number_of_frames(FilterProvenance self) -> int"""
14664 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14667 def set_threshold(self, threshold):
14668 """set_threshold(FilterProvenance self, double threshold)"""
14669 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14672 def get_threshold(self):
14673 """get_threshold(FilterProvenance self) -> double"""
14674 return _IMP_core.FilterProvenance_get_threshold(self)
14677 def __init__(self, *args):
14679 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14680 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14681 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14683 this = _IMP_core.new_FilterProvenance(*args)
14685 self.this.append(this)
14689 def get_is_setup(*args):
14691 get_is_setup(Model m, ParticleIndex pi) -> bool
14692 get_is_setup(_ParticleAdaptor p) -> bool
14694 return _IMP_core.FilterProvenance_get_is_setup(*args)
14696 get_is_setup = staticmethod(get_is_setup)
14698 def show(self, *args):
14700 show(FilterProvenance self, _ostream out)
14701 show(FilterProvenance self)
14703 return _IMP_core.FilterProvenance_show(self, *args)
14706 def setup_particle(*args):
14708 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14709 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14710 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14711 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14713 return _IMP_core.FilterProvenance_setup_particle(*args)
14715 setup_particle = staticmethod(setup_particle)
14717 def add_attribute(self, *args):
14719 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14720 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14721 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14722 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14723 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14724 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14725 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14726 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14728 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14731 def get_value(self, *args):
14733 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14734 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14735 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
14736 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
14737 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14738 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14739 get_value(FilterProvenance self, ObjectKey a0) -> Object
14741 return _IMP_core.FilterProvenance_get_value(self, *args)
14744 def set_value(self, *args):
14746 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14747 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14748 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14749 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14750 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14751 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14752 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14754 return _IMP_core.FilterProvenance_set_value(self, *args)
14757 def remove_attribute(self, *args):
14759 remove_attribute(FilterProvenance self, FloatKey a0)
14760 remove_attribute(FilterProvenance self, IntKey a0)
14761 remove_attribute(FilterProvenance self, FloatsKey a0)
14762 remove_attribute(FilterProvenance self, IntsKey a0)
14763 remove_attribute(FilterProvenance self, StringKey a0)
14764 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14765 remove_attribute(FilterProvenance self, ObjectKey a0)
14767 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14770 def has_attribute(self, *args):
14772 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14773 has_attribute(FilterProvenance self, IntKey a0) -> bool
14774 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
14775 has_attribute(FilterProvenance self, IntsKey a0) -> bool
14776 has_attribute(FilterProvenance self, StringKey a0) -> bool
14777 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14778 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14780 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14783 def get_derivative(self, a0):
14784 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14785 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14788 def get_name(self):
14789 """get_name(FilterProvenance self) -> std::string"""
14790 return _IMP_core.FilterProvenance_get_name(self)
14793 def clear_caches(self):
14794 """clear_caches(FilterProvenance self)"""
14795 return _IMP_core.FilterProvenance_clear_caches(self)
14798 def set_name(self, a0):
14799 """set_name(FilterProvenance self, std::string a0)"""
14800 return _IMP_core.FilterProvenance_set_name(self, a0)
14804 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14805 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14808 def add_to_derivative(self, a0, a1, a2):
14809 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14810 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14813 def set_is_optimized(self, a0, a1):
14814 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14815 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14818 def get_is_optimized(self, a0):
14819 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14820 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14824 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14825 return _IMP_core.FilterProvenance_get_check_level(self)
14828 def __eq__(self, *args):
14830 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14831 __eq__(FilterProvenance self, Particle d) -> bool
14833 return _IMP_core.FilterProvenance___eq__(self, *args)
14836 def __ne__(self, *args):
14838 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14839 __ne__(FilterProvenance self, Particle d) -> bool
14841 return _IMP_core.FilterProvenance___ne__(self, *args)
14844 def __le__(self, *args):
14846 __le__(FilterProvenance self, FilterProvenance o) -> bool
14847 __le__(FilterProvenance self, Particle d) -> bool
14849 return _IMP_core.FilterProvenance___le__(self, *args)
14852 def __lt__(self, *args):
14854 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14855 __lt__(FilterProvenance self, Particle d) -> bool
14857 return _IMP_core.FilterProvenance___lt__(self, *args)
14860 def __ge__(self, *args):
14862 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14863 __ge__(FilterProvenance self, Particle d) -> bool
14865 return _IMP_core.FilterProvenance___ge__(self, *args)
14868 def __gt__(self, *args):
14870 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14871 __gt__(FilterProvenance self, Particle d) -> bool
14873 return _IMP_core.FilterProvenance___gt__(self, *args)
14876 def __hash__(self):
14877 """__hash__(FilterProvenance self) -> std::size_t"""
14878 return _IMP_core.FilterProvenance___hash__(self)
14882 """__str__(FilterProvenance self) -> std::string"""
14883 return _IMP_core.FilterProvenance___str__(self)
14886 def __repr__(self):
14887 """__repr__(FilterProvenance self) -> std::string"""
14888 return _IMP_core.FilterProvenance___repr__(self)
14890 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14891 __del__ =
lambda self:
None
14892 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14893 FilterProvenance_swigregister(FilterProvenance)
14895 def FilterProvenance_get_is_setup(*args):
14897 get_is_setup(Model m, ParticleIndex pi) -> bool
14898 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14900 return _IMP_core.FilterProvenance_get_is_setup(*args)
14902 def FilterProvenance_setup_particle(*args):
14904 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14905 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14906 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14907 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14909 return _IMP_core.FilterProvenance_setup_particle(*args)
14911 class ClusterProvenance(Provenance):
14912 """Proxy of C++ IMP::core::ClusterProvenance class"""
14913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14915 def set_number_of_members(self, members):
14916 """set_number_of_members(ClusterProvenance self, int members)"""
14917 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14920 def get_number_of_members(self):
14921 """get_number_of_members(ClusterProvenance self) -> int"""
14922 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14925 def set_precision(self, precision):
14926 """set_precision(ClusterProvenance self, double precision)"""
14927 return _IMP_core.ClusterProvenance_set_precision(self, precision)
14930 def get_precision(self):
14931 """get_precision(ClusterProvenance self) -> double"""
14932 return _IMP_core.ClusterProvenance_get_precision(self)
14935 def set_density(self, density):
14936 """set_density(ClusterProvenance self, std::string density)"""
14937 return _IMP_core.ClusterProvenance_set_density(self, density)
14940 def get_density(self):
14941 """get_density(ClusterProvenance self) -> std::string"""
14942 return _IMP_core.ClusterProvenance_get_density(self)
14945 def __init__(self, *args):
14947 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14948 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14949 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14951 this = _IMP_core.new_ClusterProvenance(*args)
14953 self.this.append(this)
14957 def get_is_setup(*args):
14959 get_is_setup(Model m, ParticleIndex pi) -> bool
14960 get_is_setup(_ParticleAdaptor p) -> bool
14962 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14964 get_is_setup = staticmethod(get_is_setup)
14966 def show(self, *args):
14968 show(ClusterProvenance self, _ostream out)
14969 show(ClusterProvenance self)
14971 return _IMP_core.ClusterProvenance_show(self, *args)
14974 def setup_particle(*args):
14976 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14977 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
14978 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
14979 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
14980 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
14981 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
14982 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14983 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
14985 return _IMP_core.ClusterProvenance_setup_particle(*args)
14987 setup_particle = staticmethod(setup_particle)
14989 def add_attribute(self, *args):
14991 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14992 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14993 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14994 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
14995 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
14996 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14997 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14998 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
15000 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
15003 def get_value(self, *args):
15005 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
15006 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
15007 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
15008 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
15009 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
15010 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
15011 get_value(ClusterProvenance self, ObjectKey a0) -> Object
15013 return _IMP_core.ClusterProvenance_get_value(self, *args)
15016 def set_value(self, *args):
15018 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15019 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
15020 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15021 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15022 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
15023 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15024 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
15026 return _IMP_core.ClusterProvenance_set_value(self, *args)
15029 def remove_attribute(self, *args):
15031 remove_attribute(ClusterProvenance self, FloatKey a0)
15032 remove_attribute(ClusterProvenance self, IntKey a0)
15033 remove_attribute(ClusterProvenance self, FloatsKey a0)
15034 remove_attribute(ClusterProvenance self, IntsKey a0)
15035 remove_attribute(ClusterProvenance self, StringKey a0)
15036 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
15037 remove_attribute(ClusterProvenance self, ObjectKey a0)
15039 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
15042 def has_attribute(self, *args):
15044 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
15045 has_attribute(ClusterProvenance self, IntKey a0) -> bool
15046 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
15047 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
15048 has_attribute(ClusterProvenance self, StringKey a0) -> bool
15049 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
15050 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
15052 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
15055 def get_derivative(self, a0):
15056 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
15057 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
15060 def get_name(self):
15061 """get_name(ClusterProvenance self) -> std::string"""
15062 return _IMP_core.ClusterProvenance_get_name(self)
15065 def clear_caches(self):
15066 """clear_caches(ClusterProvenance self)"""
15067 return _IMP_core.ClusterProvenance_clear_caches(self)
15070 def set_name(self, a0):
15071 """set_name(ClusterProvenance self, std::string a0)"""
15072 return _IMP_core.ClusterProvenance_set_name(self, a0)
15076 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
15077 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
15080 def add_to_derivative(self, a0, a1, a2):
15081 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15082 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
15085 def set_is_optimized(self, a0, a1):
15086 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
15087 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
15090 def get_is_optimized(self, a0):
15091 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
15092 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
15096 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
15097 return _IMP_core.ClusterProvenance_get_check_level(self)
15100 def __eq__(self, *args):
15102 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
15103 __eq__(ClusterProvenance self, Particle d) -> bool
15105 return _IMP_core.ClusterProvenance___eq__(self, *args)
15108 def __ne__(self, *args):
15110 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
15111 __ne__(ClusterProvenance self, Particle d) -> bool
15113 return _IMP_core.ClusterProvenance___ne__(self, *args)
15116 def __le__(self, *args):
15118 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
15119 __le__(ClusterProvenance self, Particle d) -> bool
15121 return _IMP_core.ClusterProvenance___le__(self, *args)
15124 def __lt__(self, *args):
15126 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
15127 __lt__(ClusterProvenance self, Particle d) -> bool
15129 return _IMP_core.ClusterProvenance___lt__(self, *args)
15132 def __ge__(self, *args):
15134 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
15135 __ge__(ClusterProvenance self, Particle d) -> bool
15137 return _IMP_core.ClusterProvenance___ge__(self, *args)
15140 def __gt__(self, *args):
15142 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
15143 __gt__(ClusterProvenance self, Particle d) -> bool
15145 return _IMP_core.ClusterProvenance___gt__(self, *args)
15148 def __hash__(self):
15149 """__hash__(ClusterProvenance self) -> std::size_t"""
15150 return _IMP_core.ClusterProvenance___hash__(self)
15154 """__str__(ClusterProvenance self) -> std::string"""
15155 return _IMP_core.ClusterProvenance___str__(self)
15158 def __repr__(self):
15159 """__repr__(ClusterProvenance self) -> std::string"""
15160 return _IMP_core.ClusterProvenance___repr__(self)
15162 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
15163 __del__ =
lambda self:
None
15164 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
15165 ClusterProvenance_swigregister(ClusterProvenance)
15167 def ClusterProvenance_get_is_setup(*args):
15169 get_is_setup(Model m, ParticleIndex pi) -> bool
15170 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15172 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15174 def ClusterProvenance_setup_particle(*args):
15176 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15177 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15178 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15179 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15180 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15181 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15182 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15183 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15185 return _IMP_core.ClusterProvenance_setup_particle(*args)
15187 class ScriptProvenance(Provenance):
15188 """Proxy of C++ IMP::core::ScriptProvenance class"""
15189 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15191 def set_filename(self, filename):
15192 """set_filename(ScriptProvenance self, std::string filename)"""
15193 return _IMP_core.ScriptProvenance_set_filename(self, filename)
15196 def get_filename(self):
15197 """get_filename(ScriptProvenance self) -> std::string"""
15198 return _IMP_core.ScriptProvenance_get_filename(self)
15201 def __init__(self, *args):
15203 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
15204 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
15205 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
15207 this = _IMP_core.new_ScriptProvenance(*args)
15209 self.this.append(this)
15213 def get_is_setup(*args):
15215 get_is_setup(Model m, ParticleIndex pi) -> bool
15216 get_is_setup(_ParticleAdaptor p) -> bool
15218 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15220 get_is_setup = staticmethod(get_is_setup)
15222 def show(self, *args):
15224 show(ScriptProvenance self, _ostream out)
15225 show(ScriptProvenance self)
15227 return _IMP_core.ScriptProvenance_show(self, *args)
15230 def setup_particle(*args):
15232 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15233 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15234 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15235 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15237 return _IMP_core.ScriptProvenance_setup_particle(*args)
15239 setup_particle = staticmethod(setup_particle)
15241 def add_attribute(self, *args):
15243 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15244 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15245 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15246 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15247 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15248 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15249 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15250 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15252 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15255 def get_value(self, *args):
15257 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15258 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15259 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
15260 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
15261 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15262 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15263 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15265 return _IMP_core.ScriptProvenance_get_value(self, *args)
15268 def set_value(self, *args):
15270 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15271 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15272 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15273 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15274 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15275 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15276 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15278 return _IMP_core.ScriptProvenance_set_value(self, *args)
15281 def remove_attribute(self, *args):
15283 remove_attribute(ScriptProvenance self, FloatKey a0)
15284 remove_attribute(ScriptProvenance self, IntKey a0)
15285 remove_attribute(ScriptProvenance self, FloatsKey a0)
15286 remove_attribute(ScriptProvenance self, IntsKey a0)
15287 remove_attribute(ScriptProvenance self, StringKey a0)
15288 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15289 remove_attribute(ScriptProvenance self, ObjectKey a0)
15291 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15294 def has_attribute(self, *args):
15296 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15297 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15298 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
15299 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
15300 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15301 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15302 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15304 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15307 def get_derivative(self, a0):
15308 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15309 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15312 def get_name(self):
15313 """get_name(ScriptProvenance self) -> std::string"""
15314 return _IMP_core.ScriptProvenance_get_name(self)
15317 def clear_caches(self):
15318 """clear_caches(ScriptProvenance self)"""
15319 return _IMP_core.ScriptProvenance_clear_caches(self)
15322 def set_name(self, a0):
15323 """set_name(ScriptProvenance self, std::string a0)"""
15324 return _IMP_core.ScriptProvenance_set_name(self, a0)
15328 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15329 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15332 def add_to_derivative(self, a0, a1, a2):
15333 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15334 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15337 def set_is_optimized(self, a0, a1):
15338 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15339 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15342 def get_is_optimized(self, a0):
15343 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15344 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15348 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15349 return _IMP_core.ScriptProvenance_get_check_level(self)
15352 def __eq__(self, *args):
15354 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15355 __eq__(ScriptProvenance self, Particle d) -> bool
15357 return _IMP_core.ScriptProvenance___eq__(self, *args)
15360 def __ne__(self, *args):
15362 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15363 __ne__(ScriptProvenance self, Particle d) -> bool
15365 return _IMP_core.ScriptProvenance___ne__(self, *args)
15368 def __le__(self, *args):
15370 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15371 __le__(ScriptProvenance self, Particle d) -> bool
15373 return _IMP_core.ScriptProvenance___le__(self, *args)
15376 def __lt__(self, *args):
15378 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15379 __lt__(ScriptProvenance self, Particle d) -> bool
15381 return _IMP_core.ScriptProvenance___lt__(self, *args)
15384 def __ge__(self, *args):
15386 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15387 __ge__(ScriptProvenance self, Particle d) -> bool
15389 return _IMP_core.ScriptProvenance___ge__(self, *args)
15392 def __gt__(self, *args):
15394 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15395 __gt__(ScriptProvenance self, Particle d) -> bool
15397 return _IMP_core.ScriptProvenance___gt__(self, *args)
15400 def __hash__(self):
15401 """__hash__(ScriptProvenance self) -> std::size_t"""
15402 return _IMP_core.ScriptProvenance___hash__(self)
15406 """__str__(ScriptProvenance self) -> std::string"""
15407 return _IMP_core.ScriptProvenance___str__(self)
15410 def __repr__(self):
15411 """__repr__(ScriptProvenance self) -> std::string"""
15412 return _IMP_core.ScriptProvenance___repr__(self)
15414 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15415 __del__ =
lambda self:
None
15416 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15417 ScriptProvenance_swigregister(ScriptProvenance)
15419 def ScriptProvenance_get_is_setup(*args):
15421 get_is_setup(Model m, ParticleIndex pi) -> bool
15422 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15424 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15426 def ScriptProvenance_setup_particle(*args):
15428 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15429 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15430 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15431 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15433 return _IMP_core.ScriptProvenance_setup_particle(*args)
15435 class SoftwareProvenance(Provenance):
15436 """Proxy of C++ IMP::core::SoftwareProvenance class"""
15437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15439 def set_software_name(self, name):
15440 """set_software_name(SoftwareProvenance self, std::string name)"""
15441 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15444 def get_software_name(self):
15445 """get_software_name(SoftwareProvenance self) -> std::string"""
15446 return _IMP_core.SoftwareProvenance_get_software_name(self)
15449 def set_version(self, version):
15450 """set_version(SoftwareProvenance self, std::string version)"""
15451 return _IMP_core.SoftwareProvenance_set_version(self, version)
15454 def get_version(self):
15455 """get_version(SoftwareProvenance self) -> std::string"""
15456 return _IMP_core.SoftwareProvenance_get_version(self)
15459 def set_location(self, location):
15460 """set_location(SoftwareProvenance self, std::string location)"""
15461 return _IMP_core.SoftwareProvenance_set_location(self, location)
15464 def get_location(self):
15465 """get_location(SoftwareProvenance self) -> std::string"""
15466 return _IMP_core.SoftwareProvenance_get_location(self)
15469 def __init__(self, *args):
15471 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15472 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15473 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15475 this = _IMP_core.new_SoftwareProvenance(*args)
15477 self.this.append(this)
15481 def get_is_setup(*args):
15483 get_is_setup(Model m, ParticleIndex pi) -> bool
15484 get_is_setup(_ParticleAdaptor p) -> bool
15486 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15488 get_is_setup = staticmethod(get_is_setup)
15490 def show(self, *args):
15492 show(SoftwareProvenance self, _ostream out)
15493 show(SoftwareProvenance self)
15495 return _IMP_core.SoftwareProvenance_show(self, *args)
15498 def setup_particle(*args):
15500 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15501 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15502 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15503 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15505 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15507 setup_particle = staticmethod(setup_particle)
15509 def add_attribute(self, *args):
15511 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15512 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15513 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15514 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15515 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15516 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15517 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15518 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15520 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15523 def get_value(self, *args):
15525 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15526 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15527 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
15528 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
15529 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15530 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15531 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15533 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15536 def set_value(self, *args):
15538 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15539 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15540 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15541 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15542 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15543 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15544 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15546 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15549 def remove_attribute(self, *args):
15551 remove_attribute(SoftwareProvenance self, FloatKey a0)
15552 remove_attribute(SoftwareProvenance self, IntKey a0)
15553 remove_attribute(SoftwareProvenance self, FloatsKey a0)
15554 remove_attribute(SoftwareProvenance self, IntsKey a0)
15555 remove_attribute(SoftwareProvenance self, StringKey a0)
15556 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15557 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15559 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15562 def has_attribute(self, *args):
15564 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15565 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15566 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
15567 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
15568 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15569 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15570 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15572 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15575 def get_derivative(self, a0):
15576 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15577 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15580 def get_name(self):
15581 """get_name(SoftwareProvenance self) -> std::string"""
15582 return _IMP_core.SoftwareProvenance_get_name(self)
15585 def clear_caches(self):
15586 """clear_caches(SoftwareProvenance self)"""
15587 return _IMP_core.SoftwareProvenance_clear_caches(self)
15590 def set_name(self, a0):
15591 """set_name(SoftwareProvenance self, std::string a0)"""
15592 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15596 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15597 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15600 def add_to_derivative(self, a0, a1, a2):
15601 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15602 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15605 def set_is_optimized(self, a0, a1):
15606 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15607 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15610 def get_is_optimized(self, a0):
15611 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15612 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15616 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15617 return _IMP_core.SoftwareProvenance_get_check_level(self)
15620 def __eq__(self, *args):
15622 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15623 __eq__(SoftwareProvenance self, Particle d) -> bool
15625 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15628 def __ne__(self, *args):
15630 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15631 __ne__(SoftwareProvenance self, Particle d) -> bool
15633 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15636 def __le__(self, *args):
15638 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15639 __le__(SoftwareProvenance self, Particle d) -> bool
15641 return _IMP_core.SoftwareProvenance___le__(self, *args)
15644 def __lt__(self, *args):
15646 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15647 __lt__(SoftwareProvenance self, Particle d) -> bool
15649 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15652 def __ge__(self, *args):
15654 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15655 __ge__(SoftwareProvenance self, Particle d) -> bool
15657 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15660 def __gt__(self, *args):
15662 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15663 __gt__(SoftwareProvenance self, Particle d) -> bool
15665 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15668 def __hash__(self):
15669 """__hash__(SoftwareProvenance self) -> std::size_t"""
15670 return _IMP_core.SoftwareProvenance___hash__(self)
15674 """__str__(SoftwareProvenance self) -> std::string"""
15675 return _IMP_core.SoftwareProvenance___str__(self)
15678 def __repr__(self):
15679 """__repr__(SoftwareProvenance self) -> std::string"""
15680 return _IMP_core.SoftwareProvenance___repr__(self)
15682 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15683 __del__ =
lambda self:
None
15684 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15685 SoftwareProvenance_swigregister(SoftwareProvenance)
15687 def SoftwareProvenance_get_is_setup(*args):
15689 get_is_setup(Model m, ParticleIndex pi) -> bool
15690 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15692 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15694 def SoftwareProvenance_setup_particle(*args):
15696 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15697 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15698 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15699 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15701 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15704 """Proxy of C++ IMP::core::Provenanced class"""
15705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15707 def get_provenance(self):
15708 """get_provenance(Provenanced self) -> Provenance"""
15709 return _IMP_core.Provenanced_get_provenance(self)
15712 def set_provenance(self, p):
15713 """set_provenance(Provenanced self, Provenance p)"""
15714 return _IMP_core.Provenanced_set_provenance(self, p)
15717 def __init__(self, *args):
15719 __init__(IMP::core::Provenanced self) -> Provenanced
15720 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15721 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15723 this = _IMP_core.new_Provenanced(*args)
15725 self.this.append(this)
15729 def get_is_setup(*args):
15731 get_is_setup(Model m, ParticleIndex pi) -> bool
15732 get_is_setup(_ParticleAdaptor p) -> bool
15734 return _IMP_core.Provenanced_get_is_setup(*args)
15736 get_is_setup = staticmethod(get_is_setup)
15738 def show(self, *args):
15740 show(Provenanced self, _ostream out)
15741 show(Provenanced self)
15743 return _IMP_core.Provenanced_show(self, *args)
15746 def setup_particle(*args):
15748 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15749 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15751 return _IMP_core.Provenanced_setup_particle(*args)
15753 setup_particle = staticmethod(setup_particle)
15755 def add_attribute(self, *args):
15757 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15758 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15759 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15760 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
15761 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
15762 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15763 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15764 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15766 return _IMP_core.Provenanced_add_attribute(self, *args)
15769 def get_value(self, *args):
15771 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15772 get_value(Provenanced self, IntKey a0) -> IMP::Int
15773 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
15774 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
15775 get_value(Provenanced self, StringKey a0) -> IMP::String
15776 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15777 get_value(Provenanced self, ObjectKey a0) -> Object
15779 return _IMP_core.Provenanced_get_value(self, *args)
15782 def set_value(self, *args):
15784 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15785 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15786 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
15787 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
15788 set_value(Provenanced self, StringKey a0, IMP::String a1)
15789 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15790 set_value(Provenanced self, ObjectKey a0, Object a1)
15792 return _IMP_core.Provenanced_set_value(self, *args)
15795 def remove_attribute(self, *args):
15797 remove_attribute(Provenanced self, FloatKey a0)
15798 remove_attribute(Provenanced self, IntKey a0)
15799 remove_attribute(Provenanced self, FloatsKey a0)
15800 remove_attribute(Provenanced self, IntsKey a0)
15801 remove_attribute(Provenanced self, StringKey a0)
15802 remove_attribute(Provenanced self, ParticleIndexKey a0)
15803 remove_attribute(Provenanced self, ObjectKey a0)
15805 return _IMP_core.Provenanced_remove_attribute(self, *args)
15808 def has_attribute(self, *args):
15810 has_attribute(Provenanced self, FloatKey a0) -> bool
15811 has_attribute(Provenanced self, IntKey a0) -> bool
15812 has_attribute(Provenanced self, FloatsKey a0) -> bool
15813 has_attribute(Provenanced self, IntsKey a0) -> bool
15814 has_attribute(Provenanced self, StringKey a0) -> bool
15815 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15816 has_attribute(Provenanced self, ObjectKey a0) -> bool
15818 return _IMP_core.Provenanced_has_attribute(self, *args)
15821 def get_derivative(self, a0):
15822 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15823 return _IMP_core.Provenanced_get_derivative(self, a0)
15826 def get_name(self):
15827 """get_name(Provenanced self) -> std::string"""
15828 return _IMP_core.Provenanced_get_name(self)
15831 def clear_caches(self):
15832 """clear_caches(Provenanced self)"""
15833 return _IMP_core.Provenanced_clear_caches(self)
15836 def set_name(self, a0):
15837 """set_name(Provenanced self, std::string a0)"""
15838 return _IMP_core.Provenanced_set_name(self, a0)
15842 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15843 return _IMP_core.Provenanced_set_check_level(self, a0)
15846 def add_to_derivative(self, a0, a1, a2):
15847 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15848 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15851 def set_is_optimized(self, a0, a1):
15852 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15853 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15856 def get_is_optimized(self, a0):
15857 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15858 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15862 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15863 return _IMP_core.Provenanced_get_check_level(self)
15866 def __eq__(self, *args):
15868 __eq__(Provenanced self, Provenanced o) -> bool
15869 __eq__(Provenanced self, Particle d) -> bool
15871 return _IMP_core.Provenanced___eq__(self, *args)
15874 def __ne__(self, *args):
15876 __ne__(Provenanced self, Provenanced o) -> bool
15877 __ne__(Provenanced self, Particle d) -> bool
15879 return _IMP_core.Provenanced___ne__(self, *args)
15882 def __le__(self, *args):
15884 __le__(Provenanced self, Provenanced o) -> bool
15885 __le__(Provenanced self, Particle d) -> bool
15887 return _IMP_core.Provenanced___le__(self, *args)
15890 def __lt__(self, *args):
15892 __lt__(Provenanced self, Provenanced o) -> bool
15893 __lt__(Provenanced self, Particle d) -> bool
15895 return _IMP_core.Provenanced___lt__(self, *args)
15898 def __ge__(self, *args):
15900 __ge__(Provenanced self, Provenanced o) -> bool
15901 __ge__(Provenanced self, Particle d) -> bool
15903 return _IMP_core.Provenanced___ge__(self, *args)
15906 def __gt__(self, *args):
15908 __gt__(Provenanced self, Provenanced o) -> bool
15909 __gt__(Provenanced self, Particle d) -> bool
15911 return _IMP_core.Provenanced___gt__(self, *args)
15914 def __hash__(self):
15915 """__hash__(Provenanced self) -> std::size_t"""
15916 return _IMP_core.Provenanced___hash__(self)
15920 """__str__(Provenanced self) -> std::string"""
15921 return _IMP_core.Provenanced___str__(self)
15924 def __repr__(self):
15925 """__repr__(Provenanced self) -> std::string"""
15926 return _IMP_core.Provenanced___repr__(self)
15928 __swig_destroy__ = _IMP_core.delete_Provenanced
15929 __del__ =
lambda self:
None
15930 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15931 Provenanced_swigregister(Provenanced)
15933 def Provenanced_get_is_setup(*args):
15935 get_is_setup(Model m, ParticleIndex pi) -> bool
15936 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15938 return _IMP_core.Provenanced_get_is_setup(*args)
15940 def Provenanced_setup_particle(*args):
15942 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15943 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15945 return _IMP_core.Provenanced_setup_particle(*args)
15949 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15950 return _IMP_core.add_provenance(m, pi, p)
15953 """create_clone(Provenance p) -> Provenance"""
15954 return _IMP_core.create_clone(p)
15958 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15959 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15960 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15962 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15965 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15966 return _IMP_core.create_restraint(ps, pp)
15968 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
15969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15971 def __init__(self, *args):
15973 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15974 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
15976 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
15978 self.this.append(this)
15982 def get_version_info(self):
15983 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
15984 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
15988 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
15989 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
15992 def __repr__(self):
15993 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
15994 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
15999 return _object_cast_to_TruncatedHarmonic(o)
16001 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
16002 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
16005 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
16006 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16008 def __init__(self, *args):
16010 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
16011 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
16013 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
16015 self.this.append(this)
16019 def get_version_info(self):
16020 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
16021 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
16025 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
16026 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
16029 def __repr__(self):
16030 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
16031 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
16036 return _object_cast_to_TruncatedHarmonic(o)
16038 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
16039 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
16042 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
16043 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16045 def __init__(self, *args):
16047 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
16048 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
16050 this = _IMP_core.new_TruncatedHarmonicBound(*args)
16052 self.this.append(this)
16056 def get_version_info(self):
16057 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
16058 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
16062 """__str__(TruncatedHarmonicBound self) -> std::string"""
16063 return _IMP_core.TruncatedHarmonicBound___str__(self)
16066 def __repr__(self):
16067 """__repr__(TruncatedHarmonicBound self) -> std::string"""
16068 return _IMP_core.TruncatedHarmonicBound___repr__(self)
16073 return _object_cast_to_TruncatedHarmonic(o)
16075 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
16076 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
16079 """Proxy of C++ IMP::Key<(34897493)> class"""
16080 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16082 def __init__(self, *args):
16084 __init__(IMP::Key<(34897493)> self) -> ParticleType
16085 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
16086 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
16087 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
16089 this = _IMP_core.new_ParticleType(*args)
16091 self.this.append(this)
16096 """add_key(std::string sc) -> unsigned int"""
16097 return _IMP_core.ParticleType_add_key(sc)
16099 add_key = staticmethod(add_key)
16101 def get_key_exists(sc):
16102 """get_key_exists(std::string sc) -> bool"""
16103 return _IMP_core.ParticleType_get_key_exists(sc)
16105 get_key_exists = staticmethod(get_key_exists)
16107 def get_string(self):
16108 """get_string(ParticleType self) -> std::string const"""
16109 return _IMP_core.ParticleType_get_string(self)
16112 def __cmp__(self, o):
16113 """__cmp__(ParticleType self, ParticleType o) -> int"""
16114 return _IMP_core.ParticleType___cmp__(self, o)
16117 def __eq__(self, o):
16118 """__eq__(ParticleType self, ParticleType o) -> bool"""
16119 return _IMP_core.ParticleType___eq__(self, o)
16122 def __ne__(self, o):
16123 """__ne__(ParticleType self, ParticleType o) -> bool"""
16124 return _IMP_core.ParticleType___ne__(self, o)
16127 def __lt__(self, o):
16128 """__lt__(ParticleType self, ParticleType o) -> bool"""
16129 return _IMP_core.ParticleType___lt__(self, o)
16132 def __gt__(self, o):
16133 """__gt__(ParticleType self, ParticleType o) -> bool"""
16134 return _IMP_core.ParticleType___gt__(self, o)
16137 def __ge__(self, o):
16138 """__ge__(ParticleType self, ParticleType o) -> bool"""
16139 return _IMP_core.ParticleType___ge__(self, o)
16142 def __le__(self, o):
16143 """__le__(ParticleType self, ParticleType o) -> bool"""
16144 return _IMP_core.ParticleType___le__(self, o)
16147 def __hash__(self):
16148 """__hash__(ParticleType self) -> std::size_t"""
16149 return _IMP_core.ParticleType___hash__(self)
16152 def show(self, *args):
16154 show(ParticleType self, _ostream out)
16155 show(ParticleType self)
16157 return _IMP_core.ParticleType_show(self, *args)
16160 def add_alias(old_key, new_name):
16161 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16162 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16164 add_alias = staticmethod(add_alias)
16166 def get_number_of_keys():
16167 """get_number_of_keys() -> unsigned int"""
16168 return _IMP_core.ParticleType_get_number_of_keys()
16170 get_number_of_keys = staticmethod(get_number_of_keys)
16173 """get_index(ParticleType self) -> unsigned int"""
16174 return _IMP_core.ParticleType_get_index(self)
16178 """show_all(_ostream out)"""
16179 return _IMP_core.ParticleType_show_all(out)
16181 show_all = staticmethod(show_all)
16183 def get_all_strings():
16184 """get_all_strings() -> IMP::Vector< std::string >"""
16185 return _IMP_core.ParticleType_get_all_strings()
16187 get_all_strings = staticmethod(get_all_strings)
16189 def get_number_unique():
16190 """get_number_unique() -> unsigned int"""
16191 return _IMP_core.ParticleType_get_number_unique()
16193 get_number_unique = staticmethod(get_number_unique)
16196 """__str__(ParticleType self) -> std::string"""
16197 return _IMP_core.ParticleType___str__(self)
16200 def __repr__(self):
16201 """__repr__(ParticleType self) -> std::string"""
16202 return _IMP_core.ParticleType___repr__(self)
16204 __swig_destroy__ = _IMP_core.delete_ParticleType
16205 __del__ =
lambda self:
None
16206 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
16207 ParticleType_swigregister(ParticleType)
16209 def ParticleType_add_key(sc):
16210 """ParticleType_add_key(std::string sc) -> unsigned int"""
16211 return _IMP_core.ParticleType_add_key(sc)
16213 def ParticleType_get_key_exists(sc):
16214 """ParticleType_get_key_exists(std::string sc) -> bool"""
16215 return _IMP_core.ParticleType_get_key_exists(sc)
16217 def ParticleType_add_alias(old_key, new_name):
16218 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16219 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16221 def ParticleType_get_number_of_keys():
16222 """ParticleType_get_number_of_keys() -> unsigned int"""
16223 return _IMP_core.ParticleType_get_number_of_keys()
16225 def ParticleType_show_all(out):
16226 """ParticleType_show_all(_ostream out)"""
16227 return _IMP_core.ParticleType_show_all(out)
16229 def ParticleType_get_all_strings():
16230 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
16231 return _IMP_core.ParticleType_get_all_strings()
16233 def ParticleType_get_number_unique():
16234 """ParticleType_get_number_unique() -> unsigned int"""
16235 return _IMP_core.ParticleType_get_number_unique()
16238 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
16239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16240 __repr__ = _swig_repr
16242 def __init__(self, f, k):
16243 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16244 this = _IMP_core.new_AttributeSingletonScore(f, k)
16246 self.this.append(this)
16250 def do_get_inputs(self, m, pis):
16251 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16252 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16255 def get_unary_function(self):
16256 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16257 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16260 def get_version_info(self):
16261 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16262 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16264 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16265 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16269 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16270 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16272 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
16273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16274 __repr__ = _swig_repr
16276 def __init__(self, f, bb):
16277 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16278 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16280 self.this.append(this)
16284 def do_get_inputs(self, m, pis):
16285 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16286 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16289 def get_version_info(self):
16290 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16291 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16293 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16294 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16297 def create_bounding_box_3d_singleton_score(f, bb):
16298 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16299 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16301 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class"""
16302 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16303 __repr__ = _swig_repr
16305 def __init__(self, f, sphere):
16306 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16307 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16309 self.this.append(this)
16313 def do_get_inputs(self, m, pis):
16314 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16315 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16318 def get_version_info(self):
16319 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16320 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16322 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16323 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16326 def create_bounding_sphere_3d_singleton_score(f, sphere):
16327 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16328 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16330 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
16331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16332 __repr__ = _swig_repr
16334 def __init__(self, f, pt):
16335 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16336 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16338 self.this.append(this)
16342 def do_get_inputs(self, m, pis):
16343 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16344 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16347 def get_version_info(self):
16348 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16349 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16351 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16352 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16355 def create_distance_to_singleton_score(f, pt):
16356 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16357 return _IMP_core.create_distance_to_singleton_score(f, pt)
16361 CombineProvenance, FilterProvenance,
16362 ClusterProvenance, ScriptProvenance,
16363 SoftwareProvenance]):
16364 """Yield all provenance decorators of the given types for the particle.
16365 By default, all provenance types are returned. Provenance is returned
16366 in order, most recent first. If the particle has no provenance
16367 information, an empty generator is returned."""
16368 if Provenanced.get_is_setup(p):
16372 if c.get_is_setup(prov):
16374 prov = prov.get_previous()
16377 """Tag the given particle with the current Python script.
16378 This is a noop if the particle is already so tagged."""
16379 main = sys.modules[
'__main__']
16381 if not hasattr(main,
'__file__'):
16385 if prov.get_filename() == f:
16389 provp.set_name(
'script')
16390 prov = ScriptProvenance.setup_particle(provp, f)
16394 """Tag the given particle with the software used to create it.
16395 This is a noop if the particle is already so tagged."""
16397 if prov.get_software_name() == name
and prov.get_version() == version \
16398 and prov.get_location() == location:
16402 provp.set_name(
'software')
16403 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16407 """Tag the given particle as being created by the current version of IMP."""
16410 location=
"https://integrativemodeling.org")
16414 """get_module_version() -> std::string const"""
16415 return _IMP_core.get_module_version()
16418 """get_example_path(std::string fname) -> std::string"""
16419 return _IMP_core.get_example_path(fname)
16422 """get_data_path(std::string fname) -> std::string"""
16423 return _IMP_core.get_data_path(fname)
16425 from .
import _version_check
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
Abstract class for scoring object(s) of type ParticleIndexPair.
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
algebra::Transformation3D get_transformation_aligning_first_to_second(XYZsOrVector3ds a, XYZsOrVector3ds b)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
def add_script_provenance
Tag the given particle with the current Python script.
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
algebra::ReferenceFrame3D get_initial_reference_frame(Model *m, const ParticleIndexes &pis)
The base class for geometry.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A base class for geometry contained in particles.
double get_angle(Direction a, Direction b)
Get angle between directions.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
algebra::Vector3D get_centroid(const XYZs &ps)
Get the centroid.
void add_particle(RMF::FileHandle fh, Particle *hs)
GenericHierarchies get_leaves(Hierarchy mhd)
Get all the leaves of the bit of hierarchy.
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
def add_imp_provenance
Tag the given particle as being created by the current version of IMP.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
def add_software_provenance
Tag the given particle with the software used to create it.
Base class for objects in a Model that depend on other objects.
Abstract predicate function.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
SurfaceGeometry * create_geometry(const Surface s, std::string name=std::string("SurfaceGeometry%1%"))
Create a geometry from a Surface.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
algebra::BoundingBoxD< 3 > get_bounding_box(const XYZRs &ps)
Get the bounding box.
Version and module information for Objects.
const algebra::Vector3D & get_vector_geometry(XYZ d)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
std::string get_absolute_path(std::string file)
Convert a possibly relative path to an absolute path.
algebra::Sphere3D get_enclosing_sphere(const XYZs &v)
Get a sphere enclosing the set of XYZRs.
Base class for optimizers that act on individual attributes.
SurfaceGeometry * get_constrained_surface_geometry(const Surface s, std::string name="SurfaceGeometry%1%")
Get surface geometry constrained to the surface.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Represents a scoring function on the model.
void set_vector_geometry(XYZ d, const algebra::Vector3D &v)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract predicate function.
Abstract class to implement hierarchical methods.
double get_depth(const Surface &s, const XYZR &d)
Get depth of sphere below surface.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Class to handle individual particles of a Model object.
GenericAttributeSingletonScore< UF > * create_generic_attribute_singleton_score(UF *uf, FloatKey k)
void transform(RigidBody a, const algebra::Transformation3D &tr)
Transform a rigid body.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
std::string get_module_version()
Return the version of this module, as a string.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
def get_all_provenance
Yield all provenance decorators of the given types for the particle.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
void add_provenance(Model *m, ParticleIndex pi, Provenance p)
Add provenance to part of the model.
Tag part of the system to track how it was created.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.