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_changed_key():
6934 """get_changed_key() -> TriggerKey"""
6935 return _IMP_core.Hierarchy_get_changed_key()
6937 get_changed_key = staticmethod(get_changed_key)
6939 def get_parent(self):
6940 """get_parent(Hierarchy self) -> Hierarchy"""
6941 return _IMP_core.Hierarchy_get_parent(self)
6944 def get_number_of_children(self):
6945 """get_number_of_children(Hierarchy self) -> unsigned int"""
6946 return _IMP_core.Hierarchy_get_number_of_children(self)
6949 def get_child(self, i):
6950 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6951 return _IMP_core.Hierarchy_get_child(self, i)
6954 def get_children_indexes(self):
6955 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6956 return _IMP_core.Hierarchy_get_children_indexes(self)
6959 def get_children(self):
6960 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6961 return _IMP_core.Hierarchy_get_children(self)
6964 def remove_child(self, *args):
6966 remove_child(Hierarchy self, unsigned int i)
6967 remove_child(Hierarchy self, Hierarchy h)
6969 return _IMP_core.Hierarchy_remove_child(self, *args)
6972 def clear_children(self):
6973 """clear_children(Hierarchy self)"""
6974 return _IMP_core.Hierarchy_clear_children(self)
6977 def add_child(self, h):
6978 """add_child(Hierarchy self, Hierarchy h)"""
6979 return _IMP_core.Hierarchy_add_child(self, h)
6982 def add_child_at(self, h, pos):
6983 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6984 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6987 def get_child_index(self, *args):
6989 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6990 get_child_index(Hierarchy self) -> int
6992 return _IMP_core.Hierarchy_get_child_index(self, *args)
6995 def get_default_traits():
6996 """get_default_traits() -> HierarchyTraits"""
6997 return _IMP_core.Hierarchy_get_default_traits()
6999 get_default_traits = staticmethod(get_default_traits)
7001 def get_traits(self):
7002 """get_traits(Hierarchy self) -> HierarchyTraits"""
7003 return _IMP_core.Hierarchy_get_traits(self)
7006 def add_attribute(self, *args):
7008 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
7009 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
7010 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
7011 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7012 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
7013 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
7014 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
7015 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
7017 return _IMP_core.Hierarchy_add_attribute(self, *args)
7020 def get_value(self, *args):
7022 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
7023 get_value(Hierarchy self, IntKey a0) -> IMP::Int
7024 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
7025 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
7026 get_value(Hierarchy self, StringKey a0) -> IMP::String
7027 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
7028 get_value(Hierarchy self, ObjectKey a0) -> Object
7030 return _IMP_core.Hierarchy_get_value(self, *args)
7033 def set_value(self, *args):
7035 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
7036 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
7037 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7038 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
7039 set_value(Hierarchy self, StringKey a0, IMP::String a1)
7040 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
7041 set_value(Hierarchy self, ObjectKey a0, Object a1)
7043 return _IMP_core.Hierarchy_set_value(self, *args)
7046 def remove_attribute(self, *args):
7048 remove_attribute(Hierarchy self, FloatKey a0)
7049 remove_attribute(Hierarchy self, IntKey a0)
7050 remove_attribute(Hierarchy self, FloatsKey a0)
7051 remove_attribute(Hierarchy self, IntsKey a0)
7052 remove_attribute(Hierarchy self, StringKey a0)
7053 remove_attribute(Hierarchy self, ParticleIndexKey a0)
7054 remove_attribute(Hierarchy self, ObjectKey a0)
7056 return _IMP_core.Hierarchy_remove_attribute(self, *args)
7059 def has_attribute(self, *args):
7061 has_attribute(Hierarchy self, FloatKey a0) -> bool
7062 has_attribute(Hierarchy self, IntKey a0) -> bool
7063 has_attribute(Hierarchy self, FloatsKey a0) -> bool
7064 has_attribute(Hierarchy self, IntsKey a0) -> bool
7065 has_attribute(Hierarchy self, StringKey a0) -> bool
7066 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
7067 has_attribute(Hierarchy self, ObjectKey a0) -> bool
7069 return _IMP_core.Hierarchy_has_attribute(self, *args)
7072 def get_derivative(self, a0):
7073 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
7074 return _IMP_core.Hierarchy_get_derivative(self, a0)
7078 """get_name(Hierarchy self) -> std::string"""
7079 return _IMP_core.Hierarchy_get_name(self)
7082 def clear_caches(self):
7083 """clear_caches(Hierarchy self)"""
7084 return _IMP_core.Hierarchy_clear_caches(self)
7087 def set_name(self, a0):
7088 """set_name(Hierarchy self, std::string a0)"""
7089 return _IMP_core.Hierarchy_set_name(self, a0)
7093 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
7094 return _IMP_core.Hierarchy_set_check_level(self, a0)
7097 def add_to_derivative(self, a0, a1, a2):
7098 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7099 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
7102 def set_is_optimized(self, a0, a1):
7103 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
7104 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
7107 def get_is_optimized(self, a0):
7108 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
7109 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
7113 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
7114 return _IMP_core.Hierarchy_get_check_level(self)
7117 def __eq__(self, *args):
7119 __eq__(Hierarchy self, Hierarchy o) -> bool
7120 __eq__(Hierarchy self, Particle d) -> bool
7122 return _IMP_core.Hierarchy___eq__(self, *args)
7125 def __ne__(self, *args):
7127 __ne__(Hierarchy self, Hierarchy o) -> bool
7128 __ne__(Hierarchy self, Particle d) -> bool
7130 return _IMP_core.Hierarchy___ne__(self, *args)
7133 def __le__(self, *args):
7135 __le__(Hierarchy self, Hierarchy o) -> bool
7136 __le__(Hierarchy self, Particle d) -> bool
7138 return _IMP_core.Hierarchy___le__(self, *args)
7141 def __lt__(self, *args):
7143 __lt__(Hierarchy self, Hierarchy o) -> bool
7144 __lt__(Hierarchy self, Particle d) -> bool
7146 return _IMP_core.Hierarchy___lt__(self, *args)
7149 def __ge__(self, *args):
7151 __ge__(Hierarchy self, Hierarchy o) -> bool
7152 __ge__(Hierarchy self, Particle d) -> bool
7154 return _IMP_core.Hierarchy___ge__(self, *args)
7157 def __gt__(self, *args):
7159 __gt__(Hierarchy self, Hierarchy o) -> bool
7160 __gt__(Hierarchy self, Particle d) -> bool
7162 return _IMP_core.Hierarchy___gt__(self, *args)
7166 """__hash__(Hierarchy self) -> std::size_t"""
7167 return _IMP_core.Hierarchy___hash__(self)
7171 """__str__(Hierarchy self) -> std::string"""
7172 return _IMP_core.Hierarchy___str__(self)
7176 """__repr__(Hierarchy self) -> std::string"""
7177 return _IMP_core.Hierarchy___repr__(self)
7179 __swig_destroy__ = _IMP_core.delete_Hierarchy
7180 __del__ =
lambda self:
None
7181 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7182 Hierarchy_swigregister(Hierarchy)
7184 def Hierarchy_get_default_decorator_traits():
7185 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7186 return _IMP_core.Hierarchy_get_default_decorator_traits()
7188 def Hierarchy_setup_particle(*args):
7190 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7191 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7192 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7193 setup_particle(_ParticleAdaptor d) -> Hierarchy
7194 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7195 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7196 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7197 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7198 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7199 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7200 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7201 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7203 return _IMP_core.Hierarchy_setup_particle(*args)
7205 def Hierarchy_get_is_setup(*args):
7207 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7208 get_is_setup(_ParticleAdaptor p) -> bool
7209 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7210 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7212 return _IMP_core.Hierarchy_get_is_setup(*args)
7214 def Hierarchy_get_changed_key():
7215 """Hierarchy_get_changed_key() -> TriggerKey"""
7216 return _IMP_core.Hierarchy_get_changed_key()
7218 def Hierarchy_get_default_traits():
7219 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7220 return _IMP_core.Hierarchy_get_default_traits()
7222 class HierarchyVisitor(object):
7223 """Proxy of C++ IMP::core::HierarchyVisitor class"""
7224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7225 __repr__ = _swig_repr
7228 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7229 if self.__class__ == HierarchyVisitor:
7233 this = _IMP_core.new_HierarchyVisitor(_self, )
7235 self.this.append(this)
7239 if self.__class__ != HierarchyVisitor:
7240 _director_objects.register(self)
7245 def __call__(self, p):
7246 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7247 return _IMP_core.HierarchyVisitor___call__(self, p)
7249 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7250 __del__ =
lambda self:
None
7251 def __disown__(self):
7253 _IMP_core.disown_HierarchyVisitor(self)
7254 return weakref_proxy(self)
7255 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7256 HierarchyVisitor_swigregister(HierarchyVisitor)
7258 class ModifierVisitor(HierarchyVisitor):
7259 """Proxy of C++ IMP::core::ModifierVisitor class"""
7260 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7261 __repr__ = _swig_repr
7263 def __init__(self, sm):
7264 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7265 this = _IMP_core.new_ModifierVisitor(sm)
7267 self.this.append(this)
7270 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7271 __del__ =
lambda self:
None
7272 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7273 ModifierVisitor_swigregister(ModifierVisitor)
7275 class HierarchyCounter(HierarchyVisitor):
7276 """Proxy of C++ IMP::core::HierarchyCounter class"""
7277 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7280 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7281 this = _IMP_core.new_HierarchyCounter()
7283 self.this.append(this)
7287 def get_count(self):
7288 """get_count(HierarchyCounter self) -> unsigned int"""
7289 return _IMP_core.HierarchyCounter_get_count(self)
7292 def show(self, *args):
7294 show(HierarchyCounter self, _ostream out)
7295 show(HierarchyCounter self)
7297 return _IMP_core.HierarchyCounter_show(self, *args)
7301 """__str__(HierarchyCounter self) -> std::string"""
7302 return _IMP_core.HierarchyCounter___str__(self)
7306 """__repr__(HierarchyCounter self) -> std::string"""
7307 return _IMP_core.HierarchyCounter___repr__(self)
7309 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7310 __del__ =
lambda self:
None
7311 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7312 HierarchyCounter_swigregister(HierarchyCounter)
7316 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7317 return _IMP_core.get_leaves(mhd)
7320 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7321 return _IMP_core.get_internal(mhd)
7324 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7325 return _IMP_core.get_all_descendants(mhd)
7328 """get_root(Hierarchy h) -> Hierarchy"""
7329 return _IMP_core.get_root(h)
7332 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7333 return _IMP_core.visit_breadth_first(d, f)
7336 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7337 return _IMP_core.visit_depth_first(d, f)
7339 """Proxy of C++ IMP::core::LeavesRefiner class"""
7340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7342 def __init__(self, tr):
7343 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7344 this = _IMP_core.new_LeavesRefiner(tr)
7346 self.this.append(this)
7350 def do_get_inputs(self, m, pis):
7351 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7352 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7355 def get_version_info(self):
7356 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7357 return _IMP_core.LeavesRefiner_get_version_info(self)
7361 """__str__(LeavesRefiner self) -> std::string"""
7362 return _IMP_core.LeavesRefiner___str__(self)
7366 """__repr__(LeavesRefiner self) -> std::string"""
7367 return _IMP_core.LeavesRefiner___repr__(self)
7372 return _object_cast_to_LeavesRefiner(o)
7374 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7375 LeavesRefiner_swigregister(LeavesRefiner)
7378 """Proxy of C++ IMP::core::Linear class"""
7379 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7381 def __init__(self, offset, slope):
7382 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7383 this = _IMP_core.new_Linear(offset, slope)
7385 self.this.append(this)
7389 def set_slope(self, f):
7390 """set_slope(Linear self, double f)"""
7391 return _IMP_core.Linear_set_slope(self, f)
7394 def set_offset(self, f):
7395 """set_offset(Linear self, double f)"""
7396 return _IMP_core.Linear_set_offset(self, f)
7399 def get_version_info(self):
7400 """get_version_info(Linear self) -> VersionInfo"""
7401 return _IMP_core.Linear_get_version_info(self)
7405 """__str__(Linear self) -> std::string"""
7406 return _IMP_core.Linear___str__(self)
7410 """__repr__(Linear self) -> std::string"""
7411 return _IMP_core.Linear___repr__(self)
7416 return _object_cast_to_Linear(o)
7418 Linear_swigregister = _IMP_core.Linear_swigregister
7419 Linear_swigregister(Linear)
7421 class LogNormalMover(MonteCarloMover):
7422 """Proxy of C++ IMP::core::LogNormalMover class"""
7423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7425 def __init__(self, *args):
7427 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7428 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7429 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7430 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7432 this = _IMP_core.new_LogNormalMover(*args)
7434 self.this.append(this)
7438 def set_sigma(self, sigma):
7439 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7440 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7443 def get_sigma(self):
7444 """get_sigma(LogNormalMover self) -> IMP::Float"""
7445 return _IMP_core.LogNormalMover_get_sigma(self)
7448 def get_version_info(self):
7449 """get_version_info(LogNormalMover self) -> VersionInfo"""
7450 return _IMP_core.LogNormalMover_get_version_info(self)
7454 """__str__(LogNormalMover self) -> std::string"""
7455 return _IMP_core.LogNormalMover___str__(self)
7459 """__repr__(LogNormalMover self) -> std::string"""
7460 return _IMP_core.LogNormalMover___repr__(self)
7465 return _object_cast_to_LogNormalMover(o)
7467 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7468 LogNormalMover_swigregister(LogNormalMover)
7471 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
7472 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7474 def __init__(self, *args):
7476 __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
7477 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7478 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7479 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7481 this = _IMP_core.new_IncrementalScoringFunction(*args)
7483 self.this.append(this)
7487 def reset_moved_particles(self):
7488 """reset_moved_particles(IncrementalScoringFunction self)"""
7489 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7492 def set_moved_particles(self, p):
7493 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7494 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7497 def add_close_pair_score(self, *args):
7499 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7500 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7502 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7505 def clear_close_pair_scores(self):
7506 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7507 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7510 def get_movable_indexes(self):
7511 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7512 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7515 def do_add_score_and_derivatives(self, sa, ss):
7516 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7517 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7520 def do_get_inputs(self):
7521 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7522 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7525 def handle_set_has_required_score_states(self, arg2):
7526 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7527 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7530 def get_version_info(self):
7531 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7532 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7536 """__str__(IncrementalScoringFunction self) -> std::string"""
7537 return _IMP_core.IncrementalScoringFunction___str__(self)
7541 """__repr__(IncrementalScoringFunction self) -> std::string"""
7542 return _IMP_core.IncrementalScoringFunction___repr__(self)
7547 return _object_cast_to_IncrementalScoringFunction(o)
7549 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7550 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7553 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
7554 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7556 """Proxy of C++ IMP::core::MonteCarlo class"""
7557 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7559 def __init__(self, m):
7560 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7561 this = _IMP_core.new_MonteCarlo(m)
7563 self.this.append(this)
7567 def get_version_info(self):
7568 """get_version_info(MonteCarlo self) -> VersionInfo"""
7569 return _IMP_core.MonteCarlo_get_version_info(self)
7572 def set_return_best(self, tf):
7573 """set_return_best(MonteCarlo self, bool tf)"""
7574 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7577 def set_score_moved(self, mv):
7578 """set_score_moved(MonteCarlo self, bool mv)"""
7579 return _IMP_core.MonteCarlo_set_score_moved(self, mv)
7582 def set_kt(self, t):
7583 """set_kt(MonteCarlo self, IMP::Float t)"""
7584 return _IMP_core.MonteCarlo_set_kt(self, t)
7588 """get_kt(MonteCarlo self) -> IMP::Float"""
7589 return _IMP_core.MonteCarlo_get_kt(self)
7592 def get_last_accepted_energy(self):
7593 """get_last_accepted_energy(MonteCarlo self) -> double"""
7594 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7597 def get_best_accepted_energy(self):
7598 """get_best_accepted_energy(MonteCarlo self) -> double"""
7599 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7602 def get_number_of_downward_steps(self):
7603 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7604 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7607 def get_number_of_upward_steps(self):
7608 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7609 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7612 def get_number_of_proposed_steps(self):
7613 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7614 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7617 def get_number_of_accepted_steps(self):
7618 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7619 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7622 def reset_statistics(self):
7623 """reset_statistics(MonteCarlo self)"""
7624 return _IMP_core.MonteCarlo_reset_statistics(self)
7627 def set_score_threshold(self, s):
7628 """set_score_threshold(MonteCarlo self, double s)"""
7629 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7632 def get_score_threshold(self):
7633 """get_score_threshold(MonteCarlo self) -> double"""
7634 return _IMP_core.MonteCarlo_get_score_threshold(self)
7637 def set_maximum_difference(self, d):
7638 """set_maximum_difference(MonteCarlo self, double d)"""
7639 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7642 def get_maximum_difference(self):
7643 """get_maximum_difference(MonteCarlo self) -> double"""
7644 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7647 def remove_mover(self, d):
7648 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7649 return _IMP_core.MonteCarlo_remove_mover(self, d)
7652 def remove_movers(self, d):
7653 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7654 return _IMP_core.MonteCarlo_remove_movers(self, d)
7657 def set_movers(self, ps):
7658 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7659 return _IMP_core.MonteCarlo_set_movers(self, ps)
7662 def set_movers_order(self, objs):
7663 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7664 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7667 def add_mover(self, obj):
7668 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7669 return _IMP_core.MonteCarlo_add_mover(self, obj)
7672 def add_movers(self, objs):
7673 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7674 return _IMP_core.MonteCarlo_add_movers(self, objs)
7677 def clear_movers(self):
7678 """clear_movers(MonteCarlo self)"""
7679 return _IMP_core.MonteCarlo_clear_movers(self)
7682 def get_number_of_movers(self):
7683 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7684 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7687 def get_has_movers(self):
7688 """get_has_movers(MonteCarlo self) -> bool"""
7689 return _IMP_core.MonteCarlo_get_has_movers(self)
7692 def get_mover(self, i):
7693 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7694 return _IMP_core.MonteCarlo_get_mover(self, i)
7697 def get_movers(self):
7698 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7699 return _IMP_core.MonteCarlo_get_movers(self)
7702 def reserve_movers(self, sz):
7703 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7704 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7707 def set_incremental_scoring_function(self, isf):
7708 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7709 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7712 def get_use_incremental_scoring_function(self):
7713 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7714 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7717 def get_incremental_scoring_function(self):
7718 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7719 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7723 """__str__(MonteCarlo self) -> std::string"""
7724 return _IMP_core.MonteCarlo___str__(self)
7728 """__repr__(MonteCarlo self) -> std::string"""
7729 return _IMP_core.MonteCarlo___repr__(self)
7734 return _object_cast_to_MonteCarlo(o)
7736 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7737 MonteCarlo_swigregister(MonteCarlo)
7739 class MonteCarloWithLocalOptimization(MonteCarlo):
7740 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
7741 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7743 def __init__(self, opt, steps):
7744 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7745 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7747 self.this.append(this)
7751 def get_number_of_steps(self):
7752 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7753 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7756 def get_local_optimizer(self):
7757 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7758 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7762 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7763 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7767 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7768 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7773 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7775 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7776 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7778 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7779 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
7780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7782 def __init__(self, opt, ns):
7783 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7784 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7786 self.this.append(this)
7791 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7792 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7796 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7797 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7802 return _object_cast_to_MonteCarloWithBasinHopping(o)
7804 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7805 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7808 """Proxy of C++ IMP::core::NeighborsTable class"""
7809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7811 def __init__(self, *args):
7813 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7814 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7816 this = _IMP_core.new_NeighborsTable(*args)
7818 self.this.append(this)
7822 def get_neighbors(self, pi):
7823 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7824 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7827 def get_version_info(self):
7828 """get_version_info(NeighborsTable self) -> VersionInfo"""
7829 return _IMP_core.NeighborsTable_get_version_info(self)
7833 """__str__(NeighborsTable self) -> std::string"""
7834 return _IMP_core.NeighborsTable___str__(self)
7838 """__repr__(NeighborsTable self) -> std::string"""
7839 return _IMP_core.NeighborsTable___repr__(self)
7844 return _object_cast_to_NeighborsTable(o)
7846 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7847 NeighborsTable_swigregister(NeighborsTable)
7849 class NormalMover(MonteCarloMover):
7850 """Proxy of C++ IMP::core::NormalMover class"""
7851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7853 def __init__(self, *args):
7855 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7856 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7857 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7858 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7860 this = _IMP_core.new_NormalMover(*args)
7862 self.this.append(this)
7866 def set_sigma(self, sigma):
7867 """set_sigma(NormalMover self, IMP::Float sigma)"""
7868 return _IMP_core.NormalMover_set_sigma(self, sigma)
7871 def get_sigma(self):
7872 """get_sigma(NormalMover self) -> IMP::Float"""
7873 return _IMP_core.NormalMover_get_sigma(self)
7876 def get_version_info(self):
7877 """get_version_info(NormalMover self) -> VersionInfo"""
7878 return _IMP_core.NormalMover_get_version_info(self)
7882 """__str__(NormalMover self) -> std::string"""
7883 return _IMP_core.NormalMover___str__(self)
7887 """__repr__(NormalMover self) -> std::string"""
7888 return _IMP_core.NormalMover___repr__(self)
7893 return _object_cast_to_NormalMover(o)
7895 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7896 NormalMover_swigregister(NormalMover)
7898 class OpenCubicSpline(_OpenCubicSplineBase):
7899 """Proxy of C++ IMP::core::OpenCubicSpline class"""
7900 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7902 def __init__(self, values, minrange, spacing, extend=False):
7904 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7905 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7907 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7909 self.this.append(this)
7914 """__str__(OpenCubicSpline self) -> std::string"""
7915 return _IMP_core.OpenCubicSpline___str__(self)
7919 """__repr__(OpenCubicSpline self) -> std::string"""
7920 return _IMP_core.OpenCubicSpline___repr__(self)
7925 return _object_cast_to_OpenCubicSpline(o)
7927 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7928 __del__ =
lambda self:
None
7929 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
7930 OpenCubicSpline_swigregister(OpenCubicSpline)
7932 class QuadraticClosePairsFinder(ClosePairsFinder):
7933 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
7934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7937 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7938 this = _IMP_core.new_QuadraticClosePairsFinder()
7940 self.this.append(this)
7944 def get_are_close_and_filtered(self, *args):
7946 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7947 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7949 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7952 def get_close_pairs(self, *args):
7954 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7955 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7956 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7957 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7959 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7962 def do_get_inputs(self, m, pis):
7963 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7964 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7967 def get_version_info(self):
7968 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7969 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7973 """__str__(QuadraticClosePairsFinder self) -> std::string"""
7974 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7978 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
7979 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7984 return _object_cast_to_QuadraticClosePairsFinder(o)
7986 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
7987 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7990 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
7991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7993 def __init__(self, r, f):
7994 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7995 this = _IMP_core.new_RefinedPairsPairScore(r, f)
7997 self.this.append(this)
8001 def do_get_inputs(self, m, pis):
8002 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8003 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
8006 def get_version_info(self):
8007 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
8008 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
8012 """__str__(RefinedPairsPairScore self) -> std::string"""
8013 return _IMP_core.RefinedPairsPairScore___str__(self)
8017 """__repr__(RefinedPairsPairScore self) -> std::string"""
8018 return _IMP_core.RefinedPairsPairScore___repr__(self)
8023 return _object_cast_to_RefinedPairsPairScore(o)
8025 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
8026 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
8028 class RigidBody(XYZ):
8029 """Proxy of C++ IMP::core::RigidBody class"""
8030 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8032 def get_rigid_members(self):
8033 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
8034 return _IMP_core.RigidBody_get_rigid_members(self)
8037 def get_rotation_keys():
8038 """get_rotation_keys() -> IMP::FloatKeys"""
8039 return _IMP_core.RigidBody_get_rotation_keys()
8041 get_rotation_keys = staticmethod(get_rotation_keys)
8043 def get_member_particle_indexes(self):
8044 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8045 return _IMP_core.RigidBody_get_member_particle_indexes(self)
8048 def get_body_member_particle_indexes(self):
8049 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8050 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
8053 def get_member_indexes(self):
8054 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
8055 return _IMP_core.RigidBody_get_member_indexes(self)
8058 def __init__(self, *args):
8060 __init__(IMP::core::RigidBody self) -> RigidBody
8061 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
8062 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
8064 this = _IMP_core.new_RigidBody(*args)
8066 self.this.append(this)
8070 def show(self, *args):
8072 show(RigidBody self, _ostream out)
8073 show(RigidBody self)
8075 return _IMP_core.RigidBody_show(self, *args)
8078 def setup_particle(*args):
8080 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8081 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8082 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8083 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8085 return _IMP_core.RigidBody_setup_particle(*args)
8087 setup_particle = staticmethod(setup_particle)
8089 def teardown_particle(rb):
8090 """teardown_particle(RigidBody rb)"""
8091 return _IMP_core.RigidBody_teardown_particle(rb)
8093 teardown_particle = staticmethod(teardown_particle)
8094 __swig_destroy__ = _IMP_core.delete_RigidBody
8095 __del__ =
lambda self:
None
8097 def get_is_setup(*args):
8099 get_is_setup(_ParticleAdaptor p) -> bool
8100 get_is_setup(Model m, ParticleIndex pi) -> bool
8102 return _IMP_core.RigidBody_get_is_setup(*args)
8104 get_is_setup = staticmethod(get_is_setup)
8106 def get_coordinates(self):
8107 """get_coordinates(RigidBody self) -> Vector3D"""
8108 return _IMP_core.RigidBody_get_coordinates(self)
8111 def get_rotation(self):
8112 """get_rotation(RigidBody self) -> Rotation3D"""
8113 return _IMP_core.RigidBody_get_rotation(self)
8116 def get_reference_frame(self):
8117 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
8118 return _IMP_core.RigidBody_get_reference_frame(self)
8121 def set_reference_frame(self, tr):
8122 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
8123 return _IMP_core.RigidBody_set_reference_frame(self, tr)
8126 def set_reference_frame_lazy(self, tr):
8127 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
8128 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
8131 def set_reference_frame_from_members(self, members):
8132 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
8133 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
8136 def pull_back_members_adjoints(self, da):
8137 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
8138 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
8141 def pull_back_member_adjoints(self, pi, da):
8142 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8143 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
8146 def pull_back_body_member_adjoints(self, pi, da):
8147 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8148 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
8151 def add_to_derivatives(self, *args):
8153 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
8154 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8156 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8159 def add_to_rotational_derivatives(self, *args):
8161 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8162 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8164 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8167 def add_to_torque(self, torque_local, da):
8168 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8169 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8172 def get_torque(self):
8173 """get_torque(RigidBody self) -> Vector3D"""
8174 return _IMP_core.RigidBody_get_torque(self)
8177 def get_coordinates_are_optimized(self):
8178 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8179 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8182 def set_coordinates_are_optimized(self, tf):
8183 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8184 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8187 def normalize_rotation(self):
8188 """normalize_rotation(RigidBody self)"""
8189 return _IMP_core.RigidBody_normalize_rotation(self)
8192 def update_members(self):
8193 """update_members(RigidBody self)"""
8194 return _IMP_core.RigidBody_update_members(self)
8197 def get_rotational_derivatives(self):
8198 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8199 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8202 def get_number_of_members(self):
8203 """get_number_of_members(RigidBody self) -> unsigned int"""
8204 return _IMP_core.RigidBody_get_number_of_members(self)
8207 def get_member(self, i):
8208 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8209 return _IMP_core.RigidBody_get_member(self, i)
8212 def add_member(self, p):
8213 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8214 return _IMP_core.RigidBody_add_member(self, p)
8217 def add_non_rigid_member(self, p):
8218 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8219 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8222 def set_is_rigid_member(self, pi, tf):
8223 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8224 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8227 def add_attribute(self, *args):
8229 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8230 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8231 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8232 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
8233 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
8234 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8235 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8236 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8238 return _IMP_core.RigidBody_add_attribute(self, *args)
8241 def get_value(self, *args):
8243 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8244 get_value(RigidBody self, IntKey a0) -> IMP::Int
8245 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
8246 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
8247 get_value(RigidBody self, StringKey a0) -> IMP::String
8248 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8249 get_value(RigidBody self, ObjectKey a0) -> Object
8251 return _IMP_core.RigidBody_get_value(self, *args)
8254 def set_value(self, *args):
8256 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8257 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8258 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
8259 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
8260 set_value(RigidBody self, StringKey a0, IMP::String a1)
8261 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8262 set_value(RigidBody self, ObjectKey a0, Object a1)
8264 return _IMP_core.RigidBody_set_value(self, *args)
8267 def remove_attribute(self, *args):
8269 remove_attribute(RigidBody self, FloatKey a0)
8270 remove_attribute(RigidBody self, IntKey a0)
8271 remove_attribute(RigidBody self, FloatsKey a0)
8272 remove_attribute(RigidBody self, IntsKey a0)
8273 remove_attribute(RigidBody self, StringKey a0)
8274 remove_attribute(RigidBody self, ParticleIndexKey a0)
8275 remove_attribute(RigidBody self, ObjectKey a0)
8277 return _IMP_core.RigidBody_remove_attribute(self, *args)
8280 def has_attribute(self, *args):
8282 has_attribute(RigidBody self, FloatKey a0) -> bool
8283 has_attribute(RigidBody self, IntKey a0) -> bool
8284 has_attribute(RigidBody self, FloatsKey a0) -> bool
8285 has_attribute(RigidBody self, IntsKey a0) -> bool
8286 has_attribute(RigidBody self, StringKey a0) -> bool
8287 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8288 has_attribute(RigidBody self, ObjectKey a0) -> bool
8290 return _IMP_core.RigidBody_has_attribute(self, *args)
8293 def get_derivative(self, a0):
8294 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8295 return _IMP_core.RigidBody_get_derivative(self, a0)
8299 """get_name(RigidBody self) -> std::string"""
8300 return _IMP_core.RigidBody_get_name(self)
8303 def clear_caches(self):
8304 """clear_caches(RigidBody self)"""
8305 return _IMP_core.RigidBody_clear_caches(self)
8308 def set_name(self, a0):
8309 """set_name(RigidBody self, std::string a0)"""
8310 return _IMP_core.RigidBody_set_name(self, a0)
8314 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8315 return _IMP_core.RigidBody_set_check_level(self, a0)
8318 def add_to_derivative(self, a0, a1, a2):
8319 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8320 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8323 def set_is_optimized(self, a0, a1):
8324 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8325 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8328 def get_is_optimized(self, a0):
8329 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8330 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8334 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8335 return _IMP_core.RigidBody_get_check_level(self)
8338 def __eq__(self, *args):
8340 __eq__(RigidBody self, RigidBody o) -> bool
8341 __eq__(RigidBody self, Particle d) -> bool
8343 return _IMP_core.RigidBody___eq__(self, *args)
8346 def __ne__(self, *args):
8348 __ne__(RigidBody self, RigidBody o) -> bool
8349 __ne__(RigidBody self, Particle d) -> bool
8351 return _IMP_core.RigidBody___ne__(self, *args)
8354 def __le__(self, *args):
8356 __le__(RigidBody self, RigidBody o) -> bool
8357 __le__(RigidBody self, Particle d) -> bool
8359 return _IMP_core.RigidBody___le__(self, *args)
8362 def __lt__(self, *args):
8364 __lt__(RigidBody self, RigidBody o) -> bool
8365 __lt__(RigidBody self, Particle d) -> bool
8367 return _IMP_core.RigidBody___lt__(self, *args)
8370 def __ge__(self, *args):
8372 __ge__(RigidBody self, RigidBody o) -> bool
8373 __ge__(RigidBody self, Particle d) -> bool
8375 return _IMP_core.RigidBody___ge__(self, *args)
8378 def __gt__(self, *args):
8380 __gt__(RigidBody self, RigidBody o) -> bool
8381 __gt__(RigidBody self, Particle d) -> bool
8383 return _IMP_core.RigidBody___gt__(self, *args)
8387 """__hash__(RigidBody self) -> std::size_t"""
8388 return _IMP_core.RigidBody___hash__(self)
8392 """__str__(RigidBody self) -> std::string"""
8393 return _IMP_core.RigidBody___str__(self)
8397 """__repr__(RigidBody self) -> std::string"""
8398 return _IMP_core.RigidBody___repr__(self)
8400 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8401 RigidBody_swigregister(RigidBody)
8403 def RigidBody_get_rotation_keys():
8404 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8405 return _IMP_core.RigidBody_get_rotation_keys()
8407 def RigidBody_setup_particle(*args):
8409 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8410 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8411 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8412 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8414 return _IMP_core.RigidBody_setup_particle(*args)
8416 def RigidBody_teardown_particle(rb):
8417 """RigidBody_teardown_particle(RigidBody rb)"""
8418 return _IMP_core.RigidBody_teardown_particle(rb)
8420 def RigidBody_get_is_setup(*args):
8422 get_is_setup(_ParticleAdaptor p) -> bool
8423 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8425 return _IMP_core.RigidBody_get_is_setup(*args)
8429 """add_rigid_body_cache_key(ObjectKey k)"""
8430 return _IMP_core.add_rigid_body_cache_key(k)
8431 class RigidBodyMember(XYZ):
8432 """Proxy of C++ IMP::core::RigidBodyMember class"""
8433 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8435 def __init__(self, *args):
8437 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8438 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8439 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8441 this = _IMP_core.new_RigidBodyMember(*args)
8443 self.this.append(this)
8447 def show(self, *args):
8449 show(RigidBodyMember self, _ostream out)
8450 show(RigidBodyMember self)
8452 return _IMP_core.RigidBodyMember_show(self, *args)
8455 def get_rigid_body(self):
8456 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8457 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8460 def get_internal_coordinates(self):
8461 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8462 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8465 def set_internal_coordinates(self, v):
8466 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8467 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8470 def set_internal_transformation(self, v):
8471 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8472 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8475 def get_internal_transformation(self):
8476 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8477 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8479 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8480 __del__ =
lambda self:
None
8482 def set_coordinates(self, *args):
8484 set_coordinates(RigidBodyMember self, Vector3D center)
8485 set_coordinates(RigidBodyMember self, Transformation3D tr)
8487 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8490 def get_is_setup(*args):
8492 get_is_setup(_ParticleAdaptor p) -> bool
8493 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8495 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8497 get_is_setup = staticmethod(get_is_setup)
8499 def get_internal_coordinate_keys():
8500 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8501 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8503 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8505 def get_internal_rotation_keys():
8506 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8507 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8509 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8511 def add_attribute(self, *args):
8513 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8514 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8515 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8516 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8517 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8518 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8519 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8520 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8522 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8525 def get_value(self, *args):
8527 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8528 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8529 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
8530 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
8531 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8532 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8533 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8535 return _IMP_core.RigidBodyMember_get_value(self, *args)
8538 def set_value(self, *args):
8540 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8541 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8542 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8543 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8544 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8545 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8546 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8548 return _IMP_core.RigidBodyMember_set_value(self, *args)
8551 def remove_attribute(self, *args):
8553 remove_attribute(RigidBodyMember self, FloatKey a0)
8554 remove_attribute(RigidBodyMember self, IntKey a0)
8555 remove_attribute(RigidBodyMember self, FloatsKey a0)
8556 remove_attribute(RigidBodyMember self, IntsKey a0)
8557 remove_attribute(RigidBodyMember self, StringKey a0)
8558 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8559 remove_attribute(RigidBodyMember self, ObjectKey a0)
8561 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8564 def has_attribute(self, *args):
8566 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8567 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8568 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
8569 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
8570 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8571 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8572 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8574 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8577 def get_derivative(self, a0):
8578 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8579 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8583 """get_name(RigidBodyMember self) -> std::string"""
8584 return _IMP_core.RigidBodyMember_get_name(self)
8587 def clear_caches(self):
8588 """clear_caches(RigidBodyMember self)"""
8589 return _IMP_core.RigidBodyMember_clear_caches(self)
8592 def set_name(self, a0):
8593 """set_name(RigidBodyMember self, std::string a0)"""
8594 return _IMP_core.RigidBodyMember_set_name(self, a0)
8598 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8599 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8602 def add_to_derivative(self, a0, a1, a2):
8603 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8604 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8607 def set_is_optimized(self, a0, a1):
8608 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8609 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8612 def get_is_optimized(self, a0):
8613 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8614 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8618 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8619 return _IMP_core.RigidBodyMember_get_check_level(self)
8622 def __eq__(self, *args):
8624 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8625 __eq__(RigidBodyMember self, Particle d) -> bool
8627 return _IMP_core.RigidBodyMember___eq__(self, *args)
8630 def __ne__(self, *args):
8632 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8633 __ne__(RigidBodyMember self, Particle d) -> bool
8635 return _IMP_core.RigidBodyMember___ne__(self, *args)
8638 def __le__(self, *args):
8640 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8641 __le__(RigidBodyMember self, Particle d) -> bool
8643 return _IMP_core.RigidBodyMember___le__(self, *args)
8646 def __lt__(self, *args):
8648 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8649 __lt__(RigidBodyMember self, Particle d) -> bool
8651 return _IMP_core.RigidBodyMember___lt__(self, *args)
8654 def __ge__(self, *args):
8656 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8657 __ge__(RigidBodyMember self, Particle d) -> bool
8659 return _IMP_core.RigidBodyMember___ge__(self, *args)
8662 def __gt__(self, *args):
8664 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8665 __gt__(RigidBodyMember self, Particle d) -> bool
8667 return _IMP_core.RigidBodyMember___gt__(self, *args)
8671 """__hash__(RigidBodyMember self) -> std::size_t"""
8672 return _IMP_core.RigidBodyMember___hash__(self)
8676 """__str__(RigidBodyMember self) -> std::string"""
8677 return _IMP_core.RigidBodyMember___str__(self)
8681 """__repr__(RigidBodyMember self) -> std::string"""
8682 return _IMP_core.RigidBodyMember___repr__(self)
8684 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8685 RigidBodyMember_swigregister(RigidBodyMember)
8687 def RigidBodyMember_get_is_setup(*args):
8689 get_is_setup(_ParticleAdaptor p) -> bool
8690 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8692 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8694 def RigidBodyMember_get_internal_coordinate_keys():
8695 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8696 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8698 def RigidBodyMember_get_internal_rotation_keys():
8699 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8700 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8702 class RigidMember(RigidBodyMember):
8703 """Proxy of C++ IMP::core::RigidMember class"""
8704 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8706 def __init__(self, *args):
8708 __init__(IMP::core::RigidMember self) -> RigidMember
8709 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8710 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8712 this = _IMP_core.new_RigidMember(*args)
8714 self.this.append(this)
8718 def show(self, *args):
8720 show(RigidMember self, _ostream out)
8721 show(RigidMember self)
8723 return _IMP_core.RigidMember_show(self, *args)
8725 __swig_destroy__ = _IMP_core.delete_RigidMember
8726 __del__ =
lambda self:
None
8728 def get_is_setup(*args):
8730 get_is_setup(_ParticleAdaptor p) -> bool
8731 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8733 return _IMP_core.RigidMember_get_is_setup(*args)
8735 get_is_setup = staticmethod(get_is_setup)
8737 def add_attribute(self, *args):
8739 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8740 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8741 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8742 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
8743 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
8744 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8745 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8746 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8748 return _IMP_core.RigidMember_add_attribute(self, *args)
8751 def get_value(self, *args):
8753 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8754 get_value(RigidMember self, IntKey a0) -> IMP::Int
8755 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
8756 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
8757 get_value(RigidMember self, StringKey a0) -> IMP::String
8758 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8759 get_value(RigidMember self, ObjectKey a0) -> Object
8761 return _IMP_core.RigidMember_get_value(self, *args)
8764 def set_value(self, *args):
8766 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8767 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8768 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8769 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8770 set_value(RigidMember self, StringKey a0, IMP::String a1)
8771 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8772 set_value(RigidMember self, ObjectKey a0, Object a1)
8774 return _IMP_core.RigidMember_set_value(self, *args)
8777 def remove_attribute(self, *args):
8779 remove_attribute(RigidMember self, FloatKey a0)
8780 remove_attribute(RigidMember self, IntKey a0)
8781 remove_attribute(RigidMember self, FloatsKey a0)
8782 remove_attribute(RigidMember self, IntsKey a0)
8783 remove_attribute(RigidMember self, StringKey a0)
8784 remove_attribute(RigidMember self, ParticleIndexKey a0)
8785 remove_attribute(RigidMember self, ObjectKey a0)
8787 return _IMP_core.RigidMember_remove_attribute(self, *args)
8790 def has_attribute(self, *args):
8792 has_attribute(RigidMember self, FloatKey a0) -> bool
8793 has_attribute(RigidMember self, IntKey a0) -> bool
8794 has_attribute(RigidMember self, FloatsKey a0) -> bool
8795 has_attribute(RigidMember self, IntsKey a0) -> bool
8796 has_attribute(RigidMember self, StringKey a0) -> bool
8797 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8798 has_attribute(RigidMember self, ObjectKey a0) -> bool
8800 return _IMP_core.RigidMember_has_attribute(self, *args)
8803 def get_derivative(self, a0):
8804 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8805 return _IMP_core.RigidMember_get_derivative(self, a0)
8809 """get_name(RigidMember self) -> std::string"""
8810 return _IMP_core.RigidMember_get_name(self)
8813 def clear_caches(self):
8814 """clear_caches(RigidMember self)"""
8815 return _IMP_core.RigidMember_clear_caches(self)
8818 def set_name(self, a0):
8819 """set_name(RigidMember self, std::string a0)"""
8820 return _IMP_core.RigidMember_set_name(self, a0)
8824 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8825 return _IMP_core.RigidMember_set_check_level(self, a0)
8828 def add_to_derivative(self, a0, a1, a2):
8829 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8830 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8833 def set_is_optimized(self, a0, a1):
8834 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8835 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8838 def get_is_optimized(self, a0):
8839 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8840 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8844 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8845 return _IMP_core.RigidMember_get_check_level(self)
8848 def __eq__(self, *args):
8850 __eq__(RigidMember self, RigidMember o) -> bool
8851 __eq__(RigidMember self, Particle d) -> bool
8853 return _IMP_core.RigidMember___eq__(self, *args)
8856 def __ne__(self, *args):
8858 __ne__(RigidMember self, RigidMember o) -> bool
8859 __ne__(RigidMember self, Particle d) -> bool
8861 return _IMP_core.RigidMember___ne__(self, *args)
8864 def __le__(self, *args):
8866 __le__(RigidMember self, RigidMember o) -> bool
8867 __le__(RigidMember self, Particle d) -> bool
8869 return _IMP_core.RigidMember___le__(self, *args)
8872 def __lt__(self, *args):
8874 __lt__(RigidMember self, RigidMember o) -> bool
8875 __lt__(RigidMember self, Particle d) -> bool
8877 return _IMP_core.RigidMember___lt__(self, *args)
8880 def __ge__(self, *args):
8882 __ge__(RigidMember self, RigidMember o) -> bool
8883 __ge__(RigidMember self, Particle d) -> bool
8885 return _IMP_core.RigidMember___ge__(self, *args)
8888 def __gt__(self, *args):
8890 __gt__(RigidMember self, RigidMember o) -> bool
8891 __gt__(RigidMember self, Particle d) -> bool
8893 return _IMP_core.RigidMember___gt__(self, *args)
8897 """__hash__(RigidMember self) -> std::size_t"""
8898 return _IMP_core.RigidMember___hash__(self)
8902 """__str__(RigidMember self) -> std::string"""
8903 return _IMP_core.RigidMember___str__(self)
8907 """__repr__(RigidMember self) -> std::string"""
8908 return _IMP_core.RigidMember___repr__(self)
8910 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8911 RigidMember_swigregister(RigidMember)
8913 def RigidMember_get_is_setup(*args):
8915 get_is_setup(_ParticleAdaptor p) -> bool
8916 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8918 return _IMP_core.RigidMember_get_is_setup(*args)
8920 class NonRigidMember(RigidBodyMember):
8921 """Proxy of C++ IMP::core::NonRigidMember class"""
8922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8924 def __init__(self, *args):
8926 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
8927 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8928 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8930 this = _IMP_core.new_NonRigidMember(*args)
8932 self.this.append(this)
8936 def show(self, *args):
8938 show(NonRigidMember self, _ostream out)
8939 show(NonRigidMember self)
8941 return _IMP_core.NonRigidMember_show(self, *args)
8943 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8944 __del__ =
lambda self:
None
8946 def get_is_setup(*args):
8948 get_is_setup(_ParticleAdaptor p) -> bool
8949 get_is_setup(Model m, ParticleIndex p) -> bool
8951 return _IMP_core.NonRigidMember_get_is_setup(*args)
8953 get_is_setup = staticmethod(get_is_setup)
8955 def add_to_internal_derivatives(self, deriv_parent, da):
8956 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8957 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8960 def add_to_internal_rotational_derivatives(self, *args):
8962 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8963 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8965 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8968 def get_internal_derivatives(self):
8969 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8970 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8973 def get_internal_rotational_derivatives(self):
8974 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8975 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8978 def add_attribute(self, *args):
8980 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8981 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8982 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8983 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8984 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8985 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8986 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8987 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8989 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8992 def get_value(self, *args):
8994 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8995 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8996 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
8997 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
8998 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8999 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
9000 get_value(NonRigidMember self, ObjectKey a0) -> Object
9002 return _IMP_core.NonRigidMember_get_value(self, *args)
9005 def set_value(self, *args):
9007 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
9008 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
9009 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
9010 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
9011 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
9012 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
9013 set_value(NonRigidMember self, ObjectKey a0, Object a1)
9015 return _IMP_core.NonRigidMember_set_value(self, *args)
9018 def remove_attribute(self, *args):
9020 remove_attribute(NonRigidMember self, FloatKey a0)
9021 remove_attribute(NonRigidMember self, IntKey a0)
9022 remove_attribute(NonRigidMember self, FloatsKey a0)
9023 remove_attribute(NonRigidMember self, IntsKey a0)
9024 remove_attribute(NonRigidMember self, StringKey a0)
9025 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
9026 remove_attribute(NonRigidMember self, ObjectKey a0)
9028 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
9031 def has_attribute(self, *args):
9033 has_attribute(NonRigidMember self, FloatKey a0) -> bool
9034 has_attribute(NonRigidMember self, IntKey a0) -> bool
9035 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
9036 has_attribute(NonRigidMember self, IntsKey a0) -> bool
9037 has_attribute(NonRigidMember self, StringKey a0) -> bool
9038 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
9039 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
9041 return _IMP_core.NonRigidMember_has_attribute(self, *args)
9044 def get_derivative(self, a0):
9045 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
9046 return _IMP_core.NonRigidMember_get_derivative(self, a0)
9050 """get_name(NonRigidMember self) -> std::string"""
9051 return _IMP_core.NonRigidMember_get_name(self)
9054 def clear_caches(self):
9055 """clear_caches(NonRigidMember self)"""
9056 return _IMP_core.NonRigidMember_clear_caches(self)
9059 def set_name(self, a0):
9060 """set_name(NonRigidMember self, std::string a0)"""
9061 return _IMP_core.NonRigidMember_set_name(self, a0)
9065 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
9066 return _IMP_core.NonRigidMember_set_check_level(self, a0)
9069 def add_to_derivative(self, a0, a1, a2):
9070 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9071 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
9074 def set_is_optimized(self, a0, a1):
9075 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
9076 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
9079 def get_is_optimized(self, a0):
9080 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
9081 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
9085 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
9086 return _IMP_core.NonRigidMember_get_check_level(self)
9089 def __eq__(self, *args):
9091 __eq__(NonRigidMember self, NonRigidMember o) -> bool
9092 __eq__(NonRigidMember self, Particle d) -> bool
9094 return _IMP_core.NonRigidMember___eq__(self, *args)
9097 def __ne__(self, *args):
9099 __ne__(NonRigidMember self, NonRigidMember o) -> bool
9100 __ne__(NonRigidMember self, Particle d) -> bool
9102 return _IMP_core.NonRigidMember___ne__(self, *args)
9105 def __le__(self, *args):
9107 __le__(NonRigidMember self, NonRigidMember o) -> bool
9108 __le__(NonRigidMember self, Particle d) -> bool
9110 return _IMP_core.NonRigidMember___le__(self, *args)
9113 def __lt__(self, *args):
9115 __lt__(NonRigidMember self, NonRigidMember o) -> bool
9116 __lt__(NonRigidMember self, Particle d) -> bool
9118 return _IMP_core.NonRigidMember___lt__(self, *args)
9121 def __ge__(self, *args):
9123 __ge__(NonRigidMember self, NonRigidMember o) -> bool
9124 __ge__(NonRigidMember self, Particle d) -> bool
9126 return _IMP_core.NonRigidMember___ge__(self, *args)
9129 def __gt__(self, *args):
9131 __gt__(NonRigidMember self, NonRigidMember o) -> bool
9132 __gt__(NonRigidMember self, Particle d) -> bool
9134 return _IMP_core.NonRigidMember___gt__(self, *args)
9138 """__hash__(NonRigidMember self) -> std::size_t"""
9139 return _IMP_core.NonRigidMember___hash__(self)
9143 """__str__(NonRigidMember self) -> std::string"""
9144 return _IMP_core.NonRigidMember___str__(self)
9148 """__repr__(NonRigidMember self) -> std::string"""
9149 return _IMP_core.NonRigidMember___repr__(self)
9151 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
9152 NonRigidMember_swigregister(NonRigidMember)
9154 def NonRigidMember_get_is_setup(*args):
9156 get_is_setup(_ParticleAdaptor p) -> bool
9157 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
9159 return _IMP_core.NonRigidMember_get_is_setup(*args)
9162 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
9163 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9165 def __init__(self, *args):
9167 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
9168 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
9170 this = _IMP_core.new_RigidMembersRefiner(*args)
9172 self.this.append(this)
9176 def do_get_inputs(self, m, pis):
9177 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9178 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
9181 def get_version_info(self):
9182 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
9183 return _IMP_core.RigidMembersRefiner_get_version_info(self)
9187 """__str__(RigidMembersRefiner self) -> std::string"""
9188 return _IMP_core.RigidMembersRefiner___str__(self)
9192 """__repr__(RigidMembersRefiner self) -> std::string"""
9193 return _IMP_core.RigidMembersRefiner___repr__(self)
9198 return _object_cast_to_RigidMembersRefiner(o)
9200 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9201 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9204 def get_rigid_members_refiner():
9205 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9206 return _IMP_core.get_rigid_members_refiner()
9210 transform(XYZ a, Transformation3D tr)
9211 transform(RigidBody a, Transformation3D tr)
9213 return _IMP_core.transform(*args)
9217 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9218 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9220 return _IMP_core.get_initial_reference_frame(*args)
9224 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9225 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9227 return _IMP_core.create_rigid_bodies(m, n, no_members)
9231 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9232 show_rigid_body_hierarchy(RigidBody rb)
9234 return _IMP_core.show_rigid_body_hierarchy(*args)
9237 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9238 return _IMP_core.get_root_rigid_body(m)
9240 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
9241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9243 def __init__(self, rb, constituents):
9244 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9245 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9247 self.this.append(this)
9251 def get_version_info(self):
9252 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9253 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9257 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9258 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9262 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9263 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9268 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9270 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9271 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9274 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
9275 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9277 def __init__(self, *args):
9279 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9280 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9282 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9284 self.this.append(this)
9288 def get_version_info(self):
9289 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9290 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9294 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9295 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9299 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9300 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9305 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9307 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9308 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9311 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
9312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9314 def __init__(self, sc):
9315 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9316 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9318 self.this.append(this)
9322 def get_version_info(self):
9323 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9324 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9328 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9329 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9333 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9334 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9339 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9341 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9342 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9345 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
9346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9348 def __init__(self, *args):
9350 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9351 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9353 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9355 self.this.append(this)
9359 def get_version_info(self):
9360 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9361 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9365 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9366 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9370 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9371 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9376 return _object_cast_to_RigidBodyFrameGeometry(o)
9378 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9379 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9382 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
9383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9385 def __init__(self, sc):
9386 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9387 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9389 self.this.append(this)
9393 def get_version_info(self):
9394 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9395 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9399 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9400 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9404 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9405 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9410 return _object_cast_to_RigidBodyFramesGeometry(o)
9412 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9413 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9416 """Proxy of C++ IMP::core::RigidBodyTorque class"""
9417 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9419 def __init__(self, p):
9420 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9421 this = _IMP_core.new_RigidBodyTorque(p)
9423 self.this.append(this)
9428 """__str__(RigidBodyTorque self) -> std::string"""
9429 return _IMP_core.RigidBodyTorque___str__(self)
9433 """__repr__(RigidBodyTorque self) -> std::string"""
9434 return _IMP_core.RigidBodyTorque___repr__(self)
9439 return _object_cast_to_RigidBodyTorque(o)
9441 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9442 __del__ =
lambda self:
None
9443 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9444 RigidBodyTorque_swigregister(RigidBodyTorque)
9446 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9447 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
9448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9451 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9452 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9454 self.this.append(this)
9458 def get_close_pairs(self, *args):
9460 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9461 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9462 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9463 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9465 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9468 def do_get_inputs(self, m, pis):
9469 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9470 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9473 def get_version_info(self):
9474 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9475 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9479 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9480 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9484 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9485 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9490 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9492 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9493 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9496 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
9497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9499 def __init__(self, *args):
9501 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9502 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9503 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9504 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9505 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9507 this = _IMP_core.new_RestraintsScoringFunction(*args)
9509 self.this.append(this)
9513 def do_add_score_and_derivatives(self, sa, ss):
9514 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9515 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9518 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss):
9519 """do_add_score_and_derivatives_moved(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis, IMP::ScoreStatesTemp const & ss)"""
9520 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss)
9523 def do_get_inputs(self):
9524 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9525 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9528 def get_version_info(self):
9529 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9530 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9534 """__str__(RestraintsScoringFunction self) -> std::string"""
9535 return _IMP_core.RestraintsScoringFunction___str__(self)
9539 """__repr__(RestraintsScoringFunction self) -> std::string"""
9540 return _IMP_core.RestraintsScoringFunction___repr__(self)
9545 return _object_cast_to_RestraintsScoringFunction(o)
9547 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9548 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9550 class RigidClosePairsFinder(ClosePairsFinder):
9551 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
9552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9554 def __init__(self, cpf=None):
9556 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9557 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9559 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9561 self.this.append(this)
9565 def do_get_inputs(self, m, pis):
9566 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9567 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9570 def get_close_pairs(self, *args):
9572 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9573 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9574 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9575 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9576 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9578 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9581 def get_version_info(self):
9582 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9583 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9587 """__str__(RigidClosePairsFinder self) -> std::string"""
9588 return _IMP_core.RigidClosePairsFinder___str__(self)
9592 """__repr__(RigidClosePairsFinder self) -> std::string"""
9593 return _IMP_core.RigidClosePairsFinder___repr__(self)
9598 return _object_cast_to_RigidClosePairsFinder(o)
9600 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9601 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9604 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
9605 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9607 def __init__(self, *args):
9609 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9610 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9612 this = _IMP_core.new_SphereDistancePairScore(*args)
9614 self.this.append(this)
9618 def do_get_inputs(self, m, pis):
9619 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9620 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9623 def get_version_info(self):
9624 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9625 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9629 """__str__(SphereDistancePairScore self) -> std::string"""
9630 return _IMP_core.SphereDistancePairScore___str__(self)
9634 """__repr__(SphereDistancePairScore self) -> std::string"""
9635 return _IMP_core.SphereDistancePairScore___repr__(self)
9640 return _object_cast_to_SphereDistancePairScore(o)
9642 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9643 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9645 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9646 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
9647 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9649 def __init__(self, *args):
9651 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9652 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9654 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9656 self.this.append(this)
9660 def do_get_inputs(self, m, pis):
9661 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9662 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9665 def get_version_info(self):
9666 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9667 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9671 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9672 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9676 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9677 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9682 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9684 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9685 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9687 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9688 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
9689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9691 def __init__(self, d0, k):
9692 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9693 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9695 self.this.append(this)
9699 def get_rest_length(self):
9700 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9701 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9704 def get_stiffness(self):
9705 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9706 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9709 def do_get_inputs(self, m, pis):
9710 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9711 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9714 def get_version_info(self):
9715 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9716 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9720 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9721 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9725 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9726 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9731 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9733 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9734 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9737 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
9738 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9740 def __init__(self, *args):
9742 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9743 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9745 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9747 self.this.append(this)
9751 def do_get_inputs(self, m, pis):
9752 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9753 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9756 def get_version_info(self):
9757 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9758 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9762 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9763 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9767 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9768 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9773 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9775 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9776 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9779 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
9780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9782 def __init__(self, *args):
9784 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9785 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9787 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9789 self.this.append(this)
9793 def do_get_inputs(self, m, pis):
9794 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9795 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9798 def get_version_info(self):
9799 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9800 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9804 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9805 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9809 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9810 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9815 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9817 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9818 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9821 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
9822 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9824 def __init__(self, *args):
9826 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9827 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9829 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9831 self.this.append(this)
9835 def do_get_inputs(self, m, pis):
9836 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9837 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9840 def get_version_info(self):
9841 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9842 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9846 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9847 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9851 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9852 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9857 return _object_cast_to_WeightedSphereDistancePairScore(o)
9859 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9860 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9863 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
9864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9866 def __init__(self, *args):
9868 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9869 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9871 this = _IMP_core.new_SoftSpherePairScore(*args)
9873 self.this.append(this)
9877 def do_get_inputs(self, m, pis):
9878 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9879 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9882 def get_version_info(self):
9883 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9884 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9888 """__str__(SoftSpherePairScore self) -> std::string"""
9889 return _IMP_core.SoftSpherePairScore___str__(self)
9893 """__repr__(SoftSpherePairScore self) -> std::string"""
9894 return _IMP_core.SoftSpherePairScore___repr__(self)
9899 return _object_cast_to_SoftSpherePairScore(o)
9901 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9902 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9905 """Proxy of C++ IMP::core::SurfaceDistancePairScore class"""
9906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9908 def __init__(self, *args):
9910 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9911 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9913 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9915 self.this.append(this)
9919 def do_get_inputs(self, m, pis):
9920 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9921 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9924 def get_version_info(self):
9925 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9926 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9930 """__str__(SurfaceDistancePairScore self) -> std::string"""
9931 return _IMP_core.SurfaceDistancePairScore___str__(self)
9935 """__repr__(SurfaceDistancePairScore self) -> std::string"""
9936 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9941 return _object_cast_to_SurfaceDistancePairScore(o)
9943 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
9944 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9947 """Proxy of C++ IMP::core::SurfaceHeightPairScore class"""
9948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9950 def __init__(self, *args):
9952 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
9953 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
9955 this = _IMP_core.new_SurfaceHeightPairScore(*args)
9957 self.this.append(this)
9961 def do_get_inputs(self, m, pis):
9962 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9963 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9966 def get_version_info(self):
9967 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9968 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9972 """__str__(SurfaceHeightPairScore self) -> std::string"""
9973 return _IMP_core.SurfaceHeightPairScore___str__(self)
9977 """__repr__(SurfaceHeightPairScore self) -> std::string"""
9978 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9983 return _object_cast_to_SurfaceHeightPairScore(o)
9985 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
9986 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9989 """Proxy of C++ IMP::core::SurfaceDepthPairScore class"""
9990 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9992 def __init__(self, *args):
9994 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
9995 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
9997 this = _IMP_core.new_SurfaceDepthPairScore(*args)
9999 self.this.append(this)
10003 def do_get_inputs(self, m, pis):
10004 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10005 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
10008 def get_version_info(self):
10009 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
10010 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
10014 """__str__(SurfaceDepthPairScore self) -> std::string"""
10015 return _IMP_core.SurfaceDepthPairScore___str__(self)
10018 def __repr__(self):
10019 """__repr__(SurfaceDepthPairScore self) -> std::string"""
10020 return _IMP_core.SurfaceDepthPairScore___repr__(self)
10025 return _object_cast_to_SurfaceDepthPairScore(o)
10027 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
10028 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
10031 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class"""
10032 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10034 def __init__(self, *args):
10036 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
10037 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
10039 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
10041 self.this.append(this)
10045 def do_get_inputs(self, m, pis):
10046 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10047 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
10050 def get_version_info(self):
10051 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
10052 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
10056 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10057 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
10060 def __repr__(self):
10061 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10062 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
10067 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
10069 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
10070 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
10073 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class"""
10074 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10076 def __init__(self, *args):
10078 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
10079 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
10081 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
10083 self.this.append(this)
10087 def do_get_inputs(self, m, pis):
10088 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10089 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
10092 def get_version_info(self):
10093 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
10094 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
10098 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10099 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
10102 def __repr__(self):
10103 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10104 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
10109 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
10111 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
10112 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
10115 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class"""
10116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10118 def __init__(self, *args):
10120 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
10121 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
10123 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
10125 self.this.append(this)
10129 def do_get_inputs(self, m, pis):
10130 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10131 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
10134 def get_version_info(self):
10135 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
10136 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
10140 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10141 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
10144 def __repr__(self):
10145 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10146 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
10151 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
10153 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
10154 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
10157 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class"""
10158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10160 def __init__(self, *args):
10162 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
10163 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
10165 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
10167 self.this.append(this)
10171 def do_get_inputs(self, m, pis):
10172 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10173 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10176 def get_version_info(self):
10177 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10178 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10182 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10183 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10186 def __repr__(self):
10187 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10188 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10193 return _object_cast_to_SoftSuperSurfacePairScore(o)
10195 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10196 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10199 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class"""
10200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10202 def __init__(self, *args):
10204 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10205 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10207 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10209 self.this.append(this)
10213 def do_get_inputs(self, m, pis):
10214 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10215 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10218 def get_version_info(self):
10219 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10220 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10224 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10225 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10228 def __repr__(self):
10229 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10230 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10235 return _object_cast_to_SoftSubSurfacePairScore(o)
10237 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10238 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10241 """Proxy of C++ IMP::core::SurfaceTetheredChain class"""
10242 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10244 def __init__(self, link_num, link_length):
10245 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10246 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10248 self.this.append(this)
10252 def get_version_info(self):
10253 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10254 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10257 def get_link_number(self):
10258 """get_link_number(SurfaceTetheredChain self) -> int"""
10259 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10262 def get_link_length(self):
10263 """get_link_length(SurfaceTetheredChain self) -> double"""
10264 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10267 def set_link_number(self, N):
10268 """set_link_number(SurfaceTetheredChain self, int N)"""
10269 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10272 def set_link_length(self, b):
10273 """set_link_length(SurfaceTetheredChain self, double b)"""
10274 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10277 def get_distance_at_minimum(self):
10278 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10279 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10282 def get_average_distance(self):
10283 """get_average_distance(SurfaceTetheredChain self) -> double"""
10284 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10288 """__str__(SurfaceTetheredChain self) -> std::string"""
10289 return _IMP_core.SurfaceTetheredChain___str__(self)
10292 def __repr__(self):
10293 """__repr__(SurfaceTetheredChain self) -> std::string"""
10294 return _IMP_core.SurfaceTetheredChain___repr__(self)
10299 return _object_cast_to_SurfaceTetheredChain(o)
10301 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10302 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10305 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class"""
10306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10308 def __init__(self, m, ss, rbs):
10309 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10310 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10312 self.this.append(this)
10316 def do_get_inputs(self):
10317 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10318 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10321 def do_get_outputs(self):
10322 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10323 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10326 def get_version_info(self):
10327 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10328 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10332 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10333 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10336 def __repr__(self):
10337 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10338 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10343 return _object_cast_to_SurfaceSymmetryConstraint(o)
10345 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10346 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10349 """Proxy of C++ IMP::core::SteepestDescent class"""
10350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10352 def __init__(self, *args):
10354 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10355 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10357 this = _IMP_core.new_SteepestDescent(*args)
10359 self.this.append(this)
10363 def do_optimize(self, max_steps):
10364 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10365 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10368 def get_version_info(self):
10369 """get_version_info(SteepestDescent self) -> VersionInfo"""
10370 return _IMP_core.SteepestDescent_get_version_info(self)
10373 def set_threshold(self, t):
10374 """set_threshold(SteepestDescent self, IMP::Float t)"""
10375 return _IMP_core.SteepestDescent_set_threshold(self, t)
10378 def set_step_size(self, t):
10379 """set_step_size(SteepestDescent self, IMP::Float t)"""
10380 return _IMP_core.SteepestDescent_set_step_size(self, t)
10383 def set_maximum_step_size(self, t):
10384 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10385 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10389 """__str__(SteepestDescent self) -> std::string"""
10390 return _IMP_core.SteepestDescent___str__(self)
10393 def __repr__(self):
10394 """__repr__(SteepestDescent self) -> std::string"""
10395 return _IMP_core.SteepestDescent___repr__(self)
10400 return _object_cast_to_SteepestDescent(o)
10402 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10403 SteepestDescent_swigregister(SteepestDescent)
10406 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
10407 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10409 def __init__(self, f, transformation):
10410 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10411 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10413 self.this.append(this)
10417 def set_transformation(self, rot):
10418 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10419 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10422 def do_get_inputs(self, m, pis):
10423 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10424 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10427 def get_version_info(self):
10428 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10429 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10433 """__str__(TransformedDistancePairScore self) -> std::string"""
10434 return _IMP_core.TransformedDistancePairScore___str__(self)
10437 def __repr__(self):
10438 """__repr__(TransformedDistancePairScore self) -> std::string"""
10439 return _IMP_core.TransformedDistancePairScore___repr__(self)
10444 return _object_cast_to_TransformedDistancePairScore(o)
10446 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10447 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10450 """Proxy of C++ IMP::core::TypedPairScore class"""
10451 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10453 def __init__(self, typekey, allow_invalid_types=True):
10455 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10456 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10458 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10460 self.this.append(this)
10464 def set_particle_type(self, arg2):
10465 """set_particle_type(TypedPairScore self, Particle arg2)"""
10466 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10469 def set_pair_score(self, ps, atype, btype):
10470 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10471 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10474 def do_get_inputs(self, m, pis):
10475 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10476 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10479 def get_version_info(self):
10480 """get_version_info(TypedPairScore self) -> VersionInfo"""
10481 return _IMP_core.TypedPairScore_get_version_info(self)
10485 """__str__(TypedPairScore self) -> std::string"""
10486 return _IMP_core.TypedPairScore___str__(self)
10489 def __repr__(self):
10490 """__repr__(TypedPairScore self) -> std::string"""
10491 return _IMP_core.TypedPairScore___repr__(self)
10496 return _object_cast_to_TypedPairScore(o)
10498 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10499 TypedPairScore_swigregister(TypedPairScore)
10501 class RigidBodyDistancePairScore(KClosePairsPairScore):
10502 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
10503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10505 def __init__(self, ps, r):
10506 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10507 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10509 self.this.append(this)
10514 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10515 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10518 def __repr__(self):
10519 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10520 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10525 return _object_cast_to_RigidBodyDistancePairScore(o)
10527 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10528 __del__ =
lambda self:
None
10529 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10530 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10533 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
10534 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10536 def __init__(self, f):
10537 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10538 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10540 self.this.append(this)
10544 def do_get_inputs(self, m, pis):
10545 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10546 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10549 def get_version_info(self):
10550 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10551 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10555 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10556 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10559 def __repr__(self):
10560 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10561 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10566 return _object_cast_to_RigidBodyAnglePairScore(o)
10568 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10569 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10572 """Proxy of C++ IMP::core::TableRefiner class"""
10573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10575 def __init__(self):
10576 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10577 this = _IMP_core.new_TableRefiner()
10579 self.this.append(this)
10584 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10585 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10588 def remove_particle(self, p):
10589 """remove_particle(TableRefiner self, Particle p)"""
10590 return _IMP_core.TableRefiner_remove_particle(self, p)
10593 def set_particle(self, p, ps):
10594 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10595 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10598 def do_get_inputs(self, m, pis):
10599 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10600 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10603 def get_version_info(self):
10604 """get_version_info(TableRefiner self) -> VersionInfo"""
10605 return _IMP_core.TableRefiner_get_version_info(self)
10609 """__str__(TableRefiner self) -> std::string"""
10610 return _IMP_core.TableRefiner___str__(self)
10613 def __repr__(self):
10614 """__repr__(TableRefiner self) -> std::string"""
10615 return _IMP_core.TableRefiner___repr__(self)
10620 return _object_cast_to_TableRefiner(o)
10622 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10623 TableRefiner_swigregister(TableRefiner)
10626 _IMP_core.LOWER_swigconstant(_IMP_core)
10627 LOWER = _IMP_core.LOWER
10629 _IMP_core.BOTH_swigconstant(_IMP_core)
10630 BOTH = _IMP_core.BOTH
10632 _IMP_core.UPPER_swigconstant(_IMP_core)
10633 UPPER = _IMP_core.UPPER
10635 """Proxy of C++ IMP::core::MCCGSampler class"""
10636 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10638 def __init__(self, *args):
10640 __init__(IMP::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10641 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10643 this = _IMP_core.new_MCCGSampler(*args)
10645 self.this.append(this)
10649 def set_bounding_box(self, bb):
10650 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10651 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10654 def set_number_of_attempts(self, att):
10655 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10656 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10659 def set_number_of_monte_carlo_steps(self, cg):
10660 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10661 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10664 def set_number_of_conjugate_gradient_steps(self, cg):
10665 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10666 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10669 def set_max_monte_carlo_step_size(self, *args):
10671 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10672 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10674 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10677 def set_is_refining(self, tf):
10678 """set_is_refining(MCCGSampler self, bool tf)"""
10679 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10682 def set_local_optimizer(self, opt):
10683 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10684 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10687 def set_save_rejected_configurations(self, tf):
10688 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10689 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10692 def get_rejected_configurations(self):
10693 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10694 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10697 def remove_optimizer_state(self, d):
10698 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10699 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10702 def remove_optimizer_states(self, d):
10703 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10704 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10707 def set_optimizer_states(self, ps):
10708 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10709 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10712 def set_optimizer_states_order(self, objs):
10713 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10714 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10717 def add_optimizer_state(self, obj):
10718 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10719 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10722 def add_optimizer_states(self, objs):
10723 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10724 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10727 def clear_optimizer_states(self):
10728 """clear_optimizer_states(MCCGSampler self)"""
10729 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10732 def get_number_of_optimizer_states(self):
10733 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10734 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10737 def get_has_optimizer_states(self):
10738 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10739 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10742 def get_optimizer_state(self, i):
10743 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10744 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10747 def get_optimizer_states(self):
10748 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10749 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10752 def reserve_optimizer_states(self, sz):
10753 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10754 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10757 def do_sample(self):
10758 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10759 return _IMP_core.MCCGSampler_do_sample(self)
10762 def get_version_info(self):
10763 """get_version_info(MCCGSampler self) -> VersionInfo"""
10764 return _IMP_core.MCCGSampler_get_version_info(self)
10768 """__str__(MCCGSampler self) -> std::string"""
10769 return _IMP_core.MCCGSampler___str__(self)
10772 def __repr__(self):
10773 """__repr__(MCCGSampler self) -> std::string"""
10774 return _IMP_core.MCCGSampler___repr__(self)
10779 return _object_cast_to_MCCGSampler(o)
10781 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10782 MCCGSampler_swigregister(MCCGSampler)
10785 """Proxy of C++ IMP::core::MinimumRestraint class"""
10786 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10788 def __init__(self, *args):
10790 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10791 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10792 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10794 this = _IMP_core.new_MinimumRestraint(*args)
10796 self.this.append(this)
10800 def do_get_inputs(self):
10801 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10802 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10805 def get_version_info(self):
10806 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10807 return _IMP_core.MinimumRestraint_get_version_info(self)
10810 def remove_restraint(self, d):
10811 """remove_restraint(MinimumRestraint self, Restraint d)"""
10812 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10815 def remove_restraints(self, d):
10816 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10817 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10820 def set_restraints(self, ps):
10821 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10822 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10825 def set_restraints_order(self, objs):
10826 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10827 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10831 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10832 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10836 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10837 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10840 def clear_restraints(self):
10841 """clear_restraints(MinimumRestraint self)"""
10842 return _IMP_core.MinimumRestraint_clear_restraints(self)
10845 def get_number_of_restraints(self):
10846 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10847 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10850 def get_has_restraints(self):
10851 """get_has_restraints(MinimumRestraint self) -> bool"""
10852 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10855 def get_restraint(self, i):
10856 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10857 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10860 def get_restraints(self):
10861 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10862 return _IMP_core.MinimumRestraint_get_restraints(self)
10865 def reserve_restraints(self, sz):
10866 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10867 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10871 """__str__(MinimumRestraint self) -> std::string"""
10872 return _IMP_core.MinimumRestraint___str__(self)
10875 def __repr__(self):
10876 """__repr__(MinimumRestraint self) -> std::string"""
10877 return _IMP_core.MinimumRestraint___repr__(self)
10882 return _object_cast_to_MinimumRestraint(o)
10884 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10885 MinimumRestraint_swigregister(MinimumRestraint)
10887 class Gaussian(RigidBody):
10888 """Proxy of C++ IMP::core::Gaussian class"""
10889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10891 def __init__(self, *args):
10893 __init__(IMP::core::Gaussian self) -> Gaussian
10894 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
10895 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
10897 this = _IMP_core.new_Gaussian(*args)
10899 self.this.append(this)
10903 def show(self, *args):
10905 show(Gaussian self, _ostream out)
10906 show(Gaussian self)
10908 return _IMP_core.Gaussian_show(self, *args)
10911 def setup_particle(*args):
10913 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10914 setup_particle(_ParticleAdaptor decorator) -> Gaussian
10915 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10916 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
10918 return _IMP_core.Gaussian_setup_particle(*args)
10920 setup_particle = staticmethod(setup_particle)
10922 def get_local_covariance_key():
10923 """get_local_covariance_key() -> ObjectKey"""
10924 return _IMP_core.Gaussian_get_local_covariance_key()
10926 get_local_covariance_key = staticmethod(get_local_covariance_key)
10928 def get_global_covariance_key():
10929 """get_global_covariance_key() -> ObjectKey"""
10930 return _IMP_core.Gaussian_get_global_covariance_key()
10932 get_global_covariance_key = staticmethod(get_global_covariance_key)
10934 def get_is_setup(*args):
10936 get_is_setup(_ParticleAdaptor p) -> bool
10937 get_is_setup(Model m, ParticleIndex pi) -> bool
10939 return _IMP_core.Gaussian_get_is_setup(*args)
10941 get_is_setup = staticmethod(get_is_setup)
10943 def get_local_covariance(self):
10944 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10945 return _IMP_core.Gaussian_get_local_covariance(self)
10948 def get_variances(self):
10949 """get_variances(Gaussian self) -> Vector3D"""
10950 return _IMP_core.Gaussian_get_variances(self)
10953 def get_global_covariance(self):
10954 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10955 return _IMP_core.Gaussian_get_global_covariance(self)
10958 def get_gaussian(self):
10959 """get_gaussian(Gaussian self) -> Gaussian3D"""
10960 return _IMP_core.Gaussian_get_gaussian(self)
10963 def set_gaussian(self, g):
10964 """set_gaussian(Gaussian self, Gaussian3D g)"""
10965 return _IMP_core.Gaussian_set_gaussian(self, g)
10968 def set_local_covariance(self, covar):
10969 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10970 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10973 def set_variances(self, v):
10974 """set_variances(Gaussian self, Vector3D v)"""
10975 return _IMP_core.Gaussian_set_variances(self, v)
10978 def set_global_covariance(self, covar):
10979 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10980 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10983 def update_global_covariance(self):
10984 """update_global_covariance(Gaussian self)"""
10985 return _IMP_core.Gaussian_update_global_covariance(self)
10988 def add_attribute(self, *args):
10990 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10991 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10992 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10993 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
10994 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
10995 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10996 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10997 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10999 return _IMP_core.Gaussian_add_attribute(self, *args)
11002 def get_value(self, *args):
11004 get_value(Gaussian self, FloatKey a0) -> IMP::Float
11005 get_value(Gaussian self, IntKey a0) -> IMP::Int
11006 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
11007 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
11008 get_value(Gaussian self, StringKey a0) -> IMP::String
11009 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
11010 get_value(Gaussian self, ObjectKey a0) -> Object
11012 return _IMP_core.Gaussian_get_value(self, *args)
11015 def set_value(self, *args):
11017 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
11018 set_value(Gaussian self, IntKey a0, IMP::Int a1)
11019 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
11020 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
11021 set_value(Gaussian self, StringKey a0, IMP::String a1)
11022 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
11023 set_value(Gaussian self, ObjectKey a0, Object a1)
11025 return _IMP_core.Gaussian_set_value(self, *args)
11028 def remove_attribute(self, *args):
11030 remove_attribute(Gaussian self, FloatKey a0)
11031 remove_attribute(Gaussian self, IntKey a0)
11032 remove_attribute(Gaussian self, FloatsKey a0)
11033 remove_attribute(Gaussian self, IntsKey a0)
11034 remove_attribute(Gaussian self, StringKey a0)
11035 remove_attribute(Gaussian self, ParticleIndexKey a0)
11036 remove_attribute(Gaussian self, ObjectKey a0)
11038 return _IMP_core.Gaussian_remove_attribute(self, *args)
11041 def has_attribute(self, *args):
11043 has_attribute(Gaussian self, FloatKey a0) -> bool
11044 has_attribute(Gaussian self, IntKey a0) -> bool
11045 has_attribute(Gaussian self, FloatsKey a0) -> bool
11046 has_attribute(Gaussian self, IntsKey a0) -> bool
11047 has_attribute(Gaussian self, StringKey a0) -> bool
11048 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
11049 has_attribute(Gaussian self, ObjectKey a0) -> bool
11051 return _IMP_core.Gaussian_has_attribute(self, *args)
11054 def get_derivative(self, a0):
11055 """get_derivative(Gaussian self, FloatKey a0) -> double"""
11056 return _IMP_core.Gaussian_get_derivative(self, a0)
11059 def get_name(self):
11060 """get_name(Gaussian self) -> std::string"""
11061 return _IMP_core.Gaussian_get_name(self)
11064 def clear_caches(self):
11065 """clear_caches(Gaussian self)"""
11066 return _IMP_core.Gaussian_clear_caches(self)
11069 def set_name(self, a0):
11070 """set_name(Gaussian self, std::string a0)"""
11071 return _IMP_core.Gaussian_set_name(self, a0)
11075 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
11076 return _IMP_core.Gaussian_set_check_level(self, a0)
11079 def add_to_derivative(self, a0, a1, a2):
11080 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11081 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
11084 def set_is_optimized(self, a0, a1):
11085 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
11086 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
11089 def get_is_optimized(self, a0):
11090 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
11091 return _IMP_core.Gaussian_get_is_optimized(self, a0)
11095 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
11096 return _IMP_core.Gaussian_get_check_level(self)
11099 def __eq__(self, *args):
11101 __eq__(Gaussian self, Gaussian o) -> bool
11102 __eq__(Gaussian self, Particle d) -> bool
11104 return _IMP_core.Gaussian___eq__(self, *args)
11107 def __ne__(self, *args):
11109 __ne__(Gaussian self, Gaussian o) -> bool
11110 __ne__(Gaussian self, Particle d) -> bool
11112 return _IMP_core.Gaussian___ne__(self, *args)
11115 def __le__(self, *args):
11117 __le__(Gaussian self, Gaussian o) -> bool
11118 __le__(Gaussian self, Particle d) -> bool
11120 return _IMP_core.Gaussian___le__(self, *args)
11123 def __lt__(self, *args):
11125 __lt__(Gaussian self, Gaussian o) -> bool
11126 __lt__(Gaussian self, Particle d) -> bool
11128 return _IMP_core.Gaussian___lt__(self, *args)
11131 def __ge__(self, *args):
11133 __ge__(Gaussian self, Gaussian o) -> bool
11134 __ge__(Gaussian self, Particle d) -> bool
11136 return _IMP_core.Gaussian___ge__(self, *args)
11139 def __gt__(self, *args):
11141 __gt__(Gaussian self, Gaussian o) -> bool
11142 __gt__(Gaussian self, Particle d) -> bool
11144 return _IMP_core.Gaussian___gt__(self, *args)
11147 def __hash__(self):
11148 """__hash__(Gaussian self) -> std::size_t"""
11149 return _IMP_core.Gaussian___hash__(self)
11153 """__str__(Gaussian self) -> std::string"""
11154 return _IMP_core.Gaussian___str__(self)
11157 def __repr__(self):
11158 """__repr__(Gaussian self) -> std::string"""
11159 return _IMP_core.Gaussian___repr__(self)
11161 __swig_destroy__ = _IMP_core.delete_Gaussian
11162 __del__ =
lambda self:
None
11163 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
11164 Gaussian_swigregister(Gaussian)
11166 def Gaussian_setup_particle(*args):
11168 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11169 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11170 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11171 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11173 return _IMP_core.Gaussian_setup_particle(*args)
11175 def Gaussian_get_local_covariance_key():
11176 """Gaussian_get_local_covariance_key() -> ObjectKey"""
11177 return _IMP_core.Gaussian_get_local_covariance_key()
11179 def Gaussian_get_global_covariance_key():
11180 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11181 return _IMP_core.Gaussian_get_global_covariance_key()
11183 def Gaussian_get_is_setup(*args):
11185 get_is_setup(_ParticleAdaptor p) -> bool
11186 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11188 return _IMP_core.Gaussian_get_is_setup(*args)
11191 """Proxy of C++ IMP::core::PairRestraint class"""
11192 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11194 def __init__(self, *args):
11196 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11197 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11199 this = _IMP_core.new_PairRestraint(*args)
11201 self.this.append(this)
11205 def get_version_info(self):
11206 """get_version_info(PairRestraint self) -> VersionInfo"""
11207 return _IMP_core.PairRestraint_get_version_info(self)
11211 """__str__(PairRestraint self) -> std::string"""
11212 return _IMP_core.PairRestraint___str__(self)
11215 def __repr__(self):
11216 """__repr__(PairRestraint self) -> std::string"""
11217 return _IMP_core.PairRestraint___repr__(self)
11222 return _object_cast_to_PairRestraint(o)
11224 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11225 PairRestraint_swigregister(PairRestraint)
11228 """Proxy of C++ IMP::core::SingletonRestraint class"""
11229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11231 def __init__(self, *args):
11233 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11234 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11236 this = _IMP_core.new_SingletonRestraint(*args)
11238 self.this.append(this)
11242 def get_version_info(self):
11243 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11244 return _IMP_core.SingletonRestraint_get_version_info(self)
11248 """__str__(SingletonRestraint self) -> std::string"""
11249 return _IMP_core.SingletonRestraint___str__(self)
11252 def __repr__(self):
11253 """__repr__(SingletonRestraint self) -> std::string"""
11254 return _IMP_core.SingletonRestraint___repr__(self)
11259 return _object_cast_to_SingletonRestraint(o)
11261 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11262 SingletonRestraint_swigregister(SingletonRestraint)
11265 """Proxy of C++ IMP::core::TripletRestraint class"""
11266 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11268 def __init__(self, *args):
11270 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11271 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11273 this = _IMP_core.new_TripletRestraint(*args)
11275 self.this.append(this)
11279 def get_version_info(self):
11280 """get_version_info(TripletRestraint self) -> VersionInfo"""
11281 return _IMP_core.TripletRestraint_get_version_info(self)
11285 """__str__(TripletRestraint self) -> std::string"""
11286 return _IMP_core.TripletRestraint___str__(self)
11289 def __repr__(self):
11290 """__repr__(TripletRestraint self) -> std::string"""
11291 return _IMP_core.TripletRestraint___repr__(self)
11296 return _object_cast_to_TripletRestraint(o)
11298 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11299 TripletRestraint_swigregister(TripletRestraint)
11302 """Proxy of C++ IMP::core::QuadRestraint class"""
11303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11305 def __init__(self, *args):
11307 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11308 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11310 this = _IMP_core.new_QuadRestraint(*args)
11312 self.this.append(this)
11316 def get_version_info(self):
11317 """get_version_info(QuadRestraint self) -> VersionInfo"""
11318 return _IMP_core.QuadRestraint_get_version_info(self)
11322 """__str__(QuadRestraint self) -> std::string"""
11323 return _IMP_core.QuadRestraint___str__(self)
11326 def __repr__(self):
11327 """__repr__(QuadRestraint self) -> std::string"""
11328 return _IMP_core.QuadRestraint___repr__(self)
11333 return _object_cast_to_QuadRestraint(o)
11335 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11336 QuadRestraint_swigregister(QuadRestraint)
11339 """Proxy of C++ IMP::core::SingletonConstraint class"""
11340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11342 def __init__(self, *args):
11344 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11345 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11346 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name, bool can_skip=False) -> SingletonConstraint
11347 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11348 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11350 this = _IMP_core.new_SingletonConstraint(*args)
11352 self.this.append(this)
11356 def get_version_info(self):
11357 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11358 return _IMP_core.SingletonConstraint_get_version_info(self)
11362 """__str__(SingletonConstraint self) -> std::string"""
11363 return _IMP_core.SingletonConstraint___str__(self)
11366 def __repr__(self):
11367 """__repr__(SingletonConstraint self) -> std::string"""
11368 return _IMP_core.SingletonConstraint___repr__(self)
11373 return _object_cast_to_SingletonConstraint(o)
11375 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11376 SingletonConstraint_swigregister(SingletonConstraint)
11379 """Proxy of C++ IMP::core::PairConstraint class"""
11380 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11382 def __init__(self, *args):
11384 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11385 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11386 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name, bool can_skip=False) -> PairConstraint
11387 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11388 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11390 this = _IMP_core.new_PairConstraint(*args)
11392 self.this.append(this)
11396 def get_version_info(self):
11397 """get_version_info(PairConstraint self) -> VersionInfo"""
11398 return _IMP_core.PairConstraint_get_version_info(self)
11402 """__str__(PairConstraint self) -> std::string"""
11403 return _IMP_core.PairConstraint___str__(self)
11406 def __repr__(self):
11407 """__repr__(PairConstraint self) -> std::string"""
11408 return _IMP_core.PairConstraint___repr__(self)
11413 return _object_cast_to_PairConstraint(o)
11415 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11416 PairConstraint_swigregister(PairConstraint)
11419 """Proxy of C++ IMP::core::TripletConstraint class"""
11420 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11422 def __init__(self, *args):
11424 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11425 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11426 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name, bool can_skip=False) -> TripletConstraint
11427 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11428 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11430 this = _IMP_core.new_TripletConstraint(*args)
11432 self.this.append(this)
11436 def get_version_info(self):
11437 """get_version_info(TripletConstraint self) -> VersionInfo"""
11438 return _IMP_core.TripletConstraint_get_version_info(self)
11442 """__str__(TripletConstraint self) -> std::string"""
11443 return _IMP_core.TripletConstraint___str__(self)
11446 def __repr__(self):
11447 """__repr__(TripletConstraint self) -> std::string"""
11448 return _IMP_core.TripletConstraint___repr__(self)
11453 return _object_cast_to_TripletConstraint(o)
11455 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11456 TripletConstraint_swigregister(TripletConstraint)
11459 """Proxy of C++ IMP::core::QuadConstraint class"""
11460 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11462 def __init__(self, *args):
11464 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11465 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11466 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name, bool can_skip=False) -> QuadConstraint
11467 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11468 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11470 this = _IMP_core.new_QuadConstraint(*args)
11472 self.this.append(this)
11476 def get_version_info(self):
11477 """get_version_info(QuadConstraint self) -> VersionInfo"""
11478 return _IMP_core.QuadConstraint_get_version_info(self)
11482 """__str__(QuadConstraint self) -> std::string"""
11483 return _IMP_core.QuadConstraint___str__(self)
11486 def __repr__(self):
11487 """__repr__(QuadConstraint self) -> std::string"""
11488 return _IMP_core.QuadConstraint___repr__(self)
11493 return _object_cast_to_QuadConstraint(o)
11495 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11496 QuadConstraint_swigregister(QuadConstraint)
11499 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
11500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11502 def __init__(self, *args):
11504 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11505 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11507 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11509 self.this.append(this)
11513 def do_get_inputs(self, arg2, arg3):
11514 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11515 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11518 def get_value(self, *args):
11520 get_value(ConstantSingletonPredicate self, Particle a) -> int
11521 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11523 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11526 def get_value_index(self, *args):
11528 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11529 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11531 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11534 def get_version_info(self):
11535 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11536 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11540 """__str__(ConstantSingletonPredicate self) -> std::string"""
11541 return _IMP_core.ConstantSingletonPredicate___str__(self)
11544 def __repr__(self):
11545 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11546 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11551 return _object_cast_to_ConstantSingletonPredicate(o)
11553 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11554 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11557 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
11558 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11560 def __init__(self, *args):
11562 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11563 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11565 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11567 self.this.append(this)
11571 def do_get_inputs(self, m, pis):
11572 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11573 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11576 def get_value(self, *args):
11578 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11579 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11581 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11584 def get_value_index(self, *args):
11586 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11587 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11589 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11592 def get_version_info(self):
11593 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11594 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11598 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11599 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11602 def __repr__(self):
11603 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11604 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11609 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11611 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11612 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11615 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
11616 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11618 def __init__(self, *args):
11620 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11621 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11623 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11625 self.this.append(this)
11629 def do_get_inputs(self, m, pis):
11630 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11631 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11634 def get_value(self, *args):
11636 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11637 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11638 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11640 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11643 def get_value_index(self, *args):
11645 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11646 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11648 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11651 def get_version_info(self):
11652 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11653 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11657 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11658 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11661 def __repr__(self):
11662 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11663 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11668 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11670 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11671 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11674 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
11675 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11677 def __init__(self, *args):
11679 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11680 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11682 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11684 self.this.append(this)
11688 def do_get_inputs(self, arg2, arg3):
11689 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11690 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11693 def get_value(self, *args):
11695 get_value(AllSameSingletonPredicate self, Particle a) -> int
11696 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11698 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11701 def get_value_index(self, *args):
11703 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11704 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11706 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11709 def get_version_info(self):
11710 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11711 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11715 """__str__(AllSameSingletonPredicate self) -> std::string"""
11716 return _IMP_core.AllSameSingletonPredicate___str__(self)
11719 def __repr__(self):
11720 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11721 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11726 return _object_cast_to_AllSameSingletonPredicate(o)
11728 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11729 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11732 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
11733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11735 def __init__(self, *args):
11737 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11738 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11740 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11742 self.this.append(this)
11746 def do_get_inputs(self, arg2, arg3):
11747 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11748 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11751 def get_value(self, *args):
11753 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11754 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11756 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11759 def get_value_index(self, *args):
11761 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11762 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11764 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11767 def get_version_info(self):
11768 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11769 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11773 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11774 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11777 def __repr__(self):
11778 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11779 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11784 return _object_cast_to_CoinFlipSingletonPredicate(o)
11786 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11787 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11790 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
11791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11793 def __init__(self, *args):
11795 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11796 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11798 this = _IMP_core.new_ConstantPairPredicate(*args)
11800 self.this.append(this)
11804 def do_get_inputs(self, arg2, arg3):
11805 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11806 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11809 def get_value(self, *args):
11811 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11812 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11814 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11817 def get_value_index(self, *args):
11819 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11820 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11822 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11825 def get_version_info(self):
11826 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11827 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11831 """__str__(ConstantPairPredicate self) -> std::string"""
11832 return _IMP_core.ConstantPairPredicate___str__(self)
11835 def __repr__(self):
11836 """__repr__(ConstantPairPredicate self) -> std::string"""
11837 return _IMP_core.ConstantPairPredicate___repr__(self)
11842 return _object_cast_to_ConstantPairPredicate(o)
11844 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11845 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11848 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
11849 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11851 def __init__(self, *args):
11853 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11854 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11856 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11858 self.this.append(this)
11862 def do_get_inputs(self, m, pis):
11863 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11864 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11867 def get_value(self, *args):
11869 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11870 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11872 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11875 def get_value_index(self, *args):
11877 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11878 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11880 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11883 def get_version_info(self):
11884 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11885 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11889 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11890 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11893 def __repr__(self):
11894 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
11895 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11900 return _object_cast_to_UnorderedTypePairPredicate(o)
11902 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
11903 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11906 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
11907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11909 def __init__(self, *args):
11911 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
11912 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
11914 this = _IMP_core.new_OrderedTypePairPredicate(*args)
11916 self.this.append(this)
11920 def do_get_inputs(self, m, pis):
11921 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11922 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11925 def get_value(self, *args):
11927 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11928 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11929 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11931 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11934 def get_value_index(self, *args):
11936 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11937 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11939 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11942 def get_version_info(self):
11943 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11944 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11948 """__str__(OrderedTypePairPredicate self) -> std::string"""
11949 return _IMP_core.OrderedTypePairPredicate___str__(self)
11952 def __repr__(self):
11953 """__repr__(OrderedTypePairPredicate self) -> std::string"""
11954 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11959 return _object_cast_to_OrderedTypePairPredicate(o)
11961 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
11962 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11965 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
11966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11968 def __init__(self, *args):
11970 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
11971 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
11973 this = _IMP_core.new_AllSamePairPredicate(*args)
11975 self.this.append(this)
11979 def do_get_inputs(self, arg2, arg3):
11980 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11981 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11984 def get_value(self, *args):
11986 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11987 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11989 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11992 def get_value_index(self, *args):
11994 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11995 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11997 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
12000 def get_version_info(self):
12001 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
12002 return _IMP_core.AllSamePairPredicate_get_version_info(self)
12006 """__str__(AllSamePairPredicate self) -> std::string"""
12007 return _IMP_core.AllSamePairPredicate___str__(self)
12010 def __repr__(self):
12011 """__repr__(AllSamePairPredicate self) -> std::string"""
12012 return _IMP_core.AllSamePairPredicate___repr__(self)
12017 return _object_cast_to_AllSamePairPredicate(o)
12019 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
12020 AllSamePairPredicate_swigregister(AllSamePairPredicate)
12023 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
12024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12026 def __init__(self, *args):
12028 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
12029 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
12031 this = _IMP_core.new_CoinFlipPairPredicate(*args)
12033 self.this.append(this)
12037 def do_get_inputs(self, arg2, arg3):
12038 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12039 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
12042 def get_value(self, *args):
12044 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
12045 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12047 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
12050 def get_value_index(self, *args):
12052 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
12053 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12055 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
12058 def get_version_info(self):
12059 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
12060 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
12064 """__str__(CoinFlipPairPredicate self) -> std::string"""
12065 return _IMP_core.CoinFlipPairPredicate___str__(self)
12068 def __repr__(self):
12069 """__repr__(CoinFlipPairPredicate self) -> std::string"""
12070 return _IMP_core.CoinFlipPairPredicate___repr__(self)
12075 return _object_cast_to_CoinFlipPairPredicate(o)
12077 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
12078 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
12081 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
12082 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12084 def __init__(self, *args):
12086 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
12087 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
12089 this = _IMP_core.new_ConstantTripletPredicate(*args)
12091 self.this.append(this)
12095 def do_get_inputs(self, arg2, arg3):
12096 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12097 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
12100 def get_value(self, *args):
12102 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12103 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12105 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
12108 def get_value_index(self, *args):
12110 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12111 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12113 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
12116 def get_version_info(self):
12117 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
12118 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
12122 """__str__(ConstantTripletPredicate self) -> std::string"""
12123 return _IMP_core.ConstantTripletPredicate___str__(self)
12126 def __repr__(self):
12127 """__repr__(ConstantTripletPredicate self) -> std::string"""
12128 return _IMP_core.ConstantTripletPredicate___repr__(self)
12133 return _object_cast_to_ConstantTripletPredicate(o)
12135 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
12136 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
12139 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
12140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12142 def __init__(self, *args):
12144 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
12145 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
12147 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
12149 self.this.append(this)
12153 def do_get_inputs(self, m, pis):
12154 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12155 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12158 def get_value(self, *args):
12160 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12161 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12163 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12166 def get_value_index(self, *args):
12168 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12169 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12171 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12174 def get_version_info(self):
12175 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12176 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12180 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12181 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12184 def __repr__(self):
12185 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12186 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12191 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12193 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12194 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12197 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
12198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12200 def __init__(self, *args):
12202 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12203 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12205 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12207 self.this.append(this)
12211 def do_get_inputs(self, m, pis):
12212 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12213 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12216 def get_value(self, *args):
12218 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12219 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12220 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12222 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12225 def get_value_index(self, *args):
12227 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12228 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12230 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12233 def get_version_info(self):
12234 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12235 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12239 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12240 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12243 def __repr__(self):
12244 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12245 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12250 return _object_cast_to_OrderedTypeTripletPredicate(o)
12252 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12253 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12256 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
12257 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12259 def __init__(self, *args):
12261 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12262 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12264 this = _IMP_core.new_AllSameTripletPredicate(*args)
12266 self.this.append(this)
12270 def do_get_inputs(self, arg2, arg3):
12271 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12272 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12275 def get_value(self, *args):
12277 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12278 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12280 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12283 def get_value_index(self, *args):
12285 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12286 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12288 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12291 def get_version_info(self):
12292 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12293 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12297 """__str__(AllSameTripletPredicate self) -> std::string"""
12298 return _IMP_core.AllSameTripletPredicate___str__(self)
12301 def __repr__(self):
12302 """__repr__(AllSameTripletPredicate self) -> std::string"""
12303 return _IMP_core.AllSameTripletPredicate___repr__(self)
12308 return _object_cast_to_AllSameTripletPredicate(o)
12310 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12311 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12314 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
12315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12317 def __init__(self, *args):
12319 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12320 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12322 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12324 self.this.append(this)
12328 def do_get_inputs(self, arg2, arg3):
12329 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12330 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12333 def get_value(self, *args):
12335 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12336 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12338 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12341 def get_value_index(self, *args):
12343 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12344 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12346 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12349 def get_version_info(self):
12350 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12351 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12355 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12356 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12359 def __repr__(self):
12360 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12361 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12366 return _object_cast_to_CoinFlipTripletPredicate(o)
12368 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12369 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12372 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
12373 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12375 def __init__(self, *args):
12377 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12378 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12380 this = _IMP_core.new_ConstantQuadPredicate(*args)
12382 self.this.append(this)
12386 def do_get_inputs(self, arg2, arg3):
12387 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12388 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12391 def get_value(self, *args):
12393 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12394 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12396 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12399 def get_value_index(self, *args):
12401 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12402 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12404 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12407 def get_version_info(self):
12408 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12409 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12413 """__str__(ConstantQuadPredicate self) -> std::string"""
12414 return _IMP_core.ConstantQuadPredicate___str__(self)
12417 def __repr__(self):
12418 """__repr__(ConstantQuadPredicate self) -> std::string"""
12419 return _IMP_core.ConstantQuadPredicate___repr__(self)
12424 return _object_cast_to_ConstantQuadPredicate(o)
12426 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12427 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12430 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
12431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12433 def __init__(self, *args):
12435 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12436 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12438 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12440 self.this.append(this)
12444 def do_get_inputs(self, m, pis):
12445 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12446 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12449 def get_value(self, *args):
12451 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12452 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12454 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12457 def get_value_index(self, *args):
12459 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12460 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12462 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12465 def get_version_info(self):
12466 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12467 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12471 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12472 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12475 def __repr__(self):
12476 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12477 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12482 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12484 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12485 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12488 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
12489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12491 def __init__(self, *args):
12493 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12494 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12496 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12498 self.this.append(this)
12502 def do_get_inputs(self, m, pis):
12503 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12504 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12507 def get_value(self, *args):
12509 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12510 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12511 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12513 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12516 def get_value_index(self, *args):
12518 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12519 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12521 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12524 def get_version_info(self):
12525 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12526 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12530 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12531 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12534 def __repr__(self):
12535 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12536 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12541 return _object_cast_to_OrderedTypeQuadPredicate(o)
12543 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12544 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12547 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
12548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12550 def __init__(self, *args):
12552 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12553 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12555 this = _IMP_core.new_AllSameQuadPredicate(*args)
12557 self.this.append(this)
12561 def do_get_inputs(self, arg2, arg3):
12562 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12563 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12566 def get_value(self, *args):
12568 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12569 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12571 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12574 def get_value_index(self, *args):
12576 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12577 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12579 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12582 def get_version_info(self):
12583 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12584 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12588 """__str__(AllSameQuadPredicate self) -> std::string"""
12589 return _IMP_core.AllSameQuadPredicate___str__(self)
12592 def __repr__(self):
12593 """__repr__(AllSameQuadPredicate self) -> std::string"""
12594 return _IMP_core.AllSameQuadPredicate___repr__(self)
12599 return _object_cast_to_AllSameQuadPredicate(o)
12601 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12602 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12605 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
12606 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12608 def __init__(self, *args):
12610 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12611 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12613 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12615 self.this.append(this)
12619 def do_get_inputs(self, arg2, arg3):
12620 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12621 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12624 def get_value(self, *args):
12626 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12627 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12629 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12632 def get_value_index(self, *args):
12634 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12635 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12637 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12640 def get_version_info(self):
12641 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12642 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12646 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12647 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12650 def __repr__(self):
12651 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12652 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12657 return _object_cast_to_CoinFlipQuadPredicate(o)
12659 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12660 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12663 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
12664 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12666 def __init__(self, *args):
12668 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12669 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12671 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12673 self.this.append(this)
12677 def do_get_inputs(self, m, pi):
12678 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12679 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12682 def get_value(self, *args):
12684 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12685 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12687 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12690 def get_value_index(self, *args):
12692 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12693 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12695 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12698 def get_version_info(self):
12699 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12700 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12704 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12705 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12708 def __repr__(self):
12709 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12710 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12715 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12717 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12718 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12721 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
12722 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12724 def __init__(self, *args):
12726 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12727 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12729 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12731 self.this.append(this)
12735 def do_get_inputs(self, m, pi):
12736 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12737 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12740 def get_value(self, *args):
12742 get_value(AttributeSingletonPredicate self, Particle a) -> int
12743 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12745 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12748 def get_value_index(self, *args):
12750 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12751 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12753 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12756 def get_version_info(self):
12757 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12758 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12762 """__str__(AttributeSingletonPredicate self) -> std::string"""
12763 return _IMP_core.AttributeSingletonPredicate___str__(self)
12766 def __repr__(self):
12767 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12768 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12773 return _object_cast_to_AttributeSingletonPredicate(o)
12775 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12776 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12779 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
12780 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12782 def __init__(self, *args):
12784 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12785 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12787 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12789 self.this.append(this)
12793 def do_get_inputs(self, m, pi):
12794 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12795 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12798 def get_value(self, *args):
12800 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12801 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12803 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12806 def get_value_index(self, *args):
12808 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12809 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12811 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12814 def get_version_info(self):
12815 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12816 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12820 """__str__(IsCollisionPairPredicate self) -> std::string"""
12821 return _IMP_core.IsCollisionPairPredicate___str__(self)
12824 def __repr__(self):
12825 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12826 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12831 return _object_cast_to_IsCollisionPairPredicate(o)
12833 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12834 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12836 class AngleRestraint(TripletRestraint):
12837 """Proxy of C++ IMP::core::AngleRestraint class"""
12838 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12840 def __init__(self, m, score_func, p1, p2, p3):
12841 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12842 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12844 self.this.append(this)
12849 """__str__(AngleRestraint self) -> std::string"""
12850 return _IMP_core.AngleRestraint___str__(self)
12853 def __repr__(self):
12854 """__repr__(AngleRestraint self) -> std::string"""
12855 return _IMP_core.AngleRestraint___repr__(self)
12860 return _object_cast_to_AngleRestraint(o)
12862 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12863 AngleRestraint_swigregister(AngleRestraint)
12865 class RigidBodyMover(MonteCarloMover):
12866 """Proxy of C++ IMP::core::RigidBodyMover class"""
12867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12869 def __init__(self, m, pi, max_translation, max_rotation):
12870 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12871 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12873 self.this.append(this)
12877 def set_maximum_translation(self, mt):
12878 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12879 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12882 def set_maximum_rotation(self, mr):
12883 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12884 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12887 def get_maximum_translation(self):
12888 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12889 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12892 def get_maximum_rotation(self):
12893 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12894 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12897 def get_version_info(self):
12898 """get_version_info(RigidBodyMover self) -> VersionInfo"""
12899 return _IMP_core.RigidBodyMover_get_version_info(self)
12903 """__str__(RigidBodyMover self) -> std::string"""
12904 return _IMP_core.RigidBodyMover___str__(self)
12907 def __repr__(self):
12908 """__repr__(RigidBodyMover self) -> std::string"""
12909 return _IMP_core.RigidBodyMover___repr__(self)
12914 return _object_cast_to_RigidBodyMover(o)
12916 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
12917 RigidBodyMover_swigregister(RigidBodyMover)
12919 class RigidBodyTunneler(MonteCarloMover):
12920 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
12921 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12923 def __init__(self, m, pis, ref, k, move_probability=1.):
12925 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
12926 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
12928 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
12930 self.this.append(this)
12934 def add_entry_point(self, fl):
12935 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12936 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12939 def reset_stats(self):
12940 """reset_stats(RigidBodyTunneler self)"""
12941 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12944 def get_number_of_rejected_moves(self):
12945 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12946 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12949 def get_number_of_proposed_moves(self):
12950 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12951 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12954 def get_number_of_impossible_moves(self):
12955 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12956 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12959 def get_number_of_calls(self):
12960 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12961 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12964 def get_reduced_coordinates(*args):
12966 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12967 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12969 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12971 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
12973 def set_reduced_coordinates(m, target, ref, coords):
12974 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12975 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12977 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
12979 def get_version_info(self):
12980 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12981 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12985 """__str__(RigidBodyTunneler self) -> std::string"""
12986 return _IMP_core.RigidBodyTunneler___str__(self)
12989 def __repr__(self):
12990 """__repr__(RigidBodyTunneler self) -> std::string"""
12991 return _IMP_core.RigidBodyTunneler___repr__(self)
12996 return _object_cast_to_RigidBodyTunneler(o)
12998 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
12999 RigidBodyTunneler_swigregister(RigidBodyTunneler)
13001 def RigidBodyTunneler_get_reduced_coordinates(*args):
13003 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
13004 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
13006 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
13008 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
13009 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
13010 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
13013 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
13014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13016 def __init__(self, *args):
13018 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
13019 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
13020 __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
13021 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
13023 this = _IMP_core.new_RigidBodyUmbrella(*args)
13025 self.this.append(this)
13029 def set_x0(self, *args):
13031 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
13032 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
13034 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
13038 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
13039 return _IMP_core.RigidBodyUmbrella_get_x0(self)
13043 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
13044 return _IMP_core.RigidBodyUmbrella_get_x(self)
13047 def set_alpha(self, alpha):
13048 """set_alpha(RigidBodyUmbrella self, double alpha)"""
13049 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
13052 def set_k(self, k):
13053 """set_k(RigidBodyUmbrella self, double k)"""
13054 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
13057 def get_version_info(self):
13058 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
13059 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
13063 """__str__(RigidBodyUmbrella self) -> std::string"""
13064 return _IMP_core.RigidBodyUmbrella___str__(self)
13067 def __repr__(self):
13068 """__repr__(RigidBodyUmbrella self) -> std::string"""
13069 return _IMP_core.RigidBodyUmbrella___repr__(self)
13074 return _object_cast_to_RigidBodyUmbrella(o)
13076 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
13077 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
13080 """Proxy of C++ IMP::core::VolumeRestraint class"""
13081 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13083 def __init__(self, f, sc, volume):
13084 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
13085 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
13087 self.this.append(this)
13091 def do_get_inputs(self):
13092 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
13093 return _IMP_core.VolumeRestraint_do_get_inputs(self)
13096 def get_version_info(self):
13097 """get_version_info(VolumeRestraint self) -> VersionInfo"""
13098 return _IMP_core.VolumeRestraint_get_version_info(self)
13102 """__str__(VolumeRestraint self) -> std::string"""
13103 return _IMP_core.VolumeRestraint___str__(self)
13106 def __repr__(self):
13107 """__repr__(VolumeRestraint self) -> std::string"""
13108 return _IMP_core.VolumeRestraint___repr__(self)
13113 return _object_cast_to_VolumeRestraint(o)
13115 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
13116 VolumeRestraint_swigregister(VolumeRestraint)
13120 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
13121 return _IMP_core.get_centroid(ps)
13124 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
13125 return _IMP_core.get_bounding_box(ps)
13127 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
13128 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13130 def __init__(self, ps):
13131 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
13132 this = _IMP_core.new_MoveStatisticsScoreState(ps)
13134 self.this.append(this)
13138 def show_statistics(self, *args):
13140 show_statistics(MoveStatisticsScoreState self, _ostream out)
13141 show_statistics(MoveStatisticsScoreState self)
13143 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13147 """reset(MoveStatisticsScoreState self)"""
13148 return _IMP_core.MoveStatisticsScoreState_reset(self)
13151 def do_before_evaluate(self):
13152 """do_before_evaluate(MoveStatisticsScoreState self)"""
13153 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13156 def do_after_evaluate(self, da):
13157 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13158 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13161 def do_get_inputs(self):
13162 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13163 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13166 def do_get_outputs(self):
13167 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13168 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13171 def get_version_info(self):
13172 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13173 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13177 """__str__(MoveStatisticsScoreState self) -> std::string"""
13178 return _IMP_core.MoveStatisticsScoreState___str__(self)
13181 def __repr__(self):
13182 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13183 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13188 return _object_cast_to_MoveStatisticsScoreState(o)
13190 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13191 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13194 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
13195 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13197 """Proxy of C++ IMP::core::Typed class"""
13198 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13200 def get_type_key():
13201 """get_type_key() -> IntKey"""
13202 return _IMP_core.Typed_get_type_key()
13204 get_type_key = staticmethod(get_type_key)
13206 def __init__(self, *args):
13208 __init__(IMP::core::Typed self) -> Typed
13209 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13210 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13212 this = _IMP_core.new_Typed(*args)
13214 self.this.append(this)
13218 def show(self, *args):
13220 show(Typed self, _ostream out)
13223 return _IMP_core.Typed_show(self, *args)
13226 def setup_particle(*args):
13228 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13229 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13231 return _IMP_core.Typed_setup_particle(*args)
13233 setup_particle = staticmethod(setup_particle)
13235 def get_is_setup(*args):
13237 get_is_setup(_ParticleAdaptor p) -> bool
13238 get_is_setup(Model m, ParticleIndex pi) -> bool
13240 return _IMP_core.Typed_get_is_setup(*args)
13242 get_is_setup = staticmethod(get_is_setup)
13244 def get_type(self):
13245 """get_type(Typed self) -> ParticleType"""
13246 return _IMP_core.Typed_get_type(self)
13249 def set_type(self, pt):
13250 """set_type(Typed self, ParticleType pt)"""
13251 return _IMP_core.Typed_set_type(self, pt)
13254 def add_attribute(self, *args):
13256 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13257 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13258 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13259 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
13260 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
13261 add_attribute(Typed self, StringKey a0, IMP::String a1)
13262 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13263 add_attribute(Typed self, ObjectKey a0, Object a1)
13265 return _IMP_core.Typed_add_attribute(self, *args)
13268 def get_value(self, *args):
13270 get_value(Typed self, FloatKey a0) -> IMP::Float
13271 get_value(Typed self, IntKey a0) -> IMP::Int
13272 get_value(Typed self, FloatsKey a0) -> IMP::Floats
13273 get_value(Typed self, IntsKey a0) -> IMP::Ints
13274 get_value(Typed self, StringKey a0) -> IMP::String
13275 get_value(Typed self, ParticleIndexKey a0) -> Particle
13276 get_value(Typed self, ObjectKey a0) -> Object
13278 return _IMP_core.Typed_get_value(self, *args)
13281 def set_value(self, *args):
13283 set_value(Typed self, FloatKey a0, IMP::Float a1)
13284 set_value(Typed self, IntKey a0, IMP::Int a1)
13285 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
13286 set_value(Typed self, IntsKey a0, IMP::Ints a1)
13287 set_value(Typed self, StringKey a0, IMP::String a1)
13288 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13289 set_value(Typed self, ObjectKey a0, Object a1)
13291 return _IMP_core.Typed_set_value(self, *args)
13294 def remove_attribute(self, *args):
13296 remove_attribute(Typed self, FloatKey a0)
13297 remove_attribute(Typed self, IntKey a0)
13298 remove_attribute(Typed self, FloatsKey a0)
13299 remove_attribute(Typed self, IntsKey a0)
13300 remove_attribute(Typed self, StringKey a0)
13301 remove_attribute(Typed self, ParticleIndexKey a0)
13302 remove_attribute(Typed self, ObjectKey a0)
13304 return _IMP_core.Typed_remove_attribute(self, *args)
13307 def has_attribute(self, *args):
13309 has_attribute(Typed self, FloatKey a0) -> bool
13310 has_attribute(Typed self, IntKey a0) -> bool
13311 has_attribute(Typed self, FloatsKey a0) -> bool
13312 has_attribute(Typed self, IntsKey a0) -> bool
13313 has_attribute(Typed self, StringKey a0) -> bool
13314 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13315 has_attribute(Typed self, ObjectKey a0) -> bool
13317 return _IMP_core.Typed_has_attribute(self, *args)
13320 def get_derivative(self, a0):
13321 """get_derivative(Typed self, FloatKey a0) -> double"""
13322 return _IMP_core.Typed_get_derivative(self, a0)
13325 def get_name(self):
13326 """get_name(Typed self) -> std::string"""
13327 return _IMP_core.Typed_get_name(self)
13330 def clear_caches(self):
13331 """clear_caches(Typed self)"""
13332 return _IMP_core.Typed_clear_caches(self)
13335 def set_name(self, a0):
13336 """set_name(Typed self, std::string a0)"""
13337 return _IMP_core.Typed_set_name(self, a0)
13341 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13342 return _IMP_core.Typed_set_check_level(self, a0)
13345 def add_to_derivative(self, a0, a1, a2):
13346 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13347 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13350 def set_is_optimized(self, a0, a1):
13351 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13352 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13355 def get_is_optimized(self, a0):
13356 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13357 return _IMP_core.Typed_get_is_optimized(self, a0)
13361 """get_check_level(Typed self) -> IMP::CheckLevel"""
13362 return _IMP_core.Typed_get_check_level(self)
13365 def __eq__(self, *args):
13367 __eq__(Typed self, Typed o) -> bool
13368 __eq__(Typed self, Particle d) -> bool
13370 return _IMP_core.Typed___eq__(self, *args)
13373 def __ne__(self, *args):
13375 __ne__(Typed self, Typed o) -> bool
13376 __ne__(Typed self, Particle d) -> bool
13378 return _IMP_core.Typed___ne__(self, *args)
13381 def __le__(self, *args):
13383 __le__(Typed self, Typed o) -> bool
13384 __le__(Typed self, Particle d) -> bool
13386 return _IMP_core.Typed___le__(self, *args)
13389 def __lt__(self, *args):
13391 __lt__(Typed self, Typed o) -> bool
13392 __lt__(Typed self, Particle d) -> bool
13394 return _IMP_core.Typed___lt__(self, *args)
13397 def __ge__(self, *args):
13399 __ge__(Typed self, Typed o) -> bool
13400 __ge__(Typed self, Particle d) -> bool
13402 return _IMP_core.Typed___ge__(self, *args)
13405 def __gt__(self, *args):
13407 __gt__(Typed self, Typed o) -> bool
13408 __gt__(Typed self, Particle d) -> bool
13410 return _IMP_core.Typed___gt__(self, *args)
13413 def __hash__(self):
13414 """__hash__(Typed self) -> std::size_t"""
13415 return _IMP_core.Typed___hash__(self)
13419 """__str__(Typed self) -> std::string"""
13420 return _IMP_core.Typed___str__(self)
13423 def __repr__(self):
13424 """__repr__(Typed self) -> std::string"""
13425 return _IMP_core.Typed___repr__(self)
13427 __swig_destroy__ = _IMP_core.delete_Typed
13428 __del__ =
lambda self:
None
13429 Typed_swigregister = _IMP_core.Typed_swigregister
13430 Typed_swigregister(Typed)
13432 def Typed_get_type_key():
13433 """Typed_get_type_key() -> IntKey"""
13434 return _IMP_core.Typed_get_type_key()
13436 def Typed_setup_particle(*args):
13438 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13439 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13441 return _IMP_core.Typed_setup_particle(*args)
13443 def Typed_get_is_setup(*args):
13445 get_is_setup(_ParticleAdaptor p) -> bool
13446 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13448 return _IMP_core.Typed_get_is_setup(*args)
13451 def __lshift__(*args):
13453 __lshift__(_ostream out, XYZ n) -> _ostream
13454 __lshift__(_ostream out, XYZR n) -> _ostream
13455 __lshift__(_ostream out, Direction n) -> _ostream
13456 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13457 __lshift__(_ostream out, Surface n) -> _ostream
13458 __lshift__(_ostream out, Centroid n) -> _ostream
13459 __lshift__(_ostream out, Cover n) -> _ostream
13460 __lshift__(_ostream out, Reference n) -> _ostream
13461 __lshift__(_ostream out, RigidMember n) -> _ostream
13462 __lshift__(_ostream out, RigidBody n) -> _ostream
13463 __lshift__(_ostream out, Gaussian n) -> _ostream
13464 __lshift__(_ostream out, Typed n) -> _ostream
13466 return _IMP_core.__lshift__(*args)
13468 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
13469 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13471 def __init__(self, rs, out):
13472 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13473 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13475 self.this.append(this)
13479 def get_version_info(self):
13480 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13481 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13485 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13486 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13489 def __repr__(self):
13490 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13491 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13496 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13498 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13499 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13503 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13504 return _IMP_core.assign_blame(rs, ps, attribute)
13508 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13509 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13510 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13512 return _IMP_core.create_blame_geometries(*args)
13514 """Proxy of C++ IMP::core::MultipleBinormalRestraint class"""
13515 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13517 def __init__(self, m, q1, q2):
13518 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13519 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13521 self.this.append(this)
13525 def add_term(self, term):
13526 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13527 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13530 def do_get_inputs(self):
13531 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13532 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13535 def get_version_info(self):
13536 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13537 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13541 """__str__(MultipleBinormalRestraint self) -> std::string"""
13542 return _IMP_core.MultipleBinormalRestraint___str__(self)
13545 def __repr__(self):
13546 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13547 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13552 return _object_cast_to_MultipleBinormalRestraint(o)
13554 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13555 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13557 class BinormalTerm(object):
13558 """Proxy of C++ IMP::core::BinormalTerm class"""
13559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13561 def __init__(self):
13562 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13563 this = _IMP_core.new_BinormalTerm()
13565 self.this.append(this)
13569 def set_correlation(self, correlation):
13570 """set_correlation(BinormalTerm self, double correlation)"""
13571 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13574 def set_weight(self, weight):
13575 """set_weight(BinormalTerm self, double weight)"""
13576 return _IMP_core.BinormalTerm_set_weight(self, weight)
13579 def set_means(self, means):
13580 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13581 return _IMP_core.BinormalTerm_set_means(self, means)
13584 def set_standard_deviations(self, stdevs):
13585 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13586 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13589 def show(self, *args):
13591 show(BinormalTerm self, _ostream out)
13592 show(BinormalTerm self)
13594 return _IMP_core.BinormalTerm_show(self, *args)
13598 """__str__(BinormalTerm self) -> std::string"""
13599 return _IMP_core.BinormalTerm___str__(self)
13602 def __repr__(self):
13603 """__repr__(BinormalTerm self) -> std::string"""
13604 return _IMP_core.BinormalTerm___repr__(self)
13606 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13607 __del__ =
lambda self:
None
13608 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13609 BinormalTerm_swigregister(BinormalTerm)
13612 """Proxy of C++ IMP::core::Provenance class"""
13613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13615 def get_previous(self):
13616 """get_previous(Provenance self) -> Provenance"""
13617 return _IMP_core.Provenance_get_previous(self)
13620 def set_previous(self, p):
13621 """set_previous(Provenance self, Provenance p)"""
13622 return _IMP_core.Provenance_set_previous(self, p)
13625 def __init__(self, *args):
13627 __init__(IMP::core::Provenance self) -> Provenance
13628 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13629 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13631 this = _IMP_core.new_Provenance(*args)
13633 self.this.append(this)
13637 def get_is_setup(*args):
13639 get_is_setup(Model m, ParticleIndex pi) -> bool
13640 get_is_setup(_ParticleAdaptor p) -> bool
13642 return _IMP_core.Provenance_get_is_setup(*args)
13644 get_is_setup = staticmethod(get_is_setup)
13646 def show(self, *args):
13648 show(Provenance self, _ostream out)
13649 show(Provenance self)
13651 return _IMP_core.Provenance_show(self, *args)
13654 def setup_particle(*args):
13656 setup_particle(Model m, ParticleIndex pi) -> Provenance
13657 setup_particle(_ParticleAdaptor decorator) -> Provenance
13659 return _IMP_core.Provenance_setup_particle(*args)
13661 setup_particle = staticmethod(setup_particle)
13663 def add_attribute(self, *args):
13665 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13666 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13667 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13668 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
13669 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
13670 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13671 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13672 add_attribute(Provenance self, ObjectKey a0, Object a1)
13674 return _IMP_core.Provenance_add_attribute(self, *args)
13677 def get_value(self, *args):
13679 get_value(Provenance self, FloatKey a0) -> IMP::Float
13680 get_value(Provenance self, IntKey a0) -> IMP::Int
13681 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
13682 get_value(Provenance self, IntsKey a0) -> IMP::Ints
13683 get_value(Provenance self, StringKey a0) -> IMP::String
13684 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13685 get_value(Provenance self, ObjectKey a0) -> Object
13687 return _IMP_core.Provenance_get_value(self, *args)
13690 def set_value(self, *args):
13692 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13693 set_value(Provenance self, IntKey a0, IMP::Int a1)
13694 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
13695 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
13696 set_value(Provenance self, StringKey a0, IMP::String a1)
13697 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13698 set_value(Provenance self, ObjectKey a0, Object a1)
13700 return _IMP_core.Provenance_set_value(self, *args)
13703 def remove_attribute(self, *args):
13705 remove_attribute(Provenance self, FloatKey a0)
13706 remove_attribute(Provenance self, IntKey a0)
13707 remove_attribute(Provenance self, FloatsKey a0)
13708 remove_attribute(Provenance self, IntsKey a0)
13709 remove_attribute(Provenance self, StringKey a0)
13710 remove_attribute(Provenance self, ParticleIndexKey a0)
13711 remove_attribute(Provenance self, ObjectKey a0)
13713 return _IMP_core.Provenance_remove_attribute(self, *args)
13716 def has_attribute(self, *args):
13718 has_attribute(Provenance self, FloatKey a0) -> bool
13719 has_attribute(Provenance self, IntKey a0) -> bool
13720 has_attribute(Provenance self, FloatsKey a0) -> bool
13721 has_attribute(Provenance self, IntsKey a0) -> bool
13722 has_attribute(Provenance self, StringKey a0) -> bool
13723 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13724 has_attribute(Provenance self, ObjectKey a0) -> bool
13726 return _IMP_core.Provenance_has_attribute(self, *args)
13729 def get_derivative(self, a0):
13730 """get_derivative(Provenance self, FloatKey a0) -> double"""
13731 return _IMP_core.Provenance_get_derivative(self, a0)
13734 def get_name(self):
13735 """get_name(Provenance self) -> std::string"""
13736 return _IMP_core.Provenance_get_name(self)
13739 def clear_caches(self):
13740 """clear_caches(Provenance self)"""
13741 return _IMP_core.Provenance_clear_caches(self)
13744 def set_name(self, a0):
13745 """set_name(Provenance self, std::string a0)"""
13746 return _IMP_core.Provenance_set_name(self, a0)
13750 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13751 return _IMP_core.Provenance_set_check_level(self, a0)
13754 def add_to_derivative(self, a0, a1, a2):
13755 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13756 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13759 def set_is_optimized(self, a0, a1):
13760 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13761 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13764 def get_is_optimized(self, a0):
13765 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13766 return _IMP_core.Provenance_get_is_optimized(self, a0)
13770 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13771 return _IMP_core.Provenance_get_check_level(self)
13774 def __eq__(self, *args):
13776 __eq__(Provenance self, Provenance o) -> bool
13777 __eq__(Provenance self, Particle d) -> bool
13779 return _IMP_core.Provenance___eq__(self, *args)
13782 def __ne__(self, *args):
13784 __ne__(Provenance self, Provenance o) -> bool
13785 __ne__(Provenance self, Particle d) -> bool
13787 return _IMP_core.Provenance___ne__(self, *args)
13790 def __le__(self, *args):
13792 __le__(Provenance self, Provenance o) -> bool
13793 __le__(Provenance self, Particle d) -> bool
13795 return _IMP_core.Provenance___le__(self, *args)
13798 def __lt__(self, *args):
13800 __lt__(Provenance self, Provenance o) -> bool
13801 __lt__(Provenance self, Particle d) -> bool
13803 return _IMP_core.Provenance___lt__(self, *args)
13806 def __ge__(self, *args):
13808 __ge__(Provenance self, Provenance o) -> bool
13809 __ge__(Provenance self, Particle d) -> bool
13811 return _IMP_core.Provenance___ge__(self, *args)
13814 def __gt__(self, *args):
13816 __gt__(Provenance self, Provenance o) -> bool
13817 __gt__(Provenance self, Particle d) -> bool
13819 return _IMP_core.Provenance___gt__(self, *args)
13822 def __hash__(self):
13823 """__hash__(Provenance self) -> std::size_t"""
13824 return _IMP_core.Provenance___hash__(self)
13828 """__str__(Provenance self) -> std::string"""
13829 return _IMP_core.Provenance___str__(self)
13832 def __repr__(self):
13833 """__repr__(Provenance self) -> std::string"""
13834 return _IMP_core.Provenance___repr__(self)
13836 __swig_destroy__ = _IMP_core.delete_Provenance
13837 __del__ =
lambda self:
None
13838 Provenance_swigregister = _IMP_core.Provenance_swigregister
13839 Provenance_swigregister(Provenance)
13841 def Provenance_get_is_setup(*args):
13843 get_is_setup(Model m, ParticleIndex pi) -> bool
13844 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13846 return _IMP_core.Provenance_get_is_setup(*args)
13848 def Provenance_setup_particle(*args):
13850 setup_particle(Model m, ParticleIndex pi) -> Provenance
13851 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13853 return _IMP_core.Provenance_setup_particle(*args)
13855 class StructureProvenance(Provenance):
13856 """Proxy of C++ IMP::core::StructureProvenance class"""
13857 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13859 def set_filename(self, filename):
13860 """set_filename(StructureProvenance self, std::string filename)"""
13861 return _IMP_core.StructureProvenance_set_filename(self, filename)
13864 def get_filename(self):
13865 """get_filename(StructureProvenance self) -> std::string"""
13866 return _IMP_core.StructureProvenance_get_filename(self)
13869 def set_chain_id(self, chain_id):
13870 """set_chain_id(StructureProvenance self, std::string chain_id)"""
13871 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13875 """get_chain_id(StructureProvenance self) -> std::string"""
13876 return _IMP_core.StructureProvenance_get_chain_id(self)
13879 def set_residue_offset(self, residue_offset):
13880 """set_residue_offset(StructureProvenance self, int residue_offset)"""
13881 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13884 def get_residue_offset(self):
13885 """get_residue_offset(StructureProvenance self) -> int"""
13886 return _IMP_core.StructureProvenance_get_residue_offset(self)
13889 def __init__(self, *args):
13891 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
13892 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13893 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13895 this = _IMP_core.new_StructureProvenance(*args)
13897 self.this.append(this)
13901 def get_is_setup(*args):
13903 get_is_setup(Model m, ParticleIndex pi) -> bool
13904 get_is_setup(_ParticleAdaptor p) -> bool
13906 return _IMP_core.StructureProvenance_get_is_setup(*args)
13908 get_is_setup = staticmethod(get_is_setup)
13910 def show(self, *args):
13912 show(StructureProvenance self, _ostream out)
13913 show(StructureProvenance self)
13915 return _IMP_core.StructureProvenance_show(self, *args)
13918 def setup_particle(*args):
13920 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13921 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13922 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13923 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
13924 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13925 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
13927 return _IMP_core.StructureProvenance_setup_particle(*args)
13929 setup_particle = staticmethod(setup_particle)
13931 def add_attribute(self, *args):
13933 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13934 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13935 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13936 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13937 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13938 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13939 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13940 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13942 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13945 def get_value(self, *args):
13947 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13948 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13949 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
13950 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
13951 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13952 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13953 get_value(StructureProvenance self, ObjectKey a0) -> Object
13955 return _IMP_core.StructureProvenance_get_value(self, *args)
13958 def set_value(self, *args):
13960 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13961 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13962 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13963 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13964 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13965 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13966 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13968 return _IMP_core.StructureProvenance_set_value(self, *args)
13971 def remove_attribute(self, *args):
13973 remove_attribute(StructureProvenance self, FloatKey a0)
13974 remove_attribute(StructureProvenance self, IntKey a0)
13975 remove_attribute(StructureProvenance self, FloatsKey a0)
13976 remove_attribute(StructureProvenance self, IntsKey a0)
13977 remove_attribute(StructureProvenance self, StringKey a0)
13978 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13979 remove_attribute(StructureProvenance self, ObjectKey a0)
13981 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13984 def has_attribute(self, *args):
13986 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13987 has_attribute(StructureProvenance self, IntKey a0) -> bool
13988 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
13989 has_attribute(StructureProvenance self, IntsKey a0) -> bool
13990 has_attribute(StructureProvenance self, StringKey a0) -> bool
13991 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13992 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13994 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13997 def get_derivative(self, a0):
13998 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13999 return _IMP_core.StructureProvenance_get_derivative(self, a0)
14002 def get_name(self):
14003 """get_name(StructureProvenance self) -> std::string"""
14004 return _IMP_core.StructureProvenance_get_name(self)
14007 def clear_caches(self):
14008 """clear_caches(StructureProvenance self)"""
14009 return _IMP_core.StructureProvenance_clear_caches(self)
14012 def set_name(self, a0):
14013 """set_name(StructureProvenance self, std::string a0)"""
14014 return _IMP_core.StructureProvenance_set_name(self, a0)
14018 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
14019 return _IMP_core.StructureProvenance_set_check_level(self, a0)
14022 def add_to_derivative(self, a0, a1, a2):
14023 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14024 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
14027 def set_is_optimized(self, a0, a1):
14028 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
14029 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
14032 def get_is_optimized(self, a0):
14033 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
14034 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
14038 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
14039 return _IMP_core.StructureProvenance_get_check_level(self)
14042 def __eq__(self, *args):
14044 __eq__(StructureProvenance self, StructureProvenance o) -> bool
14045 __eq__(StructureProvenance self, Particle d) -> bool
14047 return _IMP_core.StructureProvenance___eq__(self, *args)
14050 def __ne__(self, *args):
14052 __ne__(StructureProvenance self, StructureProvenance o) -> bool
14053 __ne__(StructureProvenance self, Particle d) -> bool
14055 return _IMP_core.StructureProvenance___ne__(self, *args)
14058 def __le__(self, *args):
14060 __le__(StructureProvenance self, StructureProvenance o) -> bool
14061 __le__(StructureProvenance self, Particle d) -> bool
14063 return _IMP_core.StructureProvenance___le__(self, *args)
14066 def __lt__(self, *args):
14068 __lt__(StructureProvenance self, StructureProvenance o) -> bool
14069 __lt__(StructureProvenance self, Particle d) -> bool
14071 return _IMP_core.StructureProvenance___lt__(self, *args)
14074 def __ge__(self, *args):
14076 __ge__(StructureProvenance self, StructureProvenance o) -> bool
14077 __ge__(StructureProvenance self, Particle d) -> bool
14079 return _IMP_core.StructureProvenance___ge__(self, *args)
14082 def __gt__(self, *args):
14084 __gt__(StructureProvenance self, StructureProvenance o) -> bool
14085 __gt__(StructureProvenance self, Particle d) -> bool
14087 return _IMP_core.StructureProvenance___gt__(self, *args)
14090 def __hash__(self):
14091 """__hash__(StructureProvenance self) -> std::size_t"""
14092 return _IMP_core.StructureProvenance___hash__(self)
14096 """__str__(StructureProvenance self) -> std::string"""
14097 return _IMP_core.StructureProvenance___str__(self)
14100 def __repr__(self):
14101 """__repr__(StructureProvenance self) -> std::string"""
14102 return _IMP_core.StructureProvenance___repr__(self)
14104 __swig_destroy__ = _IMP_core.delete_StructureProvenance
14105 __del__ =
lambda self:
None
14106 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
14107 StructureProvenance_swigregister(StructureProvenance)
14109 def StructureProvenance_get_is_setup(*args):
14111 get_is_setup(Model m, ParticleIndex pi) -> bool
14112 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14114 return _IMP_core.StructureProvenance_get_is_setup(*args)
14116 def StructureProvenance_setup_particle(*args):
14118 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14119 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14120 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14121 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14122 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14123 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14125 return _IMP_core.StructureProvenance_setup_particle(*args)
14127 class SampleProvenance(Provenance):
14128 """Proxy of C++ IMP::core::SampleProvenance class"""
14129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14131 def set_method(self, method):
14132 """set_method(SampleProvenance self, std::string method)"""
14133 return _IMP_core.SampleProvenance_set_method(self, method)
14136 def get_method(self):
14137 """get_method(SampleProvenance self) -> std::string"""
14138 return _IMP_core.SampleProvenance_get_method(self)
14141 def set_number_of_frames(self, frames):
14142 """set_number_of_frames(SampleProvenance self, int frames)"""
14143 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
14147 """get_number_of_frames(SampleProvenance self) -> int"""
14148 return _IMP_core.SampleProvenance_get_number_of_frames(self)
14151 def set_number_of_iterations(self, iterations):
14152 """set_number_of_iterations(SampleProvenance self, int iterations)"""
14153 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
14156 def get_number_of_iterations(self):
14157 """get_number_of_iterations(SampleProvenance self) -> int"""
14158 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
14161 def set_number_of_replicas(self, replicas):
14162 """set_number_of_replicas(SampleProvenance self, int replicas)"""
14163 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
14166 def get_number_of_replicas(self):
14167 """get_number_of_replicas(SampleProvenance self) -> int"""
14168 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
14171 def __init__(self, *args):
14173 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14174 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14175 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14177 this = _IMP_core.new_SampleProvenance(*args)
14179 self.this.append(this)
14183 def get_is_setup(*args):
14185 get_is_setup(Model m, ParticleIndex pi) -> bool
14186 get_is_setup(_ParticleAdaptor p) -> bool
14188 return _IMP_core.SampleProvenance_get_is_setup(*args)
14190 get_is_setup = staticmethod(get_is_setup)
14192 def show(self, *args):
14194 show(SampleProvenance self, _ostream out)
14195 show(SampleProvenance self)
14197 return _IMP_core.SampleProvenance_show(self, *args)
14200 def setup_particle(*args):
14202 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14203 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14204 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14205 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14206 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14207 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14209 return _IMP_core.SampleProvenance_setup_particle(*args)
14211 setup_particle = staticmethod(setup_particle)
14213 def add_attribute(self, *args):
14215 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14216 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14217 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14218 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14219 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14220 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14221 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14222 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14224 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14227 def get_value(self, *args):
14229 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14230 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14231 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
14232 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
14233 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14234 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14235 get_value(SampleProvenance self, ObjectKey a0) -> Object
14237 return _IMP_core.SampleProvenance_get_value(self, *args)
14240 def set_value(self, *args):
14242 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14243 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14244 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14245 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14246 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14247 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14248 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14250 return _IMP_core.SampleProvenance_set_value(self, *args)
14253 def remove_attribute(self, *args):
14255 remove_attribute(SampleProvenance self, FloatKey a0)
14256 remove_attribute(SampleProvenance self, IntKey a0)
14257 remove_attribute(SampleProvenance self, FloatsKey a0)
14258 remove_attribute(SampleProvenance self, IntsKey a0)
14259 remove_attribute(SampleProvenance self, StringKey a0)
14260 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14261 remove_attribute(SampleProvenance self, ObjectKey a0)
14263 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14266 def has_attribute(self, *args):
14268 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14269 has_attribute(SampleProvenance self, IntKey a0) -> bool
14270 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
14271 has_attribute(SampleProvenance self, IntsKey a0) -> bool
14272 has_attribute(SampleProvenance self, StringKey a0) -> bool
14273 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14274 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14276 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14279 def get_derivative(self, a0):
14280 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14281 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14284 def get_name(self):
14285 """get_name(SampleProvenance self) -> std::string"""
14286 return _IMP_core.SampleProvenance_get_name(self)
14289 def clear_caches(self):
14290 """clear_caches(SampleProvenance self)"""
14291 return _IMP_core.SampleProvenance_clear_caches(self)
14294 def set_name(self, a0):
14295 """set_name(SampleProvenance self, std::string a0)"""
14296 return _IMP_core.SampleProvenance_set_name(self, a0)
14300 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14301 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14304 def add_to_derivative(self, a0, a1, a2):
14305 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14306 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14309 def set_is_optimized(self, a0, a1):
14310 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14311 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14314 def get_is_optimized(self, a0):
14315 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14316 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14320 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14321 return _IMP_core.SampleProvenance_get_check_level(self)
14324 def __eq__(self, *args):
14326 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14327 __eq__(SampleProvenance self, Particle d) -> bool
14329 return _IMP_core.SampleProvenance___eq__(self, *args)
14332 def __ne__(self, *args):
14334 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14335 __ne__(SampleProvenance self, Particle d) -> bool
14337 return _IMP_core.SampleProvenance___ne__(self, *args)
14340 def __le__(self, *args):
14342 __le__(SampleProvenance self, SampleProvenance o) -> bool
14343 __le__(SampleProvenance self, Particle d) -> bool
14345 return _IMP_core.SampleProvenance___le__(self, *args)
14348 def __lt__(self, *args):
14350 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14351 __lt__(SampleProvenance self, Particle d) -> bool
14353 return _IMP_core.SampleProvenance___lt__(self, *args)
14356 def __ge__(self, *args):
14358 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14359 __ge__(SampleProvenance self, Particle d) -> bool
14361 return _IMP_core.SampleProvenance___ge__(self, *args)
14364 def __gt__(self, *args):
14366 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14367 __gt__(SampleProvenance self, Particle d) -> bool
14369 return _IMP_core.SampleProvenance___gt__(self, *args)
14372 def __hash__(self):
14373 """__hash__(SampleProvenance self) -> std::size_t"""
14374 return _IMP_core.SampleProvenance___hash__(self)
14378 """__str__(SampleProvenance self) -> std::string"""
14379 return _IMP_core.SampleProvenance___str__(self)
14382 def __repr__(self):
14383 """__repr__(SampleProvenance self) -> std::string"""
14384 return _IMP_core.SampleProvenance___repr__(self)
14386 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14387 __del__ =
lambda self:
None
14388 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14389 SampleProvenance_swigregister(SampleProvenance)
14391 def SampleProvenance_get_is_setup(*args):
14393 get_is_setup(Model m, ParticleIndex pi) -> bool
14394 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14396 return _IMP_core.SampleProvenance_get_is_setup(*args)
14398 def SampleProvenance_setup_particle(*args):
14400 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14401 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14402 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14403 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14404 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14405 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14407 return _IMP_core.SampleProvenance_setup_particle(*args)
14409 class CombineProvenance(Provenance):
14410 """Proxy of C++ IMP::core::CombineProvenance class"""
14411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14413 def set_number_of_frames(self, frames):
14414 """set_number_of_frames(CombineProvenance self, int frames)"""
14415 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14419 """get_number_of_frames(CombineProvenance self) -> int"""
14420 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14423 def set_number_of_runs(self, runs):
14424 """set_number_of_runs(CombineProvenance self, int runs)"""
14425 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14428 def get_number_of_runs(self):
14429 """get_number_of_runs(CombineProvenance self) -> int"""
14430 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14433 def __init__(self, *args):
14435 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14436 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14437 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14439 this = _IMP_core.new_CombineProvenance(*args)
14441 self.this.append(this)
14445 def get_is_setup(*args):
14447 get_is_setup(Model m, ParticleIndex pi) -> bool
14448 get_is_setup(_ParticleAdaptor p) -> bool
14450 return _IMP_core.CombineProvenance_get_is_setup(*args)
14452 get_is_setup = staticmethod(get_is_setup)
14454 def show(self, *args):
14456 show(CombineProvenance self, _ostream out)
14457 show(CombineProvenance self)
14459 return _IMP_core.CombineProvenance_show(self, *args)
14462 def setup_particle(*args):
14464 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14465 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14466 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14467 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14469 return _IMP_core.CombineProvenance_setup_particle(*args)
14471 setup_particle = staticmethod(setup_particle)
14473 def add_attribute(self, *args):
14475 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14476 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14477 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14478 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14479 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14480 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14481 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14482 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14484 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14487 def get_value(self, *args):
14489 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14490 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14491 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
14492 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
14493 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14494 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14495 get_value(CombineProvenance self, ObjectKey a0) -> Object
14497 return _IMP_core.CombineProvenance_get_value(self, *args)
14500 def set_value(self, *args):
14502 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14503 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14504 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14505 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14506 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14507 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14508 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14510 return _IMP_core.CombineProvenance_set_value(self, *args)
14513 def remove_attribute(self, *args):
14515 remove_attribute(CombineProvenance self, FloatKey a0)
14516 remove_attribute(CombineProvenance self, IntKey a0)
14517 remove_attribute(CombineProvenance self, FloatsKey a0)
14518 remove_attribute(CombineProvenance self, IntsKey a0)
14519 remove_attribute(CombineProvenance self, StringKey a0)
14520 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14521 remove_attribute(CombineProvenance self, ObjectKey a0)
14523 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14526 def has_attribute(self, *args):
14528 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14529 has_attribute(CombineProvenance self, IntKey a0) -> bool
14530 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
14531 has_attribute(CombineProvenance self, IntsKey a0) -> bool
14532 has_attribute(CombineProvenance self, StringKey a0) -> bool
14533 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14534 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14536 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14539 def get_derivative(self, a0):
14540 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14541 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14544 def get_name(self):
14545 """get_name(CombineProvenance self) -> std::string"""
14546 return _IMP_core.CombineProvenance_get_name(self)
14549 def clear_caches(self):
14550 """clear_caches(CombineProvenance self)"""
14551 return _IMP_core.CombineProvenance_clear_caches(self)
14554 def set_name(self, a0):
14555 """set_name(CombineProvenance self, std::string a0)"""
14556 return _IMP_core.CombineProvenance_set_name(self, a0)
14560 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14561 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14564 def add_to_derivative(self, a0, a1, a2):
14565 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14566 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14569 def set_is_optimized(self, a0, a1):
14570 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14571 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14574 def get_is_optimized(self, a0):
14575 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14576 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14580 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14581 return _IMP_core.CombineProvenance_get_check_level(self)
14584 def __eq__(self, *args):
14586 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14587 __eq__(CombineProvenance self, Particle d) -> bool
14589 return _IMP_core.CombineProvenance___eq__(self, *args)
14592 def __ne__(self, *args):
14594 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14595 __ne__(CombineProvenance self, Particle d) -> bool
14597 return _IMP_core.CombineProvenance___ne__(self, *args)
14600 def __le__(self, *args):
14602 __le__(CombineProvenance self, CombineProvenance o) -> bool
14603 __le__(CombineProvenance self, Particle d) -> bool
14605 return _IMP_core.CombineProvenance___le__(self, *args)
14608 def __lt__(self, *args):
14610 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14611 __lt__(CombineProvenance self, Particle d) -> bool
14613 return _IMP_core.CombineProvenance___lt__(self, *args)
14616 def __ge__(self, *args):
14618 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14619 __ge__(CombineProvenance self, Particle d) -> bool
14621 return _IMP_core.CombineProvenance___ge__(self, *args)
14624 def __gt__(self, *args):
14626 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14627 __gt__(CombineProvenance self, Particle d) -> bool
14629 return _IMP_core.CombineProvenance___gt__(self, *args)
14632 def __hash__(self):
14633 """__hash__(CombineProvenance self) -> std::size_t"""
14634 return _IMP_core.CombineProvenance___hash__(self)
14638 """__str__(CombineProvenance self) -> std::string"""
14639 return _IMP_core.CombineProvenance___str__(self)
14642 def __repr__(self):
14643 """__repr__(CombineProvenance self) -> std::string"""
14644 return _IMP_core.CombineProvenance___repr__(self)
14646 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14647 __del__ =
lambda self:
None
14648 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14649 CombineProvenance_swigregister(CombineProvenance)
14651 def CombineProvenance_get_is_setup(*args):
14653 get_is_setup(Model m, ParticleIndex pi) -> bool
14654 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14656 return _IMP_core.CombineProvenance_get_is_setup(*args)
14658 def CombineProvenance_setup_particle(*args):
14660 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14661 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14662 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14663 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14665 return _IMP_core.CombineProvenance_setup_particle(*args)
14667 class FilterProvenance(Provenance):
14668 """Proxy of C++ IMP::core::FilterProvenance class"""
14669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14671 def set_method(self, method):
14672 """set_method(FilterProvenance self, std::string method)"""
14673 return _IMP_core.FilterProvenance_set_method(self, method)
14676 def get_method(self):
14677 """get_method(FilterProvenance self) -> std::string"""
14678 return _IMP_core.FilterProvenance_get_method(self)
14681 def set_number_of_frames(self, frames):
14682 """set_number_of_frames(FilterProvenance self, int frames)"""
14683 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14687 """get_number_of_frames(FilterProvenance self) -> int"""
14688 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14691 def set_threshold(self, threshold):
14692 """set_threshold(FilterProvenance self, double threshold)"""
14693 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14696 def get_threshold(self):
14697 """get_threshold(FilterProvenance self) -> double"""
14698 return _IMP_core.FilterProvenance_get_threshold(self)
14701 def __init__(self, *args):
14703 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14704 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14705 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14707 this = _IMP_core.new_FilterProvenance(*args)
14709 self.this.append(this)
14713 def get_is_setup(*args):
14715 get_is_setup(Model m, ParticleIndex pi) -> bool
14716 get_is_setup(_ParticleAdaptor p) -> bool
14718 return _IMP_core.FilterProvenance_get_is_setup(*args)
14720 get_is_setup = staticmethod(get_is_setup)
14722 def show(self, *args):
14724 show(FilterProvenance self, _ostream out)
14725 show(FilterProvenance self)
14727 return _IMP_core.FilterProvenance_show(self, *args)
14730 def setup_particle(*args):
14732 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14733 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14734 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14735 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14737 return _IMP_core.FilterProvenance_setup_particle(*args)
14739 setup_particle = staticmethod(setup_particle)
14741 def add_attribute(self, *args):
14743 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14744 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14745 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14746 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14747 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14748 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14749 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14750 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14752 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14755 def get_value(self, *args):
14757 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14758 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14759 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
14760 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
14761 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14762 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14763 get_value(FilterProvenance self, ObjectKey a0) -> Object
14765 return _IMP_core.FilterProvenance_get_value(self, *args)
14768 def set_value(self, *args):
14770 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14771 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14772 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14773 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14774 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14775 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14776 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14778 return _IMP_core.FilterProvenance_set_value(self, *args)
14781 def remove_attribute(self, *args):
14783 remove_attribute(FilterProvenance self, FloatKey a0)
14784 remove_attribute(FilterProvenance self, IntKey a0)
14785 remove_attribute(FilterProvenance self, FloatsKey a0)
14786 remove_attribute(FilterProvenance self, IntsKey a0)
14787 remove_attribute(FilterProvenance self, StringKey a0)
14788 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14789 remove_attribute(FilterProvenance self, ObjectKey a0)
14791 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14794 def has_attribute(self, *args):
14796 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14797 has_attribute(FilterProvenance self, IntKey a0) -> bool
14798 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
14799 has_attribute(FilterProvenance self, IntsKey a0) -> bool
14800 has_attribute(FilterProvenance self, StringKey a0) -> bool
14801 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14802 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14804 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14807 def get_derivative(self, a0):
14808 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14809 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14812 def get_name(self):
14813 """get_name(FilterProvenance self) -> std::string"""
14814 return _IMP_core.FilterProvenance_get_name(self)
14817 def clear_caches(self):
14818 """clear_caches(FilterProvenance self)"""
14819 return _IMP_core.FilterProvenance_clear_caches(self)
14822 def set_name(self, a0):
14823 """set_name(FilterProvenance self, std::string a0)"""
14824 return _IMP_core.FilterProvenance_set_name(self, a0)
14828 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14829 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14832 def add_to_derivative(self, a0, a1, a2):
14833 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14834 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14837 def set_is_optimized(self, a0, a1):
14838 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14839 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14842 def get_is_optimized(self, a0):
14843 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14844 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14848 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14849 return _IMP_core.FilterProvenance_get_check_level(self)
14852 def __eq__(self, *args):
14854 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14855 __eq__(FilterProvenance self, Particle d) -> bool
14857 return _IMP_core.FilterProvenance___eq__(self, *args)
14860 def __ne__(self, *args):
14862 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14863 __ne__(FilterProvenance self, Particle d) -> bool
14865 return _IMP_core.FilterProvenance___ne__(self, *args)
14868 def __le__(self, *args):
14870 __le__(FilterProvenance self, FilterProvenance o) -> bool
14871 __le__(FilterProvenance self, Particle d) -> bool
14873 return _IMP_core.FilterProvenance___le__(self, *args)
14876 def __lt__(self, *args):
14878 __lt__(FilterProvenance self, FilterProvenance o) -> bool
14879 __lt__(FilterProvenance self, Particle d) -> bool
14881 return _IMP_core.FilterProvenance___lt__(self, *args)
14884 def __ge__(self, *args):
14886 __ge__(FilterProvenance self, FilterProvenance o) -> bool
14887 __ge__(FilterProvenance self, Particle d) -> bool
14889 return _IMP_core.FilterProvenance___ge__(self, *args)
14892 def __gt__(self, *args):
14894 __gt__(FilterProvenance self, FilterProvenance o) -> bool
14895 __gt__(FilterProvenance self, Particle d) -> bool
14897 return _IMP_core.FilterProvenance___gt__(self, *args)
14900 def __hash__(self):
14901 """__hash__(FilterProvenance self) -> std::size_t"""
14902 return _IMP_core.FilterProvenance___hash__(self)
14906 """__str__(FilterProvenance self) -> std::string"""
14907 return _IMP_core.FilterProvenance___str__(self)
14910 def __repr__(self):
14911 """__repr__(FilterProvenance self) -> std::string"""
14912 return _IMP_core.FilterProvenance___repr__(self)
14914 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14915 __del__ =
lambda self:
None
14916 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
14917 FilterProvenance_swigregister(FilterProvenance)
14919 def FilterProvenance_get_is_setup(*args):
14921 get_is_setup(Model m, ParticleIndex pi) -> bool
14922 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14924 return _IMP_core.FilterProvenance_get_is_setup(*args)
14926 def FilterProvenance_setup_particle(*args):
14928 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14929 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14930 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14931 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14933 return _IMP_core.FilterProvenance_setup_particle(*args)
14935 class ClusterProvenance(Provenance):
14936 """Proxy of C++ IMP::core::ClusterProvenance class"""
14937 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14939 def set_number_of_members(self, members):
14940 """set_number_of_members(ClusterProvenance self, int members)"""
14941 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14944 def get_number_of_members(self):
14945 """get_number_of_members(ClusterProvenance self) -> int"""
14946 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14949 def set_precision(self, precision):
14950 """set_precision(ClusterProvenance self, double precision)"""
14951 return _IMP_core.ClusterProvenance_set_precision(self, precision)
14954 def get_precision(self):
14955 """get_precision(ClusterProvenance self) -> double"""
14956 return _IMP_core.ClusterProvenance_get_precision(self)
14959 def set_density(self, density):
14960 """set_density(ClusterProvenance self, std::string density)"""
14961 return _IMP_core.ClusterProvenance_set_density(self, density)
14964 def get_density(self):
14965 """get_density(ClusterProvenance self) -> std::string"""
14966 return _IMP_core.ClusterProvenance_get_density(self)
14969 def __init__(self, *args):
14971 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
14972 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14973 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14975 this = _IMP_core.new_ClusterProvenance(*args)
14977 self.this.append(this)
14981 def get_is_setup(*args):
14983 get_is_setup(Model m, ParticleIndex pi) -> bool
14984 get_is_setup(_ParticleAdaptor p) -> bool
14986 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14988 get_is_setup = staticmethod(get_is_setup)
14990 def show(self, *args):
14992 show(ClusterProvenance self, _ostream out)
14993 show(ClusterProvenance self)
14995 return _IMP_core.ClusterProvenance_show(self, *args)
14998 def setup_particle(*args):
15000 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15001 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15002 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15003 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15004 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15005 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15006 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15007 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15009 return _IMP_core.ClusterProvenance_setup_particle(*args)
15011 setup_particle = staticmethod(setup_particle)
15013 def add_attribute(self, *args):
15015 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
15016 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15017 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
15018 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15019 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15020 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
15021 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15022 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
15024 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
15027 def get_value(self, *args):
15029 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
15030 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
15031 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
15032 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
15033 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
15034 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
15035 get_value(ClusterProvenance self, ObjectKey a0) -> Object
15037 return _IMP_core.ClusterProvenance_get_value(self, *args)
15040 def set_value(self, *args):
15042 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15043 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
15044 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15045 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15046 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
15047 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15048 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
15050 return _IMP_core.ClusterProvenance_set_value(self, *args)
15053 def remove_attribute(self, *args):
15055 remove_attribute(ClusterProvenance self, FloatKey a0)
15056 remove_attribute(ClusterProvenance self, IntKey a0)
15057 remove_attribute(ClusterProvenance self, FloatsKey a0)
15058 remove_attribute(ClusterProvenance self, IntsKey a0)
15059 remove_attribute(ClusterProvenance self, StringKey a0)
15060 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
15061 remove_attribute(ClusterProvenance self, ObjectKey a0)
15063 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
15066 def has_attribute(self, *args):
15068 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
15069 has_attribute(ClusterProvenance self, IntKey a0) -> bool
15070 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
15071 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
15072 has_attribute(ClusterProvenance self, StringKey a0) -> bool
15073 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
15074 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
15076 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
15079 def get_derivative(self, a0):
15080 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
15081 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
15084 def get_name(self):
15085 """get_name(ClusterProvenance self) -> std::string"""
15086 return _IMP_core.ClusterProvenance_get_name(self)
15089 def clear_caches(self):
15090 """clear_caches(ClusterProvenance self)"""
15091 return _IMP_core.ClusterProvenance_clear_caches(self)
15094 def set_name(self, a0):
15095 """set_name(ClusterProvenance self, std::string a0)"""
15096 return _IMP_core.ClusterProvenance_set_name(self, a0)
15100 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
15101 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
15104 def add_to_derivative(self, a0, a1, a2):
15105 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15106 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
15109 def set_is_optimized(self, a0, a1):
15110 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
15111 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
15114 def get_is_optimized(self, a0):
15115 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
15116 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
15120 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
15121 return _IMP_core.ClusterProvenance_get_check_level(self)
15124 def __eq__(self, *args):
15126 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
15127 __eq__(ClusterProvenance self, Particle d) -> bool
15129 return _IMP_core.ClusterProvenance___eq__(self, *args)
15132 def __ne__(self, *args):
15134 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
15135 __ne__(ClusterProvenance self, Particle d) -> bool
15137 return _IMP_core.ClusterProvenance___ne__(self, *args)
15140 def __le__(self, *args):
15142 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
15143 __le__(ClusterProvenance self, Particle d) -> bool
15145 return _IMP_core.ClusterProvenance___le__(self, *args)
15148 def __lt__(self, *args):
15150 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
15151 __lt__(ClusterProvenance self, Particle d) -> bool
15153 return _IMP_core.ClusterProvenance___lt__(self, *args)
15156 def __ge__(self, *args):
15158 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
15159 __ge__(ClusterProvenance self, Particle d) -> bool
15161 return _IMP_core.ClusterProvenance___ge__(self, *args)
15164 def __gt__(self, *args):
15166 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
15167 __gt__(ClusterProvenance self, Particle d) -> bool
15169 return _IMP_core.ClusterProvenance___gt__(self, *args)
15172 def __hash__(self):
15173 """__hash__(ClusterProvenance self) -> std::size_t"""
15174 return _IMP_core.ClusterProvenance___hash__(self)
15178 """__str__(ClusterProvenance self) -> std::string"""
15179 return _IMP_core.ClusterProvenance___str__(self)
15182 def __repr__(self):
15183 """__repr__(ClusterProvenance self) -> std::string"""
15184 return _IMP_core.ClusterProvenance___repr__(self)
15186 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
15187 __del__ =
lambda self:
None
15188 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
15189 ClusterProvenance_swigregister(ClusterProvenance)
15191 def ClusterProvenance_get_is_setup(*args):
15193 get_is_setup(Model m, ParticleIndex pi) -> bool
15194 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15196 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15198 def ClusterProvenance_setup_particle(*args):
15200 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15201 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15202 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15203 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15204 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15205 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15206 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15207 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15209 return _IMP_core.ClusterProvenance_setup_particle(*args)
15211 class ScriptProvenance(Provenance):
15212 """Proxy of C++ IMP::core::ScriptProvenance class"""
15213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15215 def set_filename(self, filename):
15216 """set_filename(ScriptProvenance self, std::string filename)"""
15217 return _IMP_core.ScriptProvenance_set_filename(self, filename)
15220 def get_filename(self):
15221 """get_filename(ScriptProvenance self) -> std::string"""
15222 return _IMP_core.ScriptProvenance_get_filename(self)
15225 def __init__(self, *args):
15227 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
15228 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
15229 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
15231 this = _IMP_core.new_ScriptProvenance(*args)
15233 self.this.append(this)
15237 def get_is_setup(*args):
15239 get_is_setup(Model m, ParticleIndex pi) -> bool
15240 get_is_setup(_ParticleAdaptor p) -> bool
15242 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15244 get_is_setup = staticmethod(get_is_setup)
15246 def show(self, *args):
15248 show(ScriptProvenance self, _ostream out)
15249 show(ScriptProvenance self)
15251 return _IMP_core.ScriptProvenance_show(self, *args)
15254 def setup_particle(*args):
15256 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15257 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15258 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15259 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15261 return _IMP_core.ScriptProvenance_setup_particle(*args)
15263 setup_particle = staticmethod(setup_particle)
15265 def add_attribute(self, *args):
15267 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15268 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15269 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15270 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15271 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15272 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15273 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15274 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15276 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15279 def get_value(self, *args):
15281 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15282 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15283 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
15284 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
15285 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15286 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15287 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15289 return _IMP_core.ScriptProvenance_get_value(self, *args)
15292 def set_value(self, *args):
15294 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15295 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15296 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15297 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15298 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15299 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15300 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15302 return _IMP_core.ScriptProvenance_set_value(self, *args)
15305 def remove_attribute(self, *args):
15307 remove_attribute(ScriptProvenance self, FloatKey a0)
15308 remove_attribute(ScriptProvenance self, IntKey a0)
15309 remove_attribute(ScriptProvenance self, FloatsKey a0)
15310 remove_attribute(ScriptProvenance self, IntsKey a0)
15311 remove_attribute(ScriptProvenance self, StringKey a0)
15312 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15313 remove_attribute(ScriptProvenance self, ObjectKey a0)
15315 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15318 def has_attribute(self, *args):
15320 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15321 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15322 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
15323 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
15324 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15325 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15326 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15328 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15331 def get_derivative(self, a0):
15332 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15333 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15336 def get_name(self):
15337 """get_name(ScriptProvenance self) -> std::string"""
15338 return _IMP_core.ScriptProvenance_get_name(self)
15341 def clear_caches(self):
15342 """clear_caches(ScriptProvenance self)"""
15343 return _IMP_core.ScriptProvenance_clear_caches(self)
15346 def set_name(self, a0):
15347 """set_name(ScriptProvenance self, std::string a0)"""
15348 return _IMP_core.ScriptProvenance_set_name(self, a0)
15352 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15353 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15356 def add_to_derivative(self, a0, a1, a2):
15357 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15358 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15361 def set_is_optimized(self, a0, a1):
15362 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15363 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15366 def get_is_optimized(self, a0):
15367 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15368 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15372 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15373 return _IMP_core.ScriptProvenance_get_check_level(self)
15376 def __eq__(self, *args):
15378 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15379 __eq__(ScriptProvenance self, Particle d) -> bool
15381 return _IMP_core.ScriptProvenance___eq__(self, *args)
15384 def __ne__(self, *args):
15386 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15387 __ne__(ScriptProvenance self, Particle d) -> bool
15389 return _IMP_core.ScriptProvenance___ne__(self, *args)
15392 def __le__(self, *args):
15394 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15395 __le__(ScriptProvenance self, Particle d) -> bool
15397 return _IMP_core.ScriptProvenance___le__(self, *args)
15400 def __lt__(self, *args):
15402 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15403 __lt__(ScriptProvenance self, Particle d) -> bool
15405 return _IMP_core.ScriptProvenance___lt__(self, *args)
15408 def __ge__(self, *args):
15410 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15411 __ge__(ScriptProvenance self, Particle d) -> bool
15413 return _IMP_core.ScriptProvenance___ge__(self, *args)
15416 def __gt__(self, *args):
15418 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15419 __gt__(ScriptProvenance self, Particle d) -> bool
15421 return _IMP_core.ScriptProvenance___gt__(self, *args)
15424 def __hash__(self):
15425 """__hash__(ScriptProvenance self) -> std::size_t"""
15426 return _IMP_core.ScriptProvenance___hash__(self)
15430 """__str__(ScriptProvenance self) -> std::string"""
15431 return _IMP_core.ScriptProvenance___str__(self)
15434 def __repr__(self):
15435 """__repr__(ScriptProvenance self) -> std::string"""
15436 return _IMP_core.ScriptProvenance___repr__(self)
15438 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15439 __del__ =
lambda self:
None
15440 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15441 ScriptProvenance_swigregister(ScriptProvenance)
15443 def ScriptProvenance_get_is_setup(*args):
15445 get_is_setup(Model m, ParticleIndex pi) -> bool
15446 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15448 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15450 def ScriptProvenance_setup_particle(*args):
15452 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15453 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15454 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15455 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15457 return _IMP_core.ScriptProvenance_setup_particle(*args)
15459 class SoftwareProvenance(Provenance):
15460 """Proxy of C++ IMP::core::SoftwareProvenance class"""
15461 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15463 def set_software_name(self, name):
15464 """set_software_name(SoftwareProvenance self, std::string name)"""
15465 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15468 def get_software_name(self):
15469 """get_software_name(SoftwareProvenance self) -> std::string"""
15470 return _IMP_core.SoftwareProvenance_get_software_name(self)
15473 def set_version(self, version):
15474 """set_version(SoftwareProvenance self, std::string version)"""
15475 return _IMP_core.SoftwareProvenance_set_version(self, version)
15478 def get_version(self):
15479 """get_version(SoftwareProvenance self) -> std::string"""
15480 return _IMP_core.SoftwareProvenance_get_version(self)
15483 def set_location(self, location):
15484 """set_location(SoftwareProvenance self, std::string location)"""
15485 return _IMP_core.SoftwareProvenance_set_location(self, location)
15488 def get_location(self):
15489 """get_location(SoftwareProvenance self) -> std::string"""
15490 return _IMP_core.SoftwareProvenance_get_location(self)
15493 def __init__(self, *args):
15495 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15496 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15497 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15499 this = _IMP_core.new_SoftwareProvenance(*args)
15501 self.this.append(this)
15505 def get_is_setup(*args):
15507 get_is_setup(Model m, ParticleIndex pi) -> bool
15508 get_is_setup(_ParticleAdaptor p) -> bool
15510 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15512 get_is_setup = staticmethod(get_is_setup)
15514 def show(self, *args):
15516 show(SoftwareProvenance self, _ostream out)
15517 show(SoftwareProvenance self)
15519 return _IMP_core.SoftwareProvenance_show(self, *args)
15522 def setup_particle(*args):
15524 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15525 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15526 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15527 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15529 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15531 setup_particle = staticmethod(setup_particle)
15533 def add_attribute(self, *args):
15535 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15536 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15537 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15538 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15539 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15540 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15541 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15542 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15544 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15547 def get_value(self, *args):
15549 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15550 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15551 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
15552 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
15553 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15554 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15555 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15557 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15560 def set_value(self, *args):
15562 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15563 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15564 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15565 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15566 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15567 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15568 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15570 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15573 def remove_attribute(self, *args):
15575 remove_attribute(SoftwareProvenance self, FloatKey a0)
15576 remove_attribute(SoftwareProvenance self, IntKey a0)
15577 remove_attribute(SoftwareProvenance self, FloatsKey a0)
15578 remove_attribute(SoftwareProvenance self, IntsKey a0)
15579 remove_attribute(SoftwareProvenance self, StringKey a0)
15580 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15581 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15583 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15586 def has_attribute(self, *args):
15588 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15589 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15590 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
15591 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
15592 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15593 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15594 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15596 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15599 def get_derivative(self, a0):
15600 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15601 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15604 def get_name(self):
15605 """get_name(SoftwareProvenance self) -> std::string"""
15606 return _IMP_core.SoftwareProvenance_get_name(self)
15609 def clear_caches(self):
15610 """clear_caches(SoftwareProvenance self)"""
15611 return _IMP_core.SoftwareProvenance_clear_caches(self)
15614 def set_name(self, a0):
15615 """set_name(SoftwareProvenance self, std::string a0)"""
15616 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15620 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15621 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15624 def add_to_derivative(self, a0, a1, a2):
15625 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15626 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15629 def set_is_optimized(self, a0, a1):
15630 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15631 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15634 def get_is_optimized(self, a0):
15635 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15636 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15640 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15641 return _IMP_core.SoftwareProvenance_get_check_level(self)
15644 def __eq__(self, *args):
15646 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15647 __eq__(SoftwareProvenance self, Particle d) -> bool
15649 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15652 def __ne__(self, *args):
15654 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15655 __ne__(SoftwareProvenance self, Particle d) -> bool
15657 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15660 def __le__(self, *args):
15662 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15663 __le__(SoftwareProvenance self, Particle d) -> bool
15665 return _IMP_core.SoftwareProvenance___le__(self, *args)
15668 def __lt__(self, *args):
15670 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15671 __lt__(SoftwareProvenance self, Particle d) -> bool
15673 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15676 def __ge__(self, *args):
15678 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15679 __ge__(SoftwareProvenance self, Particle d) -> bool
15681 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15684 def __gt__(self, *args):
15686 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15687 __gt__(SoftwareProvenance self, Particle d) -> bool
15689 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15692 def __hash__(self):
15693 """__hash__(SoftwareProvenance self) -> std::size_t"""
15694 return _IMP_core.SoftwareProvenance___hash__(self)
15698 """__str__(SoftwareProvenance self) -> std::string"""
15699 return _IMP_core.SoftwareProvenance___str__(self)
15702 def __repr__(self):
15703 """__repr__(SoftwareProvenance self) -> std::string"""
15704 return _IMP_core.SoftwareProvenance___repr__(self)
15706 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15707 __del__ =
lambda self:
None
15708 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15709 SoftwareProvenance_swigregister(SoftwareProvenance)
15711 def SoftwareProvenance_get_is_setup(*args):
15713 get_is_setup(Model m, ParticleIndex pi) -> bool
15714 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15716 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15718 def SoftwareProvenance_setup_particle(*args):
15720 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15721 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15722 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15723 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15725 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15728 """Proxy of C++ IMP::core::Provenanced class"""
15729 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15731 def get_provenance(self):
15732 """get_provenance(Provenanced self) -> Provenance"""
15733 return _IMP_core.Provenanced_get_provenance(self)
15736 def set_provenance(self, p):
15737 """set_provenance(Provenanced self, Provenance p)"""
15738 return _IMP_core.Provenanced_set_provenance(self, p)
15741 def __init__(self, *args):
15743 __init__(IMP::core::Provenanced self) -> Provenanced
15744 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15745 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15747 this = _IMP_core.new_Provenanced(*args)
15749 self.this.append(this)
15753 def get_is_setup(*args):
15755 get_is_setup(Model m, ParticleIndex pi) -> bool
15756 get_is_setup(_ParticleAdaptor p) -> bool
15758 return _IMP_core.Provenanced_get_is_setup(*args)
15760 get_is_setup = staticmethod(get_is_setup)
15762 def show(self, *args):
15764 show(Provenanced self, _ostream out)
15765 show(Provenanced self)
15767 return _IMP_core.Provenanced_show(self, *args)
15770 def setup_particle(*args):
15772 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15773 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15775 return _IMP_core.Provenanced_setup_particle(*args)
15777 setup_particle = staticmethod(setup_particle)
15779 def add_attribute(self, *args):
15781 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15782 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15783 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15784 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
15785 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
15786 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15787 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15788 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15790 return _IMP_core.Provenanced_add_attribute(self, *args)
15793 def get_value(self, *args):
15795 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15796 get_value(Provenanced self, IntKey a0) -> IMP::Int
15797 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
15798 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
15799 get_value(Provenanced self, StringKey a0) -> IMP::String
15800 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15801 get_value(Provenanced self, ObjectKey a0) -> Object
15803 return _IMP_core.Provenanced_get_value(self, *args)
15806 def set_value(self, *args):
15808 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15809 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15810 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
15811 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
15812 set_value(Provenanced self, StringKey a0, IMP::String a1)
15813 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15814 set_value(Provenanced self, ObjectKey a0, Object a1)
15816 return _IMP_core.Provenanced_set_value(self, *args)
15819 def remove_attribute(self, *args):
15821 remove_attribute(Provenanced self, FloatKey a0)
15822 remove_attribute(Provenanced self, IntKey a0)
15823 remove_attribute(Provenanced self, FloatsKey a0)
15824 remove_attribute(Provenanced self, IntsKey a0)
15825 remove_attribute(Provenanced self, StringKey a0)
15826 remove_attribute(Provenanced self, ParticleIndexKey a0)
15827 remove_attribute(Provenanced self, ObjectKey a0)
15829 return _IMP_core.Provenanced_remove_attribute(self, *args)
15832 def has_attribute(self, *args):
15834 has_attribute(Provenanced self, FloatKey a0) -> bool
15835 has_attribute(Provenanced self, IntKey a0) -> bool
15836 has_attribute(Provenanced self, FloatsKey a0) -> bool
15837 has_attribute(Provenanced self, IntsKey a0) -> bool
15838 has_attribute(Provenanced self, StringKey a0) -> bool
15839 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15840 has_attribute(Provenanced self, ObjectKey a0) -> bool
15842 return _IMP_core.Provenanced_has_attribute(self, *args)
15845 def get_derivative(self, a0):
15846 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15847 return _IMP_core.Provenanced_get_derivative(self, a0)
15850 def get_name(self):
15851 """get_name(Provenanced self) -> std::string"""
15852 return _IMP_core.Provenanced_get_name(self)
15855 def clear_caches(self):
15856 """clear_caches(Provenanced self)"""
15857 return _IMP_core.Provenanced_clear_caches(self)
15860 def set_name(self, a0):
15861 """set_name(Provenanced self, std::string a0)"""
15862 return _IMP_core.Provenanced_set_name(self, a0)
15866 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
15867 return _IMP_core.Provenanced_set_check_level(self, a0)
15870 def add_to_derivative(self, a0, a1, a2):
15871 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15872 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
15875 def set_is_optimized(self, a0, a1):
15876 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
15877 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
15880 def get_is_optimized(self, a0):
15881 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
15882 return _IMP_core.Provenanced_get_is_optimized(self, a0)
15886 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
15887 return _IMP_core.Provenanced_get_check_level(self)
15890 def __eq__(self, *args):
15892 __eq__(Provenanced self, Provenanced o) -> bool
15893 __eq__(Provenanced self, Particle d) -> bool
15895 return _IMP_core.Provenanced___eq__(self, *args)
15898 def __ne__(self, *args):
15900 __ne__(Provenanced self, Provenanced o) -> bool
15901 __ne__(Provenanced self, Particle d) -> bool
15903 return _IMP_core.Provenanced___ne__(self, *args)
15906 def __le__(self, *args):
15908 __le__(Provenanced self, Provenanced o) -> bool
15909 __le__(Provenanced self, Particle d) -> bool
15911 return _IMP_core.Provenanced___le__(self, *args)
15914 def __lt__(self, *args):
15916 __lt__(Provenanced self, Provenanced o) -> bool
15917 __lt__(Provenanced self, Particle d) -> bool
15919 return _IMP_core.Provenanced___lt__(self, *args)
15922 def __ge__(self, *args):
15924 __ge__(Provenanced self, Provenanced o) -> bool
15925 __ge__(Provenanced self, Particle d) -> bool
15927 return _IMP_core.Provenanced___ge__(self, *args)
15930 def __gt__(self, *args):
15932 __gt__(Provenanced self, Provenanced o) -> bool
15933 __gt__(Provenanced self, Particle d) -> bool
15935 return _IMP_core.Provenanced___gt__(self, *args)
15938 def __hash__(self):
15939 """__hash__(Provenanced self) -> std::size_t"""
15940 return _IMP_core.Provenanced___hash__(self)
15944 """__str__(Provenanced self) -> std::string"""
15945 return _IMP_core.Provenanced___str__(self)
15948 def __repr__(self):
15949 """__repr__(Provenanced self) -> std::string"""
15950 return _IMP_core.Provenanced___repr__(self)
15952 __swig_destroy__ = _IMP_core.delete_Provenanced
15953 __del__ =
lambda self:
None
15954 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
15955 Provenanced_swigregister(Provenanced)
15957 def Provenanced_get_is_setup(*args):
15959 get_is_setup(Model m, ParticleIndex pi) -> bool
15960 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
15962 return _IMP_core.Provenanced_get_is_setup(*args)
15964 def Provenanced_setup_particle(*args):
15966 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15967 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15969 return _IMP_core.Provenanced_setup_particle(*args)
15973 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
15974 return _IMP_core.add_provenance(m, pi, p)
15977 """create_clone(Provenance p) -> Provenance"""
15978 return _IMP_core.create_clone(p)
15982 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15983 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
15984 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
15986 return _IMP_core.get_transformation_aligning_first_to_second(*args)
15989 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
15990 return _IMP_core.create_restraint(ps, pp)
15992 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
15993 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15995 def __init__(self, *args):
15997 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
15998 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
16000 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
16002 self.this.append(this)
16006 def get_version_info(self):
16007 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
16008 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
16012 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
16013 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
16016 def __repr__(self):
16017 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
16018 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
16023 return _object_cast_to_TruncatedHarmonic(o)
16025 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
16026 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
16029 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
16030 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16032 def __init__(self, *args):
16034 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
16035 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
16037 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
16039 self.this.append(this)
16043 def get_version_info(self):
16044 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
16045 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
16049 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
16050 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
16053 def __repr__(self):
16054 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
16055 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
16060 return _object_cast_to_TruncatedHarmonic(o)
16062 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
16063 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
16066 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
16067 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16069 def __init__(self, *args):
16071 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
16072 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
16074 this = _IMP_core.new_TruncatedHarmonicBound(*args)
16076 self.this.append(this)
16080 def get_version_info(self):
16081 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
16082 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
16086 """__str__(TruncatedHarmonicBound self) -> std::string"""
16087 return _IMP_core.TruncatedHarmonicBound___str__(self)
16090 def __repr__(self):
16091 """__repr__(TruncatedHarmonicBound self) -> std::string"""
16092 return _IMP_core.TruncatedHarmonicBound___repr__(self)
16097 return _object_cast_to_TruncatedHarmonic(o)
16099 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
16100 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
16103 """Proxy of C++ IMP::Key<(34897493)> class"""
16104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16106 def __init__(self, *args):
16108 __init__(IMP::Key<(34897493)> self) -> ParticleType
16109 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
16110 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
16111 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
16113 this = _IMP_core.new_ParticleType(*args)
16115 self.this.append(this)
16120 """add_key(std::string sc) -> unsigned int"""
16121 return _IMP_core.ParticleType_add_key(sc)
16123 add_key = staticmethod(add_key)
16125 def get_key_exists(sc):
16126 """get_key_exists(std::string sc) -> bool"""
16127 return _IMP_core.ParticleType_get_key_exists(sc)
16129 get_key_exists = staticmethod(get_key_exists)
16131 def get_string(self):
16132 """get_string(ParticleType self) -> std::string const"""
16133 return _IMP_core.ParticleType_get_string(self)
16136 def __cmp__(self, o):
16137 """__cmp__(ParticleType self, ParticleType o) -> int"""
16138 return _IMP_core.ParticleType___cmp__(self, o)
16141 def __eq__(self, o):
16142 """__eq__(ParticleType self, ParticleType o) -> bool"""
16143 return _IMP_core.ParticleType___eq__(self, o)
16146 def __ne__(self, o):
16147 """__ne__(ParticleType self, ParticleType o) -> bool"""
16148 return _IMP_core.ParticleType___ne__(self, o)
16151 def __lt__(self, o):
16152 """__lt__(ParticleType self, ParticleType o) -> bool"""
16153 return _IMP_core.ParticleType___lt__(self, o)
16156 def __gt__(self, o):
16157 """__gt__(ParticleType self, ParticleType o) -> bool"""
16158 return _IMP_core.ParticleType___gt__(self, o)
16161 def __ge__(self, o):
16162 """__ge__(ParticleType self, ParticleType o) -> bool"""
16163 return _IMP_core.ParticleType___ge__(self, o)
16166 def __le__(self, o):
16167 """__le__(ParticleType self, ParticleType o) -> bool"""
16168 return _IMP_core.ParticleType___le__(self, o)
16171 def __hash__(self):
16172 """__hash__(ParticleType self) -> std::size_t"""
16173 return _IMP_core.ParticleType___hash__(self)
16176 def show(self, *args):
16178 show(ParticleType self, _ostream out)
16179 show(ParticleType self)
16181 return _IMP_core.ParticleType_show(self, *args)
16184 def add_alias(old_key, new_name):
16185 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16186 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16188 add_alias = staticmethod(add_alias)
16190 def get_number_of_keys():
16191 """get_number_of_keys() -> unsigned int"""
16192 return _IMP_core.ParticleType_get_number_of_keys()
16194 get_number_of_keys = staticmethod(get_number_of_keys)
16197 """get_index(ParticleType self) -> unsigned int"""
16198 return _IMP_core.ParticleType_get_index(self)
16202 """show_all(_ostream out)"""
16203 return _IMP_core.ParticleType_show_all(out)
16205 show_all = staticmethod(show_all)
16207 def get_all_strings():
16208 """get_all_strings() -> IMP::Vector< std::string >"""
16209 return _IMP_core.ParticleType_get_all_strings()
16211 get_all_strings = staticmethod(get_all_strings)
16213 def get_number_unique():
16214 """get_number_unique() -> unsigned int"""
16215 return _IMP_core.ParticleType_get_number_unique()
16217 get_number_unique = staticmethod(get_number_unique)
16220 """__str__(ParticleType self) -> std::string"""
16221 return _IMP_core.ParticleType___str__(self)
16224 def __repr__(self):
16225 """__repr__(ParticleType self) -> std::string"""
16226 return _IMP_core.ParticleType___repr__(self)
16228 __swig_destroy__ = _IMP_core.delete_ParticleType
16229 __del__ =
lambda self:
None
16230 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
16231 ParticleType_swigregister(ParticleType)
16233 def ParticleType_add_key(sc):
16234 """ParticleType_add_key(std::string sc) -> unsigned int"""
16235 return _IMP_core.ParticleType_add_key(sc)
16237 def ParticleType_get_key_exists(sc):
16238 """ParticleType_get_key_exists(std::string sc) -> bool"""
16239 return _IMP_core.ParticleType_get_key_exists(sc)
16241 def ParticleType_add_alias(old_key, new_name):
16242 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16243 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16245 def ParticleType_get_number_of_keys():
16246 """ParticleType_get_number_of_keys() -> unsigned int"""
16247 return _IMP_core.ParticleType_get_number_of_keys()
16249 def ParticleType_show_all(out):
16250 """ParticleType_show_all(_ostream out)"""
16251 return _IMP_core.ParticleType_show_all(out)
16253 def ParticleType_get_all_strings():
16254 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
16255 return _IMP_core.ParticleType_get_all_strings()
16257 def ParticleType_get_number_unique():
16258 """ParticleType_get_number_unique() -> unsigned int"""
16259 return _IMP_core.ParticleType_get_number_unique()
16262 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
16263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16264 __repr__ = _swig_repr
16266 def __init__(self, f, k):
16267 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16268 this = _IMP_core.new_AttributeSingletonScore(f, k)
16270 self.this.append(this)
16274 def do_get_inputs(self, m, pis):
16275 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16276 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16279 def get_unary_function(self):
16280 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16281 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16284 def get_version_info(self):
16285 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16286 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16288 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16289 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16293 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16294 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16296 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
16297 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16298 __repr__ = _swig_repr
16300 def __init__(self, f, bb):
16301 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16302 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16304 self.this.append(this)
16308 def do_get_inputs(self, m, pis):
16309 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16310 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16313 def get_version_info(self):
16314 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16315 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16317 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16318 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16321 def create_bounding_box_3d_singleton_score(f, bb):
16322 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16323 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16325 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class"""
16326 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16327 __repr__ = _swig_repr
16329 def __init__(self, f, sphere):
16330 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16331 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16333 self.this.append(this)
16337 def do_get_inputs(self, m, pis):
16338 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16339 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16342 def get_version_info(self):
16343 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16344 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16346 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16347 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16350 def create_bounding_sphere_3d_singleton_score(f, sphere):
16351 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16352 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16354 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
16355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16356 __repr__ = _swig_repr
16358 def __init__(self, f, pt):
16359 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16360 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16362 self.this.append(this)
16366 def do_get_inputs(self, m, pis):
16367 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16368 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16371 def get_version_info(self):
16372 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16373 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16375 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16376 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16379 def create_distance_to_singleton_score(f, pt):
16380 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16381 return _IMP_core.create_distance_to_singleton_score(f, pt)
16385 CombineProvenance, FilterProvenance,
16386 ClusterProvenance, ScriptProvenance,
16387 SoftwareProvenance]):
16388 """Yield all provenance decorators of the given types for the particle.
16389 By default, all provenance types are returned. Provenance is returned
16390 in order, most recent first. If the particle has no provenance
16391 information, an empty generator is returned."""
16392 if Provenanced.get_is_setup(p):
16396 if c.get_is_setup(prov):
16398 prov = prov.get_previous()
16401 """Tag the given particle with the current Python script.
16402 This is a noop if the particle is already so tagged."""
16403 main = sys.modules[
'__main__']
16405 if not hasattr(main,
'__file__'):
16409 if prov.get_filename() == f:
16413 provp.set_name(
'script')
16414 prov = ScriptProvenance.setup_particle(provp, f)
16418 """Tag the given particle with the software used to create it.
16419 This is a noop if the particle is already so tagged."""
16421 if prov.get_software_name() == name
and prov.get_version() == version \
16422 and prov.get_location() == location:
16426 provp.set_name(
'software')
16427 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16431 """Tag the given particle as being created by the current version of IMP."""
16434 location=
"https://integrativemodeling.org")
16438 """get_module_version() -> std::string const"""
16439 return _IMP_core.get_module_version()
16442 """get_example_path(std::string fname) -> std::string"""
16443 return _IMP_core.get_example_path(fname)
16446 """get_data_path(std::string fname) -> std::string"""
16447 return _IMP_core.get_data_path(fname)
16449 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.