11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
28 _IMP_core = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_CORE_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_CORE_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_CORE_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
91 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
95 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
96 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
98 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
102 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
103 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
105 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
113 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, *args)
116 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
117 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
120 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
121 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
124 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
125 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
128 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
129 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
133 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
137 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
141 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
145 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
149 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
153 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
158 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
164 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
171 IMP_DEBUG = _IMP_core.IMP_DEBUG
172 IMP_RELEASE = _IMP_core.IMP_RELEASE
173 IMP_SILENT = _IMP_core.IMP_SILENT
174 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
175 IMP_TERSE = _IMP_core.IMP_TERSE
176 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
177 IMP_MEMORY = _IMP_core.IMP_MEMORY
178 IMP_NONE = _IMP_core.IMP_NONE
179 IMP_USAGE = _IMP_core.IMP_USAGE
180 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_core.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_core.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_core.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_core.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_core.DEFAULT_CHECK
216 NONE = _IMP_core.NONE
217 USAGE = _IMP_core.USAGE
218 USAGE_AND_INTERNAL = _IMP_core.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_core.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_core.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_core._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_core._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_core.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_core.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_core.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_core.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
286 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
287 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
288 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
289 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
290 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
292 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
293 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
294 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
295 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
297 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
298 __swig_setmethods__ = {}
300 __setattr__ =
lambda self, name, value: _swig_setattr(self, _OpenCubicSplineBase, name, value)
301 __swig_getmethods__ = {}
303 __getattr__ =
lambda self, name: _swig_getattr(self, _OpenCubicSplineBase, name)
304 __repr__ = _swig_repr
305 def __init__(self, *args):
307 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
308 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
310 this = _IMP_core.new__OpenCubicSplineBase(*args)
311 try: self.this.append(this)
312 except: self.this = this
313 def get_version_info(self):
314 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
315 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
317 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
318 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
320 _object_types.append(
"MonteCarloMover")
323 def _object_cast_to_MonteCarloMover(*args):
324 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
325 return _IMP_core._object_cast_to_MonteCarloMover(*args)
326 MonteCarloMoverResults=list
327 _plural_types.append(
"MonteCarloMoverResults")
328 _value_types.append(
"MonteCarloMoverResult")
330 _object_types.append(
"AngleRestraint")
333 def _object_cast_to_AngleRestraint(*args):
334 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
335 return _IMP_core._object_cast_to_AngleRestraint(*args)
336 _object_types.append(
"AngleTripletScore")
339 def _object_cast_to_AngleTripletScore(*args):
340 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
341 return _IMP_core._object_cast_to_AngleTripletScore(*args)
342 _object_types.append(
"AttributeSingletonScore")
345 def _object_cast_to_AttributeSingletonScore(*args):
346 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
347 return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
348 _object_types.append(
"BallMover")
351 def _object_cast_to_BallMover(*args):
352 """_object_cast_to_BallMover(Object o) -> BallMover"""
353 return _IMP_core._object_cast_to_BallMover(*args)
354 _object_types.append(
"SerialMover")
357 def _object_cast_to_SerialMover(*args):
358 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
359 return _IMP_core._object_cast_to_SerialMover(*args)
360 _object_types.append(
"BoundingBox3DSingletonScore")
363 def _object_cast_to_BoundingBox3DSingletonScore(*args):
364 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
365 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
366 _object_types.append(
"BoxSweepClosePairsFinder")
369 def _object_cast_to_BoxSweepClosePairsFinder(*args):
370 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
371 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
372 _object_types.append(
"NearestNeighborsClosePairsFinder")
375 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
376 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
377 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
378 _object_types.append(
"CentroidOfRefined")
381 def _object_cast_to_CentroidOfRefined(*args):
382 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
383 return _IMP_core._object_cast_to_CentroidOfRefined(*args)
384 _object_types.append(
"ChecksScoreState")
387 def _object_cast_to_ChecksScoreState(*args):
388 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
389 return _IMP_core._object_cast_to_ChecksScoreState(*args)
390 _object_types.append(
"ChildrenRefiner")
393 def _object_cast_to_ChildrenRefiner(*args):
394 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
395 return _IMP_core._object_cast_to_ChildrenRefiner(*args)
396 _object_types.append(
"ClosePairsFinder")
399 def _object_cast_to_ClosePairsFinder(*args):
400 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
401 return _IMP_core._object_cast_to_ClosePairsFinder(*args)
402 _object_types.append(
"ClosePairsPairScore")
405 def _object_cast_to_ClosePairsPairScore(*args):
406 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
407 return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
408 _object_types.append(
"ClosedCubicSpline")
411 def _object_cast_to_ClosedCubicSpline(*args):
412 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
413 return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
414 _object_types.append(
"ConjugateGradients")
417 def _object_cast_to_ConjugateGradients(*args):
418 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
419 return _IMP_core._object_cast_to_ConjugateGradients(*args)
420 _object_types.append(
"ConnectivityRestraint")
423 def _object_cast_to_ConnectivityRestraint(*args):
424 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
425 return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
426 _object_types.append(
"ConstantRestraint")
429 def _object_cast_to_ConstantRestraint(*args):
430 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
431 return _IMP_core._object_cast_to_ConstantRestraint(*args)
432 _object_types.append(
"Cosine")
435 def _object_cast_to_Cosine(*args):
436 """_object_cast_to_Cosine(Object o) -> Cosine"""
437 return _IMP_core._object_cast_to_Cosine(*args)
438 _object_types.append(
"CoverRefined")
441 def _object_cast_to_CoverRefined(*args):
442 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
443 return _IMP_core._object_cast_to_CoverRefined(*args)
444 _object_types.append(
"DerivativesFromRefined")
447 def _object_cast_to_DerivativesFromRefined(*args):
448 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
449 return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
450 _object_types.append(
"DerivativesToRefined")
453 def _object_cast_to_DerivativesToRefined(*args):
454 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
455 return _IMP_core._object_cast_to_DerivativesToRefined(*args)
456 _object_types.append(
"WeightedDerivativesToRefined")
459 def _object_cast_to_WeightedDerivativesToRefined(*args):
460 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
461 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(*args)
462 _object_types.append(
"DiameterRestraint")
465 def _object_cast_to_DiameterRestraint(*args):
466 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
467 return _IMP_core._object_cast_to_DiameterRestraint(*args)
468 _object_types.append(
"DihedralRestraint")
471 def _object_cast_to_DihedralRestraint(*args):
472 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
473 return _IMP_core._object_cast_to_DihedralRestraint(*args)
474 _object_types.append(
"DistanceRestraint")
477 def _object_cast_to_DistanceRestraint(*args):
478 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
479 return _IMP_core._object_cast_to_DistanceRestraint(*args)
480 _object_types.append(
"DistanceToSingletonScore")
483 def _object_cast_to_DistanceToSingletonScore(*args):
484 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
485 return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
486 _object_types.append(
"ExcludedVolumeRestraint")
489 def _object_cast_to_ExcludedVolumeRestraint(*args):
490 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
491 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
492 _object_types.append(
"FixedRefiner")
495 def _object_cast_to_FixedRefiner(*args):
496 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
497 return _IMP_core._object_cast_to_FixedRefiner(*args)
498 _object_types.append(
"GridClosePairsFinder")
501 def _object_cast_to_GridClosePairsFinder(*args):
502 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
503 return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
504 _object_types.append(
"Harmonic")
507 def _object_cast_to_Harmonic(*args):
508 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
509 return _IMP_core._object_cast_to_Harmonic(*args)
510 _object_types.append(
"HarmonicWell")
513 def _object_cast_to_HarmonicWell(*args):
514 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
515 return _IMP_core._object_cast_to_HarmonicWell(*args)
516 _object_types.append(
"HarmonicLowerBound")
519 def _object_cast_to_HarmonicLowerBound(*args):
520 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
521 return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
522 _object_types.append(
"HarmonicUpperBound")
525 def _object_cast_to_HarmonicUpperBound(*args):
526 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
527 return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
528 _object_types.append(
"HarmonicSphereDistancePairScore")
531 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
532 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
533 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
534 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
537 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
538 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
539 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
540 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
543 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
544 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
545 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
546 _object_types.append(
"IncrementalScoringFunction")
549 def _object_cast_to_IncrementalScoringFunction(*args):
550 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
551 return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
552 _object_types.append(
"KClosePairsPairScore")
555 def _object_cast_to_KClosePairsPairScore(*args):
556 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
557 return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
558 _object_types.append(
"LeavesRefiner")
561 def _object_cast_to_LeavesRefiner(*args):
562 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
563 return _IMP_core._object_cast_to_LeavesRefiner(*args)
564 _object_types.append(
"Linear")
567 def _object_cast_to_Linear(*args):
568 """_object_cast_to_Linear(Object o) -> Linear"""
569 return _IMP_core._object_cast_to_Linear(*args)
570 _object_types.append(
"MCCGSampler")
573 def _object_cast_to_MCCGSampler(*args):
574 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
575 return _IMP_core._object_cast_to_MCCGSampler(*args)
576 _object_types.append(
"MonteCarlo")
579 def _object_cast_to_MonteCarlo(*args):
580 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
581 return _IMP_core._object_cast_to_MonteCarlo(*args)
582 _object_types.append(
"MonteCarloWithLocalOptimization")
585 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
586 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
587 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
588 _object_types.append(
"MonteCarloWithBasinHopping")
591 def _object_cast_to_MonteCarloWithBasinHopping(*args):
592 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
593 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
594 _object_types.append(
"MSConnectivityRestraint")
597 def _object_cast_to_MSConnectivityRestraint(*args):
598 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
599 return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
600 _object_types.append(
"NeighborsTable")
603 def _object_cast_to_NeighborsTable(*args):
604 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
605 return _IMP_core._object_cast_to_NeighborsTable(*args)
606 _object_types.append(
"NormalMover")
609 def _object_cast_to_NormalMover(*args):
610 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
611 return _IMP_core._object_cast_to_NormalMover(*args)
612 _object_types.append(
"NormalizedSphereDistancePairScore")
615 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
616 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
617 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
618 _object_types.append(
"OpenCubicSpline")
621 def _object_cast_to_OpenCubicSpline(*args):
622 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
623 return _IMP_core._object_cast_to_OpenCubicSpline(*args)
624 _object_types.append(
"PairConstraint")
627 def _object_cast_to_PairConstraint(*args):
628 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
629 return _IMP_core._object_cast_to_PairConstraint(*args)
630 _object_types.append(
"PairRestraint")
633 def _object_cast_to_PairRestraint(*args):
634 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
635 return _IMP_core._object_cast_to_PairRestraint(*args)
636 _object_types.append(
"QuadConstraint")
639 def _object_cast_to_QuadConstraint(*args):
640 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
641 return _IMP_core._object_cast_to_QuadConstraint(*args)
642 _object_types.append(
"QuadRestraint")
645 def _object_cast_to_QuadRestraint(*args):
646 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
647 return _IMP_core._object_cast_to_QuadRestraint(*args)
648 _object_types.append(
"QuadraticClosePairsFinder")
651 def _object_cast_to_QuadraticClosePairsFinder(*args):
652 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
653 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
654 _object_types.append(
"RefinedPairsPairScore")
657 def _object_cast_to_RefinedPairsPairScore(*args):
658 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
659 return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
660 _object_types.append(
"RestraintsScoringFunction")
663 def _object_cast_to_RestraintsScoringFunction(*args):
664 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
665 return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
666 _object_types.append(
"RigidBodyDistancePairScore")
669 def _object_cast_to_RigidBodyDistancePairScore(*args):
670 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
671 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
672 _object_types.append(
"RigidBodyMover")
675 def _object_cast_to_RigidBodyMover(*args):
676 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
677 return _IMP_core._object_cast_to_RigidBodyMover(*args)
678 _object_types.append(
"RigidBodyTunneler")
681 def _object_cast_to_RigidBodyTunneler(*args):
682 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
683 return _IMP_core._object_cast_to_RigidBodyTunneler(*args)
684 _object_types.append(
"RigidBodyUmbrella")
687 def _object_cast_to_RigidBodyUmbrella(*args):
688 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
689 return _IMP_core._object_cast_to_RigidBodyUmbrella(*args)
690 _object_types.append(
"RigidClosePairsFinder")
693 def _object_cast_to_RigidClosePairsFinder(*args):
694 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
695 return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
696 _object_types.append(
"RigidMembersRefiner")
699 def _object_cast_to_RigidMembersRefiner(*args):
700 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
701 return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
702 _object_types.append(
"SingletonConstraint")
705 def _object_cast_to_SingletonConstraint(*args):
706 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
707 return _IMP_core._object_cast_to_SingletonConstraint(*args)
708 _object_types.append(
"SingletonRestraint")
711 def _object_cast_to_SingletonRestraint(*args):
712 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
713 return _IMP_core._object_cast_to_SingletonRestraint(*args)
714 _object_types.append(
"SoftSpherePairScore")
717 def _object_cast_to_SoftSpherePairScore(*args):
718 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
719 return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
720 _object_types.append(
"SphereDistancePairScore")
723 def _object_cast_to_SphereDistancePairScore(*args):
724 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
725 return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
726 _object_types.append(
"SphereDistanceToSingletonScore")
729 def _object_cast_to_SphereDistanceToSingletonScore(*args):
730 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
731 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
732 _object_types.append(
"SteepestDescent")
735 def _object_cast_to_SteepestDescent(*args):
736 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
737 return _IMP_core._object_cast_to_SteepestDescent(*args)
738 _object_types.append(
"TableRefiner")
741 def _object_cast_to_TableRefiner(*args):
742 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
743 return _IMP_core._object_cast_to_TableRefiner(*args)
744 _object_types.append(
"Transform")
747 def _object_cast_to_Transform(*args):
748 """_object_cast_to_Transform(Object o) -> Transform"""
749 return _IMP_core._object_cast_to_Transform(*args)
750 _object_types.append(
"TransformationAndReflectionSymmetry")
753 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
754 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
755 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
756 _object_types.append(
"TransformationSymmetry")
759 def _object_cast_to_TransformationSymmetry(*args):
760 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
761 return _IMP_core._object_cast_to_TransformationSymmetry(*args)
762 _object_types.append(
"TransformedDistancePairScore")
765 def _object_cast_to_TransformedDistancePairScore(*args):
766 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
767 return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
768 _object_types.append(
"TripletConstraint")
771 def _object_cast_to_TripletConstraint(*args):
772 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
773 return _IMP_core._object_cast_to_TripletConstraint(*args)
774 _object_types.append(
"TripletRestraint")
777 def _object_cast_to_TripletRestraint(*args):
778 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
779 return _IMP_core._object_cast_to_TripletRestraint(*args)
780 _object_types.append(
"TypedPairScore")
783 def _object_cast_to_TypedPairScore(*args):
784 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
785 return _IMP_core._object_cast_to_TypedPairScore(*args)
786 _object_types.append(
"VolumeRestraint")
789 def _object_cast_to_VolumeRestraint(*args):
790 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
791 return _IMP_core._object_cast_to_VolumeRestraint(*args)
792 _object_types.append(
"WeightedSphereDistancePairScore")
795 def _object_cast_to_WeightedSphereDistancePairScore(*args):
796 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
797 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
798 _object_types.append(
"MoveStatisticsScoreState")
801 def _object_cast_to_MoveStatisticsScoreState(*args):
802 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
803 return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
804 _object_types.append(
"MinimumRestraint")
807 def _object_cast_to_MinimumRestraint(*args):
808 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
809 return _IMP_core._object_cast_to_MinimumRestraint(*args)
810 _object_types.append(
"WriteRestraintScoresOptimizerState")
813 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
814 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
815 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
816 _object_types.append(
"ConstantSingletonPredicate")
819 def _object_cast_to_ConstantSingletonPredicate(*args):
820 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
821 return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
822 _object_types.append(
"ConstantPairPredicate")
825 def _object_cast_to_ConstantPairPredicate(*args):
826 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
827 return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
828 _object_types.append(
"ConstantTripletPredicate")
831 def _object_cast_to_ConstantTripletPredicate(*args):
832 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
833 return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
834 _object_types.append(
"ConstantQuadPredicate")
837 def _object_cast_to_ConstantQuadPredicate(*args):
838 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
839 return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
840 _object_types.append(
"CoinFlipSingletonPredicate")
843 def _object_cast_to_CoinFlipSingletonPredicate(*args):
844 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
845 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
846 _object_types.append(
"CoinFlipPairPredicate")
849 def _object_cast_to_CoinFlipPairPredicate(*args):
850 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
851 return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
852 _object_types.append(
"CoinFlipTripletPredicate")
855 def _object_cast_to_CoinFlipTripletPredicate(*args):
856 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
857 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
858 _object_types.append(
"CoinFlipQuadPredicate")
861 def _object_cast_to_CoinFlipQuadPredicate(*args):
862 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
863 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
864 _object_types.append(
"UnorderedTypeSingletonPredicate")
867 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
868 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
869 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
870 _object_types.append(
"UnorderedTypePairPredicate")
873 def _object_cast_to_UnorderedTypePairPredicate(*args):
874 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
875 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
876 _object_types.append(
"UnorderedTypeTripletPredicate")
879 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
880 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
881 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
882 _object_types.append(
"UnorderedTypeQuadPredicate")
885 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
886 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
887 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
888 _object_types.append(
"OrderedTypeSingletonPredicate")
891 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
892 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
893 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
894 _object_types.append(
"OrderedTypePairPredicate")
897 def _object_cast_to_OrderedTypePairPredicate(*args):
898 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
899 return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
900 _object_types.append(
"OrderedTypeTripletPredicate")
903 def _object_cast_to_OrderedTypeTripletPredicate(*args):
904 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
905 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
906 _object_types.append(
"OrderedTypeQuadPredicate")
909 def _object_cast_to_OrderedTypeQuadPredicate(*args):
910 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
911 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
912 _object_types.append(
"AllSameSingletonPredicate")
915 def _object_cast_to_AllSameSingletonPredicate(*args):
916 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
917 return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
918 _object_types.append(
"AllSamePairPredicate")
921 def _object_cast_to_AllSamePairPredicate(*args):
922 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
923 return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
924 _object_types.append(
"AllSameTripletPredicate")
927 def _object_cast_to_AllSameTripletPredicate(*args):
928 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
929 return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
930 _object_types.append(
"AllSameQuadPredicate")
933 def _object_cast_to_AllSameQuadPredicate(*args):
934 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
935 return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
937 return [XYZ(x)
for x
in l]
938 _plural_types.append(
"XYZs")
940 _value_types.append(
"XYZ")
943 return [XYZR(x)
for x
in l]
944 _plural_types.append(
"XYZRs")
946 _value_types.append(
"XYZR")
948 def RigidBodies(l=[]):
949 return [RigidBody(x)
for x
in l]
950 _plural_types.append(
"RigidBodies")
952 _value_types.append(
"RigidBody")
954 def RigidBodyMembers(l=[]):
955 return [RigidBodyMember(x)
for x
in l]
956 _plural_types.append(
"RigidBodyMembers")
958 _value_types.append(
"RigidBodyMember")
960 def RigidMembers(l=[]):
961 return [RigidMember(x)
for x
in l]
962 _plural_types.append(
"RigidMembers")
964 _value_types.append(
"RigidMember")
966 def NonRigidMembers(l=[]):
967 return [NonRigidMember(x)
for x
in l]
968 _plural_types.append(
"NonRigidMembers")
970 _value_types.append(
"NonRigidMember")
973 return [Centroid(x)
for x
in l]
974 _plural_types.append(
"Centroids")
976 _value_types.append(
"Centroid")
979 return [Cover(x)
for x
in l]
980 _plural_types.append(
"Covers")
982 _value_types.append(
"Cover")
984 def References(l=[]):
985 return [Reference(x)
for x
in l]
986 _plural_types.append(
"References")
988 _value_types.append(
"Reference")
991 _plural_types.append(
"ParticleTypes")
992 _value_types.append(
"ParticleType")
995 return [Typed(x)
for x
in l]
996 _plural_types.append(
"Typeds")
998 _value_types.append(
"Typed")
1000 def GenericHierarchies(l=[]):
1001 return [Hierarchy(x)
for x
in l]
1002 _plural_types.append(
"GenericHierarchies")
1004 _value_types.append(
"Hierarchy")
1006 def Gaussians(l=[]):
1007 return [Gaussian(x)
for x
in l]
1008 _plural_types.append(
"Gaussians")
1010 _value_types.append(
"Gaussian")
1012 HierarchyCounters=list
1013 _plural_types.append(
"HierarchyCounters")
1014 _value_types.append(
"HierarchyCounter")
1016 HierarchyTraitsList=list
1017 _plural_types.append(
"HierarchyTraitsList")
1018 _value_types.append(
"HierarchyTraits")
1020 _object_types.append(
"TruncatedHarmonicBound")
1023 def _object_cast_to_TruncatedHarmonicBound(*args):
1024 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1025 return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
1026 _object_types.append(
"TruncatedHarmonicLowerBound")
1029 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1030 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1031 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1032 _object_types.append(
"TruncatedHarmonicUpperBound")
1035 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1036 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1037 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1038 _object_types.append(
"HarmonicDistancePairScore")
1041 def _object_cast_to_HarmonicDistancePairScore(*args):
1042 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1043 return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1044 _object_types.append(
"DistancePairScore")
1047 def _object_cast_to_DistancePairScore(*args):
1048 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1049 return _IMP_core._object_cast_to_DistancePairScore(*args)
1050 _object_types.append(
"XYZRGeometry")
1053 def _object_cast_to_XYZRGeometry(*args):
1054 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1055 return _IMP_core._object_cast_to_XYZRGeometry(*args)
1056 _object_types.append(
"XYZRsGeometry")
1059 def _object_cast_to_XYZRsGeometry(*args):
1060 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1061 return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1062 _object_types.append(
"XYZDerivativeGeometry")
1065 def _object_cast_to_XYZDerivativeGeometry(*args):
1066 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1067 return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1068 _object_types.append(
"XYZDerivativesGeometry")
1071 def _object_cast_to_XYZDerivativesGeometry(*args):
1072 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1073 return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1074 _object_types.append(
"RigidBodyDerivativeGeometry")
1077 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1078 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1079 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1080 _object_types.append(
"RigidBodyDerivativesGeometry")
1083 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1084 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1085 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1086 _object_types.append(
"RigidBodyHierarchyGeometry")
1089 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1090 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1091 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1092 _object_types.append(
"RigidBodyFrameGeometry")
1095 def _object_cast_to_RigidBodyFrameGeometry(*args):
1096 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1097 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1098 _object_types.append(
"RigidBodyFramesGeometry")
1101 def _object_cast_to_RigidBodyFramesGeometry(*args):
1102 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1103 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1104 _object_types.append(
"RigidBodyTorque")
1107 def _object_cast_to_RigidBodyTorque(*args):
1108 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1109 return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1110 _object_types.append(
"EdgePairGeometry")
1113 def _object_cast_to_EdgePairGeometry(*args):
1114 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1115 return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1116 _object_types.append(
"EdgePairsGeometry")
1119 def _object_cast_to_EdgePairsGeometry(*args):
1120 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1121 return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1122 _object_types.append(
"AttributeSingletonPredicate")
1125 def _object_cast_to_AttributeSingletonPredicate(*args):
1126 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1127 return _IMP_core._object_cast_to_AttributeSingletonPredicate(*args)
1128 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1131 def _object_cast_to_InBoundingBox3DSingletonPredicate(*args):
1132 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1133 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(*args)
1134 _object_types.append(
"IsCollisionPairPredicate")
1137 def _object_cast_to_IsCollisionPairPredicate(*args):
1138 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1139 return _IMP_core._object_cast_to_IsCollisionPairPredicate(*args)
1141 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1142 __swig_setmethods__ = {}
1143 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1144 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsFinder, name, value)
1145 __swig_getmethods__ = {}
1146 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1147 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsFinder, name)
1148 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1149 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1150 __del__ =
lambda self :
None;
1151 def get_close_pairs(self, *args):
1153 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1154 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1155 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
1156 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
1157 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1158 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1160 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1162 def set_distance(self, *args):
1163 """set_distance(ClosePairsFinder self, double d)"""
1164 return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1167 """get_distance(ClosePairsFinder self) -> double"""
1168 return _IMP_core.ClosePairsFinder_get_distance(self)
1170 def remove_pair_filter(self, *args):
1171 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1172 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1174 def remove_pair_filters(self, *args):
1175 """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1176 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1178 def set_pair_filters(self, *args):
1179 """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1180 return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1182 def set_pair_filters_order(self, *args):
1183 """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1184 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1186 def add_pair_filter(self, *args):
1187 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1188 return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1190 def add_pair_filters(self, *args):
1191 """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1192 return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1194 def clear_pair_filters(self):
1195 """clear_pair_filters(ClosePairsFinder self)"""
1196 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1198 def get_number_of_pair_filters(self):
1199 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1200 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1202 def get_has_pair_filters(self):
1203 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1204 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1206 def get_pair_filter(self, *args):
1207 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1208 return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1210 def get_pair_filters(self):
1211 """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1212 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1214 def reserve_pair_filters(self, *args):
1215 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1216 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1219 """__str__(ClosePairsFinder self) -> std::string"""
1220 return _IMP_core.ClosePairsFinder___str__(self)
1223 """__repr__(ClosePairsFinder self) -> std::string"""
1224 return _IMP_core.ClosePairsFinder___repr__(self)
1227 return _object_cast_to_ClosePairsFinder(o)
1228 get_from = staticmethod(get_from)
1230 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1231 ClosePairsFinder_swigregister(ClosePairsFinder)
1233 class MonteCarloMoverResult(IMP.base._Value):
1234 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1235 __swig_setmethods__ = {}
1236 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1237 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMoverResult, name, value)
1238 __swig_getmethods__ = {}
1239 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1240 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMoverResult, name)
1241 def __init__(self, *args):
1243 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1244 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1245 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1247 this = _IMP_core.new_MonteCarloMoverResult(*args)
1248 try: self.this.append(this)
1249 except: self.this = this
1251 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1252 return _IMP_core.MonteCarloMoverResult___hash__(self)
1254 def show(self, *args):
1256 show(MonteCarloMoverResult self, _ostream out=std::cout)
1257 show(MonteCarloMoverResult self)
1259 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1261 def __eq__(self, *args):
1262 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1263 return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1265 def __ne__(self, *args):
1266 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1267 return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1269 def __lt__(self, *args):
1270 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1271 return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1273 def __gt__(self, *args):
1274 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1275 return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1277 def __ge__(self, *args):
1278 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1279 return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1281 def __le__(self, *args):
1282 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1283 return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1285 def get_moved_particles(self):
1286 """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1287 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1289 def set_moved_particles(self, *args):
1290 """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1291 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1293 def get_proposal_ratio(self):
1294 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1295 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1297 def set_proposal_ratio(self, *args):
1298 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1299 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1302 """__str__(MonteCarloMoverResult self) -> std::string"""
1303 return _IMP_core.MonteCarloMoverResult___str__(self)
1306 """__repr__(MonteCarloMoverResult self) -> std::string"""
1307 return _IMP_core.MonteCarloMoverResult___repr__(self)
1309 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1310 __del__ =
lambda self :
None;
1311 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1312 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1315 """Proxy of C++ IMP::core::MonteCarloMover class"""
1316 __swig_setmethods__ = {}
1318 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMover, name, value)
1319 __swig_getmethods__ = {}
1321 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMover, name)
1322 def __init__(self, *args):
1323 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1324 if self.__class__ == MonteCarloMover:
1328 this = _IMP_core.new_MonteCarloMover(_self, *args)
1329 try: self.this.append(this)
1330 except: self.this = this
1331 if self.__class__ != MonteCarloMover:
1333 IMP.base._director_objects.register(self)
1338 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1339 return _IMP_core.MonteCarloMover_propose(self)
1342 """reject(MonteCarloMover self)"""
1343 return _IMP_core.MonteCarloMover_reject(self)
1346 """accept(MonteCarloMover self)"""
1347 return _IMP_core.MonteCarloMover_accept(self)
1349 def get_number_of_proposed(self):
1350 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1351 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1353 def get_number_of_accepted(self):
1354 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1355 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1357 def reset_statistics(self):
1358 """reset_statistics(MonteCarloMover self)"""
1359 return _IMP_core.MonteCarloMover_reset_statistics(self)
1361 def do_propose(self):
1362 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1363 return _IMP_core.MonteCarloMover_do_propose(self)
1365 def do_reject(self):
1366 """do_reject(MonteCarloMover self)"""
1367 return _IMP_core.MonteCarloMover_do_reject(self)
1369 def do_accept(self):
1370 """do_accept(MonteCarloMover self)"""
1371 return _IMP_core.MonteCarloMover_do_accept(self)
1373 def do_get_outputs(self):
1374 """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1375 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1378 """__str__(MonteCarloMover self) -> std::string"""
1379 return _IMP_core.MonteCarloMover___str__(self)
1382 """__repr__(MonteCarloMover self) -> std::string"""
1383 return _IMP_core.MonteCarloMover___repr__(self)
1386 return _object_cast_to_MonteCarloMover(o)
1387 get_from = staticmethod(get_from)
1389 def get_type_name(self):
1390 return self.__class__.__name__
1391 def do_show(self, out):
1393 def get_version_info(self):
1394 if"IMP::core" ==
"IMP":
1395 return VersionInfo(
"python",
"0")
1397 return IMP.VersionInfo(
"python",
"0")
1399 return _object_cast_to_MonteCarloMover(o)
1400 get_from = staticmethod(get_from)
1402 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1403 __del__ =
lambda self :
None;
1404 def __disown__(self):
1406 _IMP_core.disown_MonteCarloMover(self)
1407 return weakref_proxy(self)
1408 def do_destroy(self):
1409 """do_destroy(MonteCarloMover self)"""
1410 return _IMP_core.MonteCarloMover_do_destroy(self)
1412 def handle_set_has_required_score_states(self, *args):
1413 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1414 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, *args)
1416 def do_get_inputs(self):
1417 """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1418 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1420 def do_get_interactions(self):
1421 """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1422 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1424 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1425 MonteCarloMover_swigregister(MonteCarloMover)
1428 """Proxy of C++ IMP::core::XYZ class"""
1429 __swig_setmethods__ = {}
1430 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1431 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZ, name, value)
1432 __swig_getmethods__ = {}
1433 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1434 __getattr__ =
lambda self, name: _swig_getattr(self, XYZ, name)
1435 def get_coordinate_key(*args):
1436 """get_coordinate_key(unsigned int i) -> FloatKey"""
1437 return _IMP_core.XYZ_get_coordinate_key(*args)
1439 if _newclass:get_coordinate_key = staticmethod(get_coordinate_key)
1440 __swig_getmethods__[
"get_coordinate_key"] =
lambda x: get_coordinate_key
1441 def __init__(self, *args):
1443 __init__(IMP::core::XYZ self) -> XYZ
1444 __init__(IMP::core::XYZ self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZ
1445 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1447 this = _IMP_core.new_XYZ(*args)
1448 try: self.this.append(this)
1449 except: self.this = this
1450 def show(self, *args):
1452 show(XYZ self, _ostream out=std::cout)
1455 return _IMP_core.XYZ_show(self, *args)
1457 def setup_particle(*args):
1459 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1460 setup_particle(_ParticleAdaptor decorator) -> XYZ
1461 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1462 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1464 return _IMP_core.XYZ_setup_particle(*args)
1466 if _newclass:setup_particle = staticmethod(setup_particle)
1467 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1469 """get_x(XYZ self) -> IMP::Float"""
1470 return _IMP_core.XYZ_get_x(self)
1472 def set_x(self, *args):
1473 """set_x(XYZ self, IMP::Float t)"""
1474 return _IMP_core.XYZ_set_x(self, *args)
1477 """get_y(XYZ self) -> IMP::Float"""
1478 return _IMP_core.XYZ_get_y(self)
1480 def set_y(self, *args):
1481 """set_y(XYZ self, IMP::Float t)"""
1482 return _IMP_core.XYZ_set_y(self, *args)
1485 """get_z(XYZ self) -> IMP::Float"""
1486 return _IMP_core.XYZ_get_z(self)
1488 def set_z(self, *args):
1489 """set_z(XYZ self, IMP::Float t)"""
1490 return _IMP_core.XYZ_set_z(self, *args)
1492 def set_coordinate(self, *args):
1493 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1494 return _IMP_core.XYZ_set_coordinate(self, *args)
1496 def set_coordinates(self, *args):
1497 """set_coordinates(XYZ self, Vector3D v)"""
1498 return _IMP_core.XYZ_set_coordinates(self, *args)
1500 def get_coordinate(self, *args):
1501 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1502 return _IMP_core.XYZ_get_coordinate(self, *args)
1504 def add_to_derivatives(self, *args):
1505 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1506 return _IMP_core.XYZ_add_to_derivatives(self, *args)
1508 def get_coordinates_are_optimized(self):
1509 """get_coordinates_are_optimized(XYZ self) -> bool"""
1510 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1512 def set_coordinates_are_optimized(self, *args):
1513 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1514 return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1516 def get_vector_to(self, *args):
1517 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1518 return _IMP_core.XYZ_get_vector_to(self, *args)
1520 def get_coordinates(self):
1521 """get_coordinates(XYZ self) -> Vector3D"""
1522 return _IMP_core.XYZ_get_coordinates(self)
1524 def get_derivatives(self):
1525 """get_derivatives(XYZ self) -> Vector3D"""
1526 return _IMP_core.XYZ_get_derivatives(self)
1528 def get_is_setup(*args):
1530 get_is_setup(_ParticleAdaptor p) -> bool
1531 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1533 return _IMP_core.XYZ_get_is_setup(*args)
1535 if _newclass:get_is_setup = staticmethod(get_is_setup)
1536 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1538 """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1539 return _IMP_core.XYZ_get_xyz_keys()
1541 if _newclass:get_xyz_keys = staticmethod(get_xyz_keys)
1542 __swig_getmethods__[
"get_xyz_keys"] =
lambda x: get_xyz_keys
1543 def add_attribute(self, *args):
1545 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1546 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1547 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1548 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1549 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1550 add_attribute(XYZ self, ObjectKey a0, Object a1)
1552 return _IMP_core.XYZ_add_attribute(self, *args)
1554 def get_value(self, *args):
1556 get_value(XYZ self, FloatKey a0) -> IMP::Float
1557 get_value(XYZ self, IntKey a0) -> IMP::Int
1558 get_value(XYZ self, StringKey a0) -> IMP::String
1559 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1560 get_value(XYZ self, ObjectKey a0) -> Object
1562 return _IMP_core.XYZ_get_value(self, *args)
1564 def set_value(self, *args):
1566 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1567 set_value(XYZ self, IntKey a0, IMP::Int a1)
1568 set_value(XYZ self, StringKey a0, IMP::String a1)
1569 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1570 set_value(XYZ self, ObjectKey a0, Object a1)
1572 return _IMP_core.XYZ_set_value(self, *args)
1574 def remove_attribute(self, *args):
1576 remove_attribute(XYZ self, FloatKey a0)
1577 remove_attribute(XYZ self, IntKey a0)
1578 remove_attribute(XYZ self, StringKey a0)
1579 remove_attribute(XYZ self, ParticleIndexKey a0)
1580 remove_attribute(XYZ self, ObjectKey a0)
1582 return _IMP_core.XYZ_remove_attribute(self, *args)
1584 def has_attribute(self, *args):
1586 has_attribute(XYZ self, FloatKey a0) -> bool
1587 has_attribute(XYZ self, IntKey a0) -> bool
1588 has_attribute(XYZ self, StringKey a0) -> bool
1589 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1590 has_attribute(XYZ self, ObjectKey a0) -> bool
1592 return _IMP_core.XYZ_has_attribute(self, *args)
1594 def get_derivative(self, *args):
1596 get_derivative(XYZ self, int i) -> IMP::Float
1597 get_derivative(XYZ self, FloatKey a0) -> double
1599 return _IMP_core.XYZ_get_derivative(self, *args)
1602 """get_name(XYZ self) -> std::string"""
1603 return _IMP_core.XYZ_get_name(self)
1605 def clear_caches(self):
1606 """clear_caches(XYZ self)"""
1607 return _IMP_core.XYZ_clear_caches(self)
1609 def set_name(self, *args):
1610 """set_name(XYZ self, std::string a0)"""
1611 return _IMP_core.XYZ_set_name(self, *args)
1614 """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1615 return _IMP_core.XYZ_set_check_level(self, *args)
1617 def add_to_derivative(self, *args):
1619 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1620 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1622 return _IMP_core.XYZ_add_to_derivative(self, *args)
1624 def set_is_optimized(self, *args):
1625 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1626 return _IMP_core.XYZ_set_is_optimized(self, *args)
1628 def get_is_optimized(self, *args):
1629 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1630 return _IMP_core.XYZ_get_is_optimized(self, *args)
1633 """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1634 return _IMP_core.XYZ_get_check_level(self)
1636 def __eq__(self, *args):
1638 __eq__(XYZ self, XYZ o) -> bool
1639 __eq__(XYZ self, Particle d) -> bool
1641 return _IMP_core.XYZ___eq__(self, *args)
1643 def __ne__(self, *args):
1645 __ne__(XYZ self, XYZ o) -> bool
1646 __ne__(XYZ self, Particle d) -> bool
1648 return _IMP_core.XYZ___ne__(self, *args)
1650 def __le__(self, *args):
1652 __le__(XYZ self, XYZ o) -> bool
1653 __le__(XYZ self, Particle d) -> bool
1655 return _IMP_core.XYZ___le__(self, *args)
1657 def __lt__(self, *args):
1659 __lt__(XYZ self, XYZ o) -> bool
1660 __lt__(XYZ self, Particle d) -> bool
1662 return _IMP_core.XYZ___lt__(self, *args)
1664 def __ge__(self, *args):
1666 __ge__(XYZ self, XYZ o) -> bool
1667 __ge__(XYZ self, Particle d) -> bool
1669 return _IMP_core.XYZ___ge__(self, *args)
1671 def __gt__(self, *args):
1673 __gt__(XYZ self, XYZ o) -> bool
1674 __gt__(XYZ self, Particle d) -> bool
1676 return _IMP_core.XYZ___gt__(self, *args)
1679 """__str__(XYZ self) -> std::string"""
1680 return _IMP_core.XYZ___str__(self)
1683 """__repr__(XYZ self) -> std::string"""
1684 return _IMP_core.XYZ___repr__(self)
1686 __swig_destroy__ = _IMP_core.delete_XYZ
1687 __del__ =
lambda self :
None;
1688 XYZ_swigregister = _IMP_core.XYZ_swigregister
1689 XYZ_swigregister(XYZ)
1691 def XYZ_get_coordinate_key(*args):
1692 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1693 return _IMP_core.XYZ_get_coordinate_key(*args)
1695 def XYZ_setup_particle(*args):
1697 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1698 setup_particle(_ParticleAdaptor decorator) -> XYZ
1699 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1700 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1702 return _IMP_core.XYZ_setup_particle(*args)
1704 def XYZ_get_is_setup(*args):
1706 get_is_setup(_ParticleAdaptor p) -> bool
1707 XYZ_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1709 return _IMP_core.XYZ_get_is_setup(*args)
1711 def XYZ_get_xyz_keys():
1712 """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1713 return _IMP_core.XYZ_get_xyz_keys()
1717 """set_vector_geometry(XYZ d, Vector3D v)"""
1718 return _IMP_core.set_vector_geometry(*args)
1720 def get_vector_geometry(*args):
1721 """get_vector_geometry(XYZ d) -> Vector3D"""
1722 return _IMP_core.get_vector_geometry(*args)
1725 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1726 return _IMP_core.get_dihedral(*args)
1728 """Proxy of C++ IMP::core::XYZR class"""
1729 __swig_setmethods__ = {}
1730 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1731 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZR, name, value)
1732 __swig_getmethods__ = {}
1733 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1734 __getattr__ =
lambda self, name: _swig_getattr(self, XYZR, name)
1735 def __init__(self, *args):
1737 __init__(IMP::core::XYZR self) -> XYZR
1738 __init__(IMP::core::XYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZR
1739 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1741 this = _IMP_core.new_XYZR(*args)
1742 try: self.this.append(this)
1743 except: self.this = this
1744 def show(self, *args):
1746 show(XYZR self, _ostream out=std::cout)
1749 return _IMP_core.XYZR_show(self, *args)
1751 def setup_particle(*args):
1753 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1754 setup_particle(_ParticleAdaptor decorator) -> XYZR
1755 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1756 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1757 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1758 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1760 return _IMP_core.XYZR_setup_particle(*args)
1762 if _newclass:setup_particle = staticmethod(setup_particle)
1763 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1764 def get_is_setup(*args):
1766 get_is_setup(_ParticleAdaptor p) -> bool
1767 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1769 return _IMP_core.XYZR_get_is_setup(*args)
1771 if _newclass:get_is_setup = staticmethod(get_is_setup)
1772 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1773 def get_radius(self):
1774 """get_radius(XYZR self) -> double"""
1775 return _IMP_core.XYZR_get_radius(self)
1777 def set_radius(self, *args):
1778 """set_radius(XYZR self, double r)"""
1779 return _IMP_core.XYZR_set_radius(self, *args)
1781 def get_sphere(self):
1782 """get_sphere(XYZR self) -> Sphere3D"""
1783 return _IMP_core.XYZR_get_sphere(self)
1785 def set_sphere(self, *args):
1786 """set_sphere(XYZR self, Sphere3D s)"""
1787 return _IMP_core.XYZR_set_sphere(self, *args)
1789 def get_radius_key():
1790 """get_radius_key() -> FloatKey"""
1791 return _IMP_core.XYZR_get_radius_key()
1793 if _newclass:get_radius_key = staticmethod(get_radius_key)
1794 __swig_getmethods__[
"get_radius_key"] =
lambda x: get_radius_key
1795 def add_to_radius_derivative(self, *args):
1796 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1797 return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1799 def add_attribute(self, *args):
1801 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1802 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1803 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1804 add_attribute(XYZR self, StringKey a0, IMP::String a1)
1805 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1806 add_attribute(XYZR self, ObjectKey a0, Object a1)
1808 return _IMP_core.XYZR_add_attribute(self, *args)
1810 def get_value(self, *args):
1812 get_value(XYZR self, FloatKey a0) -> IMP::Float
1813 get_value(XYZR self, IntKey a0) -> IMP::Int
1814 get_value(XYZR self, StringKey a0) -> IMP::String
1815 get_value(XYZR self, ParticleIndexKey a0) -> Particle
1816 get_value(XYZR self, ObjectKey a0) -> Object
1818 return _IMP_core.XYZR_get_value(self, *args)
1820 def set_value(self, *args):
1822 set_value(XYZR self, FloatKey a0, IMP::Float a1)
1823 set_value(XYZR self, IntKey a0, IMP::Int a1)
1824 set_value(XYZR self, StringKey a0, IMP::String a1)
1825 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1826 set_value(XYZR self, ObjectKey a0, Object a1)
1828 return _IMP_core.XYZR_set_value(self, *args)
1830 def remove_attribute(self, *args):
1832 remove_attribute(XYZR self, FloatKey a0)
1833 remove_attribute(XYZR self, IntKey a0)
1834 remove_attribute(XYZR self, StringKey a0)
1835 remove_attribute(XYZR self, ParticleIndexKey a0)
1836 remove_attribute(XYZR self, ObjectKey a0)
1838 return _IMP_core.XYZR_remove_attribute(self, *args)
1840 def has_attribute(self, *args):
1842 has_attribute(XYZR self, FloatKey a0) -> bool
1843 has_attribute(XYZR self, IntKey a0) -> bool
1844 has_attribute(XYZR self, StringKey a0) -> bool
1845 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1846 has_attribute(XYZR self, ObjectKey a0) -> bool
1848 return _IMP_core.XYZR_has_attribute(self, *args)
1850 def get_derivative(self, *args):
1851 """get_derivative(XYZR self, FloatKey a0) -> double"""
1852 return _IMP_core.XYZR_get_derivative(self, *args)
1855 """get_name(XYZR self) -> std::string"""
1856 return _IMP_core.XYZR_get_name(self)
1858 def clear_caches(self):
1859 """clear_caches(XYZR self)"""
1860 return _IMP_core.XYZR_clear_caches(self)
1862 def set_name(self, *args):
1863 """set_name(XYZR self, std::string a0)"""
1864 return _IMP_core.XYZR_set_name(self, *args)
1867 """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1868 return _IMP_core.XYZR_set_check_level(self, *args)
1870 def add_to_derivative(self, *args):
1871 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1872 return _IMP_core.XYZR_add_to_derivative(self, *args)
1874 def set_is_optimized(self, *args):
1875 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1876 return _IMP_core.XYZR_set_is_optimized(self, *args)
1878 def get_is_optimized(self, *args):
1879 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1880 return _IMP_core.XYZR_get_is_optimized(self, *args)
1883 """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1884 return _IMP_core.XYZR_get_check_level(self)
1886 def __eq__(self, *args):
1888 __eq__(XYZR self, XYZR o) -> bool
1889 __eq__(XYZR self, Particle d) -> bool
1891 return _IMP_core.XYZR___eq__(self, *args)
1893 def __ne__(self, *args):
1895 __ne__(XYZR self, XYZR o) -> bool
1896 __ne__(XYZR self, Particle d) -> bool
1898 return _IMP_core.XYZR___ne__(self, *args)
1900 def __le__(self, *args):
1902 __le__(XYZR self, XYZR o) -> bool
1903 __le__(XYZR self, Particle d) -> bool
1905 return _IMP_core.XYZR___le__(self, *args)
1907 def __lt__(self, *args):
1909 __lt__(XYZR self, XYZR o) -> bool
1910 __lt__(XYZR self, Particle d) -> bool
1912 return _IMP_core.XYZR___lt__(self, *args)
1914 def __ge__(self, *args):
1916 __ge__(XYZR self, XYZR o) -> bool
1917 __ge__(XYZR self, Particle d) -> bool
1919 return _IMP_core.XYZR___ge__(self, *args)
1921 def __gt__(self, *args):
1923 __gt__(XYZR self, XYZR o) -> bool
1924 __gt__(XYZR self, Particle d) -> bool
1926 return _IMP_core.XYZR___gt__(self, *args)
1929 """__str__(XYZR self) -> std::string"""
1930 return _IMP_core.XYZR___str__(self)
1933 """__repr__(XYZR self) -> std::string"""
1934 return _IMP_core.XYZR___repr__(self)
1936 __swig_destroy__ = _IMP_core.delete_XYZR
1937 __del__ =
lambda self :
None;
1938 XYZR_swigregister = _IMP_core.XYZR_swigregister
1939 XYZR_swigregister(XYZR)
1941 def XYZR_setup_particle(*args):
1943 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1944 setup_particle(_ParticleAdaptor decorator) -> XYZR
1945 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1946 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1947 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1948 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1950 return _IMP_core.XYZR_setup_particle(*args)
1952 def XYZR_get_is_setup(*args):
1954 get_is_setup(_ParticleAdaptor p) -> bool
1955 XYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1957 return _IMP_core.XYZR_get_is_setup(*args)
1959 def XYZR_get_radius_key():
1960 """XYZR_get_radius_key() -> FloatKey"""
1961 return _IMP_core.XYZR_get_radius_key()
1966 get_distance(XYZ a, XYZ b) -> double
1967 get_distance(XYZR a, XYZR b) -> double
1969 return _IMP_core.get_distance(*args)
1973 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
1974 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
1976 return _IMP_core.set_enclosing_sphere(*args)
1979 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
1980 return _IMP_core.set_enclosing_radius(*args)
1983 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
1984 return _IMP_core.get_enclosing_sphere(*args)
1988 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
1989 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
1991 return _IMP_core.create_xyzr_particles(*args)
1993 """Proxy of C++ IMP::core::XYZRGeometry class"""
1994 __swig_setmethods__ = {}
1996 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRGeometry, name, value)
1997 __swig_getmethods__ = {}
1999 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRGeometry, name)
2000 def __init__(self, *args):
2002 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2003 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2005 this = _IMP_core.new_XYZRGeometry(*args)
2006 try: self.this.append(this)
2007 except: self.this = this
2008 def get_version_info(self):
2009 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2010 return _IMP_core.XYZRGeometry_get_version_info(self)
2013 """__str__(XYZRGeometry self) -> std::string"""
2014 return _IMP_core.XYZRGeometry___str__(self)
2017 """__repr__(XYZRGeometry self) -> std::string"""
2018 return _IMP_core.XYZRGeometry___repr__(self)
2021 return _object_cast_to_XYZRGeometry(o)
2022 get_from = staticmethod(get_from)
2024 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2025 XYZRGeometry_swigregister(XYZRGeometry)
2028 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2029 __swig_setmethods__ = {}
2031 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRsGeometry, name, value)
2032 __swig_getmethods__ = {}
2034 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRsGeometry, name)
2035 def __init__(self, *args):
2036 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2037 this = _IMP_core.new_XYZRsGeometry(*args)
2038 try: self.this.append(this)
2039 except: self.this = this
2040 def get_version_info(self):
2041 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2042 return _IMP_core.XYZRsGeometry_get_version_info(self)
2045 """__str__(XYZRsGeometry self) -> std::string"""
2046 return _IMP_core.XYZRsGeometry___str__(self)
2049 """__repr__(XYZRsGeometry self) -> std::string"""
2050 return _IMP_core.XYZRsGeometry___repr__(self)
2053 return _object_cast_to_XYZRsGeometry(o)
2054 get_from = staticmethod(get_from)
2056 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2057 XYZRsGeometry_swigregister(XYZRsGeometry)
2060 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2061 __swig_setmethods__ = {}
2063 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativeGeometry, name, value)
2064 __swig_getmethods__ = {}
2066 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativeGeometry, name)
2067 def __init__(self, *args):
2069 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2070 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2072 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2073 try: self.this.append(this)
2074 except: self.this = this
2075 def get_version_info(self):
2076 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2077 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2080 """__str__(XYZDerivativeGeometry self) -> std::string"""
2081 return _IMP_core.XYZDerivativeGeometry___str__(self)
2084 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2085 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2088 return _object_cast_to_XYZDerivativeGeometry(o)
2089 get_from = staticmethod(get_from)
2091 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2092 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2095 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2096 __swig_setmethods__ = {}
2098 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativesGeometry, name, value)
2099 __swig_getmethods__ = {}
2101 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativesGeometry, name)
2102 def __init__(self, *args):
2103 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2104 this = _IMP_core.new_XYZDerivativesGeometry(*args)
2105 try: self.this.append(this)
2106 except: self.this = this
2107 def get_version_info(self):
2108 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2109 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2112 """__str__(XYZDerivativesGeometry self) -> std::string"""
2113 return _IMP_core.XYZDerivativesGeometry___str__(self)
2116 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2117 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2120 return _object_cast_to_XYZDerivativesGeometry(o)
2121 get_from = staticmethod(get_from)
2123 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2124 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2127 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2128 __swig_setmethods__ = {}
2130 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairGeometry, name, value)
2131 __swig_getmethods__ = {}
2133 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairGeometry, name)
2134 def __init__(self, *args):
2135 """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2136 this = _IMP_core.new_EdgePairGeometry(*args)
2137 try: self.this.append(this)
2138 except: self.this = this
2139 def get_version_info(self):
2140 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2141 return _IMP_core.EdgePairGeometry_get_version_info(self)
2144 """__str__(EdgePairGeometry self) -> std::string"""
2145 return _IMP_core.EdgePairGeometry___str__(self)
2148 """__repr__(EdgePairGeometry self) -> std::string"""
2149 return _IMP_core.EdgePairGeometry___repr__(self)
2152 return _object_cast_to_EdgePairGeometry(o)
2153 get_from = staticmethod(get_from)
2155 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2156 EdgePairGeometry_swigregister(EdgePairGeometry)
2159 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2160 __swig_setmethods__ = {}
2162 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairsGeometry, name, value)
2163 __swig_getmethods__ = {}
2165 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairsGeometry, name)
2166 def __init__(self, *args):
2167 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2168 this = _IMP_core.new_EdgePairsGeometry(*args)
2169 try: self.this.append(this)
2170 except: self.this = this
2171 def get_version_info(self):
2172 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2173 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2176 """__str__(EdgePairsGeometry self) -> std::string"""
2177 return _IMP_core.EdgePairsGeometry___str__(self)
2180 """__repr__(EdgePairsGeometry self) -> std::string"""
2181 return _IMP_core.EdgePairsGeometry___repr__(self)
2184 return _object_cast_to_EdgePairsGeometry(o)
2185 get_from = staticmethod(get_from)
2187 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2188 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2191 """Proxy of C++ IMP::core::AngleTripletScore class"""
2192 __swig_setmethods__ = {}
2194 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleTripletScore, name, value)
2195 __swig_getmethods__ = {}
2197 __getattr__ =
lambda self, name: _swig_getattr(self, AngleTripletScore, name)
2198 def __init__(self, *args):
2199 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2200 this = _IMP_core.new_AngleTripletScore(*args)
2201 try: self.this.append(this)
2202 except: self.this = this
2203 def do_get_inputs(self, *args):
2204 """do_get_inputs(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2205 return _IMP_core.AngleTripletScore_do_get_inputs(self, *args)
2207 def get_version_info(self):
2208 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2209 return _IMP_core.AngleTripletScore_get_version_info(self)
2212 """__str__(AngleTripletScore self) -> std::string"""
2213 return _IMP_core.AngleTripletScore___str__(self)
2216 """__repr__(AngleTripletScore self) -> std::string"""
2217 return _IMP_core.AngleTripletScore___repr__(self)
2220 return _object_cast_to_AngleTripletScore(o)
2221 get_from = staticmethod(get_from)
2223 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2224 AngleTripletScore_swigregister(AngleTripletScore)
2226 class BallMover(MonteCarloMover):
2227 """Proxy of C++ IMP::core::BallMover class"""
2228 __swig_setmethods__ = {}
2229 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2230 __setattr__ =
lambda self, name, value: _swig_setattr(self, BallMover, name, value)
2231 __swig_getmethods__ = {}
2232 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2233 __getattr__ =
lambda self, name: _swig_getattr(self, BallMover, name)
2234 def __init__(self, *args):
2236 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2237 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2238 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2239 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2241 this = _IMP_core.new_BallMover(*args)
2242 try: self.this.append(this)
2243 except: self.this = this
2244 def set_radius(self, *args):
2245 """set_radius(BallMover self, IMP::Float radius)"""
2246 return _IMP_core.BallMover_set_radius(self, *args)
2248 def get_radius(self):
2249 """get_radius(BallMover self) -> IMP::Float"""
2250 return _IMP_core.BallMover_get_radius(self)
2252 def get_version_info(self):
2253 """get_version_info(BallMover self) -> VersionInfo"""
2254 return _IMP_core.BallMover_get_version_info(self)
2257 """__str__(BallMover self) -> std::string"""
2258 return _IMP_core.BallMover___str__(self)
2261 """__repr__(BallMover self) -> std::string"""
2262 return _IMP_core.BallMover___repr__(self)
2265 return _object_cast_to_BallMover(o)
2266 get_from = staticmethod(get_from)
2268 BallMover_swigregister = _IMP_core.BallMover_swigregister
2269 BallMover_swigregister(BallMover)
2271 class SerialMover(MonteCarloMover):
2272 """Proxy of C++ IMP::core::SerialMover class"""
2273 __swig_setmethods__ = {}
2274 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2275 __setattr__ =
lambda self, name, value: _swig_setattr(self, SerialMover, name, value)
2276 __swig_getmethods__ = {}
2277 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2278 __getattr__ =
lambda self, name: _swig_getattr(self, SerialMover, name)
2279 def __init__(self, *args):
2280 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2281 this = _IMP_core.new_SerialMover(*args)
2282 try: self.this.append(this)
2283 except: self.this = this
2284 def get_movers(self):
2285 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2286 return _IMP_core.SerialMover_get_movers(self)
2288 def get_version_info(self):
2289 """get_version_info(SerialMover self) -> VersionInfo"""
2290 return _IMP_core.SerialMover_get_version_info(self)
2293 """__str__(SerialMover self) -> std::string"""
2294 return _IMP_core.SerialMover___str__(self)
2297 """__repr__(SerialMover self) -> std::string"""
2298 return _IMP_core.SerialMover___repr__(self)
2301 return _object_cast_to_SerialMover(o)
2302 get_from = staticmethod(get_from)
2304 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2305 SerialMover_swigregister(SerialMover)
2307 class BoxSweepClosePairsFinder(ClosePairsFinder):
2308 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2309 __swig_setmethods__ = {}
2310 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2311 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoxSweepClosePairsFinder, name, value)
2312 __swig_getmethods__ = {}
2313 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2314 __getattr__ =
lambda self, name: _swig_getattr(self, BoxSweepClosePairsFinder, name)
2316 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2317 this = _IMP_core.new_BoxSweepClosePairsFinder()
2318 try: self.this.append(this)
2319 except: self.this = this
2320 def get_close_pairs(self, *args):
2322 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
2323 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
2324 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2325 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2326 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
2327 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
2329 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2331 def do_get_inputs(self, *args):
2332 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2333 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, *args)
2335 def get_version_info(self):
2336 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2337 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2340 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2341 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2344 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2345 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2348 return _object_cast_to_BoxSweepClosePairsFinder(o)
2349 get_from = staticmethod(get_from)
2351 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2352 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2355 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2356 __swig_setmethods__ = {}
2358 __setattr__ =
lambda self, name, value: _swig_setattr(self, CentroidOfRefined, name, value)
2359 __swig_getmethods__ = {}
2361 __getattr__ =
lambda self, name: _swig_getattr(self, CentroidOfRefined, name)
2362 def __init__(self, *args):
2364 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2365 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2366 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2368 this = _IMP_core.new_CentroidOfRefined(*args)
2369 try: self.this.append(this)
2370 except: self.this = this
2371 def do_get_inputs(self, *args):
2372 """do_get_inputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2373 return _IMP_core.CentroidOfRefined_do_get_inputs(self, *args)
2375 def do_get_outputs(self, *args):
2376 """do_get_outputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2377 return _IMP_core.CentroidOfRefined_do_get_outputs(self, *args)
2379 def get_version_info(self):
2380 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2381 return _IMP_core.CentroidOfRefined_get_version_info(self)
2384 """__str__(CentroidOfRefined self) -> std::string"""
2385 return _IMP_core.CentroidOfRefined___str__(self)
2388 """__repr__(CentroidOfRefined self) -> std::string"""
2389 return _IMP_core.CentroidOfRefined___repr__(self)
2392 return _object_cast_to_CentroidOfRefined(o)
2393 get_from = staticmethod(get_from)
2395 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2396 CentroidOfRefined_swigregister(CentroidOfRefined)
2398 class Centroid(XYZ):
2399 """Proxy of C++ IMP::core::Centroid class"""
2400 __swig_setmethods__ = {}
2401 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2402 __setattr__ =
lambda self, name, value: _swig_setattr(self, Centroid, name, value)
2403 __swig_getmethods__ = {}
2404 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2405 __getattr__ =
lambda self, name: _swig_getattr(self, Centroid, name)
2406 def get_constraint(self):
2407 """get_constraint(Centroid self) -> Constraint"""
2408 return _IMP_core.Centroid_get_constraint(self)
2410 def __init__(self, *args):
2412 __init__(IMP::core::Centroid self) -> Centroid
2413 __init__(IMP::core::Centroid self, Model m, ::IMP::kernel::ParticleIndex id) -> Centroid
2414 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2416 this = _IMP_core.new_Centroid(*args)
2417 try: self.this.append(this)
2418 except: self.this = this
2419 def show(self, *args):
2421 show(Centroid self, _ostream out=std::cout)
2424 return _IMP_core.Centroid_show(self, *args)
2426 def setup_particle(*args):
2428 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2429 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2430 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2431 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2433 return _IMP_core.Centroid_setup_particle(*args)
2435 if _newclass:setup_particle = staticmethod(setup_particle)
2436 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
2437 def get_is_setup(*args):
2439 get_is_setup(_ParticleAdaptor p) -> bool
2440 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2442 return _IMP_core.Centroid_get_is_setup(*args)
2444 if _newclass:get_is_setup = staticmethod(get_is_setup)
2445 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
2446 def add_attribute(self, *args):
2448 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2449 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2450 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2451 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2452 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2453 add_attribute(Centroid self, ObjectKey a0, Object a1)
2455 return _IMP_core.Centroid_add_attribute(self, *args)
2457 def get_value(self, *args):
2459 get_value(Centroid self, FloatKey a0) -> IMP::Float
2460 get_value(Centroid self, IntKey a0) -> IMP::Int
2461 get_value(Centroid self, StringKey a0) -> IMP::String
2462 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2463 get_value(Centroid self, ObjectKey a0) -> Object
2465 return _IMP_core.Centroid_get_value(self, *args)
2467 def set_value(self, *args):
2469 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2470 set_value(Centroid self, IntKey a0, IMP::Int a1)
2471 set_value(Centroid self, StringKey a0, IMP::String a1)
2472 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2473 set_value(Centroid self, ObjectKey a0, Object a1)
2475 return _IMP_core.Centroid_set_value(self, *args)
2477 def remove_attribute(self, *args):
2479 remove_attribute(Centroid self, FloatKey a0)
2480 remove_attribute(Centroid self, IntKey a0)
2481 remove_attribute(Centroid self, StringKey a0)
2482 remove_attribute(Centroid self, ParticleIndexKey a0)
2483 remove_attribute(Centroid self, ObjectKey a0)
2485 return _IMP_core.Centroid_remove_attribute(self, *args)
2487 def has_attribute(self, *args):
2489 has_attribute(Centroid self, FloatKey a0) -> bool
2490 has_attribute(Centroid self, IntKey a0) -> bool
2491 has_attribute(Centroid self, StringKey a0) -> bool
2492 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2493 has_attribute(Centroid self, ObjectKey a0) -> bool
2495 return _IMP_core.Centroid_has_attribute(self, *args)
2497 def get_derivative(self, *args):
2498 """get_derivative(Centroid self, FloatKey a0) -> double"""
2499 return _IMP_core.Centroid_get_derivative(self, *args)
2502 """get_name(Centroid self) -> std::string"""
2503 return _IMP_core.Centroid_get_name(self)
2505 def clear_caches(self):
2506 """clear_caches(Centroid self)"""
2507 return _IMP_core.Centroid_clear_caches(self)
2509 def set_name(self, *args):
2510 """set_name(Centroid self, std::string a0)"""
2511 return _IMP_core.Centroid_set_name(self, *args)
2514 """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2515 return _IMP_core.Centroid_set_check_level(self, *args)
2517 def add_to_derivative(self, *args):
2518 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2519 return _IMP_core.Centroid_add_to_derivative(self, *args)
2521 def set_is_optimized(self, *args):
2522 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2523 return _IMP_core.Centroid_set_is_optimized(self, *args)
2525 def get_is_optimized(self, *args):
2526 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2527 return _IMP_core.Centroid_get_is_optimized(self, *args)
2530 """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2531 return _IMP_core.Centroid_get_check_level(self)
2533 def __eq__(self, *args):
2535 __eq__(Centroid self, Centroid o) -> bool
2536 __eq__(Centroid self, Particle d) -> bool
2538 return _IMP_core.Centroid___eq__(self, *args)
2540 def __ne__(self, *args):
2542 __ne__(Centroid self, Centroid o) -> bool
2543 __ne__(Centroid self, Particle d) -> bool
2545 return _IMP_core.Centroid___ne__(self, *args)
2547 def __le__(self, *args):
2549 __le__(Centroid self, Centroid o) -> bool
2550 __le__(Centroid self, Particle d) -> bool
2552 return _IMP_core.Centroid___le__(self, *args)
2554 def __lt__(self, *args):
2556 __lt__(Centroid self, Centroid o) -> bool
2557 __lt__(Centroid self, Particle d) -> bool
2559 return _IMP_core.Centroid___lt__(self, *args)
2561 def __ge__(self, *args):
2563 __ge__(Centroid self, Centroid o) -> bool
2564 __ge__(Centroid self, Particle d) -> bool
2566 return _IMP_core.Centroid___ge__(self, *args)
2568 def __gt__(self, *args):
2570 __gt__(Centroid self, Centroid o) -> bool
2571 __gt__(Centroid self, Particle d) -> bool
2573 return _IMP_core.Centroid___gt__(self, *args)
2576 """__str__(Centroid self) -> std::string"""
2577 return _IMP_core.Centroid___str__(self)
2580 """__repr__(Centroid self) -> std::string"""
2581 return _IMP_core.Centroid___repr__(self)
2583 __swig_destroy__ = _IMP_core.delete_Centroid
2584 __del__ =
lambda self :
None;
2585 Centroid_swigregister = _IMP_core.Centroid_swigregister
2586 Centroid_swigregister(Centroid)
2588 def Centroid_setup_particle(*args):
2590 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2591 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2592 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2593 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2595 return _IMP_core.Centroid_setup_particle(*args)
2597 def Centroid_get_is_setup(*args):
2599 get_is_setup(_ParticleAdaptor p) -> bool
2600 Centroid_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2602 return _IMP_core.Centroid_get_is_setup(*args)
2605 """Proxy of C++ IMP::core::ChecksScoreState class"""
2606 __swig_setmethods__ = {}
2608 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChecksScoreState, name, value)
2609 __swig_getmethods__ = {}
2611 __getattr__ =
lambda self, name: _swig_getattr(self, ChecksScoreState, name)
2612 def __init__(self, *args):
2613 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
2614 this = _IMP_core.new_ChecksScoreState(*args)
2615 try: self.this.append(this)
2616 except: self.this = this
2617 def get_number_of_checked(self):
2618 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2619 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2621 def do_before_evaluate(self):
2622 """do_before_evaluate(ChecksScoreState self)"""
2623 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2625 def do_after_evaluate(self, *args):
2626 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2627 return _IMP_core.ChecksScoreState_do_after_evaluate(self, *args)
2629 def do_get_outputs(self):
2630 """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2631 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2633 def do_get_inputs(self):
2634 """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2635 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2637 def get_version_info(self):
2638 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2639 return _IMP_core.ChecksScoreState_get_version_info(self)
2642 """__str__(ChecksScoreState self) -> std::string"""
2643 return _IMP_core.ChecksScoreState___str__(self)
2646 """__repr__(ChecksScoreState self) -> std::string"""
2647 return _IMP_core.ChecksScoreState___repr__(self)
2650 return _object_cast_to_ChecksScoreState(o)
2651 get_from = staticmethod(get_from)
2653 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2654 ChecksScoreState_swigregister(ChecksScoreState)
2657 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2658 __swig_setmethods__ = {}
2659 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2660 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChildrenRefiner, name, value)
2661 __swig_getmethods__ = {}
2662 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2663 __getattr__ =
lambda self, name: _swig_getattr(self, ChildrenRefiner, name)
2664 def __init__(self, *args):
2665 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2666 this = _IMP_core.new_ChildrenRefiner(*args)
2667 try: self.this.append(this)
2668 except: self.this = this
2669 def do_get_inputs(self, *args):
2670 """do_get_inputs(ChildrenRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2671 return _IMP_core.ChildrenRefiner_do_get_inputs(self, *args)
2673 def get_version_info(self):
2674 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2675 return _IMP_core.ChildrenRefiner_get_version_info(self)
2678 """__str__(ChildrenRefiner self) -> std::string"""
2679 return _IMP_core.ChildrenRefiner___str__(self)
2682 """__repr__(ChildrenRefiner self) -> std::string"""
2683 return _IMP_core.ChildrenRefiner___repr__(self)
2686 return _object_cast_to_ChildrenRefiner(o)
2687 get_from = staticmethod(get_from)
2689 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2690 ChildrenRefiner_swigregister(ChildrenRefiner)
2693 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2694 __swig_setmethods__ = {}
2696 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosedCubicSpline, name, value)
2697 __swig_getmethods__ = {}
2699 __getattr__ =
lambda self, name: _swig_getattr(self, ClosedCubicSpline, name)
2700 def __init__(self, *args):
2701 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2702 this = _IMP_core.new_ClosedCubicSpline(*args)
2703 try: self.this.append(this)
2704 except: self.this = this
2705 def get_version_info(self):
2706 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2707 return _IMP_core.ClosedCubicSpline_get_version_info(self)
2709 def do_show(self, *args):
2710 """do_show(ClosedCubicSpline self, _ostream out)"""
2711 return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2714 """__str__(ClosedCubicSpline self) -> std::string"""
2715 return _IMP_core.ClosedCubicSpline___str__(self)
2718 """__repr__(ClosedCubicSpline self) -> std::string"""
2719 return _IMP_core.ClosedCubicSpline___repr__(self)
2722 return _object_cast_to_ClosedCubicSpline(o)
2723 get_from = staticmethod(get_from)
2725 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2726 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2729 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2730 __swig_setmethods__ = {}
2731 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2732 __setattr__ =
lambda self, name, value: _swig_setattr(self, KClosePairsPairScore, name, value)
2733 __swig_getmethods__ = {}
2734 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2735 __getattr__ =
lambda self, name: _swig_getattr(self, KClosePairsPairScore, name)
2736 def __init__(self, *args):
2738 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2739 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2741 this = _IMP_core.new_KClosePairsPairScore(*args)
2742 try: self.this.append(this)
2743 except: self.this = this
2744 def get_close_pairs(self, *args):
2745 """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2746 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
2748 def create_current_decomposition(self, *args):
2749 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2750 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
2752 def do_get_inputs(self, *args):
2753 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2754 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, *args)
2756 def get_version_info(self):
2757 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
2758 return _IMP_core.KClosePairsPairScore_get_version_info(self)
2761 """__str__(KClosePairsPairScore self) -> std::string"""
2762 return _IMP_core.KClosePairsPairScore___str__(self)
2765 """__repr__(KClosePairsPairScore self) -> std::string"""
2766 return _IMP_core.KClosePairsPairScore___repr__(self)
2769 return _object_cast_to_KClosePairsPairScore(o)
2770 get_from = staticmethod(get_from)
2772 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
2773 KClosePairsPairScore_swigregister(KClosePairsPairScore)
2776 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
2777 __swig_setmethods__ = {}
2778 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2779 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsPairScore, name, value)
2780 __swig_getmethods__ = {}
2781 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2782 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsPairScore, name)
2783 def __init__(self, *args):
2784 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
2785 this = _IMP_core.new_ClosePairsPairScore(*args)
2786 try: self.this.append(this)
2787 except: self.this = this
2788 def get_close_pairs(self, *args):
2789 """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2790 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
2792 def create_current_decomposition(self, *args):
2793 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2794 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
2796 def do_get_inputs(self, *args):
2797 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2798 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, *args)
2800 def get_version_info(self):
2801 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
2802 return _IMP_core.ClosePairsPairScore_get_version_info(self)
2805 """__str__(ClosePairsPairScore self) -> std::string"""
2806 return _IMP_core.ClosePairsPairScore___str__(self)
2809 """__repr__(ClosePairsPairScore self) -> std::string"""
2810 return _IMP_core.ClosePairsPairScore___repr__(self)
2813 return _object_cast_to_ClosePairsPairScore(o)
2814 get_from = staticmethod(get_from)
2816 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
2817 ClosePairsPairScore_swigregister(ClosePairsPairScore)
2820 """Proxy of C++ IMP::core::ConjugateGradients class"""
2821 __swig_setmethods__ = {}
2823 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConjugateGradients, name, value)
2824 __swig_getmethods__ = {}
2826 __getattr__ =
lambda self, name: _swig_getattr(self, ConjugateGradients, name)
2827 def __init__(self, *args):
2829 __init__(IMP::core::ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
2830 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
2832 this = _IMP_core.new_ConjugateGradients(*args)
2833 try: self.this.append(this)
2834 except: self.this = this
2835 def set_gradient_threshold(self, *args):
2836 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
2837 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
2839 def set_threshold(self, *args):
2840 """set_threshold(ConjugateGradients self, IMP::Float t)"""
2841 return _IMP_core.ConjugateGradients_set_threshold(self, *args)
2843 def set_max_change(self, *args):
2844 """set_max_change(ConjugateGradients self, IMP::Float t)"""
2845 return _IMP_core.ConjugateGradients_set_max_change(self, *args)
2847 def do_optimize(self, *args):
2848 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
2849 return _IMP_core.ConjugateGradients_do_optimize(self, *args)
2851 def get_version_info(self):
2852 """get_version_info(ConjugateGradients self) -> VersionInfo"""
2853 return _IMP_core.ConjugateGradients_get_version_info(self)
2856 """__str__(ConjugateGradients self) -> std::string"""
2857 return _IMP_core.ConjugateGradients___str__(self)
2860 """__repr__(ConjugateGradients self) -> std::string"""
2861 return _IMP_core.ConjugateGradients___repr__(self)
2864 return _object_cast_to_ConjugateGradients(o)
2865 get_from = staticmethod(get_from)
2867 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
2868 ConjugateGradients_swigregister(ConjugateGradients)
2871 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
2872 __swig_setmethods__ = {}
2873 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2874 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnectivityRestraint, name, value)
2875 __swig_getmethods__ = {}
2876 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2877 __getattr__ =
lambda self, name: _swig_getattr(self, ConnectivityRestraint, name)
2878 def __init__(self, *args):
2880 __init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint
2881 __init__(IMP::core::ConnectivityRestraint self, Model m, PairScore ps) -> ConnectivityRestraint
2883 this = _IMP_core.new_ConnectivityRestraint(*args)
2884 try: self.this.append(this)
2885 except: self.this = this
2887 """add_particle(ConnectivityRestraint self, Particle p)"""
2888 return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
2891 """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
2892 return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
2894 def set_particles(self, *args):
2895 """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
2896 return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
2898 def get_connected_pairs(self):
2899 """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
2900 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
2902 def get_pair_score(self):
2903 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
2904 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
2906 def do_create_current_decomposition(self):
2907 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
2908 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
2910 def do_get_inputs(self):
2911 """do_get_inputs(ConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2912 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
2914 def get_version_info(self):
2915 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
2916 return _IMP_core.ConnectivityRestraint_get_version_info(self)
2919 """__str__(ConnectivityRestraint self) -> std::string"""
2920 return _IMP_core.ConnectivityRestraint___str__(self)
2923 """__repr__(ConnectivityRestraint self) -> std::string"""
2924 return _IMP_core.ConnectivityRestraint___repr__(self)
2927 return _object_cast_to_ConnectivityRestraint(o)
2928 get_from = staticmethod(get_from)
2930 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
2931 ConnectivityRestraint_swigregister(ConnectivityRestraint)
2934 """Proxy of C++ IMP::core::ConstantRestraint class"""
2935 __swig_setmethods__ = {}
2936 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2937 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantRestraint, name, value)
2938 __swig_getmethods__ = {}
2939 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2940 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantRestraint, name)
2941 def __init__(self, *args):
2942 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
2943 this = _IMP_core.new_ConstantRestraint(*args)
2944 try: self.this.append(this)
2945 except: self.this = this
2946 def do_get_inputs(self):
2947 """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2948 return _IMP_core.ConstantRestraint_do_get_inputs(self)
2950 def get_version_info(self):
2951 """get_version_info(ConstantRestraint self) -> VersionInfo"""
2952 return _IMP_core.ConstantRestraint_get_version_info(self)
2955 """__str__(ConstantRestraint self) -> std::string"""
2956 return _IMP_core.ConstantRestraint___str__(self)
2959 """__repr__(ConstantRestraint self) -> std::string"""
2960 return _IMP_core.ConstantRestraint___repr__(self)
2963 return _object_cast_to_ConstantRestraint(o)
2964 get_from = staticmethod(get_from)
2966 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
2967 ConstantRestraint_swigregister(ConstantRestraint)
2970 """Proxy of C++ IMP::core::Cosine class"""
2971 __swig_setmethods__ = {}
2973 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cosine, name, value)
2974 __swig_getmethods__ = {}
2976 __getattr__ =
lambda self, name: _swig_getattr(self, Cosine, name)
2977 def __init__(self, *args):
2978 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
2979 this = _IMP_core.new_Cosine(*args)
2980 try: self.this.append(this)
2981 except: self.this = this
2982 def get_version_info(self):
2983 """get_version_info(Cosine self) -> VersionInfo"""
2984 return _IMP_core.Cosine_get_version_info(self)
2986 def do_show(self, *args):
2987 """do_show(Cosine self, _ostream out)"""
2988 return _IMP_core.Cosine_do_show(self, *args)
2991 """__str__(Cosine self) -> std::string"""
2992 return _IMP_core.Cosine___str__(self)
2995 """__repr__(Cosine self) -> std::string"""
2996 return _IMP_core.Cosine___repr__(self)
2999 return _object_cast_to_Cosine(o)
3000 get_from = staticmethod(get_from)
3002 Cosine_swigregister = _IMP_core.Cosine_swigregister
3003 Cosine_swigregister(Cosine)
3006 """Proxy of C++ IMP::core::CoverRefined class"""
3007 __swig_setmethods__ = {}
3009 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoverRefined, name, value)
3010 __swig_getmethods__ = {}
3012 __getattr__ =
lambda self, name: _swig_getattr(self, CoverRefined, name)
3013 def __init__(self, *args):
3015 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3016 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3018 this = _IMP_core.new_CoverRefined(*args)
3019 try: self.this.append(this)
3020 except: self.this = this
3021 def set_slack(self, *args):
3022 """set_slack(CoverRefined self, IMP::Float slack)"""
3023 return _IMP_core.CoverRefined_set_slack(self, *args)
3025 def do_get_inputs(self, *args):
3026 """do_get_inputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3027 return _IMP_core.CoverRefined_do_get_inputs(self, *args)
3029 def do_get_outputs(self, *args):
3030 """do_get_outputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3031 return _IMP_core.CoverRefined_do_get_outputs(self, *args)
3033 def get_version_info(self):
3034 """get_version_info(CoverRefined self) -> VersionInfo"""
3035 return _IMP_core.CoverRefined_get_version_info(self)
3038 """__str__(CoverRefined self) -> std::string"""
3039 return _IMP_core.CoverRefined___str__(self)
3042 """__repr__(CoverRefined self) -> std::string"""
3043 return _IMP_core.CoverRefined___repr__(self)
3046 return _object_cast_to_CoverRefined(o)
3047 get_from = staticmethod(get_from)
3049 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3050 CoverRefined_swigregister(CoverRefined)
3053 """Proxy of C++ IMP::core::Cover class"""
3054 __swig_setmethods__ = {}
3055 for _s
in [XYZR]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3056 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cover, name, value)
3057 __swig_getmethods__ = {}
3058 for _s
in [XYZR]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3059 __getattr__ =
lambda self, name: _swig_getattr(self, Cover, name)
3060 def get_constraint(self):
3061 """get_constraint(Cover self) -> Constraint"""
3062 return _IMP_core.Cover_get_constraint(self)
3064 def __init__(self, *args):
3066 __init__(IMP::core::Cover self) -> Cover
3067 __init__(IMP::core::Cover self, Model m, ::IMP::kernel::ParticleIndex id) -> Cover
3068 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3070 this = _IMP_core.new_Cover(*args)
3071 try: self.this.append(this)
3072 except: self.this = this
3073 def show(self, *args):
3075 show(Cover self, _ostream out=std::cout)
3078 return _IMP_core.Cover_show(self, *args)
3080 def setup_particle(*args):
3082 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3083 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3084 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3085 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3087 return _IMP_core.Cover_setup_particle(*args)
3089 if _newclass:setup_particle = staticmethod(setup_particle)
3090 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3091 def get_is_setup(*args):
3093 get_is_setup(_ParticleAdaptor p) -> bool
3094 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3096 return _IMP_core.Cover_get_is_setup(*args)
3098 if _newclass:get_is_setup = staticmethod(get_is_setup)
3099 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3100 def add_attribute(self, *args):
3102 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3103 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3104 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3105 add_attribute(Cover self, StringKey a0, IMP::String a1)
3106 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3107 add_attribute(Cover self, ObjectKey a0, Object a1)
3109 return _IMP_core.Cover_add_attribute(self, *args)
3111 def get_value(self, *args):
3113 get_value(Cover self, FloatKey a0) -> IMP::Float
3114 get_value(Cover self, IntKey a0) -> IMP::Int
3115 get_value(Cover self, StringKey a0) -> IMP::String
3116 get_value(Cover self, ParticleIndexKey a0) -> Particle
3117 get_value(Cover self, ObjectKey a0) -> Object
3119 return _IMP_core.Cover_get_value(self, *args)
3121 def set_value(self, *args):
3123 set_value(Cover self, FloatKey a0, IMP::Float a1)
3124 set_value(Cover self, IntKey a0, IMP::Int a1)
3125 set_value(Cover self, StringKey a0, IMP::String a1)
3126 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3127 set_value(Cover self, ObjectKey a0, Object a1)
3129 return _IMP_core.Cover_set_value(self, *args)
3131 def remove_attribute(self, *args):
3133 remove_attribute(Cover self, FloatKey a0)
3134 remove_attribute(Cover self, IntKey a0)
3135 remove_attribute(Cover self, StringKey a0)
3136 remove_attribute(Cover self, ParticleIndexKey a0)
3137 remove_attribute(Cover self, ObjectKey a0)
3139 return _IMP_core.Cover_remove_attribute(self, *args)
3141 def has_attribute(self, *args):
3143 has_attribute(Cover self, FloatKey a0) -> bool
3144 has_attribute(Cover self, IntKey a0) -> bool
3145 has_attribute(Cover self, StringKey a0) -> bool
3146 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3147 has_attribute(Cover self, ObjectKey a0) -> bool
3149 return _IMP_core.Cover_has_attribute(self, *args)
3151 def get_derivative(self, *args):
3152 """get_derivative(Cover self, FloatKey a0) -> double"""
3153 return _IMP_core.Cover_get_derivative(self, *args)
3156 """get_name(Cover self) -> std::string"""
3157 return _IMP_core.Cover_get_name(self)
3159 def clear_caches(self):
3160 """clear_caches(Cover self)"""
3161 return _IMP_core.Cover_clear_caches(self)
3163 def set_name(self, *args):
3164 """set_name(Cover self, std::string a0)"""
3165 return _IMP_core.Cover_set_name(self, *args)
3168 """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3169 return _IMP_core.Cover_set_check_level(self, *args)
3171 def add_to_derivative(self, *args):
3172 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3173 return _IMP_core.Cover_add_to_derivative(self, *args)
3175 def set_is_optimized(self, *args):
3176 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3177 return _IMP_core.Cover_set_is_optimized(self, *args)
3179 def get_is_optimized(self, *args):
3180 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3181 return _IMP_core.Cover_get_is_optimized(self, *args)
3184 """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3185 return _IMP_core.Cover_get_check_level(self)
3187 def __eq__(self, *args):
3189 __eq__(Cover self, Cover o) -> bool
3190 __eq__(Cover self, Particle d) -> bool
3192 return _IMP_core.Cover___eq__(self, *args)
3194 def __ne__(self, *args):
3196 __ne__(Cover self, Cover o) -> bool
3197 __ne__(Cover self, Particle d) -> bool
3199 return _IMP_core.Cover___ne__(self, *args)
3201 def __le__(self, *args):
3203 __le__(Cover self, Cover o) -> bool
3204 __le__(Cover self, Particle d) -> bool
3206 return _IMP_core.Cover___le__(self, *args)
3208 def __lt__(self, *args):
3210 __lt__(Cover self, Cover o) -> bool
3211 __lt__(Cover self, Particle d) -> bool
3213 return _IMP_core.Cover___lt__(self, *args)
3215 def __ge__(self, *args):
3217 __ge__(Cover self, Cover o) -> bool
3218 __ge__(Cover self, Particle d) -> bool
3220 return _IMP_core.Cover___ge__(self, *args)
3222 def __gt__(self, *args):
3224 __gt__(Cover self, Cover o) -> bool
3225 __gt__(Cover self, Particle d) -> bool
3227 return _IMP_core.Cover___gt__(self, *args)
3230 """__str__(Cover self) -> std::string"""
3231 return _IMP_core.Cover___str__(self)
3234 """__repr__(Cover self) -> std::string"""
3235 return _IMP_core.Cover___repr__(self)
3237 __swig_destroy__ = _IMP_core.delete_Cover
3238 __del__ =
lambda self :
None;
3239 Cover_swigregister = _IMP_core.Cover_swigregister
3240 Cover_swigregister(Cover)
3242 def Cover_setup_particle(*args):
3244 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3245 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3246 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3247 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3249 return _IMP_core.Cover_setup_particle(*args)
3251 def Cover_get_is_setup(*args):
3253 get_is_setup(_ParticleAdaptor p) -> bool
3254 Cover_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3256 return _IMP_core.Cover_get_is_setup(*args)
3259 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3260 __swig_setmethods__ = {}
3262 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesFromRefined, name, value)
3263 __swig_getmethods__ = {}
3265 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesFromRefined, name)
3266 def __init__(self, *args):
3268 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3269 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3271 this = _IMP_core.new_DerivativesFromRefined(*args)
3272 try: self.this.append(this)
3273 except: self.this = this
3274 def do_get_inputs(self, *args):
3275 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3276 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, *args)
3278 def do_get_outputs(self, *args):
3279 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3280 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, *args)
3282 def get_version_info(self):
3283 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3284 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3287 """__str__(DerivativesFromRefined self) -> std::string"""
3288 return _IMP_core.DerivativesFromRefined___str__(self)
3291 """__repr__(DerivativesFromRefined self) -> std::string"""
3292 return _IMP_core.DerivativesFromRefined___repr__(self)
3295 return _object_cast_to_DerivativesFromRefined(o)
3296 get_from = staticmethod(get_from)
3298 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3299 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3302 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3303 __swig_setmethods__ = {}
3305 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesToRefined, name, value)
3306 __swig_getmethods__ = {}
3308 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesToRefined, name)
3309 def __init__(self, *args):
3311 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3312 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3314 this = _IMP_core.new_DerivativesToRefined(*args)
3315 try: self.this.append(this)
3316 except: self.this = this
3317 def do_get_inputs(self, *args):
3318 """do_get_inputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3319 return _IMP_core.DerivativesToRefined_do_get_inputs(self, *args)
3321 def do_get_outputs(self, *args):
3322 """do_get_outputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3323 return _IMP_core.DerivativesToRefined_do_get_outputs(self, *args)
3325 def get_version_info(self):
3326 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3327 return _IMP_core.DerivativesToRefined_get_version_info(self)
3330 """__str__(DerivativesToRefined self) -> std::string"""
3331 return _IMP_core.DerivativesToRefined___str__(self)
3334 """__repr__(DerivativesToRefined self) -> std::string"""
3335 return _IMP_core.DerivativesToRefined___repr__(self)
3338 return _object_cast_to_DerivativesToRefined(o)
3339 get_from = staticmethod(get_from)
3341 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3342 DerivativesToRefined_swigregister(DerivativesToRefined)
3345 """Proxy of C++ IMP::core::DiameterRestraint class"""
3346 __swig_setmethods__ = {}
3347 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3348 __setattr__ =
lambda self, name, value: _swig_setattr(self, DiameterRestraint, name, value)
3349 __swig_getmethods__ = {}
3350 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3351 __getattr__ =
lambda self, name: _swig_getattr(self, DiameterRestraint, name)
3352 def __init__(self, *args):
3353 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3354 this = _IMP_core.new_DiameterRestraint(*args)
3355 try: self.this.append(this)
3356 except: self.this = this
3357 def do_get_inputs(self):
3358 """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3359 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3361 def get_version_info(self):
3362 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3363 return _IMP_core.DiameterRestraint_get_version_info(self)
3365 def do_create_decomposition(self):
3366 """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3367 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3369 def do_create_current_decomposition(self):
3370 """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3371 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3374 """__str__(DiameterRestraint self) -> std::string"""
3375 return _IMP_core.DiameterRestraint___str__(self)
3378 """__repr__(DiameterRestraint self) -> std::string"""
3379 return _IMP_core.DiameterRestraint___repr__(self)
3382 return _object_cast_to_DiameterRestraint(o)
3383 get_from = staticmethod(get_from)
3385 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3386 DiameterRestraint_swigregister(DiameterRestraint)
3389 """Proxy of C++ IMP::core::Transform class"""
3390 __swig_setmethods__ = {}
3392 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transform, name, value)
3393 __swig_getmethods__ = {}
3395 __getattr__ =
lambda self, name: _swig_getattr(self, Transform, name)
3396 def __init__(self, *args):
3398 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3399 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3401 this = _IMP_core.new_Transform(*args)
3402 try: self.this.append(this)
3403 except: self.this = this
3404 def do_get_inputs(self, *args):
3405 """do_get_inputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3406 return _IMP_core.Transform_do_get_inputs(self, *args)
3408 def do_get_outputs(self, *args):
3409 """do_get_outputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3410 return _IMP_core.Transform_do_get_outputs(self, *args)
3412 def get_version_info(self):
3413 """get_version_info(Transform self) -> VersionInfo"""
3414 return _IMP_core.Transform_get_version_info(self)
3417 """__str__(Transform self) -> std::string"""
3418 return _IMP_core.Transform___str__(self)
3421 """__repr__(Transform self) -> std::string"""
3422 return _IMP_core.Transform___repr__(self)
3425 return _object_cast_to_Transform(o)
3426 get_from = staticmethod(get_from)
3428 Transform_swigregister = _IMP_core.Transform_swigregister
3429 Transform_swigregister(Transform)
3432 """Proxy of C++ IMP::core::Reference class"""
3433 __swig_setmethods__ = {}
3434 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3435 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reference, name, value)
3436 __swig_getmethods__ = {}
3437 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3438 __getattr__ =
lambda self, name: _swig_getattr(self, Reference, name)
3439 def __init__(self, *args):
3441 __init__(IMP::core::Reference self) -> Reference
3442 __init__(IMP::core::Reference self, Model m, ::IMP::kernel::ParticleIndex id) -> Reference
3443 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3445 this = _IMP_core.new_Reference(*args)
3446 try: self.this.append(this)
3447 except: self.this = this
3448 def show(self, *args):
3450 show(Reference self, _ostream out=std::cout)
3451 show(Reference self)
3453 return _IMP_core.Reference_show(self, *args)
3455 def setup_particle(*args):
3457 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3458 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3460 return _IMP_core.Reference_setup_particle(*args)
3462 if _newclass:setup_particle = staticmethod(setup_particle)
3463 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3464 def get_reference_particle(self):
3465 """get_reference_particle(Reference self) -> Particle"""
3466 return _IMP_core.Reference_get_reference_particle(self)
3468 def get_is_setup(*args):
3470 get_is_setup(_ParticleAdaptor p) -> bool
3471 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3473 return _IMP_core.Reference_get_is_setup(*args)
3475 if _newclass:get_is_setup = staticmethod(get_is_setup)
3476 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3477 def get_reference_key():
3478 """get_reference_key() -> ParticleIndexKey"""
3479 return _IMP_core.Reference_get_reference_key()
3481 if _newclass:get_reference_key = staticmethod(get_reference_key)
3482 __swig_getmethods__[
"get_reference_key"] =
lambda x: get_reference_key
3483 def add_attribute(self, *args):
3485 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3486 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3487 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3488 add_attribute(Reference self, StringKey a0, IMP::String a1)
3489 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3490 add_attribute(Reference self, ObjectKey a0, Object a1)
3492 return _IMP_core.Reference_add_attribute(self, *args)
3494 def get_value(self, *args):
3496 get_value(Reference self, FloatKey a0) -> IMP::Float
3497 get_value(Reference self, IntKey a0) -> IMP::Int
3498 get_value(Reference self, StringKey a0) -> IMP::String
3499 get_value(Reference self, ParticleIndexKey a0) -> Particle
3500 get_value(Reference self, ObjectKey a0) -> Object
3502 return _IMP_core.Reference_get_value(self, *args)
3504 def set_value(self, *args):
3506 set_value(Reference self, FloatKey a0, IMP::Float a1)
3507 set_value(Reference self, IntKey a0, IMP::Int a1)
3508 set_value(Reference self, StringKey a0, IMP::String a1)
3509 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3510 set_value(Reference self, ObjectKey a0, Object a1)
3512 return _IMP_core.Reference_set_value(self, *args)
3514 def remove_attribute(self, *args):
3516 remove_attribute(Reference self, FloatKey a0)
3517 remove_attribute(Reference self, IntKey a0)
3518 remove_attribute(Reference self, StringKey a0)
3519 remove_attribute(Reference self, ParticleIndexKey a0)
3520 remove_attribute(Reference self, ObjectKey a0)
3522 return _IMP_core.Reference_remove_attribute(self, *args)
3524 def has_attribute(self, *args):
3526 has_attribute(Reference self, FloatKey a0) -> bool
3527 has_attribute(Reference self, IntKey a0) -> bool
3528 has_attribute(Reference self, StringKey a0) -> bool
3529 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3530 has_attribute(Reference self, ObjectKey a0) -> bool
3532 return _IMP_core.Reference_has_attribute(self, *args)
3534 def get_derivative(self, *args):
3535 """get_derivative(Reference self, FloatKey a0) -> double"""
3536 return _IMP_core.Reference_get_derivative(self, *args)
3539 """get_name(Reference self) -> std::string"""
3540 return _IMP_core.Reference_get_name(self)
3542 def clear_caches(self):
3543 """clear_caches(Reference self)"""
3544 return _IMP_core.Reference_clear_caches(self)
3546 def set_name(self, *args):
3547 """set_name(Reference self, std::string a0)"""
3548 return _IMP_core.Reference_set_name(self, *args)
3551 """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3552 return _IMP_core.Reference_set_check_level(self, *args)
3554 def add_to_derivative(self, *args):
3555 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3556 return _IMP_core.Reference_add_to_derivative(self, *args)
3558 def set_is_optimized(self, *args):
3559 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3560 return _IMP_core.Reference_set_is_optimized(self, *args)
3562 def get_is_optimized(self, *args):
3563 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3564 return _IMP_core.Reference_get_is_optimized(self, *args)
3567 """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3568 return _IMP_core.Reference_get_check_level(self)
3570 def __eq__(self, *args):
3572 __eq__(Reference self, Reference o) -> bool
3573 __eq__(Reference self, Particle d) -> bool
3575 return _IMP_core.Reference___eq__(self, *args)
3577 def __ne__(self, *args):
3579 __ne__(Reference self, Reference o) -> bool
3580 __ne__(Reference self, Particle d) -> bool
3582 return _IMP_core.Reference___ne__(self, *args)
3584 def __le__(self, *args):
3586 __le__(Reference self, Reference o) -> bool
3587 __le__(Reference self, Particle d) -> bool
3589 return _IMP_core.Reference___le__(self, *args)
3591 def __lt__(self, *args):
3593 __lt__(Reference self, Reference o) -> bool
3594 __lt__(Reference self, Particle d) -> bool
3596 return _IMP_core.Reference___lt__(self, *args)
3598 def __ge__(self, *args):
3600 __ge__(Reference self, Reference o) -> bool
3601 __ge__(Reference self, Particle d) -> bool
3603 return _IMP_core.Reference___ge__(self, *args)
3605 def __gt__(self, *args):
3607 __gt__(Reference self, Reference o) -> bool
3608 __gt__(Reference self, Particle d) -> bool
3610 return _IMP_core.Reference___gt__(self, *args)
3613 """__str__(Reference self) -> std::string"""
3614 return _IMP_core.Reference___str__(self)
3617 """__repr__(Reference self) -> std::string"""
3618 return _IMP_core.Reference___repr__(self)
3620 __swig_destroy__ = _IMP_core.delete_Reference
3621 __del__ =
lambda self :
None;
3622 Reference_swigregister = _IMP_core.Reference_swigregister
3623 Reference_swigregister(Reference)
3625 def Reference_setup_particle(*args):
3627 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3628 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3630 return _IMP_core.Reference_setup_particle(*args)
3632 def Reference_get_is_setup(*args):
3634 get_is_setup(_ParticleAdaptor p) -> bool
3635 Reference_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3637 return _IMP_core.Reference_get_is_setup(*args)
3639 def Reference_get_reference_key():
3640 """Reference_get_reference_key() -> ParticleIndexKey"""
3641 return _IMP_core.Reference_get_reference_key()
3644 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3645 __swig_setmethods__ = {}
3647 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationAndReflectionSymmetry, name, value)
3648 __swig_getmethods__ = {}
3650 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationAndReflectionSymmetry, name)
3651 def __init__(self, *args):
3652 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3653 this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3654 try: self.this.append(this)
3655 except: self.this = this
3656 def do_get_inputs(self, *args):
3657 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3658 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, *args)
3660 def do_get_outputs(self, *args):
3661 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3662 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, *args)
3664 def get_version_info(self):
3665 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3666 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3669 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3670 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3673 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3674 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3677 return _object_cast_to_TransformationAndReflectionSymmetry(o)
3678 get_from = staticmethod(get_from)
3680 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3681 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3684 """Proxy of C++ IMP::core::TransformationSymmetry class"""
3685 __swig_setmethods__ = {}
3687 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationSymmetry, name, value)
3688 __swig_getmethods__ = {}
3690 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationSymmetry, name)
3691 def __init__(self, *args):
3692 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3693 this = _IMP_core.new_TransformationSymmetry(*args)
3694 try: self.this.append(this)
3695 except: self.this = this
3696 def do_get_inputs(self, *args):
3697 """do_get_inputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3698 return _IMP_core.TransformationSymmetry_do_get_inputs(self, *args)
3700 def do_get_outputs(self, *args):
3701 """do_get_outputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3702 return _IMP_core.TransformationSymmetry_do_get_outputs(self, *args)
3704 def get_version_info(self):
3705 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3706 return _IMP_core.TransformationSymmetry_get_version_info(self)
3709 """__str__(TransformationSymmetry self) -> std::string"""
3710 return _IMP_core.TransformationSymmetry___str__(self)
3713 """__repr__(TransformationSymmetry self) -> std::string"""
3714 return _IMP_core.TransformationSymmetry___repr__(self)
3717 return _object_cast_to_TransformationSymmetry(o)
3718 get_from = staticmethod(get_from)
3720 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
3721 TransformationSymmetry_swigregister(TransformationSymmetry)
3724 """Proxy of C++ IMP::core::DihedralRestraint class"""
3725 __swig_setmethods__ = {}
3726 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3727 __setattr__ =
lambda self, name, value: _swig_setattr(self, DihedralRestraint, name, value)
3728 __swig_getmethods__ = {}
3729 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3730 __getattr__ =
lambda self, name: _swig_getattr(self, DihedralRestraint, name)
3731 def __init__(self, *args):
3732 """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
3733 this = _IMP_core.new_DihedralRestraint(*args)
3734 try: self.this.append(this)
3735 except: self.this = this
3736 def do_get_inputs(self):
3737 """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3738 return _IMP_core.DihedralRestraint_do_get_inputs(self)
3740 def get_version_info(self):
3741 """get_version_info(DihedralRestraint self) -> VersionInfo"""
3742 return _IMP_core.DihedralRestraint_get_version_info(self)
3745 """__str__(DihedralRestraint self) -> std::string"""
3746 return _IMP_core.DihedralRestraint___str__(self)
3749 """__repr__(DihedralRestraint self) -> std::string"""
3750 return _IMP_core.DihedralRestraint___repr__(self)
3753 return _object_cast_to_DihedralRestraint(o)
3754 get_from = staticmethod(get_from)
3756 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
3757 DihedralRestraint_swigregister(DihedralRestraint)
3760 """Proxy of C++ IMP::core::DistancePairScore class"""
3761 __swig_setmethods__ = {}
3762 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3763 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistancePairScore, name, value)
3764 __swig_getmethods__ = {}
3765 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3766 __getattr__ =
lambda self, name: _swig_getattr(self, DistancePairScore, name)
3767 def __init__(self, *args):
3769 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
3770 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
3772 this = _IMP_core.new_DistancePairScore(*args)
3773 try: self.this.append(this)
3774 except: self.this = this
3775 def do_get_inputs(self, *args):
3776 """do_get_inputs(DistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3777 return _IMP_core.DistancePairScore_do_get_inputs(self, *args)
3779 def get_version_info(self):
3780 """get_version_info(DistancePairScore self) -> VersionInfo"""
3781 return _IMP_core.DistancePairScore_get_version_info(self)
3784 """__str__(DistancePairScore self) -> std::string"""
3785 return _IMP_core.DistancePairScore___str__(self)
3788 """__repr__(DistancePairScore self) -> std::string"""
3789 return _IMP_core.DistancePairScore___repr__(self)
3792 return _object_cast_to_DistancePairScore(o)
3793 get_from = staticmethod(get_from)
3795 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
3796 DistancePairScore_swigregister(DistancePairScore)
3799 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
3800 __swig_setmethods__ = {}
3801 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3802 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicDistancePairScore, name, value)
3803 __swig_getmethods__ = {}
3804 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3805 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicDistancePairScore, name)
3806 def __init__(self, *args):
3808 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
3809 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
3811 this = _IMP_core.new_HarmonicDistancePairScore(*args)
3812 try: self.this.append(this)
3813 except: self.this = this
3814 def do_get_inputs(self, *args):
3815 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3816 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, *args)
3818 def get_version_info(self):
3819 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
3820 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
3823 """__str__(HarmonicDistancePairScore self) -> std::string"""
3824 return _IMP_core.HarmonicDistancePairScore___str__(self)
3827 """__repr__(HarmonicDistancePairScore self) -> std::string"""
3828 return _IMP_core.HarmonicDistancePairScore___repr__(self)
3831 return _object_cast_to_HarmonicDistancePairScore(o)
3832 get_from = staticmethod(get_from)
3834 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
3835 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
3838 """Proxy of C++ IMP::core::DistanceRestraint class"""
3839 __swig_setmethods__ = {}
3840 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3841 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceRestraint, name, value)
3842 __swig_getmethods__ = {}
3843 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3844 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceRestraint, name)
3845 def __init__(self, *args):
3847 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b, std::string name="DistanceRestraint %1%") -> DistanceRestraint
3848 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint
3850 this = _IMP_core.new_DistanceRestraint(*args)
3851 try: self.this.append(this)
3852 except: self.this = this
3853 def get_version_info(self):
3854 """get_version_info(DistanceRestraint self) -> VersionInfo"""
3855 return _IMP_core.DistanceRestraint_get_version_info(self)
3858 """__str__(DistanceRestraint self) -> std::string"""
3859 return _IMP_core.DistanceRestraint___str__(self)
3862 """__repr__(DistanceRestraint self) -> std::string"""
3863 return _IMP_core.DistanceRestraint___repr__(self)
3866 return _object_cast_to_DistanceRestraint(o)
3867 get_from = staticmethod(get_from)
3869 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
3870 DistanceRestraint_swigregister(DistanceRestraint)
3873 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
3874 __swig_setmethods__ = {}
3876 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistanceToSingletonScore, name, value)
3877 __swig_getmethods__ = {}
3879 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistanceToSingletonScore, name)
3880 def __init__(self, *args):
3881 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
3882 this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
3883 try: self.this.append(this)
3884 except: self.this = this
3885 def do_get_inputs(self, *args):
3886 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3887 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, *args)
3889 def get_version_info(self):
3890 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
3891 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
3894 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
3895 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
3898 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
3899 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
3902 return _object_cast_to_SphereDistanceToSingletonScore(o)
3903 get_from = staticmethod(get_from)
3905 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
3906 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
3909 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
3910 __swig_setmethods__ = {}
3911 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3912 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExcludedVolumeRestraint, name, value)
3913 __swig_getmethods__ = {}
3914 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3915 __getattr__ =
lambda self, name: _swig_getattr(self, ExcludedVolumeRestraint, name)
3916 def __init__(self, *args):
3918 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
3919 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
3920 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
3921 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
3923 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
3924 try: self.this.append(this)
3925 except: self.this = this
3926 def do_get_inputs(self):
3927 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3928 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
3930 def get_version_info(self):
3931 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
3932 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
3934 def do_create_decomposition(self):
3935 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
3936 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
3938 def do_create_current_decomposition(self):
3939 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
3940 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
3943 """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
3944 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
3946 def remove_pair_filter(self, *args):
3947 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
3948 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
3950 def remove_pair_filters(self, *args):
3951 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
3952 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
3954 def set_pair_filters(self, *args):
3955 """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
3956 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
3958 def set_pair_filters_order(self, *args):
3959 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
3960 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
3962 def add_pair_filter(self, *args):
3963 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
3964 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
3966 def add_pair_filters(self, *args):
3967 """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
3968 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
3970 def clear_pair_filters(self):
3971 """clear_pair_filters(ExcludedVolumeRestraint self)"""
3972 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
3974 def get_number_of_pair_filters(self):
3975 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
3976 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
3978 def get_has_pair_filters(self):
3979 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
3980 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
3982 def get_pair_filter(self, *args):
3983 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
3984 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
3986 def get_pair_filters(self):
3987 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
3988 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
3990 def reserve_pair_filters(self, *args):
3991 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
3992 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
3995 """__str__(ExcludedVolumeRestraint self) -> std::string"""
3996 return _IMP_core.ExcludedVolumeRestraint___str__(self)
3999 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4000 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4003 return _object_cast_to_ExcludedVolumeRestraint(o)
4004 get_from = staticmethod(get_from)
4006 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4007 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4010 """Proxy of C++ IMP::core::FixedRefiner class"""
4011 __swig_setmethods__ = {}
4012 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4013 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedRefiner, name, value)
4014 __swig_getmethods__ = {}
4015 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4016 __getattr__ =
lambda self, name: _swig_getattr(self, FixedRefiner, name)
4017 def __init__(self, *args):
4019 __init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner
4020 __init__(IMP::core::FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> FixedRefiner
4022 this = _IMP_core.new_FixedRefiner(*args)
4023 try: self.this.append(this)
4024 except: self.this = this
4025 def do_get_inputs(self, *args):
4026 """do_get_inputs(FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4027 return _IMP_core.FixedRefiner_do_get_inputs(self, *args)
4029 def get_version_info(self):
4030 """get_version_info(FixedRefiner self) -> VersionInfo"""
4031 return _IMP_core.FixedRefiner_get_version_info(self)
4034 """__str__(FixedRefiner self) -> std::string"""
4035 return _IMP_core.FixedRefiner___str__(self)
4038 """__repr__(FixedRefiner self) -> std::string"""
4039 return _IMP_core.FixedRefiner___repr__(self)
4042 return _object_cast_to_FixedRefiner(o)
4043 get_from = staticmethod(get_from)
4045 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4046 FixedRefiner_swigregister(FixedRefiner)
4048 class GridClosePairsFinder(ClosePairsFinder):
4049 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4050 __swig_setmethods__ = {}
4051 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4052 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridClosePairsFinder, name, value)
4053 __swig_getmethods__ = {}
4054 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4055 __getattr__ =
lambda self, name: _swig_getattr(self, GridClosePairsFinder, name)
4057 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4058 this = _IMP_core.new_GridClosePairsFinder()
4059 try: self.this.append(this)
4060 except: self.this = this
4061 def get_close_pairs(self, *args):
4063 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
4064 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
4065 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4066 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4067 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4068 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4070 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4072 def do_get_inputs(self, *args):
4073 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4074 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, *args)
4076 def get_version_info(self):
4077 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4078 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4081 """__str__(GridClosePairsFinder self) -> std::string"""
4082 return _IMP_core.GridClosePairsFinder___str__(self)
4085 """__repr__(GridClosePairsFinder self) -> std::string"""
4086 return _IMP_core.GridClosePairsFinder___repr__(self)
4089 return _object_cast_to_GridClosePairsFinder(o)
4090 get_from = staticmethod(get_from)
4092 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4093 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4096 """Proxy of C++ IMP::core::Harmonic class"""
4097 __swig_setmethods__ = {}
4099 __setattr__ =
lambda self, name, value: _swig_setattr(self, Harmonic, name, value)
4100 __swig_getmethods__ = {}
4102 __getattr__ =
lambda self, name: _swig_getattr(self, Harmonic, name)
4103 def __init__(self, *args):
4104 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4105 this = _IMP_core.new_Harmonic(*args)
4106 try: self.this.append(this)
4107 except: self.this = this
4108 def get_version_info(self):
4109 """get_version_info(Harmonic self) -> VersionInfo"""
4110 return _IMP_core.Harmonic_get_version_info(self)
4113 """get_mean(Harmonic self) -> IMP::Float"""
4114 return _IMP_core.Harmonic_get_mean(self)
4117 """get_k(Harmonic self) -> IMP::Float"""
4118 return _IMP_core.Harmonic_get_k(self)
4120 def set_mean(self, *args):
4121 """set_mean(Harmonic self, IMP::Float mean)"""
4122 return _IMP_core.Harmonic_set_mean(self, *args)
4124 def set_k(self, *args):
4125 """set_k(Harmonic self, IMP::Float k)"""
4126 return _IMP_core.Harmonic_set_k(self, *args)
4128 def get_k_from_standard_deviation(*args):
4130 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4131 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4133 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4135 if _newclass:get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4136 __swig_getmethods__[
"get_k_from_standard_deviation"] =
lambda x: get_k_from_standard_deviation
4138 """__str__(Harmonic self) -> std::string"""
4139 return _IMP_core.Harmonic___str__(self)
4142 """__repr__(Harmonic self) -> std::string"""
4143 return _IMP_core.Harmonic___repr__(self)
4146 return _object_cast_to_Harmonic(o)
4147 get_from = staticmethod(get_from)
4149 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4150 Harmonic_swigregister(Harmonic)
4152 def Harmonic_get_k_from_standard_deviation(*args):
4154 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4155 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4157 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4160 """Proxy of C++ IMP::core::HarmonicWell class"""
4161 __swig_setmethods__ = {}
4163 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicWell, name, value)
4164 __swig_getmethods__ = {}
4166 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicWell, name)
4167 def __init__(self, *args):
4168 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4169 this = _IMP_core.new_HarmonicWell(*args)
4170 try: self.this.append(this)
4171 except: self.this = this
4172 def get_version_info(self):
4173 """get_version_info(HarmonicWell self) -> VersionInfo"""
4174 return _IMP_core.HarmonicWell_get_version_info(self)
4177 """__str__(HarmonicWell self) -> std::string"""
4178 return _IMP_core.HarmonicWell___str__(self)
4181 """__repr__(HarmonicWell self) -> std::string"""
4182 return _IMP_core.HarmonicWell___repr__(self)
4185 return _object_cast_to_HarmonicWell(o)
4186 get_from = staticmethod(get_from)
4188 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4189 HarmonicWell_swigregister(HarmonicWell)
4191 class HarmonicLowerBound(Harmonic):
4192 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4193 __swig_setmethods__ = {}
4194 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4195 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicLowerBound, name, value)
4196 __swig_getmethods__ = {}
4197 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4198 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicLowerBound, name)
4199 def __init__(self, *args):
4200 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4201 this = _IMP_core.new_HarmonicLowerBound(*args)
4202 try: self.this.append(this)
4203 except: self.this = this
4205 """__str__(HarmonicLowerBound self) -> std::string"""
4206 return _IMP_core.HarmonicLowerBound___str__(self)
4209 """__repr__(HarmonicLowerBound self) -> std::string"""
4210 return _IMP_core.HarmonicLowerBound___repr__(self)
4213 return _object_cast_to_HarmonicLowerBound(o)
4214 get_from = staticmethod(get_from)
4216 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4217 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4219 class HarmonicUpperBound(Harmonic):
4220 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4221 __swig_setmethods__ = {}
4222 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4223 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBound, name, value)
4224 __swig_getmethods__ = {}
4225 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4226 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBound, name)
4227 def __init__(self, *args):
4228 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4229 this = _IMP_core.new_HarmonicUpperBound(*args)
4230 try: self.this.append(this)
4231 except: self.this = this
4233 """__str__(HarmonicUpperBound self) -> std::string"""
4234 return _IMP_core.HarmonicUpperBound___str__(self)
4237 """__repr__(HarmonicUpperBound self) -> std::string"""
4238 return _IMP_core.HarmonicUpperBound___repr__(self)
4241 return _object_cast_to_HarmonicUpperBound(o)
4242 get_from = staticmethod(get_from)
4244 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4245 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4248 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4249 __swig_setmethods__ = {}
4250 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4251 __setattr__ =
lambda self, name, value: _swig_setattr(self, MSConnectivityRestraint, name, value)
4252 __swig_getmethods__ = {}
4253 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4254 __getattr__ =
lambda self, name: _swig_getattr(self, MSConnectivityRestraint, name)
4255 def __init__(self, *args):
4257 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4258 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
4260 this = _IMP_core.new_MSConnectivityRestraint(*args)
4261 try: self.this.append(this)
4262 except: self.this = this
4263 def add_type(self, *args):
4264 """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4265 return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4267 def add_composite(self, *args):
4269 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4270 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4272 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4274 def get_connected_pairs(self):
4275 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4276 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4278 def get_pair_score(self):
4279 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4280 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4282 def do_create_current_decomposition(self):
4283 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4284 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4286 def do_get_inputs(self):
4287 """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4288 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4290 def get_version_info(self):
4291 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4292 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4295 """__str__(MSConnectivityRestraint self) -> std::string"""
4296 return _IMP_core.MSConnectivityRestraint___str__(self)
4299 """__repr__(MSConnectivityRestraint self) -> std::string"""
4300 return _IMP_core.MSConnectivityRestraint___repr__(self)
4303 return _object_cast_to_MSConnectivityRestraint(o)
4304 get_from = staticmethod(get_from)
4306 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4307 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4309 class HierarchyTraits(_object):
4310 """Proxy of C++ IMP::core::HierarchyTraits class"""
4311 __swig_setmethods__ = {}
4312 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyTraits, name, value)
4313 __swig_getmethods__ = {}
4314 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyTraits, name)
4315 def __init__(self, *args):
4317 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4318 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4320 this = _IMP_core.new_HierarchyTraits(*args)
4321 try: self.this.append(this)
4322 except: self.this = this
4323 def get_children_key(self):
4324 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4325 return _IMP_core.HierarchyTraits_get_children_key(self)
4327 def get_parent_key(self):
4328 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4329 return _IMP_core.HierarchyTraits_get_parent_key(self)
4331 def __eq__(self, *args):
4332 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4333 return _IMP_core.HierarchyTraits___eq__(self, *args)
4335 def show(self, *args):
4337 show(HierarchyTraits self, _ostream out=std::cout)
4338 show(HierarchyTraits self)
4340 return _IMP_core.HierarchyTraits_show(self, *args)
4343 """__str__(HierarchyTraits self) -> std::string"""
4344 return _IMP_core.HierarchyTraits___str__(self)
4347 """__repr__(HierarchyTraits self) -> std::string"""
4348 return _IMP_core.HierarchyTraits___repr__(self)
4350 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4351 __del__ =
lambda self :
None;
4352 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4353 HierarchyTraits_swigregister(HierarchyTraits)
4356 """Proxy of C++ IMP::core::Hierarchy class"""
4357 __swig_setmethods__ = {}
4358 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4359 __setattr__ =
lambda self, name, value: _swig_setattr(self, Hierarchy, name, value)
4360 __swig_getmethods__ = {}
4361 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4362 __getattr__ =
lambda self, name: _swig_getattr(self, Hierarchy, name)
4363 def get_decorator_traits(self):
4364 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4365 return _IMP_core.Hierarchy_get_decorator_traits(self)
4367 def get_default_decorator_traits():
4368 """get_default_decorator_traits() -> HierarchyTraits"""
4369 return _IMP_core.Hierarchy_get_default_decorator_traits()
4371 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4372 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
4373 def __init__(self, *args):
4375 __init__(IMP::core::Hierarchy self) -> Hierarchy
4376 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4377 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id) -> Hierarchy
4378 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4379 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4381 this = _IMP_core.new_Hierarchy(*args)
4382 try: self.this.append(this)
4383 except: self.this = this
4384 def show(self, *args):
4386 show(Hierarchy self, _ostream out=std::cout)
4387 show(Hierarchy self)
4389 return _IMP_core.Hierarchy_show(self, *args)
4391 def setup_particle(*args):
4393 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4394 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4395 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4396 setup_particle(_ParticleAdaptor d) -> Hierarchy
4397 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4398 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4399 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4400 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4401 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4402 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4403 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4404 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4406 return _IMP_core.Hierarchy_setup_particle(*args)
4408 if _newclass:setup_particle = staticmethod(setup_particle)
4409 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
4410 def get_is_setup(*args):
4412 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4413 get_is_setup(_ParticleAdaptor p) -> bool
4414 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4415 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4417 return _IMP_core.Hierarchy_get_is_setup(*args)
4419 if _newclass:get_is_setup = staticmethod(get_is_setup)
4420 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
4421 def get_parent(self):
4422 """get_parent(Hierarchy self) -> Hierarchy"""
4423 return _IMP_core.Hierarchy_get_parent(self)
4425 def get_number_of_children(self):
4426 """get_number_of_children(Hierarchy self) -> unsigned int"""
4427 return _IMP_core.Hierarchy_get_number_of_children(self)
4429 def get_child(self, *args):
4430 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4431 return _IMP_core.Hierarchy_get_child(self, *args)
4433 def get_children_indexes(self):
4434 """get_children_indexes(Hierarchy self) -> IMP::kernel::ParticleIndexes"""
4435 return _IMP_core.Hierarchy_get_children_indexes(self)
4437 def get_children(self):
4438 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4439 return _IMP_core.Hierarchy_get_children(self)
4441 def remove_child(self, *args):
4443 remove_child(Hierarchy self, unsigned int i)
4444 remove_child(Hierarchy self, Hierarchy h)
4446 return _IMP_core.Hierarchy_remove_child(self, *args)
4448 def clear_children(self):
4449 """clear_children(Hierarchy self)"""
4450 return _IMP_core.Hierarchy_clear_children(self)
4452 def add_child(self, *args):
4453 """add_child(Hierarchy self, Hierarchy h)"""
4454 return _IMP_core.Hierarchy_add_child(self, *args)
4456 def add_child_at(self, *args):
4457 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4458 return _IMP_core.Hierarchy_add_child_at(self, *args)
4460 def get_child_index(self, *args):
4462 get_child_index(Hierarchy self, unsigned int i) -> IMP::kernel::ParticleIndex
4463 get_child_index(Hierarchy self) -> int
4465 return _IMP_core.Hierarchy_get_child_index(self, *args)
4467 def get_default_traits():
4468 """get_default_traits() -> HierarchyTraits"""
4469 return _IMP_core.Hierarchy_get_default_traits()
4471 if _newclass:get_default_traits = staticmethod(get_default_traits)
4472 __swig_getmethods__[
"get_default_traits"] =
lambda x: get_default_traits
4473 def get_traits(self):
4474 """get_traits(Hierarchy self) -> HierarchyTraits"""
4475 return _IMP_core.Hierarchy_get_traits(self)
4477 def add_attribute(self, *args):
4479 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4480 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4481 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4482 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4483 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4484 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
4486 return _IMP_core.Hierarchy_add_attribute(self, *args)
4488 def get_value(self, *args):
4490 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4491 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4492 get_value(Hierarchy self, StringKey a0) -> IMP::String
4493 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4494 get_value(Hierarchy self, ObjectKey a0) -> Object
4496 return _IMP_core.Hierarchy_get_value(self, *args)
4498 def set_value(self, *args):
4500 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4501 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4502 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4503 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4504 set_value(Hierarchy self, ObjectKey a0, Object a1)
4506 return _IMP_core.Hierarchy_set_value(self, *args)
4508 def remove_attribute(self, *args):
4510 remove_attribute(Hierarchy self, FloatKey a0)
4511 remove_attribute(Hierarchy self, IntKey a0)
4512 remove_attribute(Hierarchy self, StringKey a0)
4513 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4514 remove_attribute(Hierarchy self, ObjectKey a0)
4516 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4518 def has_attribute(self, *args):
4520 has_attribute(Hierarchy self, FloatKey a0) -> bool
4521 has_attribute(Hierarchy self, IntKey a0) -> bool
4522 has_attribute(Hierarchy self, StringKey a0) -> bool
4523 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4524 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4526 return _IMP_core.Hierarchy_has_attribute(self, *args)
4528 def get_derivative(self, *args):
4529 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4530 return _IMP_core.Hierarchy_get_derivative(self, *args)
4533 """get_name(Hierarchy self) -> std::string"""
4534 return _IMP_core.Hierarchy_get_name(self)
4536 def clear_caches(self):
4537 """clear_caches(Hierarchy self)"""
4538 return _IMP_core.Hierarchy_clear_caches(self)
4540 def set_name(self, *args):
4541 """set_name(Hierarchy self, std::string a0)"""
4542 return _IMP_core.Hierarchy_set_name(self, *args)
4545 """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4546 return _IMP_core.Hierarchy_set_check_level(self, *args)
4548 def add_to_derivative(self, *args):
4549 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4550 return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4552 def set_is_optimized(self, *args):
4553 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4554 return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4556 def get_is_optimized(self, *args):
4557 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4558 return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4561 """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4562 return _IMP_core.Hierarchy_get_check_level(self)
4564 def __eq__(self, *args):
4566 __eq__(Hierarchy self, Hierarchy o) -> bool
4567 __eq__(Hierarchy self, Particle d) -> bool
4569 return _IMP_core.Hierarchy___eq__(self, *args)
4571 def __ne__(self, *args):
4573 __ne__(Hierarchy self, Hierarchy o) -> bool
4574 __ne__(Hierarchy self, Particle d) -> bool
4576 return _IMP_core.Hierarchy___ne__(self, *args)
4578 def __le__(self, *args):
4580 __le__(Hierarchy self, Hierarchy o) -> bool
4581 __le__(Hierarchy self, Particle d) -> bool
4583 return _IMP_core.Hierarchy___le__(self, *args)
4585 def __lt__(self, *args):
4587 __lt__(Hierarchy self, Hierarchy o) -> bool
4588 __lt__(Hierarchy self, Particle d) -> bool
4590 return _IMP_core.Hierarchy___lt__(self, *args)
4592 def __ge__(self, *args):
4594 __ge__(Hierarchy self, Hierarchy o) -> bool
4595 __ge__(Hierarchy self, Particle d) -> bool
4597 return _IMP_core.Hierarchy___ge__(self, *args)
4599 def __gt__(self, *args):
4601 __gt__(Hierarchy self, Hierarchy o) -> bool
4602 __gt__(Hierarchy self, Particle d) -> bool
4604 return _IMP_core.Hierarchy___gt__(self, *args)
4607 """__str__(Hierarchy self) -> std::string"""
4608 return _IMP_core.Hierarchy___str__(self)
4611 """__repr__(Hierarchy self) -> std::string"""
4612 return _IMP_core.Hierarchy___repr__(self)
4614 __swig_destroy__ = _IMP_core.delete_Hierarchy
4615 __del__ =
lambda self :
None;
4616 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4617 Hierarchy_swigregister(Hierarchy)
4619 def Hierarchy_get_default_decorator_traits():
4620 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4621 return _IMP_core.Hierarchy_get_default_decorator_traits()
4623 def Hierarchy_setup_particle(*args):
4625 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4626 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4627 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4628 setup_particle(_ParticleAdaptor d) -> Hierarchy
4629 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4630 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4631 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4632 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4633 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4634 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4635 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4636 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4638 return _IMP_core.Hierarchy_setup_particle(*args)
4640 def Hierarchy_get_is_setup(*args):
4642 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4643 get_is_setup(_ParticleAdaptor p) -> bool
4644 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4645 Hierarchy_get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4647 return _IMP_core.Hierarchy_get_is_setup(*args)
4649 def Hierarchy_get_default_traits():
4650 """Hierarchy_get_default_traits() -> HierarchyTraits"""
4651 return _IMP_core.Hierarchy_get_default_traits()
4653 class HierarchyVisitor(_object):
4654 """Proxy of C++ IMP::core::HierarchyVisitor class"""
4655 __swig_setmethods__ = {}
4656 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyVisitor, name, value)
4657 __swig_getmethods__ = {}
4658 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyVisitor, name)
4659 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
4660 __repr__ = _swig_repr
4661 def __call__(self, *args):
4662 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
4663 return _IMP_core.HierarchyVisitor___call__(self, *args)
4665 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
4666 __del__ =
lambda self :
None;
4667 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
4668 HierarchyVisitor_swigregister(HierarchyVisitor)
4670 class ModifierVisitor(HierarchyVisitor):
4671 """Proxy of C++ IMP::core::ModifierVisitor class"""
4672 __swig_setmethods__ = {}
4673 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4674 __setattr__ =
lambda self, name, value: _swig_setattr(self, ModifierVisitor, name, value)
4675 __swig_getmethods__ = {}
4676 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4677 __getattr__ =
lambda self, name: _swig_getattr(self, ModifierVisitor, name)
4678 __repr__ = _swig_repr
4679 def __init__(self, *args):
4680 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
4681 this = _IMP_core.new_ModifierVisitor(*args)
4682 try: self.this.append(this)
4683 except: self.this = this
4684 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
4685 __del__ =
lambda self :
None;
4686 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
4687 ModifierVisitor_swigregister(ModifierVisitor)
4689 class HierarchyCounter(HierarchyVisitor):
4690 """Proxy of C++ IMP::core::HierarchyCounter class"""
4691 __swig_setmethods__ = {}
4692 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4693 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyCounter, name, value)
4694 __swig_getmethods__ = {}
4695 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4696 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyCounter, name)
4698 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
4699 this = _IMP_core.new_HierarchyCounter()
4700 try: self.this.append(this)
4701 except: self.this = this
4702 def get_count(self):
4703 """get_count(HierarchyCounter self) -> unsigned int"""
4704 return _IMP_core.HierarchyCounter_get_count(self)
4706 def show(self, *args):
4708 show(HierarchyCounter self, _ostream out=std::cout)
4709 show(HierarchyCounter self)
4711 return _IMP_core.HierarchyCounter_show(self, *args)
4714 """__str__(HierarchyCounter self) -> std::string"""
4715 return _IMP_core.HierarchyCounter___str__(self)
4718 """__repr__(HierarchyCounter self) -> std::string"""
4719 return _IMP_core.HierarchyCounter___repr__(self)
4721 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
4722 __del__ =
lambda self :
None;
4723 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
4724 HierarchyCounter_swigregister(HierarchyCounter)
4728 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4729 return _IMP_core.get_leaves(*args)
4732 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4733 return _IMP_core.get_internal(*args)
4736 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4737 return _IMP_core.get_all_descendants(*args)
4740 """get_root(Hierarchy h) -> Hierarchy"""
4741 return _IMP_core.get_root(*args)
4744 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
4745 return _IMP_core.visit_breadth_first(*args)
4748 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
4749 return _IMP_core.visit_depth_first(*args)
4751 """Proxy of C++ IMP::core::LeavesRefiner class"""
4752 __swig_setmethods__ = {}
4753 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4754 __setattr__ =
lambda self, name, value: _swig_setattr(self, LeavesRefiner, name, value)
4755 __swig_getmethods__ = {}
4756 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4757 __getattr__ =
lambda self, name: _swig_getattr(self, LeavesRefiner, name)
4758 def __init__(self, *args):
4759 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
4760 this = _IMP_core.new_LeavesRefiner(*args)
4761 try: self.this.append(this)
4762 except: self.this = this
4763 def do_get_inputs(self, *args):
4764 """do_get_inputs(LeavesRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4765 return _IMP_core.LeavesRefiner_do_get_inputs(self, *args)
4767 def get_version_info(self):
4768 """get_version_info(LeavesRefiner self) -> VersionInfo"""
4769 return _IMP_core.LeavesRefiner_get_version_info(self)
4772 """__str__(LeavesRefiner self) -> std::string"""
4773 return _IMP_core.LeavesRefiner___str__(self)
4776 """__repr__(LeavesRefiner self) -> std::string"""
4777 return _IMP_core.LeavesRefiner___repr__(self)
4780 return _object_cast_to_LeavesRefiner(o)
4781 get_from = staticmethod(get_from)
4783 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
4784 LeavesRefiner_swigregister(LeavesRefiner)
4787 """Proxy of C++ IMP::core::Linear class"""
4788 __swig_setmethods__ = {}
4790 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear, name, value)
4791 __swig_getmethods__ = {}
4793 __getattr__ =
lambda self, name: _swig_getattr(self, Linear, name)
4794 def __init__(self, *args):
4795 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
4796 this = _IMP_core.new_Linear(*args)
4797 try: self.this.append(this)
4798 except: self.this = this
4799 def set_slope(self, *args):
4800 """set_slope(Linear self, double f)"""
4801 return _IMP_core.Linear_set_slope(self, *args)
4803 def set_offset(self, *args):
4804 """set_offset(Linear self, double f)"""
4805 return _IMP_core.Linear_set_offset(self, *args)
4807 def get_version_info(self):
4808 """get_version_info(Linear self) -> VersionInfo"""
4809 return _IMP_core.Linear_get_version_info(self)
4812 """__str__(Linear self) -> std::string"""
4813 return _IMP_core.Linear___str__(self)
4816 """__repr__(Linear self) -> std::string"""
4817 return _IMP_core.Linear___repr__(self)
4820 return _object_cast_to_Linear(o)
4821 get_from = staticmethod(get_from)
4823 Linear_swigregister = _IMP_core.Linear_swigregister
4824 Linear_swigregister(Linear)
4827 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
4828 __swig_setmethods__ = {}
4830 __setattr__ =
lambda self, name, value: _swig_setattr(self, IncrementalScoringFunction, name, value)
4831 __swig_getmethods__ = {}
4833 __getattr__ =
lambda self, name: _swig_getattr(self, IncrementalScoringFunction, name)
4834 def __init__(self, *args):
4836 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4837 double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
4838 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4839 double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
4840 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4841 double weight=1.0) -> IncrementalScoringFunction
4842 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
4844 this = _IMP_core.new_IncrementalScoringFunction(*args)
4845 try: self.this.append(this)
4846 except: self.this = this
4847 def reset_moved_particles(self):
4848 """reset_moved_particles(IncrementalScoringFunction self)"""
4849 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
4851 def set_moved_particles(self, *args):
4852 """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
4853 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
4855 def add_close_pair_score(self, *args):
4857 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
4858 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
4860 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
4862 def clear_close_pair_scores(self):
4863 """clear_close_pair_scores(IncrementalScoringFunction self)"""
4864 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
4866 def get_movable_indexes(self):
4867 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
4868 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
4870 def do_add_score_and_derivatives(self, *args):
4871 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
4872 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
4874 def do_get_inputs(self):
4875 """do_get_inputs(IncrementalScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
4876 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
4878 def handle_set_has_required_score_states(self, *args):
4879 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
4880 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, *args)
4882 def get_version_info(self):
4883 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
4884 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
4887 """__str__(IncrementalScoringFunction self) -> std::string"""
4888 return _IMP_core.IncrementalScoringFunction___str__(self)
4891 """__repr__(IncrementalScoringFunction self) -> std::string"""
4892 return _IMP_core.IncrementalScoringFunction___repr__(self)
4895 return _object_cast_to_IncrementalScoringFunction(o)
4896 get_from = staticmethod(get_from)
4898 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
4899 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
4901 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
4903 """Proxy of C++ IMP::core::MonteCarlo class"""
4904 __swig_setmethods__ = {}
4905 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4906 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarlo, name, value)
4907 __swig_getmethods__ = {}
4908 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4909 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarlo, name)
4910 def __init__(self, *args):
4911 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
4912 this = _IMP_core.new_MonteCarlo(*args)
4913 try: self.this.append(this)
4914 except: self.this = this
4915 def get_version_info(self):
4916 """get_version_info(MonteCarlo self) -> VersionInfo"""
4917 return _IMP_core.MonteCarlo_get_version_info(self)
4919 def set_return_best(self, *args):
4920 """set_return_best(MonteCarlo self, bool tf)"""
4921 return _IMP_core.MonteCarlo_set_return_best(self, *args)
4923 def set_kt(self, *args):
4924 """set_kt(MonteCarlo self, IMP::Float t)"""
4925 return _IMP_core.MonteCarlo_set_kt(self, *args)
4928 """get_kt(MonteCarlo self) -> IMP::Float"""
4929 return _IMP_core.MonteCarlo_get_kt(self)
4931 def get_last_accepted_energy(self):
4932 """get_last_accepted_energy(MonteCarlo self) -> double"""
4933 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
4935 def get_best_accepted_energy(self):
4936 """get_best_accepted_energy(MonteCarlo self) -> double"""
4937 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
4939 def get_number_of_forward_steps(self):
4940 """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
4941 return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
4943 def get_number_of_downward_steps(self):
4944 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
4945 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
4947 def get_number_of_upward_steps(self):
4948 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
4949 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
4951 def get_number_of_proposed_steps(self):
4952 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
4953 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
4955 def get_number_of_accepted_steps(self):
4956 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
4957 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
4959 def reset_statistics(self):
4960 """reset_statistics(MonteCarlo self)"""
4961 return _IMP_core.MonteCarlo_reset_statistics(self)
4963 def set_score_threshold(self, *args):
4964 """set_score_threshold(MonteCarlo self, double s)"""
4965 return _IMP_core.MonteCarlo_set_score_threshold(self, *args)
4967 def get_score_threshold(self):
4968 """get_score_threshold(MonteCarlo self) -> double"""
4969 return _IMP_core.MonteCarlo_get_score_threshold(self)
4971 def set_maximum_difference(self, *args):
4972 """set_maximum_difference(MonteCarlo self, double d)"""
4973 return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
4975 def get_maximum_difference(self):
4976 """get_maximum_difference(MonteCarlo self) -> double"""
4977 return _IMP_core.MonteCarlo_get_maximum_difference(self)
4979 def remove_mover(self, *args):
4980 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
4981 return _IMP_core.MonteCarlo_remove_mover(self, *args)
4983 def remove_movers(self, *args):
4984 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
4985 return _IMP_core.MonteCarlo_remove_movers(self, *args)
4987 def set_movers(self, *args):
4988 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
4989 return _IMP_core.MonteCarlo_set_movers(self, *args)
4991 def set_movers_order(self, *args):
4992 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
4993 return _IMP_core.MonteCarlo_set_movers_order(self, *args)
4995 def add_mover(self, *args):
4996 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
4997 return _IMP_core.MonteCarlo_add_mover(self, *args)
4999 def add_movers(self, *args):
5000 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5001 return _IMP_core.MonteCarlo_add_movers(self, *args)
5003 def clear_movers(self):
5004 """clear_movers(MonteCarlo self)"""
5005 return _IMP_core.MonteCarlo_clear_movers(self)
5007 def get_number_of_movers(self):
5008 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5009 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5011 def get_has_movers(self):
5012 """get_has_movers(MonteCarlo self) -> bool"""
5013 return _IMP_core.MonteCarlo_get_has_movers(self)
5015 def get_mover(self, *args):
5016 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5017 return _IMP_core.MonteCarlo_get_mover(self, *args)
5019 def get_movers(self):
5020 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5021 return _IMP_core.MonteCarlo_get_movers(self)
5023 def reserve_movers(self, *args):
5024 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5025 return _IMP_core.MonteCarlo_reserve_movers(self, *args)
5027 def set_incremental_scoring_function(self, *args):
5028 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5029 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
5031 def get_use_incremental_scoring_function(self):
5032 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5033 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5035 def get_incremental_scoring_function(self):
5036 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5037 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5040 """__str__(MonteCarlo self) -> std::string"""
5041 return _IMP_core.MonteCarlo___str__(self)
5044 """__repr__(MonteCarlo self) -> std::string"""
5045 return _IMP_core.MonteCarlo___repr__(self)
5048 return _object_cast_to_MonteCarlo(o)
5049 get_from = staticmethod(get_from)
5051 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5052 MonteCarlo_swigregister(MonteCarlo)
5054 class MonteCarloWithLocalOptimization(MonteCarlo):
5055 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5056 __swig_setmethods__ = {}
5057 for _s
in [MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5058 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithLocalOptimization, name, value)
5059 __swig_getmethods__ = {}
5060 for _s
in [MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5061 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithLocalOptimization, name)
5062 def __init__(self, *args):
5063 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5064 this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
5065 try: self.this.append(this)
5066 except: self.this = this
5067 def get_number_of_steps(self):
5068 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5069 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5071 def get_local_optimizer(self):
5072 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5073 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5076 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5077 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5080 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5081 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5084 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5085 get_from = staticmethod(get_from)
5087 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5088 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5090 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5091 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5092 __swig_setmethods__ = {}
5093 for _s
in [MonteCarloWithLocalOptimization]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5094 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithBasinHopping, name, value)
5095 __swig_getmethods__ = {}
5096 for _s
in [MonteCarloWithLocalOptimization]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5097 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithBasinHopping, name)
5098 def __init__(self, *args):
5099 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5100 this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
5101 try: self.this.append(this)
5102 except: self.this = this
5104 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5105 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5108 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5109 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5112 return _object_cast_to_MonteCarloWithBasinHopping(o)
5113 get_from = staticmethod(get_from)
5115 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5116 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5119 """Proxy of C++ IMP::core::NeighborsTable class"""
5120 __swig_setmethods__ = {}
5122 __setattr__ =
lambda self, name, value: _swig_setattr(self, NeighborsTable, name, value)
5123 __swig_getmethods__ = {}
5125 __getattr__ =
lambda self, name: _swig_getattr(self, NeighborsTable, name)
5126 def __init__(self, *args):
5128 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable
5129 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5131 this = _IMP_core.new_NeighborsTable(*args)
5132 try: self.this.append(this)
5133 except: self.this = this
5134 def get_neighbors(self, *args):
5135 """get_neighbors(NeighborsTable self, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes const &"""
5136 return _IMP_core.NeighborsTable_get_neighbors(self, *args)
5138 def get_version_info(self):
5139 """get_version_info(NeighborsTable self) -> VersionInfo"""
5140 return _IMP_core.NeighborsTable_get_version_info(self)
5143 """__str__(NeighborsTable self) -> std::string"""
5144 return _IMP_core.NeighborsTable___str__(self)
5147 """__repr__(NeighborsTable self) -> std::string"""
5148 return _IMP_core.NeighborsTable___repr__(self)
5151 return _object_cast_to_NeighborsTable(o)
5152 get_from = staticmethod(get_from)
5154 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5155 NeighborsTable_swigregister(NeighborsTable)
5157 class NormalMover(MonteCarloMover):
5158 """Proxy of C++ IMP::core::NormalMover class"""
5159 __swig_setmethods__ = {}
5160 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5161 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalMover, name, value)
5162 __swig_getmethods__ = {}
5163 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5164 __getattr__ =
lambda self, name: _swig_getattr(self, NormalMover, name)
5165 def __init__(self, *args):
5167 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
5168 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
5169 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5170 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5172 this = _IMP_core.new_NormalMover(*args)
5173 try: self.this.append(this)
5174 except: self.this = this
5175 def set_sigma(self, *args):
5176 """set_sigma(NormalMover self, IMP::Float sigma)"""
5177 return _IMP_core.NormalMover_set_sigma(self, *args)
5179 def get_sigma(self):
5180 """get_sigma(NormalMover self) -> IMP::Float"""
5181 return _IMP_core.NormalMover_get_sigma(self)
5183 def get_version_info(self):
5184 """get_version_info(NormalMover self) -> VersionInfo"""
5185 return _IMP_core.NormalMover_get_version_info(self)
5188 """__str__(NormalMover self) -> std::string"""
5189 return _IMP_core.NormalMover___str__(self)
5192 """__repr__(NormalMover self) -> std::string"""
5193 return _IMP_core.NormalMover___repr__(self)
5196 return _object_cast_to_NormalMover(o)
5197 get_from = staticmethod(get_from)
5199 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5200 NormalMover_swigregister(NormalMover)
5202 class OpenCubicSpline(_OpenCubicSplineBase):
5203 """Proxy of C++ IMP::core::OpenCubicSpline class"""
5204 __swig_setmethods__ = {}
5205 for _s
in [_OpenCubicSplineBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5206 __setattr__ =
lambda self, name, value: _swig_setattr(self, OpenCubicSpline, name, value)
5207 __swig_getmethods__ = {}
5208 for _s
in [_OpenCubicSplineBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5209 __getattr__ =
lambda self, name: _swig_getattr(self, OpenCubicSpline, name)
5210 def __init__(self, *args):
5212 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5213 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5215 this = _IMP_core.new_OpenCubicSpline(*args)
5216 try: self.this.append(this)
5217 except: self.this = this
5219 """__str__(OpenCubicSpline self) -> std::string"""
5220 return _IMP_core.OpenCubicSpline___str__(self)
5223 """__repr__(OpenCubicSpline self) -> std::string"""
5224 return _IMP_core.OpenCubicSpline___repr__(self)
5227 return _object_cast_to_OpenCubicSpline(o)
5228 get_from = staticmethod(get_from)
5230 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5231 __del__ =
lambda self :
None;
5232 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5233 OpenCubicSpline_swigregister(OpenCubicSpline)
5235 class QuadraticClosePairsFinder(ClosePairsFinder):
5236 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5237 __swig_setmethods__ = {}
5238 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5239 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadraticClosePairsFinder, name, value)
5240 __swig_getmethods__ = {}
5241 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5242 __getattr__ =
lambda self, name: _swig_getattr(self, QuadraticClosePairsFinder, name)
5244 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5245 this = _IMP_core.new_QuadraticClosePairsFinder()
5246 try: self.this.append(this)
5247 except: self.this = this
5248 def get_are_close(self, *args):
5250 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
5251 get_are_close(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b) -> bool
5253 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5255 def get_close_pairs(self, *args):
5257 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
5258 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
5259 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5260 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5261 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
5262 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
5264 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5266 def do_get_inputs(self, *args):
5267 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5268 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, *args)
5270 def get_version_info(self):
5271 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5272 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5275 """__str__(QuadraticClosePairsFinder self) -> std::string"""
5276 return _IMP_core.QuadraticClosePairsFinder___str__(self)
5279 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5280 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5283 return _object_cast_to_QuadraticClosePairsFinder(o)
5284 get_from = staticmethod(get_from)
5286 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5287 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5290 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5291 __swig_setmethods__ = {}
5292 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5293 __setattr__ =
lambda self, name, value: _swig_setattr(self, RefinedPairsPairScore, name, value)
5294 __swig_getmethods__ = {}
5295 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5296 __getattr__ =
lambda self, name: _swig_getattr(self, RefinedPairsPairScore, name)
5297 def __init__(self, *args):
5298 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5299 this = _IMP_core.new_RefinedPairsPairScore(*args)
5300 try: self.this.append(this)
5301 except: self.this = this
5302 def do_get_inputs(self, *args):
5303 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5304 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, *args)
5306 def get_version_info(self):
5307 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5308 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5311 """__str__(RefinedPairsPairScore self) -> std::string"""
5312 return _IMP_core.RefinedPairsPairScore___str__(self)
5315 """__repr__(RefinedPairsPairScore self) -> std::string"""
5316 return _IMP_core.RefinedPairsPairScore___repr__(self)
5319 return _object_cast_to_RefinedPairsPairScore(o)
5320 get_from = staticmethod(get_from)
5322 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5323 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5325 class RigidBody(XYZ):
5326 """Proxy of C++ IMP::core::RigidBody class"""
5327 __swig_setmethods__ = {}
5328 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5329 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBody, name, value)
5330 __swig_getmethods__ = {}
5331 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5332 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBody, name)
5333 def get_members(self):
5334 """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5335 return _IMP_core.RigidBody_get_members(self)
5337 def get_rigid_members(self):
5338 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
5339 return _IMP_core.RigidBody_get_rigid_members(self)
5341 def get_member_particle_indexes(self):
5342 """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5343 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5345 def get_body_member_particle_indexes(self):
5346 """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5347 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5349 def get_member_indexes(self):
5350 """get_member_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes"""
5351 return _IMP_core.RigidBody_get_member_indexes(self)
5353 def __init__(self, *args):
5355 __init__(IMP::core::RigidBody self) -> RigidBody
5356 __init__(IMP::core::RigidBody self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBody
5357 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5359 this = _IMP_core.new_RigidBody(*args)
5360 try: self.this.append(this)
5361 except: self.this = this
5362 def show(self, *args):
5364 show(RigidBody self, _ostream out=std::cout)
5365 show(RigidBody self)
5367 return _IMP_core.RigidBody_show(self, *args)
5369 def setup_particle(*args):
5371 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5372 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5373 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5374 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5376 return _IMP_core.RigidBody_setup_particle(*args)
5378 if _newclass:setup_particle = staticmethod(setup_particle)
5379 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
5380 def teardown_particle(*args):
5381 """teardown_particle(RigidBody rb)"""
5382 return _IMP_core.RigidBody_teardown_particle(*args)
5384 if _newclass:teardown_particle = staticmethod(teardown_particle)
5385 __swig_getmethods__[
"teardown_particle"] =
lambda x: teardown_particle
5386 __swig_destroy__ = _IMP_core.delete_RigidBody
5387 __del__ =
lambda self :
None;
5388 def get_is_setup(*args):
5390 get_is_setup(_ParticleAdaptor p) -> bool
5391 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5393 return _IMP_core.RigidBody_get_is_setup(*args)
5395 if _newclass:get_is_setup = staticmethod(get_is_setup)
5396 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5397 def get_coordinates(self):
5398 """get_coordinates(RigidBody self) -> Vector3D"""
5399 return _IMP_core.RigidBody_get_coordinates(self)
5401 def get_reference_frame(self):
5402 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5403 return _IMP_core.RigidBody_get_reference_frame(self)
5405 def set_reference_frame(self, *args):
5406 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5407 return _IMP_core.RigidBody_set_reference_frame(self, *args)
5409 def set_reference_frame_lazy(self, *args):
5410 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5411 return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5413 def set_reference_frame_from_members(self, *args):
5414 """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5415 return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5417 def add_to_derivatives(self, *args):
5419 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5420 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5421 DerivativeAccumulator da)
5423 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5425 def get_torque(self):
5426 """get_torque(RigidBody self) -> Vector3D"""
5427 return _IMP_core.RigidBody_get_torque(self)
5429 def get_coordinates_are_optimized(self):
5430 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5431 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5433 def set_coordinates_are_optimized(self, *args):
5434 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5435 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5437 def normalize_rotation(self):
5438 """normalize_rotation(RigidBody self)"""
5439 return _IMP_core.RigidBody_normalize_rotation(self)
5441 def update_members(self):
5442 """update_members(RigidBody self)"""
5443 return _IMP_core.RigidBody_update_members(self)
5445 def get_rotational_derivatives(self):
5446 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5447 return _IMP_core.RigidBody_get_rotational_derivatives(self)
5449 def get_number_of_members(self):
5450 """get_number_of_members(RigidBody self) -> unsigned int"""
5451 return _IMP_core.RigidBody_get_number_of_members(self)
5453 def get_member(self, *args):
5454 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5455 return _IMP_core.RigidBody_get_member(self, *args)
5457 def add_member(self, *args):
5458 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
5459 return _IMP_core.RigidBody_add_member(self, *args)
5461 def add_non_rigid_member(self, *args):
5462 """add_non_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi)"""
5463 return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5465 def set_is_rigid_member(self, *args):
5466 """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5467 return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5469 def add_attribute(self, *args):
5471 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5472 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5473 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5474 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5475 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5476 add_attribute(RigidBody self, ObjectKey a0, Object a1)
5478 return _IMP_core.RigidBody_add_attribute(self, *args)
5480 def get_value(self, *args):
5482 get_value(RigidBody self, FloatKey a0) -> IMP::Float
5483 get_value(RigidBody self, IntKey a0) -> IMP::Int
5484 get_value(RigidBody self, StringKey a0) -> IMP::String
5485 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5486 get_value(RigidBody self, ObjectKey a0) -> Object
5488 return _IMP_core.RigidBody_get_value(self, *args)
5490 def set_value(self, *args):
5492 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5493 set_value(RigidBody self, IntKey a0, IMP::Int a1)
5494 set_value(RigidBody self, StringKey a0, IMP::String a1)
5495 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5496 set_value(RigidBody self, ObjectKey a0, Object a1)
5498 return _IMP_core.RigidBody_set_value(self, *args)
5500 def remove_attribute(self, *args):
5502 remove_attribute(RigidBody self, FloatKey a0)
5503 remove_attribute(RigidBody self, IntKey a0)
5504 remove_attribute(RigidBody self, StringKey a0)
5505 remove_attribute(RigidBody self, ParticleIndexKey a0)
5506 remove_attribute(RigidBody self, ObjectKey a0)
5508 return _IMP_core.RigidBody_remove_attribute(self, *args)
5510 def has_attribute(self, *args):
5512 has_attribute(RigidBody self, FloatKey a0) -> bool
5513 has_attribute(RigidBody self, IntKey a0) -> bool
5514 has_attribute(RigidBody self, StringKey a0) -> bool
5515 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5516 has_attribute(RigidBody self, ObjectKey a0) -> bool
5518 return _IMP_core.RigidBody_has_attribute(self, *args)
5520 def get_derivative(self, *args):
5521 """get_derivative(RigidBody self, FloatKey a0) -> double"""
5522 return _IMP_core.RigidBody_get_derivative(self, *args)
5525 """get_name(RigidBody self) -> std::string"""
5526 return _IMP_core.RigidBody_get_name(self)
5528 def clear_caches(self):
5529 """clear_caches(RigidBody self)"""
5530 return _IMP_core.RigidBody_clear_caches(self)
5532 def set_name(self, *args):
5533 """set_name(RigidBody self, std::string a0)"""
5534 return _IMP_core.RigidBody_set_name(self, *args)
5537 """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5538 return _IMP_core.RigidBody_set_check_level(self, *args)
5540 def add_to_derivative(self, *args):
5541 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5542 return _IMP_core.RigidBody_add_to_derivative(self, *args)
5544 def set_is_optimized(self, *args):
5545 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5546 return _IMP_core.RigidBody_set_is_optimized(self, *args)
5548 def get_is_optimized(self, *args):
5549 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5550 return _IMP_core.RigidBody_get_is_optimized(self, *args)
5553 """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5554 return _IMP_core.RigidBody_get_check_level(self)
5556 def __eq__(self, *args):
5558 __eq__(RigidBody self, RigidBody o) -> bool
5559 __eq__(RigidBody self, Particle d) -> bool
5561 return _IMP_core.RigidBody___eq__(self, *args)
5563 def __ne__(self, *args):
5565 __ne__(RigidBody self, RigidBody o) -> bool
5566 __ne__(RigidBody self, Particle d) -> bool
5568 return _IMP_core.RigidBody___ne__(self, *args)
5570 def __le__(self, *args):
5572 __le__(RigidBody self, RigidBody o) -> bool
5573 __le__(RigidBody self, Particle d) -> bool
5575 return _IMP_core.RigidBody___le__(self, *args)
5577 def __lt__(self, *args):
5579 __lt__(RigidBody self, RigidBody o) -> bool
5580 __lt__(RigidBody self, Particle d) -> bool
5582 return _IMP_core.RigidBody___lt__(self, *args)
5584 def __ge__(self, *args):
5586 __ge__(RigidBody self, RigidBody o) -> bool
5587 __ge__(RigidBody self, Particle d) -> bool
5589 return _IMP_core.RigidBody___ge__(self, *args)
5591 def __gt__(self, *args):
5593 __gt__(RigidBody self, RigidBody o) -> bool
5594 __gt__(RigidBody self, Particle d) -> bool
5596 return _IMP_core.RigidBody___gt__(self, *args)
5599 """__str__(RigidBody self) -> std::string"""
5600 return _IMP_core.RigidBody___str__(self)
5603 """__repr__(RigidBody self) -> std::string"""
5604 return _IMP_core.RigidBody___repr__(self)
5606 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5607 RigidBody_swigregister(RigidBody)
5609 def RigidBody_setup_particle(*args):
5611 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5612 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5613 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5614 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5616 return _IMP_core.RigidBody_setup_particle(*args)
5618 def RigidBody_teardown_particle(*args):
5619 """RigidBody_teardown_particle(RigidBody rb)"""
5620 return _IMP_core.RigidBody_teardown_particle(*args)
5622 def RigidBody_get_is_setup(*args):
5624 get_is_setup(_ParticleAdaptor p) -> bool
5625 RigidBody_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5627 return _IMP_core.RigidBody_get_is_setup(*args)
5631 """add_rigid_body_cache_key(ObjectKey k)"""
5632 return _IMP_core.add_rigid_body_cache_key(*args)
5633 class RigidBodyMember(XYZ):
5634 """Proxy of C++ IMP::core::RigidBodyMember class"""
5635 __swig_setmethods__ = {}
5636 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5637 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMember, name, value)
5638 __swig_getmethods__ = {}
5639 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5640 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMember, name)
5641 def __init__(self, *args):
5643 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
5644 __init__(IMP::core::RigidBodyMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBodyMember
5645 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
5647 this = _IMP_core.new_RigidBodyMember(*args)
5648 try: self.this.append(this)
5649 except: self.this = this
5650 def show(self, *args):
5652 show(RigidBodyMember self, _ostream out=std::cout)
5653 show(RigidBodyMember self)
5655 return _IMP_core.RigidBodyMember_show(self, *args)
5657 def get_rigid_body(self):
5658 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
5659 return _IMP_core.RigidBodyMember_get_rigid_body(self)
5661 def get_internal_coordinates(self):
5662 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
5663 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
5665 def set_internal_coordinates(self, *args):
5666 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
5667 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, *args)
5669 def set_internal_transformation(self, *args):
5670 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
5671 return _IMP_core.RigidBodyMember_set_internal_transformation(self, *args)
5673 def get_internal_transformation(self):
5674 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
5675 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
5677 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
5678 __del__ =
lambda self :
None;
5679 def set_coordinates(self, *args):
5681 set_coordinates(RigidBodyMember self, Vector3D center)
5682 set_coordinates(RigidBodyMember self, Transformation3D tr)
5684 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
5686 def get_is_setup(*args):
5688 get_is_setup(_ParticleAdaptor p) -> bool
5689 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5691 return _IMP_core.RigidBodyMember_get_is_setup(*args)
5693 if _newclass:get_is_setup = staticmethod(get_is_setup)
5694 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5695 def get_internal_coordinate_keys():
5696 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
5697 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
5699 if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
5700 __swig_getmethods__[
"get_internal_coordinate_keys"] =
lambda x: get_internal_coordinate_keys
5701 def add_attribute(self, *args):
5703 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
5704 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
5705 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
5706 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
5707 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
5708 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
5710 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
5712 def get_value(self, *args):
5714 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
5715 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
5716 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
5717 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
5718 get_value(RigidBodyMember self, ObjectKey a0) -> Object
5720 return _IMP_core.RigidBodyMember_get_value(self, *args)
5722 def set_value(self, *args):
5724 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
5725 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
5726 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
5727 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
5728 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
5730 return _IMP_core.RigidBodyMember_set_value(self, *args)
5732 def remove_attribute(self, *args):
5734 remove_attribute(RigidBodyMember self, FloatKey a0)
5735 remove_attribute(RigidBodyMember self, IntKey a0)
5736 remove_attribute(RigidBodyMember self, StringKey a0)
5737 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
5738 remove_attribute(RigidBodyMember self, ObjectKey a0)
5740 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
5742 def has_attribute(self, *args):
5744 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
5745 has_attribute(RigidBodyMember self, IntKey a0) -> bool
5746 has_attribute(RigidBodyMember self, StringKey a0) -> bool
5747 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
5748 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
5750 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
5752 def get_derivative(self, *args):
5753 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
5754 return _IMP_core.RigidBodyMember_get_derivative(self, *args)
5757 """get_name(RigidBodyMember self) -> std::string"""
5758 return _IMP_core.RigidBodyMember_get_name(self)
5760 def clear_caches(self):
5761 """clear_caches(RigidBodyMember self)"""
5762 return _IMP_core.RigidBodyMember_clear_caches(self)
5764 def set_name(self, *args):
5765 """set_name(RigidBodyMember self, std::string a0)"""
5766 return _IMP_core.RigidBodyMember_set_name(self, *args)
5769 """set_check_level(RigidBodyMember self, IMP::base::CheckLevel a0)"""
5770 return _IMP_core.RigidBodyMember_set_check_level(self, *args)
5772 def add_to_derivative(self, *args):
5773 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5774 return _IMP_core.RigidBodyMember_add_to_derivative(self, *args)
5776 def set_is_optimized(self, *args):
5777 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
5778 return _IMP_core.RigidBodyMember_set_is_optimized(self, *args)
5780 def get_is_optimized(self, *args):
5781 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
5782 return _IMP_core.RigidBodyMember_get_is_optimized(self, *args)
5785 """get_check_level(RigidBodyMember self) -> IMP::base::CheckLevel"""
5786 return _IMP_core.RigidBodyMember_get_check_level(self)
5788 def __eq__(self, *args):
5790 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
5791 __eq__(RigidBodyMember self, Particle d) -> bool
5793 return _IMP_core.RigidBodyMember___eq__(self, *args)
5795 def __ne__(self, *args):
5797 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
5798 __ne__(RigidBodyMember self, Particle d) -> bool
5800 return _IMP_core.RigidBodyMember___ne__(self, *args)
5802 def __le__(self, *args):
5804 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
5805 __le__(RigidBodyMember self, Particle d) -> bool
5807 return _IMP_core.RigidBodyMember___le__(self, *args)
5809 def __lt__(self, *args):
5811 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
5812 __lt__(RigidBodyMember self, Particle d) -> bool
5814 return _IMP_core.RigidBodyMember___lt__(self, *args)
5816 def __ge__(self, *args):
5818 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
5819 __ge__(RigidBodyMember self, Particle d) -> bool
5821 return _IMP_core.RigidBodyMember___ge__(self, *args)
5823 def __gt__(self, *args):
5825 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
5826 __gt__(RigidBodyMember self, Particle d) -> bool
5828 return _IMP_core.RigidBodyMember___gt__(self, *args)
5831 """__str__(RigidBodyMember self) -> std::string"""
5832 return _IMP_core.RigidBodyMember___str__(self)
5835 """__repr__(RigidBodyMember self) -> std::string"""
5836 return _IMP_core.RigidBodyMember___repr__(self)
5838 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
5839 RigidBodyMember_swigregister(RigidBodyMember)
5841 def RigidBodyMember_get_is_setup(*args):
5843 get_is_setup(_ParticleAdaptor p) -> bool
5844 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5846 return _IMP_core.RigidBodyMember_get_is_setup(*args)
5848 def RigidBodyMember_get_internal_coordinate_keys():
5849 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
5850 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
5852 class RigidMember(RigidBodyMember):
5853 """Proxy of C++ IMP::core::RigidMember class"""
5854 __swig_setmethods__ = {}
5855 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5856 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMember, name, value)
5857 __swig_getmethods__ = {}
5858 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5859 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMember, name)
5860 def __init__(self, *args):
5862 __init__(IMP::core::RigidMember self) -> RigidMember
5863 __init__(IMP::core::RigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidMember
5864 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
5866 this = _IMP_core.new_RigidMember(*args)
5867 try: self.this.append(this)
5868 except: self.this = this
5869 def show(self, *args):
5871 show(RigidMember self, _ostream out=std::cout)
5872 show(RigidMember self)
5874 return _IMP_core.RigidMember_show(self, *args)
5876 __swig_destroy__ = _IMP_core.delete_RigidMember
5877 __del__ =
lambda self :
None;
5878 def get_is_setup(*args):
5880 get_is_setup(_ParticleAdaptor p) -> bool
5881 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5883 return _IMP_core.RigidMember_get_is_setup(*args)
5885 if _newclass:get_is_setup = staticmethod(get_is_setup)
5886 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5887 def add_attribute(self, *args):
5889 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
5890 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
5891 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
5892 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
5893 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
5894 add_attribute(RigidMember self, ObjectKey a0, Object a1)
5896 return _IMP_core.RigidMember_add_attribute(self, *args)
5898 def get_value(self, *args):
5900 get_value(RigidMember self, FloatKey a0) -> IMP::Float
5901 get_value(RigidMember self, IntKey a0) -> IMP::Int
5902 get_value(RigidMember self, StringKey a0) -> IMP::String
5903 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
5904 get_value(RigidMember self, ObjectKey a0) -> Object
5906 return _IMP_core.RigidMember_get_value(self, *args)
5908 def set_value(self, *args):
5910 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
5911 set_value(RigidMember self, IntKey a0, IMP::Int a1)
5912 set_value(RigidMember self, StringKey a0, IMP::String a1)
5913 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
5914 set_value(RigidMember self, ObjectKey a0, Object a1)
5916 return _IMP_core.RigidMember_set_value(self, *args)
5918 def remove_attribute(self, *args):
5920 remove_attribute(RigidMember self, FloatKey a0)
5921 remove_attribute(RigidMember self, IntKey a0)
5922 remove_attribute(RigidMember self, StringKey a0)
5923 remove_attribute(RigidMember self, ParticleIndexKey a0)
5924 remove_attribute(RigidMember self, ObjectKey a0)
5926 return _IMP_core.RigidMember_remove_attribute(self, *args)
5928 def has_attribute(self, *args):
5930 has_attribute(RigidMember self, FloatKey a0) -> bool
5931 has_attribute(RigidMember self, IntKey a0) -> bool
5932 has_attribute(RigidMember self, StringKey a0) -> bool
5933 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
5934 has_attribute(RigidMember self, ObjectKey a0) -> bool
5936 return _IMP_core.RigidMember_has_attribute(self, *args)
5938 def get_derivative(self, *args):
5939 """get_derivative(RigidMember self, FloatKey a0) -> double"""
5940 return _IMP_core.RigidMember_get_derivative(self, *args)
5943 """get_name(RigidMember self) -> std::string"""
5944 return _IMP_core.RigidMember_get_name(self)
5946 def clear_caches(self):
5947 """clear_caches(RigidMember self)"""
5948 return _IMP_core.RigidMember_clear_caches(self)
5950 def set_name(self, *args):
5951 """set_name(RigidMember self, std::string a0)"""
5952 return _IMP_core.RigidMember_set_name(self, *args)
5955 """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
5956 return _IMP_core.RigidMember_set_check_level(self, *args)
5958 def add_to_derivative(self, *args):
5959 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5960 return _IMP_core.RigidMember_add_to_derivative(self, *args)
5962 def set_is_optimized(self, *args):
5963 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
5964 return _IMP_core.RigidMember_set_is_optimized(self, *args)
5966 def get_is_optimized(self, *args):
5967 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
5968 return _IMP_core.RigidMember_get_is_optimized(self, *args)
5971 """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
5972 return _IMP_core.RigidMember_get_check_level(self)
5974 def __eq__(self, *args):
5976 __eq__(RigidMember self, RigidMember o) -> bool
5977 __eq__(RigidMember self, Particle d) -> bool
5979 return _IMP_core.RigidMember___eq__(self, *args)
5981 def __ne__(self, *args):
5983 __ne__(RigidMember self, RigidMember o) -> bool
5984 __ne__(RigidMember self, Particle d) -> bool
5986 return _IMP_core.RigidMember___ne__(self, *args)
5988 def __le__(self, *args):
5990 __le__(RigidMember self, RigidMember o) -> bool
5991 __le__(RigidMember self, Particle d) -> bool
5993 return _IMP_core.RigidMember___le__(self, *args)
5995 def __lt__(self, *args):
5997 __lt__(RigidMember self, RigidMember o) -> bool
5998 __lt__(RigidMember self, Particle d) -> bool
6000 return _IMP_core.RigidMember___lt__(self, *args)
6002 def __ge__(self, *args):
6004 __ge__(RigidMember self, RigidMember o) -> bool
6005 __ge__(RigidMember self, Particle d) -> bool
6007 return _IMP_core.RigidMember___ge__(self, *args)
6009 def __gt__(self, *args):
6011 __gt__(RigidMember self, RigidMember o) -> bool
6012 __gt__(RigidMember self, Particle d) -> bool
6014 return _IMP_core.RigidMember___gt__(self, *args)
6017 """__str__(RigidMember self) -> std::string"""
6018 return _IMP_core.RigidMember___str__(self)
6021 """__repr__(RigidMember self) -> std::string"""
6022 return _IMP_core.RigidMember___repr__(self)
6024 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6025 RigidMember_swigregister(RigidMember)
6027 def RigidMember_get_is_setup(*args):
6029 get_is_setup(_ParticleAdaptor p) -> bool
6030 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6032 return _IMP_core.RigidMember_get_is_setup(*args)
6034 class NonRigidMember(RigidBodyMember):
6035 """Proxy of C++ IMP::core::NonRigidMember class"""
6036 __swig_setmethods__ = {}
6037 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6038 __setattr__ =
lambda self, name, value: _swig_setattr(self, NonRigidMember, name, value)
6039 __swig_getmethods__ = {}
6040 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6041 __getattr__ =
lambda self, name: _swig_getattr(self, NonRigidMember, name)
6042 def __init__(self, *args):
6044 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6045 __init__(IMP::core::NonRigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> NonRigidMember
6046 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6048 this = _IMP_core.new_NonRigidMember(*args)
6049 try: self.this.append(this)
6050 except: self.this = this
6051 def show(self, *args):
6053 show(NonRigidMember self, _ostream out=std::cout)
6054 show(NonRigidMember self)
6056 return _IMP_core.NonRigidMember_show(self, *args)
6058 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6059 __del__ =
lambda self :
None;
6060 def get_is_setup(*args):
6062 get_is_setup(_ParticleAdaptor p) -> bool
6063 get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6065 return _IMP_core.NonRigidMember_get_is_setup(*args)
6067 if _newclass:get_is_setup = staticmethod(get_is_setup)
6068 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6069 def add_attribute(self, *args):
6071 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6072 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6073 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6074 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6075 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6076 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
6078 return _IMP_core.NonRigidMember_add_attribute(self, *args)
6080 def get_value(self, *args):
6082 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6083 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6084 get_value(NonRigidMember self, StringKey a0) -> IMP::String
6085 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6086 get_value(NonRigidMember self, ObjectKey a0) -> Object
6088 return _IMP_core.NonRigidMember_get_value(self, *args)
6090 def set_value(self, *args):
6092 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6093 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6094 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6095 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6096 set_value(NonRigidMember self, ObjectKey a0, Object a1)
6098 return _IMP_core.NonRigidMember_set_value(self, *args)
6100 def remove_attribute(self, *args):
6102 remove_attribute(NonRigidMember self, FloatKey a0)
6103 remove_attribute(NonRigidMember self, IntKey a0)
6104 remove_attribute(NonRigidMember self, StringKey a0)
6105 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6106 remove_attribute(NonRigidMember self, ObjectKey a0)
6108 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6110 def has_attribute(self, *args):
6112 has_attribute(NonRigidMember self, FloatKey a0) -> bool
6113 has_attribute(NonRigidMember self, IntKey a0) -> bool
6114 has_attribute(NonRigidMember self, StringKey a0) -> bool
6115 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6116 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6118 return _IMP_core.NonRigidMember_has_attribute(self, *args)
6120 def get_derivative(self, *args):
6121 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6122 return _IMP_core.NonRigidMember_get_derivative(self, *args)
6125 """get_name(NonRigidMember self) -> std::string"""
6126 return _IMP_core.NonRigidMember_get_name(self)
6128 def clear_caches(self):
6129 """clear_caches(NonRigidMember self)"""
6130 return _IMP_core.NonRigidMember_clear_caches(self)
6132 def set_name(self, *args):
6133 """set_name(NonRigidMember self, std::string a0)"""
6134 return _IMP_core.NonRigidMember_set_name(self, *args)
6137 """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
6138 return _IMP_core.NonRigidMember_set_check_level(self, *args)
6140 def add_to_derivative(self, *args):
6141 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6142 return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
6144 def set_is_optimized(self, *args):
6145 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6146 return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
6148 def get_is_optimized(self, *args):
6149 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6150 return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
6153 """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
6154 return _IMP_core.NonRigidMember_get_check_level(self)
6156 def __eq__(self, *args):
6158 __eq__(NonRigidMember self, NonRigidMember o) -> bool
6159 __eq__(NonRigidMember self, Particle d) -> bool
6161 return _IMP_core.NonRigidMember___eq__(self, *args)
6163 def __ne__(self, *args):
6165 __ne__(NonRigidMember self, NonRigidMember o) -> bool
6166 __ne__(NonRigidMember self, Particle d) -> bool
6168 return _IMP_core.NonRigidMember___ne__(self, *args)
6170 def __le__(self, *args):
6172 __le__(NonRigidMember self, NonRigidMember o) -> bool
6173 __le__(NonRigidMember self, Particle d) -> bool
6175 return _IMP_core.NonRigidMember___le__(self, *args)
6177 def __lt__(self, *args):
6179 __lt__(NonRigidMember self, NonRigidMember o) -> bool
6180 __lt__(NonRigidMember self, Particle d) -> bool
6182 return _IMP_core.NonRigidMember___lt__(self, *args)
6184 def __ge__(self, *args):
6186 __ge__(NonRigidMember self, NonRigidMember o) -> bool
6187 __ge__(NonRigidMember self, Particle d) -> bool
6189 return _IMP_core.NonRigidMember___ge__(self, *args)
6191 def __gt__(self, *args):
6193 __gt__(NonRigidMember self, NonRigidMember o) -> bool
6194 __gt__(NonRigidMember self, Particle d) -> bool
6196 return _IMP_core.NonRigidMember___gt__(self, *args)
6199 """__str__(NonRigidMember self) -> std::string"""
6200 return _IMP_core.NonRigidMember___str__(self)
6203 """__repr__(NonRigidMember self) -> std::string"""
6204 return _IMP_core.NonRigidMember___repr__(self)
6206 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6207 NonRigidMember_swigregister(NonRigidMember)
6209 def NonRigidMember_get_is_setup(*args):
6211 get_is_setup(_ParticleAdaptor p) -> bool
6212 NonRigidMember_get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6214 return _IMP_core.NonRigidMember_get_is_setup(*args)
6217 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6218 __swig_setmethods__ = {}
6219 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6220 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMembersRefiner, name, value)
6221 __swig_getmethods__ = {}
6222 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6223 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMembersRefiner, name)
6224 def __init__(self, name="RigidMembersRefiner%d"):
6226 __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
6227 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6229 this = _IMP_core.new_RigidMembersRefiner(name)
6230 try: self.this.append(this)
6231 except: self.this = this
6232 def do_get_inputs(self, *args):
6233 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6234 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, *args)
6236 def get_version_info(self):
6237 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6238 return _IMP_core.RigidMembersRefiner_get_version_info(self)
6241 """__str__(RigidMembersRefiner self) -> std::string"""
6242 return _IMP_core.RigidMembersRefiner___str__(self)
6245 """__repr__(RigidMembersRefiner self) -> std::string"""
6246 return _IMP_core.RigidMembersRefiner___repr__(self)
6249 return _object_cast_to_RigidMembersRefiner(o)
6250 get_from = staticmethod(get_from)
6252 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6253 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6256 def get_rigid_members_refiner():
6257 """get_rigid_members_refiner() -> RigidMembersRefiner"""
6258 return _IMP_core.get_rigid_members_refiner()
6262 transform(XYZ a, Transformation3D tr)
6263 transform(RigidBody a, Transformation3D tr)
6265 return _IMP_core.transform(*args)
6269 get_initial_reference_frame(Model m, IMP::kernel::ParticleIndexes const & pis) -> ReferenceFrame3D
6270 get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D
6272 return _IMP_core.get_initial_reference_frame(*args)
6276 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
6277 create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
6279 return _IMP_core.create_rigid_bodies(*args)
6283 show_rigid_body_hierarchy(RigidBody rb, TextOutput out=IMP::base::TextOutput(std::cout))
6284 show_rigid_body_hierarchy(RigidBody rb)
6286 return _IMP_core.show_rigid_body_hierarchy(*args)
6289 """get_root_rigid_body(RigidMember m) -> IMP::kernel::ParticleIndex"""
6290 return _IMP_core.get_root_rigid_body(*args)
6292 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6293 __swig_setmethods__ = {}
6295 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyHierarchyGeometry, name, value)
6296 __swig_getmethods__ = {}
6298 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyHierarchyGeometry, name)
6299 def __init__(self, *args):
6300 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6301 this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
6302 try: self.this.append(this)
6303 except: self.this = this
6304 def get_version_info(self):
6305 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6306 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6309 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6310 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6313 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6314 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6317 return _object_cast_to_RigidBodyHierarchyGeometry(o)
6318 get_from = staticmethod(get_from)
6320 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6321 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6324 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6325 __swig_setmethods__ = {}
6327 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativeGeometry, name, value)
6328 __swig_getmethods__ = {}
6330 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativeGeometry, name)
6331 def __init__(self, *args):
6333 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
6334 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
6336 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
6337 try: self.this.append(this)
6338 except: self.this = this
6339 def get_version_info(self):
6340 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
6341 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
6344 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
6345 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6348 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6349 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6352 return _object_cast_to_RigidBodyDerivativeGeometry(o)
6353 get_from = staticmethod(get_from)
6355 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6356 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6359 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6360 __swig_setmethods__ = {}
6362 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativesGeometry, name, value)
6363 __swig_getmethods__ = {}
6365 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativesGeometry, name)
6366 def __init__(self, *args):
6367 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6368 this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6369 try: self.this.append(this)
6370 except: self.this = this
6371 def get_version_info(self):
6372 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6373 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6376 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6377 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6380 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6381 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6384 return _object_cast_to_RigidBodyDerivativesGeometry(o)
6385 get_from = staticmethod(get_from)
6387 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6388 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6391 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6392 __swig_setmethods__ = {}
6394 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFrameGeometry, name, value)
6395 __swig_getmethods__ = {}
6397 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFrameGeometry, name)
6398 def __init__(self, *args):
6400 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6401 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6403 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6404 try: self.this.append(this)
6405 except: self.this = this
6406 def get_version_info(self):
6407 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6408 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6411 """__str__(RigidBodyFrameGeometry self) -> std::string"""
6412 return _IMP_core.RigidBodyFrameGeometry___str__(self)
6415 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6416 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6419 return _object_cast_to_RigidBodyFrameGeometry(o)
6420 get_from = staticmethod(get_from)
6422 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6423 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6426 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6427 __swig_setmethods__ = {}
6429 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFramesGeometry, name, value)
6430 __swig_getmethods__ = {}
6432 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFramesGeometry, name)
6433 def __init__(self, *args):
6434 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6435 this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6436 try: self.this.append(this)
6437 except: self.this = this
6438 def get_version_info(self):
6439 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6440 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6443 """__str__(RigidBodyFramesGeometry self) -> std::string"""
6444 return _IMP_core.RigidBodyFramesGeometry___str__(self)
6447 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6448 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6451 return _object_cast_to_RigidBodyFramesGeometry(o)
6452 get_from = staticmethod(get_from)
6454 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6455 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6458 """Proxy of C++ IMP::core::RigidBodyTorque class"""
6459 __swig_setmethods__ = {}
6461 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTorque, name, value)
6462 __swig_getmethods__ = {}
6464 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTorque, name)
6465 def __init__(self, *args):
6466 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6467 this = _IMP_core.new_RigidBodyTorque(*args)
6468 try: self.this.append(this)
6469 except: self.this = this
6471 """__str__(RigidBodyTorque self) -> std::string"""
6472 return _IMP_core.RigidBodyTorque___str__(self)
6475 """__repr__(RigidBodyTorque self) -> std::string"""
6476 return _IMP_core.RigidBodyTorque___repr__(self)
6479 return _object_cast_to_RigidBodyTorque(o)
6480 get_from = staticmethod(get_from)
6482 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6483 __del__ =
lambda self :
None;
6484 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6485 RigidBodyTorque_swigregister(RigidBodyTorque)
6487 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6488 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6489 __swig_setmethods__ = {}
6490 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6491 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborsClosePairsFinder, name, value)
6492 __swig_getmethods__ = {}
6493 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6494 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborsClosePairsFinder, name)
6496 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6497 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6498 try: self.this.append(this)
6499 except: self.this = this
6500 def get_close_pairs(self, *args):
6502 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6503 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6504 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6505 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6506 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6507 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6509 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6511 def do_get_inputs(self, *args):
6512 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6513 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, *args)
6515 def get_version_info(self):
6516 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6517 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6520 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6521 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6524 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6525 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6528 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6529 get_from = staticmethod(get_from)
6531 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6532 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6535 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6536 __swig_setmethods__ = {}
6538 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintsScoringFunction, name, value)
6539 __swig_getmethods__ = {}
6541 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintsScoringFunction, name)
6542 def __init__(self, *args):
6544 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6545 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
6546 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
6547 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
6548 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
6550 this = _IMP_core.new_RestraintsScoringFunction(*args)
6551 try: self.this.append(this)
6552 except: self.this = this
6553 def do_add_score_and_derivatives(self, *args):
6554 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
6555 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
6557 def do_get_inputs(self):
6558 """do_get_inputs(RestraintsScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
6559 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
6561 def get_version_info(self):
6562 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
6563 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
6566 """__str__(RestraintsScoringFunction self) -> std::string"""
6567 return _IMP_core.RestraintsScoringFunction___str__(self)
6570 """__repr__(RestraintsScoringFunction self) -> std::string"""
6571 return _IMP_core.RestraintsScoringFunction___repr__(self)
6574 return _object_cast_to_RestraintsScoringFunction(o)
6575 get_from = staticmethod(get_from)
6577 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
6578 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
6580 class RigidClosePairsFinder(ClosePairsFinder):
6581 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
6582 __swig_setmethods__ = {}
6583 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6584 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidClosePairsFinder, name, value)
6585 __swig_getmethods__ = {}
6586 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6587 __getattr__ =
lambda self, name: _swig_getattr(self, RigidClosePairsFinder, name)
6588 def __init__(self, cpf=None):
6590 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
6591 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
6593 this = _IMP_core.new_RigidClosePairsFinder(cpf)
6594 try: self.this.append(this)
6595 except: self.this = this
6596 def do_get_inputs(self, *args):
6597 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6598 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, *args)
6600 def get_close_pairs(self, *args):
6602 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b, IMP::kernel::ParticleIndexes const & pa,
6603 IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticleIndexPairs
6604 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6605 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6606 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6607 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6608 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6609 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6611 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
6613 def get_version_info(self):
6614 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
6615 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
6618 """__str__(RigidClosePairsFinder self) -> std::string"""
6619 return _IMP_core.RigidClosePairsFinder___str__(self)
6622 """__repr__(RigidClosePairsFinder self) -> std::string"""
6623 return _IMP_core.RigidClosePairsFinder___repr__(self)
6626 return _object_cast_to_RigidClosePairsFinder(o)
6627 get_from = staticmethod(get_from)
6629 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
6630 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
6633 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
6634 __swig_setmethods__ = {}
6635 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6636 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistancePairScore, name, value)
6637 __swig_getmethods__ = {}
6638 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6639 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistancePairScore, name)
6640 def __init__(self, *args):
6642 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
6643 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
6645 this = _IMP_core.new_SphereDistancePairScore(*args)
6646 try: self.this.append(this)
6647 except: self.this = this
6648 def do_get_inputs(self, *args):
6649 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6650 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, *args)
6652 def get_version_info(self):
6653 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
6654 return _IMP_core.SphereDistancePairScore_get_version_info(self)
6657 """__str__(SphereDistancePairScore self) -> std::string"""
6658 return _IMP_core.SphereDistancePairScore___str__(self)
6661 """__repr__(SphereDistancePairScore self) -> std::string"""
6662 return _IMP_core.SphereDistancePairScore___repr__(self)
6665 return _object_cast_to_SphereDistancePairScore(o)
6666 get_from = staticmethod(get_from)
6668 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
6669 SphereDistancePairScore_swigregister(SphereDistancePairScore)
6672 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
6673 __swig_setmethods__ = {}
6674 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6675 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDistancePairScore, name, value)
6676 __swig_getmethods__ = {}
6677 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6678 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDistancePairScore, name)
6679 def __init__(self, *args):
6681 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
6682 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
6684 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
6685 try: self.this.append(this)
6686 except: self.this = this
6687 def do_get_inputs(self, *args):
6688 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6689 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, *args)
6691 def get_version_info(self):
6692 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
6693 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
6696 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6697 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
6700 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6701 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
6704 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
6705 get_from = staticmethod(get_from)
6707 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
6708 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
6711 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
6712 __swig_setmethods__ = {}
6713 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6714 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDiameterPairScore, name, value)
6715 __swig_getmethods__ = {}
6716 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6717 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDiameterPairScore, name)
6718 def __init__(self, *args):
6719 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
6720 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
6721 try: self.this.append(this)
6722 except: self.this = this
6723 def get_rest_length(self):
6724 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6725 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
6727 def get_stiffness(self):
6728 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6729 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
6731 def do_get_inputs(self, *args):
6732 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6733 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, *args)
6735 def get_version_info(self):
6736 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
6737 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
6740 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6741 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
6744 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6745 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
6748 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
6749 get_from = staticmethod(get_from)
6751 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
6752 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
6755 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
6756 __swig_setmethods__ = {}
6757 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6758 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicSphereDistancePairScore, name, value)
6759 __swig_getmethods__ = {}
6760 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6761 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicSphereDistancePairScore, name)
6762 def __init__(self, *args):
6764 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
6765 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
6767 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
6768 try: self.this.append(this)
6769 except: self.this = this
6770 def do_get_inputs(self, *args):
6771 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6772 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, *args)
6774 def get_version_info(self):
6775 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
6776 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
6779 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
6780 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
6783 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
6784 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
6787 return _object_cast_to_HarmonicSphereDistancePairScore(o)
6788 get_from = staticmethod(get_from)
6790 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
6791 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
6794 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
6795 __swig_setmethods__ = {}
6796 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6797 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalizedSphereDistancePairScore, name, value)
6798 __swig_getmethods__ = {}
6799 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6800 __getattr__ =
lambda self, name: _swig_getattr(self, NormalizedSphereDistancePairScore, name)
6801 def __init__(self, *args):
6803 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
6804 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
6806 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
6807 try: self.this.append(this)
6808 except: self.this = this
6809 def do_get_inputs(self, *args):
6810 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6811 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, *args)
6813 def get_version_info(self):
6814 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
6815 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
6818 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
6819 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
6822 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
6823 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
6826 return _object_cast_to_NormalizedSphereDistancePairScore(o)
6827 get_from = staticmethod(get_from)
6829 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
6830 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
6833 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
6834 __swig_setmethods__ = {}
6835 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6836 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedSphereDistancePairScore, name, value)
6837 __swig_getmethods__ = {}
6838 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6839 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedSphereDistancePairScore, name)
6840 def __init__(self, *args):
6842 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
6843 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
6845 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
6846 try: self.this.append(this)
6847 except: self.this = this
6848 def do_get_inputs(self, *args):
6849 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6850 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, *args)
6852 def get_version_info(self):
6853 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
6854 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
6857 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
6858 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
6861 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
6862 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
6865 return _object_cast_to_WeightedSphereDistancePairScore(o)
6866 get_from = staticmethod(get_from)
6868 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
6869 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
6872 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
6873 __swig_setmethods__ = {}
6874 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6875 __setattr__ =
lambda self, name, value: _swig_setattr(self, SoftSpherePairScore, name, value)
6876 __swig_getmethods__ = {}
6877 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6878 __getattr__ =
lambda self, name: _swig_getattr(self, SoftSpherePairScore, name)
6879 def __init__(self, *args):
6881 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
6882 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
6884 this = _IMP_core.new_SoftSpherePairScore(*args)
6885 try: self.this.append(this)
6886 except: self.this = this
6887 def do_get_inputs(self, *args):
6888 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6889 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, *args)
6891 def get_version_info(self):
6892 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
6893 return _IMP_core.SoftSpherePairScore_get_version_info(self)
6896 """__str__(SoftSpherePairScore self) -> std::string"""
6897 return _IMP_core.SoftSpherePairScore___str__(self)
6900 """__repr__(SoftSpherePairScore self) -> std::string"""
6901 return _IMP_core.SoftSpherePairScore___repr__(self)
6904 return _object_cast_to_SoftSpherePairScore(o)
6905 get_from = staticmethod(get_from)
6907 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
6908 SoftSpherePairScore_swigregister(SoftSpherePairScore)
6911 """Proxy of C++ IMP::core::SteepestDescent class"""
6912 __swig_setmethods__ = {}
6914 __setattr__ =
lambda self, name, value: _swig_setattr(self, SteepestDescent, name, value)
6915 __swig_getmethods__ = {}
6917 __getattr__ =
lambda self, name: _swig_getattr(self, SteepestDescent, name)
6918 def __init__(self, *args):
6920 __init__(IMP::core::SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent
6921 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
6923 this = _IMP_core.new_SteepestDescent(*args)
6924 try: self.this.append(this)
6925 except: self.this = this
6926 def do_optimize(self, *args):
6927 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
6928 return _IMP_core.SteepestDescent_do_optimize(self, *args)
6930 def get_version_info(self):
6931 """get_version_info(SteepestDescent self) -> VersionInfo"""
6932 return _IMP_core.SteepestDescent_get_version_info(self)
6934 def set_threshold(self, *args):
6935 """set_threshold(SteepestDescent self, IMP::Float t)"""
6936 return _IMP_core.SteepestDescent_set_threshold(self, *args)
6938 def set_step_size(self, *args):
6939 """set_step_size(SteepestDescent self, IMP::Float t)"""
6940 return _IMP_core.SteepestDescent_set_step_size(self, *args)
6942 def set_maximum_step_size(self, *args):
6943 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
6944 return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
6947 """__str__(SteepestDescent self) -> std::string"""
6948 return _IMP_core.SteepestDescent___str__(self)
6951 """__repr__(SteepestDescent self) -> std::string"""
6952 return _IMP_core.SteepestDescent___repr__(self)
6955 return _object_cast_to_SteepestDescent(o)
6956 get_from = staticmethod(get_from)
6958 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
6959 SteepestDescent_swigregister(SteepestDescent)
6962 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
6963 __swig_setmethods__ = {}
6964 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6965 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformedDistancePairScore, name, value)
6966 __swig_getmethods__ = {}
6967 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6968 __getattr__ =
lambda self, name: _swig_getattr(self, TransformedDistancePairScore, name)
6969 def __init__(self, *args):
6970 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
6971 this = _IMP_core.new_TransformedDistancePairScore(*args)
6972 try: self.this.append(this)
6973 except: self.this = this
6974 def set_transformation(self, *args):
6975 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
6976 return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
6978 def do_get_inputs(self, *args):
6979 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6980 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, *args)
6982 def get_version_info(self):
6983 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
6984 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
6987 """__str__(TransformedDistancePairScore self) -> std::string"""
6988 return _IMP_core.TransformedDistancePairScore___str__(self)
6991 """__repr__(TransformedDistancePairScore self) -> std::string"""
6992 return _IMP_core.TransformedDistancePairScore___repr__(self)
6995 return _object_cast_to_TransformedDistancePairScore(o)
6996 get_from = staticmethod(get_from)
6998 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
6999 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7002 """Proxy of C++ IMP::core::TypedPairScore class"""
7003 __swig_setmethods__ = {}
7004 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7005 __setattr__ =
lambda self, name, value: _swig_setattr(self, TypedPairScore, name, value)
7006 __swig_getmethods__ = {}
7007 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7008 __getattr__ =
lambda self, name: _swig_getattr(self, TypedPairScore, name)
7009 def __init__(self, *args):
7011 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7012 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7014 this = _IMP_core.new_TypedPairScore(*args)
7015 try: self.this.append(this)
7016 except: self.this = this
7017 def set_particle_type(self, *args):
7018 """set_particle_type(TypedPairScore self, Particle arg2)"""
7019 return _IMP_core.TypedPairScore_set_particle_type(self, *args)
7021 def set_pair_score(self, *args):
7022 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7023 return _IMP_core.TypedPairScore_set_pair_score(self, *args)
7025 def do_get_inputs(self, *args):
7026 """do_get_inputs(TypedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7027 return _IMP_core.TypedPairScore_do_get_inputs(self, *args)
7029 def get_version_info(self):
7030 """get_version_info(TypedPairScore self) -> VersionInfo"""
7031 return _IMP_core.TypedPairScore_get_version_info(self)
7034 """__str__(TypedPairScore self) -> std::string"""
7035 return _IMP_core.TypedPairScore___str__(self)
7038 """__repr__(TypedPairScore self) -> std::string"""
7039 return _IMP_core.TypedPairScore___repr__(self)
7042 return _object_cast_to_TypedPairScore(o)
7043 get_from = staticmethod(get_from)
7045 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7046 TypedPairScore_swigregister(TypedPairScore)
7048 class RigidBodyDistancePairScore(KClosePairsPairScore):
7049 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7050 __swig_setmethods__ = {}
7051 for _s
in [KClosePairsPairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7052 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDistancePairScore, name, value)
7053 __swig_getmethods__ = {}
7054 for _s
in [KClosePairsPairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7055 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDistancePairScore, name)
7056 def __init__(self, *args):
7057 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7058 this = _IMP_core.new_RigidBodyDistancePairScore(*args)
7059 try: self.this.append(this)
7060 except: self.this = this
7062 """__str__(RigidBodyDistancePairScore self) -> std::string"""
7063 return _IMP_core.RigidBodyDistancePairScore___str__(self)
7066 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7067 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7070 return _object_cast_to_RigidBodyDistancePairScore(o)
7071 get_from = staticmethod(get_from)
7073 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7074 __del__ =
lambda self :
None;
7075 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7076 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7079 """Proxy of C++ IMP::core::TableRefiner class"""
7080 __swig_setmethods__ = {}
7081 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7082 __setattr__ =
lambda self, name, value: _swig_setattr(self, TableRefiner, name, value)
7083 __swig_getmethods__ = {}
7084 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7085 __getattr__ =
lambda self, name: _swig_getattr(self, TableRefiner, name)
7087 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7088 this = _IMP_core.new_TableRefiner()
7089 try: self.this.append(this)
7090 except: self.this = this
7092 """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7093 return _IMP_core.TableRefiner_add_particle(self, *args)
7095 def remove_particle(self, *args):
7096 """remove_particle(TableRefiner self, Particle p)"""
7097 return _IMP_core.TableRefiner_remove_particle(self, *args)
7099 def set_particle(self, *args):
7100 """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7101 return _IMP_core.TableRefiner_set_particle(self, *args)
7103 def do_get_inputs(self, *args):
7104 """do_get_inputs(TableRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7105 return _IMP_core.TableRefiner_do_get_inputs(self, *args)
7107 def get_version_info(self):
7108 """get_version_info(TableRefiner self) -> VersionInfo"""
7109 return _IMP_core.TableRefiner_get_version_info(self)
7112 """__str__(TableRefiner self) -> std::string"""
7113 return _IMP_core.TableRefiner___str__(self)
7116 """__repr__(TableRefiner self) -> std::string"""
7117 return _IMP_core.TableRefiner___repr__(self)
7120 return _object_cast_to_TableRefiner(o)
7121 get_from = staticmethod(get_from)
7123 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7124 TableRefiner_swigregister(TableRefiner)
7126 LOWER = _IMP_core.LOWER
7127 BOTH = _IMP_core.BOTH
7128 UPPER = _IMP_core.UPPER
7130 """Proxy of C++ IMP::core::MCCGSampler class"""
7131 __swig_setmethods__ = {}
7132 for _s
in [
IMP.kernel.Sampler]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7133 __setattr__ =
lambda self, name, value: _swig_setattr(self, MCCGSampler, name, value)
7134 __swig_getmethods__ = {}
7135 for _s
in [
IMP.kernel.Sampler]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7136 __getattr__ =
lambda self, name: _swig_getattr(self, MCCGSampler, name)
7137 def __init__(self, *args):
7139 __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
7140 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7142 this = _IMP_core.new_MCCGSampler(*args)
7143 try: self.this.append(this)
7144 except: self.this = this
7145 def set_bounding_box(self, *args):
7146 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7147 return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
7149 def set_number_of_attempts(self, *args):
7150 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7151 return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
7153 def set_number_of_monte_carlo_steps(self, *args):
7154 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7155 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
7157 def set_number_of_conjugate_gradient_steps(self, *args):
7158 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7159 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
7161 def set_max_monte_carlo_step_size(self, *args):
7163 set_max_monte_carlo_step_size(MCCGSampler self, double d)
7164 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7166 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7168 def set_is_refining(self, *args):
7169 """set_is_refining(MCCGSampler self, bool tf)"""
7170 return _IMP_core.MCCGSampler_set_is_refining(self, *args)
7172 def set_local_optimizer(self, *args):
7173 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7174 return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
7176 def set_save_rejected_configurations(self, *args):
7177 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7178 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
7180 def get_rejected_configurations(self):
7181 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7182 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7184 def remove_optimizer_state(self, *args):
7185 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7186 return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
7188 def remove_optimizer_states(self, *args):
7189 """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
7190 return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
7192 def set_optimizer_states(self, *args):
7193 """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
7194 return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
7196 def set_optimizer_states_order(self, *args):
7197 """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7198 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
7200 def add_optimizer_state(self, *args):
7201 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7202 return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
7204 def add_optimizer_states(self, *args):
7205 """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7206 return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
7208 def clear_optimizer_states(self):
7209 """clear_optimizer_states(MCCGSampler self)"""
7210 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7212 def get_number_of_optimizer_states(self):
7213 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7214 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7216 def get_has_optimizer_states(self):
7217 """get_has_optimizer_states(MCCGSampler self) -> bool"""
7218 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7220 def get_optimizer_state(self, *args):
7221 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7222 return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
7224 def get_optimizer_states(self):
7225 """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
7226 return _IMP_core.MCCGSampler_get_optimizer_states(self)
7228 def reserve_optimizer_states(self, *args):
7229 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
7230 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
7232 def do_sample(self):
7233 """do_sample(MCCGSampler self) -> ConfigurationSet"""
7234 return _IMP_core.MCCGSampler_do_sample(self)
7236 def get_version_info(self):
7237 """get_version_info(MCCGSampler self) -> VersionInfo"""
7238 return _IMP_core.MCCGSampler_get_version_info(self)
7241 """__str__(MCCGSampler self) -> std::string"""
7242 return _IMP_core.MCCGSampler___str__(self)
7245 """__repr__(MCCGSampler self) -> std::string"""
7246 return _IMP_core.MCCGSampler___repr__(self)
7249 return _object_cast_to_MCCGSampler(o)
7250 get_from = staticmethod(get_from)
7252 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
7253 MCCGSampler_swigregister(MCCGSampler)
7256 """Proxy of C++ IMP::core::MinimumRestraint class"""
7257 __swig_setmethods__ = {}
7258 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7259 __setattr__ =
lambda self, name, value: _swig_setattr(self, MinimumRestraint, name, value)
7260 __swig_getmethods__ = {}
7261 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7262 __getattr__ =
lambda self, name: _swig_getattr(self, MinimumRestraint, name)
7263 def __init__(self, *args):
7265 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
7266 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
7267 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
7269 this = _IMP_core.new_MinimumRestraint(*args)
7270 try: self.this.append(this)
7271 except: self.this = this
7272 def do_get_inputs(self):
7273 """do_get_inputs(MinimumRestraint self) -> IMP::kernel::ModelObjectsTemp"""
7274 return _IMP_core.MinimumRestraint_do_get_inputs(self)
7276 def get_version_info(self):
7277 """get_version_info(MinimumRestraint self) -> VersionInfo"""
7278 return _IMP_core.MinimumRestraint_get_version_info(self)
7280 def remove_restraint(self, *args):
7281 """remove_restraint(MinimumRestraint self, Restraint d)"""
7282 return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
7284 def remove_restraints(self, *args):
7285 """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
7286 return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
7288 def set_restraints(self, *args):
7289 """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
7290 return _IMP_core.MinimumRestraint_set_restraints(self, *args)
7292 def set_restraints_order(self, *args):
7293 """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7294 return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
7297 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
7298 return _IMP_core.MinimumRestraint_add_restraint(self, *args)
7301 """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7302 return _IMP_core.MinimumRestraint_add_restraints(self, *args)
7304 def clear_restraints(self):
7305 """clear_restraints(MinimumRestraint self)"""
7306 return _IMP_core.MinimumRestraint_clear_restraints(self)
7308 def get_number_of_restraints(self):
7309 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
7310 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
7312 def get_has_restraints(self):
7313 """get_has_restraints(MinimumRestraint self) -> bool"""
7314 return _IMP_core.MinimumRestraint_get_has_restraints(self)
7316 def get_restraint(self, *args):
7317 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
7318 return _IMP_core.MinimumRestraint_get_restraint(self, *args)
7321 """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
7322 return _IMP_core.MinimumRestraint_get_restraints(self)
7324 def reserve_restraints(self, *args):
7325 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
7326 return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
7329 """__str__(MinimumRestraint self) -> std::string"""
7330 return _IMP_core.MinimumRestraint___str__(self)
7333 """__repr__(MinimumRestraint self) -> std::string"""
7334 return _IMP_core.MinimumRestraint___repr__(self)
7337 return _object_cast_to_MinimumRestraint(o)
7338 get_from = staticmethod(get_from)
7340 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
7341 MinimumRestraint_swigregister(MinimumRestraint)
7343 class Gaussian(RigidBody):
7344 """Proxy of C++ IMP::core::Gaussian class"""
7345 __swig_setmethods__ = {}
7346 for _s
in [RigidBody]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7347 __setattr__ =
lambda self, name, value: _swig_setattr(self, Gaussian, name, value)
7348 __swig_getmethods__ = {}
7349 for _s
in [RigidBody]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7350 __getattr__ =
lambda self, name: _swig_getattr(self, Gaussian, name)
7351 def __init__(self, *args):
7353 __init__(IMP::core::Gaussian self) -> Gaussian
7354 __init__(IMP::core::Gaussian self, Model m, ::IMP::kernel::ParticleIndex id) -> Gaussian
7355 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
7357 this = _IMP_core.new_Gaussian(*args)
7358 try: self.this.append(this)
7359 except: self.this = this
7360 def show(self, *args):
7362 show(Gaussian self, _ostream out=std::cout)
7365 return _IMP_core.Gaussian_show(self, *args)
7367 def setup_particle(*args):
7369 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
7370 setup_particle(_ParticleAdaptor decorator) -> Gaussian
7371 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
7372 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
7374 return _IMP_core.Gaussian_setup_particle(*args)
7376 if _newclass:setup_particle = staticmethod(setup_particle)
7377 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
7378 def get_local_covariance_key():
7379 """get_local_covariance_key() -> ObjectKey"""
7380 return _IMP_core.Gaussian_get_local_covariance_key()
7382 if _newclass:get_local_covariance_key = staticmethod(get_local_covariance_key)
7383 __swig_getmethods__[
"get_local_covariance_key"] =
lambda x: get_local_covariance_key
7384 def get_global_covariance_key():
7385 """get_global_covariance_key() -> ObjectKey"""
7386 return _IMP_core.Gaussian_get_global_covariance_key()
7388 if _newclass:get_global_covariance_key = staticmethod(get_global_covariance_key)
7389 __swig_getmethods__[
"get_global_covariance_key"] =
lambda x: get_global_covariance_key
7390 def get_is_setup(*args):
7392 get_is_setup(_ParticleAdaptor p) -> bool
7393 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
7395 return _IMP_core.Gaussian_get_is_setup(*args)
7397 if _newclass:get_is_setup = staticmethod(get_is_setup)
7398 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
7399 def get_local_covariance(self):
7400 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
7401 return _IMP_core.Gaussian_get_local_covariance(self)
7403 def get_variances(self):
7404 """get_variances(Gaussian self) -> Vector3D"""
7405 return _IMP_core.Gaussian_get_variances(self)
7407 def get_global_covariance(self):
7408 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
7409 return _IMP_core.Gaussian_get_global_covariance(self)
7411 def get_gaussian(self):
7412 """get_gaussian(Gaussian self) -> Gaussian3D"""
7413 return _IMP_core.Gaussian_get_gaussian(self)
7415 def set_local_covariance(self, *args):
7416 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
7417 return _IMP_core.Gaussian_set_local_covariance(self, *args)
7419 def set_variances(self, *args):
7420 """set_variances(Gaussian self, Vector3D v)"""
7421 return _IMP_core.Gaussian_set_variances(self, *args)
7423 def set_global_covariance(self, *args):
7424 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
7425 return _IMP_core.Gaussian_set_global_covariance(self, *args)
7427 def update_global_covariance(self):
7428 """update_global_covariance(Gaussian self)"""
7429 return _IMP_core.Gaussian_update_global_covariance(self)
7431 def add_attribute(self, *args):
7433 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
7434 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
7435 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
7436 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
7437 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
7438 add_attribute(Gaussian self, ObjectKey a0, Object a1)
7440 return _IMP_core.Gaussian_add_attribute(self, *args)
7442 def get_value(self, *args):
7444 get_value(Gaussian self, FloatKey a0) -> IMP::Float
7445 get_value(Gaussian self, IntKey a0) -> IMP::Int
7446 get_value(Gaussian self, StringKey a0) -> IMP::String
7447 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
7448 get_value(Gaussian self, ObjectKey a0) -> Object
7450 return _IMP_core.Gaussian_get_value(self, *args)
7452 def set_value(self, *args):
7454 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
7455 set_value(Gaussian self, IntKey a0, IMP::Int a1)
7456 set_value(Gaussian self, StringKey a0, IMP::String a1)
7457 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
7458 set_value(Gaussian self, ObjectKey a0, Object a1)
7460 return _IMP_core.Gaussian_set_value(self, *args)
7462 def remove_attribute(self, *args):
7464 remove_attribute(Gaussian self, FloatKey a0)
7465 remove_attribute(Gaussian self, IntKey a0)
7466 remove_attribute(Gaussian self, StringKey a0)
7467 remove_attribute(Gaussian self, ParticleIndexKey a0)
7468 remove_attribute(Gaussian self, ObjectKey a0)
7470 return _IMP_core.Gaussian_remove_attribute(self, *args)
7472 def has_attribute(self, *args):
7474 has_attribute(Gaussian self, FloatKey a0) -> bool
7475 has_attribute(Gaussian self, IntKey a0) -> bool
7476 has_attribute(Gaussian self, StringKey a0) -> bool
7477 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
7478 has_attribute(Gaussian self, ObjectKey a0) -> bool
7480 return _IMP_core.Gaussian_has_attribute(self, *args)
7482 def get_derivative(self, *args):
7483 """get_derivative(Gaussian self, FloatKey a0) -> double"""
7484 return _IMP_core.Gaussian_get_derivative(self, *args)
7487 """get_name(Gaussian self) -> std::string"""
7488 return _IMP_core.Gaussian_get_name(self)
7490 def clear_caches(self):
7491 """clear_caches(Gaussian self)"""
7492 return _IMP_core.Gaussian_clear_caches(self)
7494 def set_name(self, *args):
7495 """set_name(Gaussian self, std::string a0)"""
7496 return _IMP_core.Gaussian_set_name(self, *args)
7499 """set_check_level(Gaussian self, IMP::base::CheckLevel a0)"""
7500 return _IMP_core.Gaussian_set_check_level(self, *args)
7502 def add_to_derivative(self, *args):
7503 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7504 return _IMP_core.Gaussian_add_to_derivative(self, *args)
7506 def set_is_optimized(self, *args):
7507 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
7508 return _IMP_core.Gaussian_set_is_optimized(self, *args)
7510 def get_is_optimized(self, *args):
7511 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
7512 return _IMP_core.Gaussian_get_is_optimized(self, *args)
7515 """get_check_level(Gaussian self) -> IMP::base::CheckLevel"""
7516 return _IMP_core.Gaussian_get_check_level(self)
7518 def __eq__(self, *args):
7520 __eq__(Gaussian self, Gaussian o) -> bool
7521 __eq__(Gaussian self, Particle d) -> bool
7523 return _IMP_core.Gaussian___eq__(self, *args)
7525 def __ne__(self, *args):
7527 __ne__(Gaussian self, Gaussian o) -> bool
7528 __ne__(Gaussian self, Particle d) -> bool
7530 return _IMP_core.Gaussian___ne__(self, *args)
7532 def __le__(self, *args):
7534 __le__(Gaussian self, Gaussian o) -> bool
7535 __le__(Gaussian self, Particle d) -> bool
7537 return _IMP_core.Gaussian___le__(self, *args)
7539 def __lt__(self, *args):
7541 __lt__(Gaussian self, Gaussian o) -> bool
7542 __lt__(Gaussian self, Particle d) -> bool
7544 return _IMP_core.Gaussian___lt__(self, *args)
7546 def __ge__(self, *args):
7548 __ge__(Gaussian self, Gaussian o) -> bool
7549 __ge__(Gaussian self, Particle d) -> bool
7551 return _IMP_core.Gaussian___ge__(self, *args)
7553 def __gt__(self, *args):
7555 __gt__(Gaussian self, Gaussian o) -> bool
7556 __gt__(Gaussian self, Particle d) -> bool
7558 return _IMP_core.Gaussian___gt__(self, *args)
7561 """__str__(Gaussian self) -> std::string"""
7562 return _IMP_core.Gaussian___str__(self)
7565 """__repr__(Gaussian self) -> std::string"""
7566 return _IMP_core.Gaussian___repr__(self)
7568 __swig_destroy__ = _IMP_core.delete_Gaussian
7569 __del__ =
lambda self :
None;
7570 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
7571 Gaussian_swigregister(Gaussian)
7573 def Gaussian_setup_particle(*args):
7575 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
7576 setup_particle(_ParticleAdaptor decorator) -> Gaussian
7577 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
7578 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
7580 return _IMP_core.Gaussian_setup_particle(*args)
7582 def Gaussian_get_local_covariance_key():
7583 """Gaussian_get_local_covariance_key() -> ObjectKey"""
7584 return _IMP_core.Gaussian_get_local_covariance_key()
7586 def Gaussian_get_global_covariance_key():
7587 """Gaussian_get_global_covariance_key() -> ObjectKey"""
7588 return _IMP_core.Gaussian_get_global_covariance_key()
7590 def Gaussian_get_is_setup(*args):
7592 get_is_setup(_ParticleAdaptor p) -> bool
7593 Gaussian_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
7595 return _IMP_core.Gaussian_get_is_setup(*args)
7598 """Proxy of C++ IMP::core::PairRestraint class"""
7599 __swig_setmethods__ = {}
7600 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7601 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairRestraint, name, value)
7602 __swig_getmethods__ = {}
7603 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7604 __getattr__ =
lambda self, name: _swig_getattr(self, PairRestraint, name)
7605 def __init__(self, *args):
7607 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7608 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7609 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7610 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt) -> PairRestraint
7612 this = _IMP_core.new_PairRestraint(*args)
7613 try: self.this.append(this)
7614 except: self.this = this
7615 def get_version_info(self):
7616 """get_version_info(PairRestraint self) -> VersionInfo"""
7617 return _IMP_core.PairRestraint_get_version_info(self)
7620 """__str__(PairRestraint self) -> std::string"""
7621 return _IMP_core.PairRestraint___str__(self)
7624 """__repr__(PairRestraint self) -> std::string"""
7625 return _IMP_core.PairRestraint___repr__(self)
7628 return _object_cast_to_PairRestraint(o)
7629 get_from = staticmethod(get_from)
7631 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7632 PairRestraint_swigregister(PairRestraint)
7635 """Proxy of C++ IMP::core::SingletonRestraint class"""
7636 __swig_setmethods__ = {}
7637 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7638 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonRestraint, name, value)
7639 __swig_getmethods__ = {}
7640 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7641 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonRestraint, name)
7642 def __init__(self, *args):
7644 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7645 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7646 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7647 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt) -> SingletonRestraint
7649 this = _IMP_core.new_SingletonRestraint(*args)
7650 try: self.this.append(this)
7651 except: self.this = this
7652 def get_version_info(self):
7653 """get_version_info(SingletonRestraint self) -> VersionInfo"""
7654 return _IMP_core.SingletonRestraint_get_version_info(self)
7657 """__str__(SingletonRestraint self) -> std::string"""
7658 return _IMP_core.SingletonRestraint___str__(self)
7661 """__repr__(SingletonRestraint self) -> std::string"""
7662 return _IMP_core.SingletonRestraint___repr__(self)
7665 return _object_cast_to_SingletonRestraint(o)
7666 get_from = staticmethod(get_from)
7668 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7669 SingletonRestraint_swigregister(SingletonRestraint)
7672 """Proxy of C++ IMP::core::TripletRestraint class"""
7673 __swig_setmethods__ = {}
7674 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7675 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletRestraint, name, value)
7676 __swig_getmethods__ = {}
7677 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7678 __getattr__ =
lambda self, name: _swig_getattr(self, TripletRestraint, name)
7679 def __init__(self, *args):
7681 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7682 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7683 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7684 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletRestraint
7686 this = _IMP_core.new_TripletRestraint(*args)
7687 try: self.this.append(this)
7688 except: self.this = this
7689 def get_version_info(self):
7690 """get_version_info(TripletRestraint self) -> VersionInfo"""
7691 return _IMP_core.TripletRestraint_get_version_info(self)
7694 """__str__(TripletRestraint self) -> std::string"""
7695 return _IMP_core.TripletRestraint___str__(self)
7698 """__repr__(TripletRestraint self) -> std::string"""
7699 return _IMP_core.TripletRestraint___repr__(self)
7702 return _object_cast_to_TripletRestraint(o)
7703 get_from = staticmethod(get_from)
7705 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7706 TripletRestraint_swigregister(TripletRestraint)
7709 """Proxy of C++ IMP::core::QuadRestraint class"""
7710 __swig_setmethods__ = {}
7711 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7712 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadRestraint, name, value)
7713 __swig_getmethods__ = {}
7714 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7715 __getattr__ =
lambda self, name: _swig_getattr(self, QuadRestraint, name)
7716 def __init__(self, *args):
7718 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7719 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7720 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7721 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt) -> QuadRestraint
7723 this = _IMP_core.new_QuadRestraint(*args)
7724 try: self.this.append(this)
7725 except: self.this = this
7726 def get_version_info(self):
7727 """get_version_info(QuadRestraint self) -> VersionInfo"""
7728 return _IMP_core.QuadRestraint_get_version_info(self)
7731 """__str__(QuadRestraint self) -> std::string"""
7732 return _IMP_core.QuadRestraint___str__(self)
7735 """__repr__(QuadRestraint self) -> std::string"""
7736 return _IMP_core.QuadRestraint___repr__(self)
7739 return _object_cast_to_QuadRestraint(o)
7740 get_from = staticmethod(get_from)
7742 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7743 QuadRestraint_swigregister(QuadRestraint)
7746 """Proxy of C++ IMP::core::SingletonConstraint class"""
7747 __swig_setmethods__ = {}
7749 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonConstraint, name, value)
7750 __swig_getmethods__ = {}
7752 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonConstraint, name)
7753 def __init__(self, *args):
7755 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7756 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7757 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt,
7758 std::string name="SingletonConstraint %1%") -> SingletonConstraint
7759 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt) -> SingletonConstraint
7761 this = _IMP_core.new_SingletonConstraint(*args)
7762 try: self.this.append(this)
7763 except: self.this = this
7764 def get_version_info(self):
7765 """get_version_info(SingletonConstraint self) -> VersionInfo"""
7766 return _IMP_core.SingletonConstraint_get_version_info(self)
7769 """__str__(SingletonConstraint self) -> std::string"""
7770 return _IMP_core.SingletonConstraint___str__(self)
7773 """__repr__(SingletonConstraint self) -> std::string"""
7774 return _IMP_core.SingletonConstraint___repr__(self)
7777 return _object_cast_to_SingletonConstraint(o)
7778 get_from = staticmethod(get_from)
7780 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
7781 SingletonConstraint_swigregister(SingletonConstraint)
7784 """Proxy of C++ IMP::core::PairConstraint class"""
7785 __swig_setmethods__ = {}
7787 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairConstraint, name, value)
7788 __swig_getmethods__ = {}
7790 __getattr__ =
lambda self, name: _swig_getattr(self, PairConstraint, name)
7791 def __init__(self, *args):
7793 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
7794 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
7795 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt,
7796 std::string name="PairConstraint %1%") -> PairConstraint
7797 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt) -> PairConstraint
7799 this = _IMP_core.new_PairConstraint(*args)
7800 try: self.this.append(this)
7801 except: self.this = this
7802 def get_version_info(self):
7803 """get_version_info(PairConstraint self) -> VersionInfo"""
7804 return _IMP_core.PairConstraint_get_version_info(self)
7807 """__str__(PairConstraint self) -> std::string"""
7808 return _IMP_core.PairConstraint___str__(self)
7811 """__repr__(PairConstraint self) -> std::string"""
7812 return _IMP_core.PairConstraint___repr__(self)
7815 return _object_cast_to_PairConstraint(o)
7816 get_from = staticmethod(get_from)
7818 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
7819 PairConstraint_swigregister(PairConstraint)
7822 """Proxy of C++ IMP::core::TripletConstraint class"""
7823 __swig_setmethods__ = {}
7825 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletConstraint, name, value)
7826 __swig_getmethods__ = {}
7828 __getattr__ =
lambda self, name: _swig_getattr(self, TripletConstraint, name)
7829 def __init__(self, *args):
7831 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
7832 std::string name="TripletConstraint %1%") -> TripletConstraint
7833 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
7834 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt,
7835 std::string name="TripletConstraint %1%") -> TripletConstraint
7836 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletConstraint
7838 this = _IMP_core.new_TripletConstraint(*args)
7839 try: self.this.append(this)
7840 except: self.this = this
7841 def get_version_info(self):
7842 """get_version_info(TripletConstraint self) -> VersionInfo"""
7843 return _IMP_core.TripletConstraint_get_version_info(self)
7846 """__str__(TripletConstraint self) -> std::string"""
7847 return _IMP_core.TripletConstraint___str__(self)
7850 """__repr__(TripletConstraint self) -> std::string"""
7851 return _IMP_core.TripletConstraint___repr__(self)
7854 return _object_cast_to_TripletConstraint(o)
7855 get_from = staticmethod(get_from)
7857 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
7858 TripletConstraint_swigregister(TripletConstraint)
7861 """Proxy of C++ IMP::core::QuadConstraint class"""
7862 __swig_setmethods__ = {}
7864 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadConstraint, name, value)
7865 __swig_getmethods__ = {}
7867 __getattr__ =
lambda self, name: _swig_getattr(self, QuadConstraint, name)
7868 def __init__(self, *args):
7870 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
7871 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
7872 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt,
7873 std::string name="QuadConstraint %1%") -> QuadConstraint
7874 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> QuadConstraint
7876 this = _IMP_core.new_QuadConstraint(*args)
7877 try: self.this.append(this)
7878 except: self.this = this
7879 def get_version_info(self):
7880 """get_version_info(QuadConstraint self) -> VersionInfo"""
7881 return _IMP_core.QuadConstraint_get_version_info(self)
7884 """__str__(QuadConstraint self) -> std::string"""
7885 return _IMP_core.QuadConstraint___str__(self)
7888 """__repr__(QuadConstraint self) -> std::string"""
7889 return _IMP_core.QuadConstraint___repr__(self)
7892 return _object_cast_to_QuadConstraint(o)
7893 get_from = staticmethod(get_from)
7895 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
7896 QuadConstraint_swigregister(QuadConstraint)
7899 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
7900 __swig_setmethods__ = {}
7902 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantSingletonPredicate, name, value)
7903 __swig_getmethods__ = {}
7905 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantSingletonPredicate, name)
7906 def __init__(self, *args):
7908 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
7909 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
7911 this = _IMP_core.new_ConstantSingletonPredicate(*args)
7912 try: self.this.append(this)
7913 except: self.this = this
7914 def do_get_inputs(self, *args):
7915 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7916 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, *args)
7918 def get_value(self, *args):
7920 get_value(ConstantSingletonPredicate self, Particle a) -> int
7921 get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7923 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
7925 def get_value_index(self, *args):
7927 get_value_index(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
7928 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7930 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
7932 def get_version_info(self):
7933 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
7934 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
7937 """__str__(ConstantSingletonPredicate self) -> std::string"""
7938 return _IMP_core.ConstantSingletonPredicate___str__(self)
7941 """__repr__(ConstantSingletonPredicate self) -> std::string"""
7942 return _IMP_core.ConstantSingletonPredicate___repr__(self)
7945 return _object_cast_to_ConstantSingletonPredicate(o)
7946 get_from = staticmethod(get_from)
7948 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
7949 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
7952 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
7953 __swig_setmethods__ = {}
7955 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeSingletonPredicate, name, value)
7956 __swig_getmethods__ = {}
7958 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeSingletonPredicate, name)
7959 def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
7961 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
7962 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
7964 this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
7965 try: self.this.append(this)
7966 except: self.this = this
7967 def do_get_inputs(self, *args):
7968 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7969 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, *args)
7971 def get_value(self, *args):
7973 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
7974 get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7976 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
7978 def get_value_index(self, *args):
7980 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
7981 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7983 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
7985 def get_version_info(self):
7986 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
7987 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
7990 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
7991 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
7994 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
7995 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
7998 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
7999 get_from = staticmethod(get_from)
8001 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8002 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8005 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8006 __swig_setmethods__ = {}
8008 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeSingletonPredicate, name, value)
8009 __swig_getmethods__ = {}
8011 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeSingletonPredicate, name)
8012 def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
8014 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
8015 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8017 this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
8018 try: self.this.append(this)
8019 except: self.this = this
8020 def do_get_inputs(self, *args):
8021 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8022 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, *args)
8024 def get_value(self, *args):
8026 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8027 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8028 get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8030 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8032 def get_value_index(self, *args):
8034 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8035 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8037 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8039 def get_version_info(self):
8040 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8041 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8044 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8045 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8048 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8049 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8052 return _object_cast_to_OrderedTypeSingletonPredicate(o)
8053 get_from = staticmethod(get_from)
8055 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8056 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8059 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8060 __swig_setmethods__ = {}
8062 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameSingletonPredicate, name, value)
8063 __swig_getmethods__ = {}
8065 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameSingletonPredicate, name)
8066 def __init__(self, name="AllSameSingletonPredicate%1%"):
8068 __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
8069 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8071 this = _IMP_core.new_AllSameSingletonPredicate(name)
8072 try: self.this.append(this)
8073 except: self.this = this
8074 def do_get_inputs(self, *args):
8075 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8076 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, *args)
8078 def get_value(self, *args):
8080 get_value(AllSameSingletonPredicate self, Particle a) -> int
8081 get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8083 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8085 def get_value_index(self, *args):
8087 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8088 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8090 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8092 def get_version_info(self):
8093 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8094 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8097 """__str__(AllSameSingletonPredicate self) -> std::string"""
8098 return _IMP_core.AllSameSingletonPredicate___str__(self)
8101 """__repr__(AllSameSingletonPredicate self) -> std::string"""
8102 return _IMP_core.AllSameSingletonPredicate___repr__(self)
8105 return _object_cast_to_AllSameSingletonPredicate(o)
8106 get_from = staticmethod(get_from)
8108 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8109 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8112 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8113 __swig_setmethods__ = {}
8115 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipSingletonPredicate, name, value)
8116 __swig_getmethods__ = {}
8118 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipSingletonPredicate, name)
8119 def __init__(self, *args):
8121 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
8122 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8124 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8125 try: self.this.append(this)
8126 except: self.this = this
8127 def do_get_inputs(self, *args):
8128 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8129 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, *args)
8131 def get_value(self, *args):
8133 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8134 get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8136 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8138 def get_value_index(self, *args):
8140 get_value_index(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8141 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8143 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8145 def get_version_info(self):
8146 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8147 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
8150 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
8151 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
8154 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
8155 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
8158 return _object_cast_to_CoinFlipSingletonPredicate(o)
8159 get_from = staticmethod(get_from)
8161 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
8162 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
8165 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
8166 __swig_setmethods__ = {}
8168 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantPairPredicate, name, value)
8169 __swig_getmethods__ = {}
8171 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantPairPredicate, name)
8172 def __init__(self, *args):
8174 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
8175 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
8177 this = _IMP_core.new_ConstantPairPredicate(*args)
8178 try: self.this.append(this)
8179 except: self.this = this
8180 def do_get_inputs(self, *args):
8181 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8182 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, *args)
8184 def get_value(self, *args):
8186 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8187 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8189 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
8191 def get_value_index(self, *args):
8193 get_value_index(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8194 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8196 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
8198 def get_version_info(self):
8199 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
8200 return _IMP_core.ConstantPairPredicate_get_version_info(self)
8203 """__str__(ConstantPairPredicate self) -> std::string"""
8204 return _IMP_core.ConstantPairPredicate___str__(self)
8207 """__repr__(ConstantPairPredicate self) -> std::string"""
8208 return _IMP_core.ConstantPairPredicate___repr__(self)
8211 return _object_cast_to_ConstantPairPredicate(o)
8212 get_from = staticmethod(get_from)
8214 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
8215 ConstantPairPredicate_swigregister(ConstantPairPredicate)
8218 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
8219 __swig_setmethods__ = {}
8221 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypePairPredicate, name, value)
8222 __swig_getmethods__ = {}
8224 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypePairPredicate, name)
8225 def __init__(self, name="UnorderedTypePairPredicate%1%"):
8227 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
8228 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
8230 this = _IMP_core.new_UnorderedTypePairPredicate(name)
8231 try: self.this.append(this)
8232 except: self.this = this
8233 def do_get_inputs(self, *args):
8234 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8235 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, *args)
8237 def get_value(self, *args):
8239 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8240 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8242 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
8244 def get_value_index(self, *args):
8246 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8247 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8249 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
8251 def get_version_info(self):
8252 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
8253 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
8256 """__str__(UnorderedTypePairPredicate self) -> std::string"""
8257 return _IMP_core.UnorderedTypePairPredicate___str__(self)
8260 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
8261 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
8264 return _object_cast_to_UnorderedTypePairPredicate(o)
8265 get_from = staticmethod(get_from)
8267 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
8268 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
8271 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
8272 __swig_setmethods__ = {}
8274 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypePairPredicate, name, value)
8275 __swig_getmethods__ = {}
8277 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypePairPredicate, name)
8278 def __init__(self, name="OrderedTypePairPredicate%1%"):
8280 __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
8281 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
8283 this = _IMP_core.new_OrderedTypePairPredicate(name)
8284 try: self.this.append(this)
8285 except: self.this = this
8286 def do_get_inputs(self, *args):
8287 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8288 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, *args)
8290 def get_value(self, *args):
8292 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
8293 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8294 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8296 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
8298 def get_value_index(self, *args):
8300 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8301 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8303 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
8305 def get_version_info(self):
8306 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
8307 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
8310 """__str__(OrderedTypePairPredicate self) -> std::string"""
8311 return _IMP_core.OrderedTypePairPredicate___str__(self)
8314 """__repr__(OrderedTypePairPredicate self) -> std::string"""
8315 return _IMP_core.OrderedTypePairPredicate___repr__(self)
8318 return _object_cast_to_OrderedTypePairPredicate(o)
8319 get_from = staticmethod(get_from)
8321 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
8322 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
8325 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
8326 __swig_setmethods__ = {}
8328 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSamePairPredicate, name, value)
8329 __swig_getmethods__ = {}
8331 __getattr__ =
lambda self, name: _swig_getattr(self, AllSamePairPredicate, name)
8332 def __init__(self, name="AllSamePairPredicate%1%"):
8334 __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
8335 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
8337 this = _IMP_core.new_AllSamePairPredicate(name)
8338 try: self.this.append(this)
8339 except: self.this = this
8340 def do_get_inputs(self, *args):
8341 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8342 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, *args)
8344 def get_value(self, *args):
8346 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8347 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8349 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
8351 def get_value_index(self, *args):
8353 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8354 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8356 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
8358 def get_version_info(self):
8359 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
8360 return _IMP_core.AllSamePairPredicate_get_version_info(self)
8363 """__str__(AllSamePairPredicate self) -> std::string"""
8364 return _IMP_core.AllSamePairPredicate___str__(self)
8367 """__repr__(AllSamePairPredicate self) -> std::string"""
8368 return _IMP_core.AllSamePairPredicate___repr__(self)
8371 return _object_cast_to_AllSamePairPredicate(o)
8372 get_from = staticmethod(get_from)
8374 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
8375 AllSamePairPredicate_swigregister(AllSamePairPredicate)
8378 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
8379 __swig_setmethods__ = {}
8381 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipPairPredicate, name, value)
8382 __swig_getmethods__ = {}
8384 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipPairPredicate, name)
8385 def __init__(self, *args):
8387 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
8388 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
8390 this = _IMP_core.new_CoinFlipPairPredicate(*args)
8391 try: self.this.append(this)
8392 except: self.this = this
8393 def do_get_inputs(self, *args):
8394 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8395 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, *args)
8397 def get_value(self, *args):
8399 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8400 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8402 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
8404 def get_value_index(self, *args):
8406 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8407 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8409 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
8411 def get_version_info(self):
8412 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
8413 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
8416 """__str__(CoinFlipPairPredicate self) -> std::string"""
8417 return _IMP_core.CoinFlipPairPredicate___str__(self)
8420 """__repr__(CoinFlipPairPredicate self) -> std::string"""
8421 return _IMP_core.CoinFlipPairPredicate___repr__(self)
8424 return _object_cast_to_CoinFlipPairPredicate(o)
8425 get_from = staticmethod(get_from)
8427 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
8428 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
8431 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
8432 __swig_setmethods__ = {}
8434 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantTripletPredicate, name, value)
8435 __swig_getmethods__ = {}
8437 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantTripletPredicate, name)
8438 def __init__(self, *args):
8440 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
8441 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
8443 this = _IMP_core.new_ConstantTripletPredicate(*args)
8444 try: self.this.append(this)
8445 except: self.this = this
8446 def do_get_inputs(self, *args):
8447 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8448 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, *args)
8450 def get_value(self, *args):
8452 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8453 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8455 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
8457 def get_value_index(self, *args):
8459 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8460 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8462 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
8464 def get_version_info(self):
8465 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
8466 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
8469 """__str__(ConstantTripletPredicate self) -> std::string"""
8470 return _IMP_core.ConstantTripletPredicate___str__(self)
8473 """__repr__(ConstantTripletPredicate self) -> std::string"""
8474 return _IMP_core.ConstantTripletPredicate___repr__(self)
8477 return _object_cast_to_ConstantTripletPredicate(o)
8478 get_from = staticmethod(get_from)
8480 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
8481 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
8484 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
8485 __swig_setmethods__ = {}
8487 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeTripletPredicate, name, value)
8488 __swig_getmethods__ = {}
8490 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeTripletPredicate, name)
8491 def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
8493 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
8494 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
8496 this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
8497 try: self.this.append(this)
8498 except: self.this = this
8499 def do_get_inputs(self, *args):
8500 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8501 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, *args)
8503 def get_value(self, *args):
8505 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8506 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8508 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
8510 def get_value_index(self, *args):
8512 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8513 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8515 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
8517 def get_version_info(self):
8518 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
8519 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
8522 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
8523 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
8526 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
8527 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
8530 return _object_cast_to_UnorderedTypeTripletPredicate(o)
8531 get_from = staticmethod(get_from)
8533 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
8534 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
8537 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
8538 __swig_setmethods__ = {}
8540 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeTripletPredicate, name, value)
8541 __swig_getmethods__ = {}
8543 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeTripletPredicate, name)
8544 def __init__(self, name="OrderedTypeTripletPredicate%1%"):
8546 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
8547 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
8549 this = _IMP_core.new_OrderedTypeTripletPredicate(name)
8550 try: self.this.append(this)
8551 except: self.this = this
8552 def do_get_inputs(self, *args):
8553 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8554 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, *args)
8556 def get_value(self, *args):
8558 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
8559 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8560 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8562 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8564 def get_value_index(self, *args):
8566 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8567 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8569 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8571 def get_version_info(self):
8572 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8573 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8576 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8577 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8580 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8581 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8584 return _object_cast_to_OrderedTypeTripletPredicate(o)
8585 get_from = staticmethod(get_from)
8587 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8588 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8591 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8592 __swig_setmethods__ = {}
8594 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameTripletPredicate, name, value)
8595 __swig_getmethods__ = {}
8597 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameTripletPredicate, name)
8598 def __init__(self, name="AllSameTripletPredicate%1%"):
8600 __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8601 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8603 this = _IMP_core.new_AllSameTripletPredicate(name)
8604 try: self.this.append(this)
8605 except: self.this = this
8606 def do_get_inputs(self, *args):
8607 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8608 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, *args)
8610 def get_value(self, *args):
8612 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8613 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8615 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8617 def get_value_index(self, *args):
8619 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8620 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8622 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8624 def get_version_info(self):
8625 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8626 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8629 """__str__(AllSameTripletPredicate self) -> std::string"""
8630 return _IMP_core.AllSameTripletPredicate___str__(self)
8633 """__repr__(AllSameTripletPredicate self) -> std::string"""
8634 return _IMP_core.AllSameTripletPredicate___repr__(self)
8637 return _object_cast_to_AllSameTripletPredicate(o)
8638 get_from = staticmethod(get_from)
8640 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8641 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8644 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8645 __swig_setmethods__ = {}
8647 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipTripletPredicate, name, value)
8648 __swig_getmethods__ = {}
8650 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipTripletPredicate, name)
8651 def __init__(self, *args):
8653 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8654 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8656 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8657 try: self.this.append(this)
8658 except: self.this = this
8659 def do_get_inputs(self, *args):
8660 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8661 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, *args)
8663 def get_value(self, *args):
8665 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8666 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8668 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8670 def get_value_index(self, *args):
8672 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8673 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8675 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8677 def get_version_info(self):
8678 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8679 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8682 """__str__(CoinFlipTripletPredicate self) -> std::string"""
8683 return _IMP_core.CoinFlipTripletPredicate___str__(self)
8686 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8687 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8690 return _object_cast_to_CoinFlipTripletPredicate(o)
8691 get_from = staticmethod(get_from)
8693 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8694 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8697 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8698 __swig_setmethods__ = {}
8700 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantQuadPredicate, name, value)
8701 __swig_getmethods__ = {}
8703 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantQuadPredicate, name)
8704 def __init__(self, *args):
8706 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8707 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8709 this = _IMP_core.new_ConstantQuadPredicate(*args)
8710 try: self.this.append(this)
8711 except: self.this = this
8712 def do_get_inputs(self, *args):
8713 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8714 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, *args)
8716 def get_value(self, *args):
8718 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8719 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8721 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8723 def get_value_index(self, *args):
8725 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8726 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8728 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8730 def get_version_info(self):
8731 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
8732 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
8735 """__str__(ConstantQuadPredicate self) -> std::string"""
8736 return _IMP_core.ConstantQuadPredicate___str__(self)
8739 """__repr__(ConstantQuadPredicate self) -> std::string"""
8740 return _IMP_core.ConstantQuadPredicate___repr__(self)
8743 return _object_cast_to_ConstantQuadPredicate(o)
8744 get_from = staticmethod(get_from)
8746 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
8747 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
8750 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
8751 __swig_setmethods__ = {}
8753 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeQuadPredicate, name, value)
8754 __swig_getmethods__ = {}
8756 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeQuadPredicate, name)
8757 def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
8759 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
8760 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
8762 this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
8763 try: self.this.append(this)
8764 except: self.this = this
8765 def do_get_inputs(self, *args):
8766 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8767 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, *args)
8769 def get_value(self, *args):
8771 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8772 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8774 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
8776 def get_value_index(self, *args):
8778 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8779 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8781 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
8783 def get_version_info(self):
8784 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
8785 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
8788 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
8789 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
8792 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
8793 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
8796 return _object_cast_to_UnorderedTypeQuadPredicate(o)
8797 get_from = staticmethod(get_from)
8799 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
8800 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
8803 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
8804 __swig_setmethods__ = {}
8806 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeQuadPredicate, name, value)
8807 __swig_getmethods__ = {}
8809 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeQuadPredicate, name)
8810 def __init__(self, name="OrderedTypeQuadPredicate%1%"):
8812 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
8813 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
8815 this = _IMP_core.new_OrderedTypeQuadPredicate(name)
8816 try: self.this.append(this)
8817 except: self.this = this
8818 def do_get_inputs(self, *args):
8819 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8820 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, *args)
8822 def get_value(self, *args):
8824 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
8825 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8826 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8828 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
8830 def get_value_index(self, *args):
8832 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8833 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8835 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
8837 def get_version_info(self):
8838 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
8839 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
8842 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
8843 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
8846 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
8847 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
8850 return _object_cast_to_OrderedTypeQuadPredicate(o)
8851 get_from = staticmethod(get_from)
8853 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
8854 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
8857 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
8858 __swig_setmethods__ = {}
8860 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameQuadPredicate, name, value)
8861 __swig_getmethods__ = {}
8863 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameQuadPredicate, name)
8864 def __init__(self, name="AllSameQuadPredicate%1%"):
8866 __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
8867 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
8869 this = _IMP_core.new_AllSameQuadPredicate(name)
8870 try: self.this.append(this)
8871 except: self.this = this
8872 def do_get_inputs(self, *args):
8873 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8874 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, *args)
8876 def get_value(self, *args):
8878 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8879 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8881 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
8883 def get_value_index(self, *args):
8885 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8886 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8888 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
8890 def get_version_info(self):
8891 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
8892 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
8895 """__str__(AllSameQuadPredicate self) -> std::string"""
8896 return _IMP_core.AllSameQuadPredicate___str__(self)
8899 """__repr__(AllSameQuadPredicate self) -> std::string"""
8900 return _IMP_core.AllSameQuadPredicate___repr__(self)
8903 return _object_cast_to_AllSameQuadPredicate(o)
8904 get_from = staticmethod(get_from)
8906 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
8907 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
8910 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
8911 __swig_setmethods__ = {}
8913 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipQuadPredicate, name, value)
8914 __swig_getmethods__ = {}
8916 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipQuadPredicate, name)
8917 def __init__(self, *args):
8919 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
8920 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
8922 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
8923 try: self.this.append(this)
8924 except: self.this = this
8925 def do_get_inputs(self, *args):
8926 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8927 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, *args)
8929 def get_value(self, *args):
8931 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8932 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8934 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
8936 def get_value_index(self, *args):
8938 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8939 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8941 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
8943 def get_version_info(self):
8944 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
8945 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
8948 """__str__(CoinFlipQuadPredicate self) -> std::string"""
8949 return _IMP_core.CoinFlipQuadPredicate___str__(self)
8952 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
8953 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
8956 return _object_cast_to_CoinFlipQuadPredicate(o)
8957 get_from = staticmethod(get_from)
8959 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
8960 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
8963 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
8964 __swig_setmethods__ = {}
8966 __setattr__ =
lambda self, name, value: _swig_setattr(self, InBoundingBox3DSingletonPredicate, name, value)
8967 __swig_getmethods__ = {}
8969 __getattr__ =
lambda self, name: _swig_getattr(self, InBoundingBox3DSingletonPredicate, name)
8970 def __init__(self, *args):
8972 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate
8973 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
8975 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
8976 try: self.this.append(this)
8977 except: self.this = this
8978 def do_get_inputs(self, *args):
8979 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
8980 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, *args)
8982 def get_value(self, *args):
8984 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
8985 get_value(InBoundingBox3DSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8987 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
8989 def get_value_index(self, *args):
8991 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8992 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8994 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
8996 def get_version_info(self):
8997 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
8998 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
9001 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9002 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
9005 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9006 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
9009 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
9010 get_from = staticmethod(get_from)
9012 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
9013 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
9016 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
9017 __swig_setmethods__ = {}
9019 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonPredicate, name, value)
9020 __swig_getmethods__ = {}
9022 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonPredicate, name)
9023 def __init__(self, *args):
9025 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate
9026 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
9028 this = _IMP_core.new_AttributeSingletonPredicate(*args)
9029 try: self.this.append(this)
9030 except: self.this = this
9031 def do_get_inputs(self, *args):
9032 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9033 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, *args)
9035 def get_value(self, *args):
9037 get_value(AttributeSingletonPredicate self, Particle a) -> int
9038 get_value(AttributeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9040 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
9042 def get_value_index(self, *args):
9044 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9045 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9047 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
9049 def get_version_info(self):
9050 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
9051 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
9054 """__str__(AttributeSingletonPredicate self) -> std::string"""
9055 return _IMP_core.AttributeSingletonPredicate___str__(self)
9058 """__repr__(AttributeSingletonPredicate self) -> std::string"""
9059 return _IMP_core.AttributeSingletonPredicate___repr__(self)
9062 return _object_cast_to_AttributeSingletonPredicate(o)
9063 get_from = staticmethod(get_from)
9065 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
9066 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
9069 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
9070 __swig_setmethods__ = {}
9072 __setattr__ =
lambda self, name, value: _swig_setattr(self, IsCollisionPairPredicate, name, value)
9073 __swig_getmethods__ = {}
9075 __getattr__ =
lambda self, name: _swig_getattr(self, IsCollisionPairPredicate, name)
9076 def __init__(self, name="CollisionPairPredicate%1%"):
9078 __init__(IMP::core::IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate
9079 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
9081 this = _IMP_core.new_IsCollisionPairPredicate(name)
9082 try: self.this.append(this)
9083 except: self.this = this
9084 def do_get_inputs(self, *args):
9085 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9086 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, *args)
9088 def get_value(self, *args):
9090 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
9091 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
9093 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
9095 def get_value_index(self, *args):
9097 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
9098 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
9100 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
9102 def get_version_info(self):
9103 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
9104 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
9107 """__str__(IsCollisionPairPredicate self) -> std::string"""
9108 return _IMP_core.IsCollisionPairPredicate___str__(self)
9111 """__repr__(IsCollisionPairPredicate self) -> std::string"""
9112 return _IMP_core.IsCollisionPairPredicate___repr__(self)
9115 return _object_cast_to_IsCollisionPairPredicate(o)
9116 get_from = staticmethod(get_from)
9118 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
9119 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
9121 class AngleRestraint(TripletRestraint):
9122 """Proxy of C++ IMP::core::AngleRestraint class"""
9123 __swig_setmethods__ = {}
9124 for _s
in [TripletRestraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9125 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleRestraint, name, value)
9126 __swig_getmethods__ = {}
9127 for _s
in [TripletRestraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9128 __getattr__ =
lambda self, name: _swig_getattr(self, AngleRestraint, name)
9129 def __init__(self, *args):
9131 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
9132 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
9134 this = _IMP_core.new_AngleRestraint(*args)
9135 try: self.this.append(this)
9136 except: self.this = this
9138 """__str__(AngleRestraint self) -> std::string"""
9139 return _IMP_core.AngleRestraint___str__(self)
9142 """__repr__(AngleRestraint self) -> std::string"""
9143 return _IMP_core.AngleRestraint___repr__(self)
9146 return _object_cast_to_AngleRestraint(o)
9147 get_from = staticmethod(get_from)
9149 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
9150 AngleRestraint_swigregister(AngleRestraint)
9152 class RigidBodyMover(MonteCarloMover):
9153 """Proxy of C++ IMP::core::RigidBodyMover class"""
9154 __swig_setmethods__ = {}
9155 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9156 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMover, name, value)
9157 __swig_getmethods__ = {}
9158 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9159 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMover, name)
9160 def __init__(self, *args):
9162 __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9163 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9165 this = _IMP_core.new_RigidBodyMover(*args)
9166 try: self.this.append(this)
9167 except: self.this = this
9168 def set_maximum_translation(self, *args):
9169 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
9170 return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
9172 def set_maximum_rotation(self, *args):
9173 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
9174 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
9176 def get_maximum_translation(self):
9177 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
9178 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
9180 def get_maximum_rotation(self):
9181 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
9182 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
9184 def get_version_info(self):
9185 """get_version_info(RigidBodyMover self) -> VersionInfo"""
9186 return _IMP_core.RigidBodyMover_get_version_info(self)
9189 """__str__(RigidBodyMover self) -> std::string"""
9190 return _IMP_core.RigidBodyMover___str__(self)
9193 """__repr__(RigidBodyMover self) -> std::string"""
9194 return _IMP_core.RigidBodyMover___repr__(self)
9197 return _object_cast_to_RigidBodyMover(o)
9198 get_from = staticmethod(get_from)
9200 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
9201 RigidBodyMover_swigregister(RigidBodyMover)
9203 class RigidBodyTunneler(MonteCarloMover):
9204 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
9205 __swig_setmethods__ = {}
9206 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9207 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTunneler, name, value)
9208 __swig_getmethods__ = {}
9209 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9210 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTunneler, name)
9211 def __init__(self, *args):
9213 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndexes pis, IMP::kernel::ParticleIndex ref, double k,
9214 double move_probability=1.) -> RigidBodyTunneler
9215 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndexes pis, IMP::kernel::ParticleIndex ref, double k) -> RigidBodyTunneler
9217 this = _IMP_core.new_RigidBodyTunneler(*args)
9218 try: self.this.append(this)
9219 except: self.this = this
9220 def add_entry_point(self, *args):
9221 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
9222 return _IMP_core.RigidBodyTunneler_add_entry_point(self, *args)
9224 def reset_stats(self):
9225 """reset_stats(RigidBodyTunneler self)"""
9226 return _IMP_core.RigidBodyTunneler_reset_stats(self)
9228 def get_number_of_rejected_moves(self):
9229 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
9230 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
9232 def get_number_of_proposed_moves(self):
9233 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
9234 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
9236 def get_number_of_impossible_moves(self):
9237 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
9238 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
9240 def get_number_of_calls(self):
9241 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
9242 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
9244 def get_reduced_coordinates(*args):
9246 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
9247 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
9249 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
9251 if _newclass:get_reduced_coordinates = staticmethod(get_reduced_coordinates)
9252 __swig_getmethods__[
"get_reduced_coordinates"] =
lambda x: get_reduced_coordinates
9253 def set_reduced_coordinates(*args):
9254 """set_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref, IMP::Floats coords)"""
9255 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(*args)
9257 if _newclass:set_reduced_coordinates = staticmethod(set_reduced_coordinates)
9258 __swig_getmethods__[
"set_reduced_coordinates"] =
lambda x: set_reduced_coordinates
9259 def get_version_info(self):
9260 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
9261 return _IMP_core.RigidBodyTunneler_get_version_info(self)
9264 """__str__(RigidBodyTunneler self) -> std::string"""
9265 return _IMP_core.RigidBodyTunneler___str__(self)
9268 """__repr__(RigidBodyTunneler self) -> std::string"""
9269 return _IMP_core.RigidBodyTunneler___repr__(self)
9272 return _object_cast_to_RigidBodyTunneler(o)
9273 get_from = staticmethod(get_from)
9275 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
9276 RigidBodyTunneler_swigregister(RigidBodyTunneler)
9278 def RigidBodyTunneler_get_reduced_coordinates(*args):
9280 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
9281 RigidBodyTunneler_get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
9283 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
9285 def RigidBodyTunneler_set_reduced_coordinates(*args):
9286 """RigidBodyTunneler_set_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref, IMP::Floats coords)"""
9287 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(*args)
9290 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
9291 __swig_setmethods__ = {}
9292 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9293 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyUmbrella, name, value)
9294 __swig_getmethods__ = {}
9295 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9296 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyUmbrella, name)
9297 def __init__(self, *args):
9299 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, IMP::Floats x0,
9300 double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
9301 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, IMP::Floats x0,
9302 double alpha, double k) -> RigidBodyUmbrella
9303 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, double _lambda,
9304 IMP::Floats x1, IMP::Floats x2, double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
9305 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, double _lambda,
9306 IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
9308 this = _IMP_core.new_RigidBodyUmbrella(*args)
9309 try: self.this.append(this)
9310 except: self.this = this
9311 def set_x0(self, *args):
9313 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
9314 set_x0(RigidBodyUmbrella self, double _lambda, IMP::Floats x1, IMP::Floats x2)
9316 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
9319 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
9320 return _IMP_core.RigidBodyUmbrella_get_x0(self)
9323 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
9324 return _IMP_core.RigidBodyUmbrella_get_x(self)
9326 def set_alpha(self, *args):
9327 """set_alpha(RigidBodyUmbrella self, double alpha)"""
9328 return _IMP_core.RigidBodyUmbrella_set_alpha(self, *args)
9330 def set_k(self, *args):
9331 """set_k(RigidBodyUmbrella self, double k)"""
9332 return _IMP_core.RigidBodyUmbrella_set_k(self, *args)
9334 def get_version_info(self):
9335 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
9336 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
9339 """__str__(RigidBodyUmbrella self) -> std::string"""
9340 return _IMP_core.RigidBodyUmbrella___str__(self)
9343 """__repr__(RigidBodyUmbrella self) -> std::string"""
9344 return _IMP_core.RigidBodyUmbrella___repr__(self)
9347 return _object_cast_to_RigidBodyUmbrella(o)
9348 get_from = staticmethod(get_from)
9350 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
9351 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
9354 """Proxy of C++ IMP::core::VolumeRestraint class"""
9355 __swig_setmethods__ = {}
9356 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9357 __setattr__ =
lambda self, name, value: _swig_setattr(self, VolumeRestraint, name, value)
9358 __swig_getmethods__ = {}
9359 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9360 __getattr__ =
lambda self, name: _swig_getattr(self, VolumeRestraint, name)
9361 def __init__(self, *args):
9362 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
9363 this = _IMP_core.new_VolumeRestraint(*args)
9364 try: self.this.append(this)
9365 except: self.this = this
9366 def do_get_inputs(self):
9367 """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
9368 return _IMP_core.VolumeRestraint_do_get_inputs(self)
9370 def get_version_info(self):
9371 """get_version_info(VolumeRestraint self) -> VersionInfo"""
9372 return _IMP_core.VolumeRestraint_get_version_info(self)
9375 """__str__(VolumeRestraint self) -> std::string"""
9376 return _IMP_core.VolumeRestraint___str__(self)
9379 """__repr__(VolumeRestraint self) -> std::string"""
9380 return _IMP_core.VolumeRestraint___repr__(self)
9383 return _object_cast_to_VolumeRestraint(o)
9384 get_from = staticmethod(get_from)
9386 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
9387 VolumeRestraint_swigregister(VolumeRestraint)
9391 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
9392 return _IMP_core.get_centroid(*args)
9395 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
9396 return _IMP_core.get_bounding_box(*args)
9398 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
9399 __swig_setmethods__ = {}
9401 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoveStatisticsScoreState, name, value)
9402 __swig_getmethods__ = {}
9404 __getattr__ =
lambda self, name: _swig_getattr(self, MoveStatisticsScoreState, name)
9405 def __init__(self, *args):
9406 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
9407 this = _IMP_core.new_MoveStatisticsScoreState(*args)
9408 try: self.this.append(this)
9409 except: self.this = this
9410 def show_statistics(self, *args):
9412 show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
9413 show_statistics(MoveStatisticsScoreState self)
9415 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
9418 """reset(MoveStatisticsScoreState self)"""
9419 return _IMP_core.MoveStatisticsScoreState_reset(self)
9421 def do_before_evaluate(self):
9422 """do_before_evaluate(MoveStatisticsScoreState self)"""
9423 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
9425 def do_after_evaluate(self, *args):
9426 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
9427 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, *args)
9429 def do_get_inputs(self):
9430 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9431 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
9433 def do_get_outputs(self):
9434 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9435 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
9437 def get_version_info(self):
9438 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
9439 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
9442 """__str__(MoveStatisticsScoreState self) -> std::string"""
9443 return _IMP_core.MoveStatisticsScoreState___str__(self)
9446 """__repr__(MoveStatisticsScoreState self) -> std::string"""
9447 return _IMP_core.MoveStatisticsScoreState___repr__(self)
9450 return _object_cast_to_MoveStatisticsScoreState(o)
9451 get_from = staticmethod(get_from)
9453 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
9454 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
9456 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
9458 """Proxy of C++ IMP::core::Typed class"""
9459 __swig_setmethods__ = {}
9460 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9461 __setattr__ =
lambda self, name, value: _swig_setattr(self, Typed, name, value)
9462 __swig_getmethods__ = {}
9463 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9464 __getattr__ =
lambda self, name: _swig_getattr(self, Typed, name)
9466 """get_type_key() -> IntKey"""
9467 return _IMP_core.Typed_get_type_key()
9469 if _newclass:get_type_key = staticmethod(get_type_key)
9470 __swig_getmethods__[
"get_type_key"] =
lambda x: get_type_key
9471 def __init__(self, *args):
9473 __init__(IMP::core::Typed self) -> Typed
9474 __init__(IMP::core::Typed self, Model m, ::IMP::kernel::ParticleIndex id) -> Typed
9475 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
9477 this = _IMP_core.new_Typed(*args)
9478 try: self.this.append(this)
9479 except: self.this = this
9480 def show(self, *args):
9482 show(Typed self, _ostream out=std::cout)
9485 return _IMP_core.Typed_show(self, *args)
9487 def setup_particle(*args):
9489 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9490 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9492 return _IMP_core.Typed_setup_particle(*args)
9494 if _newclass:setup_particle = staticmethod(setup_particle)
9495 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
9496 def get_is_setup(*args):
9498 get_is_setup(_ParticleAdaptor p) -> bool
9499 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9501 return _IMP_core.Typed_get_is_setup(*args)
9503 if _newclass:get_is_setup = staticmethod(get_is_setup)
9504 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
9506 """get_type(Typed self) -> ParticleType"""
9507 return _IMP_core.Typed_get_type(self)
9509 def add_attribute(self, *args):
9511 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
9512 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
9513 add_attribute(Typed self, IntKey a0, IMP::Int a1)
9514 add_attribute(Typed self, StringKey a0, IMP::String a1)
9515 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
9516 add_attribute(Typed self, ObjectKey a0, Object a1)
9518 return _IMP_core.Typed_add_attribute(self, *args)
9520 def get_value(self, *args):
9522 get_value(Typed self, FloatKey a0) -> IMP::Float
9523 get_value(Typed self, IntKey a0) -> IMP::Int
9524 get_value(Typed self, StringKey a0) -> IMP::String
9525 get_value(Typed self, ParticleIndexKey a0) -> Particle
9526 get_value(Typed self, ObjectKey a0) -> Object
9528 return _IMP_core.Typed_get_value(self, *args)
9530 def set_value(self, *args):
9532 set_value(Typed self, FloatKey a0, IMP::Float a1)
9533 set_value(Typed self, IntKey a0, IMP::Int a1)
9534 set_value(Typed self, StringKey a0, IMP::String a1)
9535 set_value(Typed self, ParticleIndexKey a0, Particle a1)
9536 set_value(Typed self, ObjectKey a0, Object a1)
9538 return _IMP_core.Typed_set_value(self, *args)
9540 def remove_attribute(self, *args):
9542 remove_attribute(Typed self, FloatKey a0)
9543 remove_attribute(Typed self, IntKey a0)
9544 remove_attribute(Typed self, StringKey a0)
9545 remove_attribute(Typed self, ParticleIndexKey a0)
9546 remove_attribute(Typed self, ObjectKey a0)
9548 return _IMP_core.Typed_remove_attribute(self, *args)
9550 def has_attribute(self, *args):
9552 has_attribute(Typed self, FloatKey a0) -> bool
9553 has_attribute(Typed self, IntKey a0) -> bool
9554 has_attribute(Typed self, StringKey a0) -> bool
9555 has_attribute(Typed self, ParticleIndexKey a0) -> bool
9556 has_attribute(Typed self, ObjectKey a0) -> bool
9558 return _IMP_core.Typed_has_attribute(self, *args)
9560 def get_derivative(self, *args):
9561 """get_derivative(Typed self, FloatKey a0) -> double"""
9562 return _IMP_core.Typed_get_derivative(self, *args)
9565 """get_name(Typed self) -> std::string"""
9566 return _IMP_core.Typed_get_name(self)
9568 def clear_caches(self):
9569 """clear_caches(Typed self)"""
9570 return _IMP_core.Typed_clear_caches(self)
9572 def set_name(self, *args):
9573 """set_name(Typed self, std::string a0)"""
9574 return _IMP_core.Typed_set_name(self, *args)
9577 """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
9578 return _IMP_core.Typed_set_check_level(self, *args)
9580 def add_to_derivative(self, *args):
9581 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9582 return _IMP_core.Typed_add_to_derivative(self, *args)
9584 def set_is_optimized(self, *args):
9585 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
9586 return _IMP_core.Typed_set_is_optimized(self, *args)
9588 def get_is_optimized(self, *args):
9589 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
9590 return _IMP_core.Typed_get_is_optimized(self, *args)
9593 """get_check_level(Typed self) -> IMP::base::CheckLevel"""
9594 return _IMP_core.Typed_get_check_level(self)
9596 def __eq__(self, *args):
9598 __eq__(Typed self, Typed o) -> bool
9599 __eq__(Typed self, Particle d) -> bool
9601 return _IMP_core.Typed___eq__(self, *args)
9603 def __ne__(self, *args):
9605 __ne__(Typed self, Typed o) -> bool
9606 __ne__(Typed self, Particle d) -> bool
9608 return _IMP_core.Typed___ne__(self, *args)
9610 def __le__(self, *args):
9612 __le__(Typed self, Typed o) -> bool
9613 __le__(Typed self, Particle d) -> bool
9615 return _IMP_core.Typed___le__(self, *args)
9617 def __lt__(self, *args):
9619 __lt__(Typed self, Typed o) -> bool
9620 __lt__(Typed self, Particle d) -> bool
9622 return _IMP_core.Typed___lt__(self, *args)
9624 def __ge__(self, *args):
9626 __ge__(Typed self, Typed o) -> bool
9627 __ge__(Typed self, Particle d) -> bool
9629 return _IMP_core.Typed___ge__(self, *args)
9631 def __gt__(self, *args):
9633 __gt__(Typed self, Typed o) -> bool
9634 __gt__(Typed self, Particle d) -> bool
9636 return _IMP_core.Typed___gt__(self, *args)
9639 """__str__(Typed self) -> std::string"""
9640 return _IMP_core.Typed___str__(self)
9643 """__repr__(Typed self) -> std::string"""
9644 return _IMP_core.Typed___repr__(self)
9646 __swig_destroy__ = _IMP_core.delete_Typed
9647 __del__ =
lambda self :
None;
9648 Typed_swigregister = _IMP_core.Typed_swigregister
9649 Typed_swigregister(Typed)
9651 def Typed_get_type_key():
9652 """Typed_get_type_key() -> IntKey"""
9653 return _IMP_core.Typed_get_type_key()
9655 def Typed_setup_particle(*args):
9657 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9658 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9660 return _IMP_core.Typed_setup_particle(*args)
9662 def Typed_get_is_setup(*args):
9664 get_is_setup(_ParticleAdaptor p) -> bool
9665 Typed_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9667 return _IMP_core.Typed_get_is_setup(*args)
9670 def __lshift__(*args):
9672 __lshift__(_ostream out, XYZ n) -> _ostream
9673 __lshift__(_ostream out, XYZR n) -> _ostream
9674 __lshift__(_ostream out, Centroid n) -> _ostream
9675 __lshift__(_ostream out, Cover n) -> _ostream
9676 __lshift__(_ostream out, Reference n) -> _ostream
9677 __lshift__(_ostream out, RigidMember n) -> _ostream
9678 __lshift__(_ostream out, RigidBody n) -> _ostream
9679 __lshift__(_ostream out, Gaussian n) -> _ostream
9680 __lshift__(_ostream out, Typed n) -> _ostream
9682 return _IMP_core.__lshift__(*args)
9684 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9685 __swig_setmethods__ = {}
9687 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteRestraintScoresOptimizerState, name, value)
9688 __swig_getmethods__ = {}
9690 __getattr__ =
lambda self, name: _swig_getattr(self, WriteRestraintScoresOptimizerState, name)
9691 def __init__(self, *args):
9692 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9693 this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9694 try: self.this.append(this)
9695 except: self.this = this
9696 def get_version_info(self):
9697 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9698 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9701 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9702 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9705 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9706 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9709 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9710 get_from = staticmethod(get_from)
9712 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9713 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9717 """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9718 return _IMP_core.assign_blame(*args)
9722 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9723 std::string name=std::string()) -> IMP::display::Geometries
9724 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9725 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9727 return _IMP_core.create_blame_geometries(*args)
9731 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9732 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9733 get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9735 return _IMP_core.get_transformation_aligning_first_to_second(*args)
9738 """create_restraint(PairScore ps, IMP::kernel::ParticlePair pp) -> Restraint"""
9739 return _IMP_core.create_restraint(*args)
9741 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9742 __swig_setmethods__ = {}
9744 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicLowerBound, name, value)
9745 __swig_getmethods__ = {}
9747 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicLowerBound, name)
9748 def __init__(self, *args):
9750 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9751 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9753 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9754 try: self.this.append(this)
9755 except: self.this = this
9756 def get_version_info(self):
9757 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9758 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9761 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9762 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9765 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9766 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9769 return _object_cast_to_TruncatedHarmonic(o)
9770 get_from = staticmethod(get_from)
9772 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9773 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9776 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9777 __swig_setmethods__ = {}
9779 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicUpperBound, name, value)
9780 __swig_getmethods__ = {}
9782 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicUpperBound, name)
9783 def __init__(self, *args):
9785 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9786 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9788 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9789 try: self.this.append(this)
9790 except: self.this = this
9791 def get_version_info(self):
9792 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9793 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9796 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9797 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9800 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9801 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9804 return _object_cast_to_TruncatedHarmonic(o)
9805 get_from = staticmethod(get_from)
9807 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9808 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9811 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9812 __swig_setmethods__ = {}
9814 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicBound, name, value)
9815 __swig_getmethods__ = {}
9817 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicBound, name)
9818 def __init__(self, *args):
9820 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9821 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9823 this = _IMP_core.new_TruncatedHarmonicBound(*args)
9824 try: self.this.append(this)
9825 except: self.this = this
9826 def get_version_info(self):
9827 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9828 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
9831 """__str__(TruncatedHarmonicBound self) -> std::string"""
9832 return _IMP_core.TruncatedHarmonicBound___str__(self)
9835 """__repr__(TruncatedHarmonicBound self) -> std::string"""
9836 return _IMP_core.TruncatedHarmonicBound___repr__(self)
9839 return _object_cast_to_TruncatedHarmonic(o)
9840 get_from = staticmethod(get_from)
9842 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
9843 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
9846 """Proxy of C++ IMP::Key<(34897493,true)> class"""
9847 __swig_setmethods__ = {}
9848 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9849 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleType, name, value)
9850 __swig_getmethods__ = {}
9851 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9852 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleType, name)
9853 def __init__(self, *args):
9855 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
9856 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
9857 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
9859 this = _IMP_core.new_ParticleType(*args)
9860 try: self.this.append(this)
9861 except: self.this = this
9863 """add_key(std::string sc) -> unsigned int"""
9864 return _IMP_core.ParticleType_add_key(*args)
9866 if _newclass:add_key = staticmethod(add_key)
9867 __swig_getmethods__[
"add_key"] =
lambda x: add_key
9868 def get_key_exists(*args):
9869 """get_key_exists(std::string sc) -> bool"""
9870 return _IMP_core.ParticleType_get_key_exists(*args)
9872 if _newclass:get_key_exists = staticmethod(get_key_exists)
9873 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
9874 def get_string(self):
9875 """get_string(ParticleType self) -> std::string const"""
9876 return _IMP_core.ParticleType_get_string(self)
9878 def __eq__(self, *args):
9879 """__eq__(ParticleType self, ParticleType o) -> bool"""
9880 return _IMP_core.ParticleType___eq__(self, *args)
9882 def __ne__(self, *args):
9883 """__ne__(ParticleType self, ParticleType o) -> bool"""
9884 return _IMP_core.ParticleType___ne__(self, *args)
9886 def __lt__(self, *args):
9887 """__lt__(ParticleType self, ParticleType o) -> bool"""
9888 return _IMP_core.ParticleType___lt__(self, *args)
9890 def __gt__(self, *args):
9891 """__gt__(ParticleType self, ParticleType o) -> bool"""
9892 return _IMP_core.ParticleType___gt__(self, *args)
9894 def __ge__(self, *args):
9895 """__ge__(ParticleType self, ParticleType o) -> bool"""
9896 return _IMP_core.ParticleType___ge__(self, *args)
9898 def __le__(self, *args):
9899 """__le__(ParticleType self, ParticleType o) -> bool"""
9900 return _IMP_core.ParticleType___le__(self, *args)
9903 """__hash__(ParticleType self) -> std::size_t"""
9904 return _IMP_core.ParticleType___hash__(self)
9906 def show(self, *args):
9908 show(ParticleType self, _ostream out=std::cout)
9909 show(ParticleType self)
9911 return _IMP_core.ParticleType_show(self, *args)
9913 def add_alias(*args):
9914 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9915 return _IMP_core.ParticleType_add_alias(*args)
9917 if _newclass:add_alias = staticmethod(add_alias)
9918 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
9920 """get_index(ParticleType self) -> unsigned int"""
9921 return _IMP_core.ParticleType_get_index(self)
9923 def show_all(*args):
9924 """show_all(_ostream out)"""
9925 return _IMP_core.ParticleType_show_all(*args)
9927 if _newclass:show_all = staticmethod(show_all)
9928 __swig_getmethods__[
"show_all"] =
lambda x: show_all
9929 def get_all_strings():
9930 """get_all_strings() -> IMP::base::Vector< std::string >"""
9931 return _IMP_core.ParticleType_get_all_strings()
9933 if _newclass:get_all_strings = staticmethod(get_all_strings)
9934 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
9935 def get_number_unique():
9936 """get_number_unique() -> unsigned int"""
9937 return _IMP_core.ParticleType_get_number_unique()
9939 if _newclass:get_number_unique = staticmethod(get_number_unique)
9940 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
9942 """__str__(ParticleType self) -> std::string"""
9943 return _IMP_core.ParticleType___str__(self)
9946 """__repr__(ParticleType self) -> std::string"""
9947 return _IMP_core.ParticleType___repr__(self)
9949 __swig_destroy__ = _IMP_core.delete_ParticleType
9950 __del__ =
lambda self :
None;
9951 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
9952 ParticleType_swigregister(ParticleType)
9954 def ParticleType_add_key(*args):
9955 """ParticleType_add_key(std::string sc) -> unsigned int"""
9956 return _IMP_core.ParticleType_add_key(*args)
9958 def ParticleType_get_key_exists(*args):
9959 """ParticleType_get_key_exists(std::string sc) -> bool"""
9960 return _IMP_core.ParticleType_get_key_exists(*args)
9962 def ParticleType_add_alias(*args):
9963 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9964 return _IMP_core.ParticleType_add_alias(*args)
9966 def ParticleType_show_all(*args):
9967 """ParticleType_show_all(_ostream out)"""
9968 return _IMP_core.ParticleType_show_all(*args)
9970 def ParticleType_get_all_strings():
9971 """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
9972 return _IMP_core.ParticleType_get_all_strings()
9974 def ParticleType_get_number_unique():
9975 """ParticleType_get_number_unique() -> unsigned int"""
9976 return _IMP_core.ParticleType_get_number_unique()
9979 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
9980 __swig_setmethods__ = {}
9982 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonScore, name, value)
9983 __swig_getmethods__ = {}
9985 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonScore, name)
9986 __repr__ = _swig_repr
9987 def __init__(self, *args):
9988 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
9989 this = _IMP_core.new_AttributeSingletonScore(*args)
9990 try: self.this.append(this)
9991 except: self.this = this
9992 def do_get_inputs(self, *args):
9993 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9994 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, *args)
9996 def get_version_info(self):
9997 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
9998 return _IMP_core.AttributeSingletonScore_get_version_info(self)
10000 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
10001 AttributeSingletonScore_swigregister(AttributeSingletonScore)
10005 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
10006 return _IMP_core.create_attribute_singleton_score(*args)
10008 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
10009 __swig_setmethods__ = {}
10011 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3DSingletonScore, name, value)
10012 __swig_getmethods__ = {}
10014 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3DSingletonScore, name)
10015 __repr__ = _swig_repr
10016 def __init__(self, *args):
10017 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10018 this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
10019 try: self.this.append(this)
10020 except: self.this = this
10021 def do_get_inputs(self, *args):
10022 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10023 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, *args)
10025 def get_version_info(self):
10026 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
10027 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
10029 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
10030 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
10033 def create_bounding_box_3d_singleton_score(*args):
10034 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10035 return _IMP_core.create_bounding_box_3d_singleton_score(*args)
10037 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
10038 __swig_setmethods__ = {}
10040 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceToSingletonScore, name, value)
10041 __swig_getmethods__ = {}
10043 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceToSingletonScore, name)
10044 __repr__ = _swig_repr
10045 def __init__(self, *args):
10046 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10047 this = _IMP_core.new_DistanceToSingletonScore(*args)
10048 try: self.this.append(this)
10049 except: self.this = this
10050 def do_get_inputs(self, *args):
10051 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10052 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, *args)
10054 def get_version_info(self):
10055 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
10056 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
10058 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
10059 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
10062 def create_distance_to_singleton_score(*args):
10063 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10064 return _IMP_core.create_distance_to_singleton_score(*args)
10066 def get_module_version():
10067 """get_module_version() -> std::string const"""
10068 return _IMP_core.get_module_version()
10070 def get_example_path(*args):
10071 """get_example_path(std::string fname) -> std::string"""
10072 return _IMP_core.get_example_path(*args)
10074 def get_data_path(*args):
10075 """get_data_path(std::string fname) -> std::string"""
10076 return _IMP_core.get_data_path(*args)
10077 import _version_check
10078 _version_check.check_version(get_module_version())
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
Hierarchies get_leaves(Hierarchy h)
double get_kt(double T)
Return kT for a given temperature.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
A base class for geometry contained in particles.
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
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.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
algebra::ReferenceFrame3D get_initial_reference_frame(kernel::Model *m, const kernel::ParticleIndexes &pis)
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
Abstract predicate function.
void add_rigid_body_cache_key(ObjectKey k)
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
Represents a scoring function on the model.
Abstract single variable functor class for score functions.
ScoreStates maintain invariants in the Model.
Composable functors to implement scores via compile-time composition.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
A base class for modifiers of kernel::ParticlesTemp.
Abstract predicate function.
void assign_blame(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, FloatKey attribute)
Abstract class for scoring object(s) of type ParticlePair.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
display::Geometries create_blame_geometries(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
BoundingBoxD< 3 > get_bounding_box(const Cone3D &g)
Base functionality and abstract base classes for representation, scoring and sampling.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
A restraint is a term in an IMP ScoringFunction.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
void set_vector_geometry(C &g, const E &v)
Abstract predicate function.
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Common base class for heavy weight IMP objects.
Base class for all optimizers.
Abstract predicate function.
Base class for optimizers that act on individual attributes.
Key< 34897493, true > ParticleType
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Abstract class for scoring object(s) of type Particle.
Base class for all samplers.
void show_rigid_body_hierarchy(RigidBody rb, base::TextOutput out=base::TextOutput(std::cout))
kernel::ParticlesTemp create_rigid_bodies(kernel::Model *m, unsigned int n, bool no_members=false)
kernel::ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Implement a constraint on the Model.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
Output IMP model data in various file formats.
CheckLevel get_check_level()
Get the current audit mode.
Abstract class to implement hierarchical methods.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
Abstract class for scoring object(s) of type ParticleTriplet.
kernel::Restraint * create_restraint(Score *s, Container *c, std::string name=std::string())
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
A specialization for the lower bound.
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)