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 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
293 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
295 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
296 __swig_setmethods__ = {}
298 __setattr__ =
lambda self, name, value: _swig_setattr(self, _OpenCubicSplineBase, name, value)
299 __swig_getmethods__ = {}
301 __getattr__ =
lambda self, name: _swig_getattr(self, _OpenCubicSplineBase, name)
302 __repr__ = _swig_repr
303 def __init__(self, *args):
305 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
306 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
308 this = _IMP_core.new__OpenCubicSplineBase(*args)
309 try: self.this.append(this)
310 except: self.this = this
311 def get_version_info(self):
312 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
313 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
315 __swig_destroy__ = _IMP_core.delete__OpenCubicSplineBase
316 __del__ =
lambda self :
None;
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(
"Mover")
333 def _object_cast_to_Mover(*args):
334 """_object_cast_to_Mover(Object o) -> Mover"""
335 return _IMP_core._object_cast_to_Mover(*args)
336 _object_types.append(
"MoverBase")
339 def _object_cast_to_MoverBase(*args):
340 """_object_cast_to_MoverBase(Object o) -> MoverBase"""
341 return _IMP_core._object_cast_to_MoverBase(*args)
342 _object_types.append(
"AngleRestraint")
345 def _object_cast_to_AngleRestraint(*args):
346 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
347 return _IMP_core._object_cast_to_AngleRestraint(*args)
348 _object_types.append(
"AngleTripletScore")
351 def _object_cast_to_AngleTripletScore(*args):
352 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
353 return _IMP_core._object_cast_to_AngleTripletScore(*args)
354 _object_types.append(
"AttributeSingletonScore")
357 def _object_cast_to_AttributeSingletonScore(*args):
358 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
359 return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
360 _object_types.append(
"BallMover")
363 def _object_cast_to_BallMover(*args):
364 """_object_cast_to_BallMover(Object o) -> BallMover"""
365 return _IMP_core._object_cast_to_BallMover(*args)
366 _object_types.append(
"SerialMover")
369 def _object_cast_to_SerialMover(*args):
370 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
371 return _IMP_core._object_cast_to_SerialMover(*args)
372 _object_types.append(
"BoundingBox3DSingletonScore")
375 def _object_cast_to_BoundingBox3DSingletonScore(*args):
376 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
377 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
378 _object_types.append(
"BoxSweepClosePairsFinder")
381 def _object_cast_to_BoxSweepClosePairsFinder(*args):
382 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
383 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
384 _object_types.append(
"NearestNeighborsClosePairsFinder")
387 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
388 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
389 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
390 _object_types.append(
"CentroidOfRefined")
393 def _object_cast_to_CentroidOfRefined(*args):
394 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
395 return _IMP_core._object_cast_to_CentroidOfRefined(*args)
396 _object_types.append(
"ChecksScoreState")
399 def _object_cast_to_ChecksScoreState(*args):
400 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
401 return _IMP_core._object_cast_to_ChecksScoreState(*args)
402 _object_types.append(
"ChildrenRefiner")
405 def _object_cast_to_ChildrenRefiner(*args):
406 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
407 return _IMP_core._object_cast_to_ChildrenRefiner(*args)
408 _object_types.append(
"ClosePairsFinder")
411 def _object_cast_to_ClosePairsFinder(*args):
412 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
413 return _IMP_core._object_cast_to_ClosePairsFinder(*args)
414 _object_types.append(
"ClosePairsPairScore")
417 def _object_cast_to_ClosePairsPairScore(*args):
418 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
419 return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
420 _object_types.append(
"ClosedCubicSpline")
423 def _object_cast_to_ClosedCubicSpline(*args):
424 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
425 return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
426 _object_types.append(
"ConjugateGradients")
429 def _object_cast_to_ConjugateGradients(*args):
430 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
431 return _IMP_core._object_cast_to_ConjugateGradients(*args)
432 _object_types.append(
"ConnectivityRestraint")
435 def _object_cast_to_ConnectivityRestraint(*args):
436 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
437 return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
438 _object_types.append(
"ConstantRestraint")
441 def _object_cast_to_ConstantRestraint(*args):
442 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
443 return _IMP_core._object_cast_to_ConstantRestraint(*args)
444 _object_types.append(
"Cosine")
447 def _object_cast_to_Cosine(*args):
448 """_object_cast_to_Cosine(Object o) -> Cosine"""
449 return _IMP_core._object_cast_to_Cosine(*args)
450 _object_types.append(
"CoverRefined")
453 def _object_cast_to_CoverRefined(*args):
454 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
455 return _IMP_core._object_cast_to_CoverRefined(*args)
456 _object_types.append(
"DerivativesFromRefined")
459 def _object_cast_to_DerivativesFromRefined(*args):
460 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
461 return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
462 _object_types.append(
"DerivativesToRefined")
465 def _object_cast_to_DerivativesToRefined(*args):
466 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
467 return _IMP_core._object_cast_to_DerivativesToRefined(*args)
468 _object_types.append(
"DiameterRestraint")
471 def _object_cast_to_DiameterRestraint(*args):
472 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
473 return _IMP_core._object_cast_to_DiameterRestraint(*args)
474 _object_types.append(
"DihedralRestraint")
477 def _object_cast_to_DihedralRestraint(*args):
478 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
479 return _IMP_core._object_cast_to_DihedralRestraint(*args)
480 _object_types.append(
"DistanceRestraint")
483 def _object_cast_to_DistanceRestraint(*args):
484 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
485 return _IMP_core._object_cast_to_DistanceRestraint(*args)
486 _object_types.append(
"DistanceToSingletonScore")
489 def _object_cast_to_DistanceToSingletonScore(*args):
490 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
491 return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
492 _object_types.append(
"ExcludedVolumeRestraint")
495 def _object_cast_to_ExcludedVolumeRestraint(*args):
496 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
497 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
498 _object_types.append(
"FixedRefiner")
501 def _object_cast_to_FixedRefiner(*args):
502 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
503 return _IMP_core._object_cast_to_FixedRefiner(*args)
504 _object_types.append(
"GridClosePairsFinder")
507 def _object_cast_to_GridClosePairsFinder(*args):
508 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
509 return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
510 _object_types.append(
"Harmonic")
513 def _object_cast_to_Harmonic(*args):
514 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
515 return _IMP_core._object_cast_to_Harmonic(*args)
516 _object_types.append(
"HarmonicWell")
519 def _object_cast_to_HarmonicWell(*args):
520 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
521 return _IMP_core._object_cast_to_HarmonicWell(*args)
522 _object_types.append(
"HarmonicLowerBound")
525 def _object_cast_to_HarmonicLowerBound(*args):
526 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
527 return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
528 _object_types.append(
"HarmonicUpperBound")
531 def _object_cast_to_HarmonicUpperBound(*args):
532 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
533 return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
534 _object_types.append(
"HarmonicSphereDistancePairScore")
537 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
538 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
539 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
540 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
543 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
544 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
545 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
546 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
549 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
550 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
551 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
552 _object_types.append(
"IncrementalScoringFunction")
555 def _object_cast_to_IncrementalScoringFunction(*args):
556 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
557 return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
558 _object_types.append(
"KClosePairsPairScore")
561 def _object_cast_to_KClosePairsPairScore(*args):
562 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
563 return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
564 _object_types.append(
"LeavesRefiner")
567 def _object_cast_to_LeavesRefiner(*args):
568 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
569 return _IMP_core._object_cast_to_LeavesRefiner(*args)
570 _object_types.append(
"Linear")
573 def _object_cast_to_Linear(*args):
574 """_object_cast_to_Linear(Object o) -> Linear"""
575 return _IMP_core._object_cast_to_Linear(*args)
576 _object_types.append(
"MCCGSampler")
579 def _object_cast_to_MCCGSampler(*args):
580 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
581 return _IMP_core._object_cast_to_MCCGSampler(*args)
582 _object_types.append(
"MonteCarlo")
585 def _object_cast_to_MonteCarlo(*args):
586 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
587 return _IMP_core._object_cast_to_MonteCarlo(*args)
588 _object_types.append(
"MonteCarloWithLocalOptimization")
591 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
592 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
593 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
594 _object_types.append(
"MonteCarloWithBasinHopping")
597 def _object_cast_to_MonteCarloWithBasinHopping(*args):
598 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
599 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
600 _object_types.append(
"MSConnectivityRestraint")
603 def _object_cast_to_MSConnectivityRestraint(*args):
604 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
605 return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
606 _object_types.append(
"NeighborsTable")
609 def _object_cast_to_NeighborsTable(*args):
610 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
611 return _IMP_core._object_cast_to_NeighborsTable(*args)
612 _object_types.append(
"NormalMover")
615 def _object_cast_to_NormalMover(*args):
616 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
617 return _IMP_core._object_cast_to_NormalMover(*args)
618 _object_types.append(
"NormalizedSphereDistancePairScore")
621 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
622 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
623 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
624 _object_types.append(
"OpenCubicSpline")
627 def _object_cast_to_OpenCubicSpline(*args):
628 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
629 return _IMP_core._object_cast_to_OpenCubicSpline(*args)
630 _object_types.append(
"PairConstraint")
633 def _object_cast_to_PairConstraint(*args):
634 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
635 return _IMP_core._object_cast_to_PairConstraint(*args)
636 _object_types.append(
"PairRestraint")
639 def _object_cast_to_PairRestraint(*args):
640 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
641 return _IMP_core._object_cast_to_PairRestraint(*args)
642 _object_types.append(
"QuadConstraint")
645 def _object_cast_to_QuadConstraint(*args):
646 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
647 return _IMP_core._object_cast_to_QuadConstraint(*args)
648 _object_types.append(
"QuadRestraint")
651 def _object_cast_to_QuadRestraint(*args):
652 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
653 return _IMP_core._object_cast_to_QuadRestraint(*args)
654 _object_types.append(
"QuadraticClosePairsFinder")
657 def _object_cast_to_QuadraticClosePairsFinder(*args):
658 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
659 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
660 _object_types.append(
"RefinedPairsPairScore")
663 def _object_cast_to_RefinedPairsPairScore(*args):
664 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
665 return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
666 _object_types.append(
"RestraintsScoringFunction")
669 def _object_cast_to_RestraintsScoringFunction(*args):
670 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
671 return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
672 _object_types.append(
"RigidBodyDistancePairScore")
675 def _object_cast_to_RigidBodyDistancePairScore(*args):
676 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
677 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
678 _object_types.append(
"RigidBodyMover")
681 def _object_cast_to_RigidBodyMover(*args):
682 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
683 return _IMP_core._object_cast_to_RigidBodyMover(*args)
684 _object_types.append(
"RigidClosePairsFinder")
687 def _object_cast_to_RigidClosePairsFinder(*args):
688 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
689 return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
690 _object_types.append(
"RigidMembersRefiner")
693 def _object_cast_to_RigidMembersRefiner(*args):
694 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
695 return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
696 _object_types.append(
"SingletonConstraint")
699 def _object_cast_to_SingletonConstraint(*args):
700 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
701 return _IMP_core._object_cast_to_SingletonConstraint(*args)
702 _object_types.append(
"SingletonRestraint")
705 def _object_cast_to_SingletonRestraint(*args):
706 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
707 return _IMP_core._object_cast_to_SingletonRestraint(*args)
708 _object_types.append(
"SoftSpherePairScore")
711 def _object_cast_to_SoftSpherePairScore(*args):
712 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
713 return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
714 _object_types.append(
"SphereDistancePairScore")
717 def _object_cast_to_SphereDistancePairScore(*args):
718 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
719 return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
720 _object_types.append(
"SphereDistanceToSingletonScore")
723 def _object_cast_to_SphereDistanceToSingletonScore(*args):
724 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
725 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
726 _object_types.append(
"SteepestDescent")
729 def _object_cast_to_SteepestDescent(*args):
730 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
731 return _IMP_core._object_cast_to_SteepestDescent(*args)
732 _object_types.append(
"TableRefiner")
735 def _object_cast_to_TableRefiner(*args):
736 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
737 return _IMP_core._object_cast_to_TableRefiner(*args)
738 _object_types.append(
"Transform")
741 def _object_cast_to_Transform(*args):
742 """_object_cast_to_Transform(Object o) -> Transform"""
743 return _IMP_core._object_cast_to_Transform(*args)
744 _object_types.append(
"TransformationAndReflectionSymmetry")
747 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
748 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
749 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
750 _object_types.append(
"TransformationSymmetry")
753 def _object_cast_to_TransformationSymmetry(*args):
754 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
755 return _IMP_core._object_cast_to_TransformationSymmetry(*args)
756 _object_types.append(
"TransformedDistancePairScore")
759 def _object_cast_to_TransformedDistancePairScore(*args):
760 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
761 return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
762 _object_types.append(
"TripletConstraint")
765 def _object_cast_to_TripletConstraint(*args):
766 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
767 return _IMP_core._object_cast_to_TripletConstraint(*args)
768 _object_types.append(
"TripletRestraint")
771 def _object_cast_to_TripletRestraint(*args):
772 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
773 return _IMP_core._object_cast_to_TripletRestraint(*args)
774 _object_types.append(
"TypedPairScore")
777 def _object_cast_to_TypedPairScore(*args):
778 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
779 return _IMP_core._object_cast_to_TypedPairScore(*args)
780 _object_types.append(
"VolumeRestraint")
783 def _object_cast_to_VolumeRestraint(*args):
784 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
785 return _IMP_core._object_cast_to_VolumeRestraint(*args)
786 _object_types.append(
"WeightedSphereDistancePairScore")
789 def _object_cast_to_WeightedSphereDistancePairScore(*args):
790 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
791 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
792 _object_types.append(
"MoveStatisticsScoreState")
795 def _object_cast_to_MoveStatisticsScoreState(*args):
796 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
797 return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
798 _object_types.append(
"MinimumRestraint")
801 def _object_cast_to_MinimumRestraint(*args):
802 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
803 return _IMP_core._object_cast_to_MinimumRestraint(*args)
804 _object_types.append(
"WriteRestraintScoresOptimizerState")
807 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
808 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
809 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
810 _object_types.append(
"ConstantSingletonPredicate")
813 def _object_cast_to_ConstantSingletonPredicate(*args):
814 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
815 return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
816 _object_types.append(
"ConstantPairPredicate")
819 def _object_cast_to_ConstantPairPredicate(*args):
820 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
821 return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
822 _object_types.append(
"ConstantTripletPredicate")
825 def _object_cast_to_ConstantTripletPredicate(*args):
826 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
827 return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
828 _object_types.append(
"ConstantQuadPredicate")
831 def _object_cast_to_ConstantQuadPredicate(*args):
832 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
833 return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
834 _object_types.append(
"CoinFlipSingletonPredicate")
837 def _object_cast_to_CoinFlipSingletonPredicate(*args):
838 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
839 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
840 _object_types.append(
"CoinFlipPairPredicate")
843 def _object_cast_to_CoinFlipPairPredicate(*args):
844 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
845 return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
846 _object_types.append(
"CoinFlipTripletPredicate")
849 def _object_cast_to_CoinFlipTripletPredicate(*args):
850 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
851 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
852 _object_types.append(
"CoinFlipQuadPredicate")
855 def _object_cast_to_CoinFlipQuadPredicate(*args):
856 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
857 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
858 _object_types.append(
"UnorderedTypeSingletonPredicate")
861 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
862 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
863 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
864 _object_types.append(
"UnorderedTypePairPredicate")
867 def _object_cast_to_UnorderedTypePairPredicate(*args):
868 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
869 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
870 _object_types.append(
"UnorderedTypeTripletPredicate")
873 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
874 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
875 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
876 _object_types.append(
"UnorderedTypeQuadPredicate")
879 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
880 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
881 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
882 _object_types.append(
"OrderedTypeSingletonPredicate")
885 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
886 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
887 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
888 _object_types.append(
"OrderedTypePairPredicate")
891 def _object_cast_to_OrderedTypePairPredicate(*args):
892 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
893 return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
894 _object_types.append(
"OrderedTypeTripletPredicate")
897 def _object_cast_to_OrderedTypeTripletPredicate(*args):
898 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
899 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
900 _object_types.append(
"OrderedTypeQuadPredicate")
903 def _object_cast_to_OrderedTypeQuadPredicate(*args):
904 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
905 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
906 _object_types.append(
"AllSameSingletonPredicate")
909 def _object_cast_to_AllSameSingletonPredicate(*args):
910 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
911 return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
912 _object_types.append(
"AllSamePairPredicate")
915 def _object_cast_to_AllSamePairPredicate(*args):
916 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
917 return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
918 _object_types.append(
"AllSameTripletPredicate")
921 def _object_cast_to_AllSameTripletPredicate(*args):
922 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
923 return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
924 _object_types.append(
"AllSameQuadPredicate")
927 def _object_cast_to_AllSameQuadPredicate(*args):
928 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
929 return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
931 return [XYZ(x)
for x
in l]
932 _plural_types.append(
"XYZs")
934 _value_types.append(
"XYZ")
937 return [XYZR(x)
for x
in l]
938 _plural_types.append(
"XYZRs")
940 _value_types.append(
"XYZR")
942 def RigidBodies(l=[]):
943 return [RigidBody(x)
for x
in l]
944 _plural_types.append(
"RigidBodies")
946 _value_types.append(
"RigidBody")
948 def RigidBodyMembers(l=[]):
949 return [RigidBodyMember(x)
for x
in l]
950 _plural_types.append(
"RigidBodyMembers")
952 _value_types.append(
"RigidBodyMember")
954 def RigidMembers(l=[]):
955 return [RigidMember(x)
for x
in l]
956 _plural_types.append(
"RigidMembers")
958 _value_types.append(
"RigidMember")
960 def NonRigidMembers(l=[]):
961 return [NonRigidMember(x)
for x
in l]
962 _plural_types.append(
"NonRigidMembers")
964 _value_types.append(
"NonRigidMember")
967 return [Centroid(x)
for x
in l]
968 _plural_types.append(
"Centroids")
970 _value_types.append(
"Centroid")
973 return [Cover(x)
for x
in l]
974 _plural_types.append(
"Covers")
976 _value_types.append(
"Cover")
978 def References(l=[]):
979 return [Reference(x)
for x
in l]
980 _plural_types.append(
"References")
982 _value_types.append(
"Reference")
985 _plural_types.append(
"ParticleTypes")
986 _value_types.append(
"ParticleType")
989 return [Typed(x)
for x
in l]
990 _plural_types.append(
"Typeds")
992 _value_types.append(
"Typed")
994 def GenericHierarchies(l=[]):
995 return [Hierarchy(x)
for x
in l]
996 _plural_types.append(
"GenericHierarchies")
998 _value_types.append(
"Hierarchy")
1000 HierarchyCounters=list
1001 _plural_types.append(
"HierarchyCounters")
1002 _value_types.append(
"HierarchyCounter")
1004 HierarchyTraitsList=list
1005 _plural_types.append(
"HierarchyTraitsList")
1006 _value_types.append(
"HierarchyTraits")
1008 _object_types.append(
"TruncatedHarmonicBound")
1011 def _object_cast_to_TruncatedHarmonicBound(*args):
1012 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1013 return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
1014 _object_types.append(
"TruncatedHarmonicLowerBound")
1017 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1018 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1019 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1020 _object_types.append(
"TruncatedHarmonicUpperBound")
1023 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1024 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1025 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1026 _object_types.append(
"HarmonicDistancePairScore")
1029 def _object_cast_to_HarmonicDistancePairScore(*args):
1030 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1031 return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1032 _object_types.append(
"DistancePairScore")
1035 def _object_cast_to_DistancePairScore(*args):
1036 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1037 return _IMP_core._object_cast_to_DistancePairScore(*args)
1038 _object_types.append(
"XYZRGeometry")
1041 def _object_cast_to_XYZRGeometry(*args):
1042 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1043 return _IMP_core._object_cast_to_XYZRGeometry(*args)
1044 _object_types.append(
"XYZRsGeometry")
1047 def _object_cast_to_XYZRsGeometry(*args):
1048 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1049 return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1050 _object_types.append(
"XYZDerivativeGeometry")
1053 def _object_cast_to_XYZDerivativeGeometry(*args):
1054 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1055 return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1056 _object_types.append(
"XYZDerivativesGeometry")
1059 def _object_cast_to_XYZDerivativesGeometry(*args):
1060 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1061 return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1062 _object_types.append(
"RigidBodyDerivativeGeometry")
1065 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1066 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1067 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1068 _object_types.append(
"RigidBodyDerivativesGeometry")
1071 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1072 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1073 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1074 _object_types.append(
"RigidBodyHierarchyGeometry")
1077 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1078 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1079 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1080 _object_types.append(
"RigidBodyFrameGeometry")
1083 def _object_cast_to_RigidBodyFrameGeometry(*args):
1084 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1085 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1086 _object_types.append(
"RigidBodyFramesGeometry")
1089 def _object_cast_to_RigidBodyFramesGeometry(*args):
1090 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1091 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1092 _object_types.append(
"RigidBodyTorque")
1095 def _object_cast_to_RigidBodyTorque(*args):
1096 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1097 return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1098 _object_types.append(
"EdgePairGeometry")
1101 def _object_cast_to_EdgePairGeometry(*args):
1102 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1103 return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1104 _object_types.append(
"EdgePairsGeometry")
1107 def _object_cast_to_EdgePairsGeometry(*args):
1108 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1109 return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1110 _object_types.append(
"AttributeSingletonPredicate")
1113 def _object_cast_to_AttributeSingletonPredicate(*args):
1114 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1115 return _IMP_core._object_cast_to_AttributeSingletonPredicate(*args)
1116 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1119 def _object_cast_to_InBoundingBox3DSingletonPredicate(*args):
1120 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1121 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(*args)
1122 _object_types.append(
"IsCollisionPairPredicate")
1125 def _object_cast_to_IsCollisionPairPredicate(*args):
1126 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1127 return _IMP_core._object_cast_to_IsCollisionPairPredicate(*args)
1129 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1130 __swig_setmethods__ = {}
1131 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1132 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsFinder, name, value)
1133 __swig_getmethods__ = {}
1134 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1135 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsFinder, name)
1136 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1137 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1138 __del__ =
lambda self :
None;
1139 def get_close_pairs(self, *args):
1141 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1142 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1143 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
1144 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
1145 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1146 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1148 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1150 def set_distance(self, *args):
1151 """set_distance(ClosePairsFinder self, double d)"""
1152 return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1155 """get_distance(ClosePairsFinder self) -> double"""
1156 return _IMP_core.ClosePairsFinder_get_distance(self)
1158 def remove_pair_filter(self, *args):
1159 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1160 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1162 def remove_pair_filters(self, *args):
1163 """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1164 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1166 def set_pair_filters(self, *args):
1167 """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1168 return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1170 def set_pair_filters_order(self, *args):
1171 """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1172 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1174 def add_pair_filter(self, *args):
1175 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1176 return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1178 def add_pair_filters(self, *args):
1179 """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1180 return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1182 def clear_pair_filters(self):
1183 """clear_pair_filters(ClosePairsFinder self)"""
1184 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1186 def get_number_of_pair_filters(self):
1187 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1188 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1190 def get_has_pair_filters(self):
1191 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1192 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1194 def get_pair_filter(self, *args):
1195 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1196 return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1198 def get_pair_filters(self):
1199 """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1200 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1202 def reserve_pair_filters(self, *args):
1203 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1204 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1207 """__str__(ClosePairsFinder self) -> std::string"""
1208 return _IMP_core.ClosePairsFinder___str__(self)
1211 """__repr__(ClosePairsFinder self) -> std::string"""
1212 return _IMP_core.ClosePairsFinder___repr__(self)
1215 return _object_cast_to_ClosePairsFinder(o)
1216 get_from = staticmethod(get_from)
1218 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1219 ClosePairsFinder_swigregister(ClosePairsFinder)
1221 class MonteCarloMoverResult(IMP.base._Value):
1222 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1223 __swig_setmethods__ = {}
1224 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1225 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMoverResult, name, value)
1226 __swig_getmethods__ = {}
1227 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1228 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMoverResult, name)
1229 def __init__(self, *args):
1231 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1232 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1233 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1235 this = _IMP_core.new_MonteCarloMoverResult(*args)
1236 try: self.this.append(this)
1237 except: self.this = this
1239 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1240 return _IMP_core.MonteCarloMoverResult___hash__(self)
1242 def show(self, *args):
1244 show(MonteCarloMoverResult self, _ostream out=std::cout)
1245 show(MonteCarloMoverResult self)
1247 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1249 def __eq__(self, *args):
1250 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1251 return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1253 def __ne__(self, *args):
1254 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1255 return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1257 def __lt__(self, *args):
1258 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1259 return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1261 def __gt__(self, *args):
1262 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1263 return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1265 def __ge__(self, *args):
1266 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1267 return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1269 def __le__(self, *args):
1270 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1271 return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1273 def get_moved_particles(self):
1274 """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1275 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1277 def set_moved_particles(self, *args):
1278 """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1279 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1281 def get_proposal_ratio(self):
1282 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1283 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1285 def set_proposal_ratio(self, *args):
1286 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1287 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1290 """__str__(MonteCarloMoverResult self) -> std::string"""
1291 return _IMP_core.MonteCarloMoverResult___str__(self)
1294 """__repr__(MonteCarloMoverResult self) -> std::string"""
1295 return _IMP_core.MonteCarloMoverResult___repr__(self)
1297 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1298 __del__ =
lambda self :
None;
1299 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1300 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1303 """Proxy of C++ IMP::core::MonteCarloMover class"""
1304 __swig_setmethods__ = {}
1306 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMover, name, value)
1307 __swig_getmethods__ = {}
1309 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMover, name)
1310 def __init__(self, *args):
1311 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1312 if self.__class__ == MonteCarloMover:
1316 this = _IMP_core.new_MonteCarloMover(_self, *args)
1317 try: self.this.append(this)
1318 except: self.this = this
1319 if self.__class__ != MonteCarloMover:
1321 IMP.base._director_objects.register(self)
1326 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1327 return _IMP_core.MonteCarloMover_propose(self)
1330 """reject(MonteCarloMover self)"""
1331 return _IMP_core.MonteCarloMover_reject(self)
1334 """accept(MonteCarloMover self)"""
1335 return _IMP_core.MonteCarloMover_accept(self)
1337 def get_number_of_proposed(self):
1338 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1339 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1341 def get_number_of_accepted(self):
1342 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1343 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1345 def reset_statistics(self):
1346 """reset_statistics(MonteCarloMover self)"""
1347 return _IMP_core.MonteCarloMover_reset_statistics(self)
1349 def do_propose(self):
1350 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1351 return _IMP_core.MonteCarloMover_do_propose(self)
1353 def do_reject(self):
1354 """do_reject(MonteCarloMover self)"""
1355 return _IMP_core.MonteCarloMover_do_reject(self)
1357 def do_accept(self):
1358 """do_accept(MonteCarloMover self)"""
1359 return _IMP_core.MonteCarloMover_do_accept(self)
1361 def do_get_outputs(self):
1362 """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1363 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1366 """__str__(MonteCarloMover self) -> std::string"""
1367 return _IMP_core.MonteCarloMover___str__(self)
1370 """__repr__(MonteCarloMover self) -> std::string"""
1371 return _IMP_core.MonteCarloMover___repr__(self)
1374 return _object_cast_to_MonteCarloMover(o)
1375 get_from = staticmethod(get_from)
1377 def get_type_name(self):
1378 return self.__class__.__name__
1379 def do_show(self, out):
1381 def get_version_info(self):
1382 if"IMP::core" ==
"IMP":
1383 return VersionInfo(
"python",
"0")
1385 return IMP.VersionInfo(
"python",
"0")
1387 return _object_cast_to_MonteCarloMover(o)
1388 get_from = staticmethod(get_from)
1390 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1391 __del__ =
lambda self :
None;
1392 def __disown__(self):
1394 _IMP_core.disown_MonteCarloMover(self)
1395 return weakref_proxy(self)
1396 def handle_set_has_required_score_states(self, *args):
1397 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1398 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, *args)
1400 def do_get_inputs(self):
1401 """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1402 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1404 def do_get_interactions(self):
1405 """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1406 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1408 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1409 MonteCarloMover_swigregister(MonteCarloMover)
1411 class Mover(MonteCarloMover):
1412 """Proxy of C++ IMP::core::Mover class"""
1413 __swig_setmethods__ = {}
1414 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1415 __setattr__ =
lambda self, name, value: _swig_setattr(self, Mover, name, value)
1416 __swig_getmethods__ = {}
1417 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1418 __getattr__ =
lambda self, name: _swig_getattr(self, Mover, name)
1419 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1420 def propose_move(self, *args):
1421 """propose_move(Mover self, IMP::Float size) -> IMP::kernel::ParticlesTemp"""
1422 return _IMP_core.Mover_propose_move(self, *args)
1424 def reset_move(self):
1425 """reset_move(Mover self)"""
1426 return _IMP_core.Mover_reset_move(self)
1429 """get_output_particles(Mover self) -> IMP::kernel::ParticlesTemp"""
1430 return _IMP_core.Mover_get_output_particles(self)
1433 """__str__(Mover self) -> std::string"""
1434 return _IMP_core.Mover___str__(self)
1437 """__repr__(Mover self) -> std::string"""
1438 return _IMP_core.Mover___repr__(self)
1441 return _object_cast_to_Mover(o)
1442 get_from = staticmethod(get_from)
1444 __swig_destroy__ = _IMP_core.delete_Mover
1445 __del__ =
lambda self :
None;
1446 Mover_swigregister = _IMP_core.Mover_swigregister
1447 Mover_swigregister(Mover)
1449 class MoverBase(Mover):
1450 """Proxy of C++ IMP::core::MoverBase class"""
1451 __swig_setmethods__ = {}
1452 for _s
in [Mover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1453 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoverBase, name, value)
1454 __swig_getmethods__ = {}
1455 for _s
in [Mover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1456 __getattr__ =
lambda self, name: _swig_getattr(self, MoverBase, name)
1457 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1459 """__str__(MoverBase self) -> std::string"""
1460 return _IMP_core.MoverBase___str__(self)
1463 """__repr__(MoverBase self) -> std::string"""
1464 return _IMP_core.MoverBase___repr__(self)
1467 return _object_cast_to_MoverBase(o)
1468 get_from = staticmethod(get_from)
1470 __swig_destroy__ = _IMP_core.delete_MoverBase
1471 __del__ =
lambda self :
None;
1472 MoverBase_swigregister = _IMP_core.MoverBase_swigregister
1473 MoverBase_swigregister(MoverBase)
1476 """Proxy of C++ IMP::core::XYZ class"""
1477 __swig_setmethods__ = {}
1478 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1479 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZ, name, value)
1480 __swig_getmethods__ = {}
1481 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1482 __getattr__ =
lambda self, name: _swig_getattr(self, XYZ, name)
1483 def get_coordinate_key(*args):
1484 """get_coordinate_key(unsigned int i) -> FloatKey"""
1485 return _IMP_core.XYZ_get_coordinate_key(*args)
1487 if _newclass:get_coordinate_key = staticmethod(get_coordinate_key)
1488 __swig_getmethods__[
"get_coordinate_key"] =
lambda x: get_coordinate_key
1489 def __init__(self, *args):
1491 __init__(IMP::core::XYZ self) -> XYZ
1492 __init__(IMP::core::XYZ self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZ
1493 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1495 this = _IMP_core.new_XYZ(*args)
1496 try: self.this.append(this)
1497 except: self.this = this
1498 def decorate_particle(*args):
1499 """decorate_particle(Particle p) -> XYZ"""
1500 return _IMP_core.XYZ_decorate_particle(*args)
1502 if _newclass:decorate_particle = staticmethod(decorate_particle)
1503 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1504 def particle_is_instance(*args):
1506 particle_is_instance(Particle p) -> bool
1507 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1509 return _IMP_core.XYZ_particle_is_instance(*args)
1511 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1512 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1513 def show(self, *args):
1515 show(XYZ self, _ostream out=std::cout)
1518 return _IMP_core.XYZ_show(self, *args)
1520 def setup_particle(*args):
1522 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1523 setup_particle(_ParticleAdaptor decorator) -> XYZ
1524 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1525 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1527 return _IMP_core.XYZ_setup_particle(*args)
1529 if _newclass:setup_particle = staticmethod(setup_particle)
1530 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1532 """get_x(XYZ self) -> IMP::Float"""
1533 return _IMP_core.XYZ_get_x(self)
1535 def set_x(self, *args):
1536 """set_x(XYZ self, IMP::Float t)"""
1537 return _IMP_core.XYZ_set_x(self, *args)
1540 """get_y(XYZ self) -> IMP::Float"""
1541 return _IMP_core.XYZ_get_y(self)
1543 def set_y(self, *args):
1544 """set_y(XYZ self, IMP::Float t)"""
1545 return _IMP_core.XYZ_set_y(self, *args)
1548 """get_z(XYZ self) -> IMP::Float"""
1549 return _IMP_core.XYZ_get_z(self)
1551 def set_z(self, *args):
1552 """set_z(XYZ self, IMP::Float t)"""
1553 return _IMP_core.XYZ_set_z(self, *args)
1555 def set_coordinate(self, *args):
1556 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1557 return _IMP_core.XYZ_set_coordinate(self, *args)
1559 def set_coordinates(self, *args):
1560 """set_coordinates(XYZ self, Vector3D v)"""
1561 return _IMP_core.XYZ_set_coordinates(self, *args)
1563 def get_coordinate(self, *args):
1564 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1565 return _IMP_core.XYZ_get_coordinate(self, *args)
1567 def add_to_derivatives(self, *args):
1568 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1569 return _IMP_core.XYZ_add_to_derivatives(self, *args)
1571 def get_coordinates_are_optimized(self):
1572 """get_coordinates_are_optimized(XYZ self) -> bool"""
1573 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1575 def set_coordinates_are_optimized(self, *args):
1576 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1577 return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1579 def get_vector_to(self, *args):
1580 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1581 return _IMP_core.XYZ_get_vector_to(self, *args)
1583 def get_coordinates(self):
1584 """get_coordinates(XYZ self) -> Vector3D"""
1585 return _IMP_core.XYZ_get_coordinates(self)
1587 def get_derivatives(self):
1588 """get_derivatives(XYZ self) -> Vector3D"""
1589 return _IMP_core.XYZ_get_derivatives(self)
1591 def get_is_setup(*args):
1593 get_is_setup(_ParticleAdaptor p) -> bool
1594 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1596 return _IMP_core.XYZ_get_is_setup(*args)
1598 if _newclass:get_is_setup = staticmethod(get_is_setup)
1599 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1601 """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1602 return _IMP_core.XYZ_get_xyz_keys()
1604 if _newclass:get_xyz_keys = staticmethod(get_xyz_keys)
1605 __swig_getmethods__[
"get_xyz_keys"] =
lambda x: get_xyz_keys
1606 def add_attribute(self, *args):
1608 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1609 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1610 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1611 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1612 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1613 add_attribute(XYZ self, ObjectKey a0, IMP::Object * a1)
1615 return _IMP_core.XYZ_add_attribute(self, *args)
1617 def get_value(self, *args):
1619 get_value(XYZ self, FloatKey a0) -> IMP::Float
1620 get_value(XYZ self, IntKey a0) -> IMP::Int
1621 get_value(XYZ self, StringKey a0) -> IMP::String
1622 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1623 get_value(XYZ self, ObjectKey a0) -> IMP::Object *
1625 return _IMP_core.XYZ_get_value(self, *args)
1627 def set_value(self, *args):
1629 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1630 set_value(XYZ self, IntKey a0, IMP::Int a1)
1631 set_value(XYZ self, StringKey a0, IMP::String a1)
1632 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1633 set_value(XYZ self, ObjectKey a0, IMP::Object * a1)
1635 return _IMP_core.XYZ_set_value(self, *args)
1637 def remove_attribute(self, *args):
1639 remove_attribute(XYZ self, FloatKey a0)
1640 remove_attribute(XYZ self, IntKey a0)
1641 remove_attribute(XYZ self, StringKey a0)
1642 remove_attribute(XYZ self, ParticleIndexKey a0)
1643 remove_attribute(XYZ self, ObjectKey a0)
1645 return _IMP_core.XYZ_remove_attribute(self, *args)
1647 def has_attribute(self, *args):
1649 has_attribute(XYZ self, FloatKey a0) -> bool
1650 has_attribute(XYZ self, IntKey a0) -> bool
1651 has_attribute(XYZ self, StringKey a0) -> bool
1652 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1653 has_attribute(XYZ self, ObjectKey a0) -> bool
1655 return _IMP_core.XYZ_has_attribute(self, *args)
1657 def get_derivative(self, *args):
1659 get_derivative(XYZ self, int i) -> IMP::Float
1660 get_derivative(XYZ self, FloatKey a0) -> double
1662 return _IMP_core.XYZ_get_derivative(self, *args)
1665 """get_name(XYZ self) -> std::string"""
1666 return _IMP_core.XYZ_get_name(self)
1668 def clear_caches(self):
1669 """clear_caches(XYZ self)"""
1670 return _IMP_core.XYZ_clear_caches(self)
1672 def set_name(self, *args):
1673 """set_name(XYZ self, std::string a0)"""
1674 return _IMP_core.XYZ_set_name(self, *args)
1677 """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1678 return _IMP_core.XYZ_set_check_level(self, *args)
1680 def add_to_derivative(self, *args):
1682 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1683 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1685 return _IMP_core.XYZ_add_to_derivative(self, *args)
1687 def set_is_optimized(self, *args):
1688 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1689 return _IMP_core.XYZ_set_is_optimized(self, *args)
1691 def get_is_optimized(self, *args):
1692 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1693 return _IMP_core.XYZ_get_is_optimized(self, *args)
1696 """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1697 return _IMP_core.XYZ_get_check_level(self)
1699 def __eq__(self, *args):
1701 __eq__(XYZ self, XYZ o) -> bool
1702 __eq__(XYZ self, Particle d) -> bool
1704 return _IMP_core.XYZ___eq__(self, *args)
1706 def __ne__(self, *args):
1708 __ne__(XYZ self, XYZ o) -> bool
1709 __ne__(XYZ self, Particle d) -> bool
1711 return _IMP_core.XYZ___ne__(self, *args)
1713 def __le__(self, *args):
1715 __le__(XYZ self, XYZ o) -> bool
1716 __le__(XYZ self, Particle d) -> bool
1718 return _IMP_core.XYZ___le__(self, *args)
1720 def __lt__(self, *args):
1722 __lt__(XYZ self, XYZ o) -> bool
1723 __lt__(XYZ self, Particle d) -> bool
1725 return _IMP_core.XYZ___lt__(self, *args)
1727 def __ge__(self, *args):
1729 __ge__(XYZ self, XYZ o) -> bool
1730 __ge__(XYZ self, Particle d) -> bool
1732 return _IMP_core.XYZ___ge__(self, *args)
1734 def __gt__(self, *args):
1736 __gt__(XYZ self, XYZ o) -> bool
1737 __gt__(XYZ self, Particle d) -> bool
1739 return _IMP_core.XYZ___gt__(self, *args)
1742 """__str__(XYZ self) -> std::string"""
1743 return _IMP_core.XYZ___str__(self)
1746 """__repr__(XYZ self) -> std::string"""
1747 return _IMP_core.XYZ___repr__(self)
1749 __swig_destroy__ = _IMP_core.delete_XYZ
1750 __del__ =
lambda self :
None;
1751 XYZ_swigregister = _IMP_core.XYZ_swigregister
1752 XYZ_swigregister(XYZ)
1754 def XYZ_get_coordinate_key(*args):
1755 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1756 return _IMP_core.XYZ_get_coordinate_key(*args)
1758 def XYZ_decorate_particle(*args):
1759 """XYZ_decorate_particle(Particle p) -> XYZ"""
1760 return _IMP_core.XYZ_decorate_particle(*args)
1762 def XYZ_particle_is_instance(*args):
1764 particle_is_instance(Particle p) -> bool
1765 XYZ_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1767 return _IMP_core.XYZ_particle_is_instance(*args)
1769 def XYZ_setup_particle(*args):
1771 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1772 setup_particle(_ParticleAdaptor decorator) -> XYZ
1773 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1774 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1776 return _IMP_core.XYZ_setup_particle(*args)
1778 def XYZ_get_is_setup(*args):
1780 get_is_setup(_ParticleAdaptor p) -> bool
1781 XYZ_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1783 return _IMP_core.XYZ_get_is_setup(*args)
1785 def XYZ_get_xyz_keys():
1786 """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1787 return _IMP_core.XYZ_get_xyz_keys()
1791 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1792 return _IMP_core.get_dihedral(*args)
1794 def get_vector_d_geometry(*args):
1795 """get_vector_d_geometry(XYZ d) -> Vector3D"""
1796 return _IMP_core.get_vector_d_geometry(*args)
1799 """set_vector_d_geometry(XYZ d, Vector3D v)"""
1800 return _IMP_core.set_vector_d_geometry(*args)
1802 """Proxy of C++ IMP::core::XYZR class"""
1803 __swig_setmethods__ = {}
1804 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1805 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZR, name, value)
1806 __swig_getmethods__ = {}
1807 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1808 __getattr__ =
lambda self, name: _swig_getattr(self, XYZR, name)
1809 def __init__(self, *args):
1811 __init__(IMP::core::XYZR self) -> XYZR
1812 __init__(IMP::core::XYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZR
1813 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1815 this = _IMP_core.new_XYZR(*args)
1816 try: self.this.append(this)
1817 except: self.this = this
1818 def decorate_particle(*args):
1819 """decorate_particle(Particle p) -> XYZR"""
1820 return _IMP_core.XYZR_decorate_particle(*args)
1822 if _newclass:decorate_particle = staticmethod(decorate_particle)
1823 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1824 def particle_is_instance(*args):
1826 particle_is_instance(Particle p) -> bool
1827 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1829 return _IMP_core.XYZR_particle_is_instance(*args)
1831 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1832 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1833 def show(self, *args):
1835 show(XYZR self, _ostream out=std::cout)
1838 return _IMP_core.XYZR_show(self, *args)
1840 def setup_particle(*args):
1842 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1843 setup_particle(_ParticleAdaptor decorator) -> XYZR
1844 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1845 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1846 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1847 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1849 return _IMP_core.XYZR_setup_particle(*args)
1851 if _newclass:setup_particle = staticmethod(setup_particle)
1852 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1853 def get_is_setup(*args):
1855 get_is_setup(_ParticleAdaptor p) -> bool
1856 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1858 return _IMP_core.XYZR_get_is_setup(*args)
1860 if _newclass:get_is_setup = staticmethod(get_is_setup)
1861 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1862 def get_radius(self):
1863 """get_radius(XYZR self) -> double"""
1864 return _IMP_core.XYZR_get_radius(self)
1866 def set_radius(self, *args):
1867 """set_radius(XYZR self, double r)"""
1868 return _IMP_core.XYZR_set_radius(self, *args)
1870 def get_sphere(self):
1871 """get_sphere(XYZR self) -> Sphere3D"""
1872 return _IMP_core.XYZR_get_sphere(self)
1874 def set_sphere(self, *args):
1875 """set_sphere(XYZR self, Sphere3D s)"""
1876 return _IMP_core.XYZR_set_sphere(self, *args)
1878 def get_radius_key():
1879 """get_radius_key() -> FloatKey"""
1880 return _IMP_core.XYZR_get_radius_key()
1882 if _newclass:get_radius_key = staticmethod(get_radius_key)
1883 __swig_getmethods__[
"get_radius_key"] =
lambda x: get_radius_key
1884 def add_to_radius_derivative(self, *args):
1885 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1886 return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1888 def add_attribute(self, *args):
1890 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1891 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1892 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1893 add_attribute(XYZR self, StringKey a0, IMP::String a1)
1894 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1895 add_attribute(XYZR self, ObjectKey a0, IMP::Object * a1)
1897 return _IMP_core.XYZR_add_attribute(self, *args)
1899 def get_value(self, *args):
1901 get_value(XYZR self, FloatKey a0) -> IMP::Float
1902 get_value(XYZR self, IntKey a0) -> IMP::Int
1903 get_value(XYZR self, StringKey a0) -> IMP::String
1904 get_value(XYZR self, ParticleIndexKey a0) -> Particle
1905 get_value(XYZR self, ObjectKey a0) -> IMP::Object *
1907 return _IMP_core.XYZR_get_value(self, *args)
1909 def set_value(self, *args):
1911 set_value(XYZR self, FloatKey a0, IMP::Float a1)
1912 set_value(XYZR self, IntKey a0, IMP::Int a1)
1913 set_value(XYZR self, StringKey a0, IMP::String a1)
1914 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1915 set_value(XYZR self, ObjectKey a0, IMP::Object * a1)
1917 return _IMP_core.XYZR_set_value(self, *args)
1919 def remove_attribute(self, *args):
1921 remove_attribute(XYZR self, FloatKey a0)
1922 remove_attribute(XYZR self, IntKey a0)
1923 remove_attribute(XYZR self, StringKey a0)
1924 remove_attribute(XYZR self, ParticleIndexKey a0)
1925 remove_attribute(XYZR self, ObjectKey a0)
1927 return _IMP_core.XYZR_remove_attribute(self, *args)
1929 def has_attribute(self, *args):
1931 has_attribute(XYZR self, FloatKey a0) -> bool
1932 has_attribute(XYZR self, IntKey a0) -> bool
1933 has_attribute(XYZR self, StringKey a0) -> bool
1934 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1935 has_attribute(XYZR self, ObjectKey a0) -> bool
1937 return _IMP_core.XYZR_has_attribute(self, *args)
1939 def get_derivative(self, *args):
1940 """get_derivative(XYZR self, FloatKey a0) -> double"""
1941 return _IMP_core.XYZR_get_derivative(self, *args)
1944 """get_name(XYZR self) -> std::string"""
1945 return _IMP_core.XYZR_get_name(self)
1947 def clear_caches(self):
1948 """clear_caches(XYZR self)"""
1949 return _IMP_core.XYZR_clear_caches(self)
1951 def set_name(self, *args):
1952 """set_name(XYZR self, std::string a0)"""
1953 return _IMP_core.XYZR_set_name(self, *args)
1956 """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1957 return _IMP_core.XYZR_set_check_level(self, *args)
1959 def add_to_derivative(self, *args):
1960 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1961 return _IMP_core.XYZR_add_to_derivative(self, *args)
1963 def set_is_optimized(self, *args):
1964 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1965 return _IMP_core.XYZR_set_is_optimized(self, *args)
1967 def get_is_optimized(self, *args):
1968 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1969 return _IMP_core.XYZR_get_is_optimized(self, *args)
1972 """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1973 return _IMP_core.XYZR_get_check_level(self)
1975 def __eq__(self, *args):
1977 __eq__(XYZR self, XYZR o) -> bool
1978 __eq__(XYZR self, Particle d) -> bool
1980 return _IMP_core.XYZR___eq__(self, *args)
1982 def __ne__(self, *args):
1984 __ne__(XYZR self, XYZR o) -> bool
1985 __ne__(XYZR self, Particle d) -> bool
1987 return _IMP_core.XYZR___ne__(self, *args)
1989 def __le__(self, *args):
1991 __le__(XYZR self, XYZR o) -> bool
1992 __le__(XYZR self, Particle d) -> bool
1994 return _IMP_core.XYZR___le__(self, *args)
1996 def __lt__(self, *args):
1998 __lt__(XYZR self, XYZR o) -> bool
1999 __lt__(XYZR self, Particle d) -> bool
2001 return _IMP_core.XYZR___lt__(self, *args)
2003 def __ge__(self, *args):
2005 __ge__(XYZR self, XYZR o) -> bool
2006 __ge__(XYZR self, Particle d) -> bool
2008 return _IMP_core.XYZR___ge__(self, *args)
2010 def __gt__(self, *args):
2012 __gt__(XYZR self, XYZR o) -> bool
2013 __gt__(XYZR self, Particle d) -> bool
2015 return _IMP_core.XYZR___gt__(self, *args)
2018 """__str__(XYZR self) -> std::string"""
2019 return _IMP_core.XYZR___str__(self)
2022 """__repr__(XYZR self) -> std::string"""
2023 return _IMP_core.XYZR___repr__(self)
2025 __swig_destroy__ = _IMP_core.delete_XYZR
2026 __del__ =
lambda self :
None;
2027 XYZR_swigregister = _IMP_core.XYZR_swigregister
2028 XYZR_swigregister(XYZR)
2030 def XYZR_decorate_particle(*args):
2031 """XYZR_decorate_particle(Particle p) -> XYZR"""
2032 return _IMP_core.XYZR_decorate_particle(*args)
2034 def XYZR_particle_is_instance(*args):
2036 particle_is_instance(Particle p) -> bool
2037 XYZR_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2039 return _IMP_core.XYZR_particle_is_instance(*args)
2041 def XYZR_setup_particle(*args):
2043 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
2044 setup_particle(_ParticleAdaptor decorator) -> XYZR
2045 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
2046 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2047 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
2048 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2050 return _IMP_core.XYZR_setup_particle(*args)
2052 def XYZR_get_is_setup(*args):
2054 get_is_setup(_ParticleAdaptor p) -> bool
2055 XYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2057 return _IMP_core.XYZR_get_is_setup(*args)
2059 def XYZR_get_radius_key():
2060 """XYZR_get_radius_key() -> FloatKey"""
2061 return _IMP_core.XYZR_get_radius_key()
2066 get_distance(XYZ a, XYZ b) -> double
2067 get_distance(XYZR a, XYZR b) -> double
2069 return _IMP_core.get_distance(*args)
2073 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2074 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2076 return _IMP_core.set_enclosing_sphere(*args)
2079 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2080 return _IMP_core.set_enclosing_radius(*args)
2083 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2084 return _IMP_core.get_enclosing_sphere(*args)
2088 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2089 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2091 return _IMP_core.create_xyzr_particles(*args)
2094 """get_sphere_d_geometry(XYZR d) -> Sphere3D"""
2095 return _IMP_core.get_sphere_d_geometry(*args)
2098 """set_sphere_d_geometry(XYZR d, Sphere3D v)"""
2099 return _IMP_core.set_sphere_d_geometry(*args)
2101 """Proxy of C++ IMP::core::XYZRGeometry class"""
2102 __swig_setmethods__ = {}
2104 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRGeometry, name, value)
2105 __swig_getmethods__ = {}
2107 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRGeometry, name)
2108 def __init__(self, *args):
2110 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2111 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2113 this = _IMP_core.new_XYZRGeometry(*args)
2114 try: self.this.append(this)
2115 except: self.this = this
2116 def get_version_info(self):
2117 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2118 return _IMP_core.XYZRGeometry_get_version_info(self)
2120 __swig_destroy__ = _IMP_core.delete_XYZRGeometry
2121 __del__ =
lambda self :
None;
2123 """__str__(XYZRGeometry self) -> std::string"""
2124 return _IMP_core.XYZRGeometry___str__(self)
2127 """__repr__(XYZRGeometry self) -> std::string"""
2128 return _IMP_core.XYZRGeometry___repr__(self)
2131 return _object_cast_to_XYZRGeometry(o)
2132 get_from = staticmethod(get_from)
2134 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2135 XYZRGeometry_swigregister(XYZRGeometry)
2138 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2139 __swig_setmethods__ = {}
2141 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRsGeometry, name, value)
2142 __swig_getmethods__ = {}
2144 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRsGeometry, name)
2145 def __init__(self, *args):
2146 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2147 this = _IMP_core.new_XYZRsGeometry(*args)
2148 try: self.this.append(this)
2149 except: self.this = this
2150 def get_version_info(self):
2151 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2152 return _IMP_core.XYZRsGeometry_get_version_info(self)
2154 __swig_destroy__ = _IMP_core.delete_XYZRsGeometry
2155 __del__ =
lambda self :
None;
2157 """__str__(XYZRsGeometry self) -> std::string"""
2158 return _IMP_core.XYZRsGeometry___str__(self)
2161 """__repr__(XYZRsGeometry self) -> std::string"""
2162 return _IMP_core.XYZRsGeometry___repr__(self)
2165 return _object_cast_to_XYZRsGeometry(o)
2166 get_from = staticmethod(get_from)
2168 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2169 XYZRsGeometry_swigregister(XYZRsGeometry)
2172 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2173 __swig_setmethods__ = {}
2175 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativeGeometry, name, value)
2176 __swig_getmethods__ = {}
2178 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativeGeometry, name)
2179 def __init__(self, *args):
2181 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2182 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2184 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2185 try: self.this.append(this)
2186 except: self.this = this
2187 def get_version_info(self):
2188 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2189 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2191 __swig_destroy__ = _IMP_core.delete_XYZDerivativeGeometry
2192 __del__ =
lambda self :
None;
2194 """__str__(XYZDerivativeGeometry self) -> std::string"""
2195 return _IMP_core.XYZDerivativeGeometry___str__(self)
2198 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2199 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2202 return _object_cast_to_XYZDerivativeGeometry(o)
2203 get_from = staticmethod(get_from)
2205 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2206 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2209 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2210 __swig_setmethods__ = {}
2212 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativesGeometry, name, value)
2213 __swig_getmethods__ = {}
2215 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativesGeometry, name)
2216 def __init__(self, *args):
2217 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2218 this = _IMP_core.new_XYZDerivativesGeometry(*args)
2219 try: self.this.append(this)
2220 except: self.this = this
2221 def get_version_info(self):
2222 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2223 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2225 __swig_destroy__ = _IMP_core.delete_XYZDerivativesGeometry
2226 __del__ =
lambda self :
None;
2228 """__str__(XYZDerivativesGeometry self) -> std::string"""
2229 return _IMP_core.XYZDerivativesGeometry___str__(self)
2232 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2233 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2236 return _object_cast_to_XYZDerivativesGeometry(o)
2237 get_from = staticmethod(get_from)
2239 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2240 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2243 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2244 __swig_setmethods__ = {}
2246 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairGeometry, name, value)
2247 __swig_getmethods__ = {}
2249 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairGeometry, name)
2250 def __init__(self, *args):
2251 """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2252 this = _IMP_core.new_EdgePairGeometry(*args)
2253 try: self.this.append(this)
2254 except: self.this = this
2255 def get_version_info(self):
2256 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2257 return _IMP_core.EdgePairGeometry_get_version_info(self)
2259 __swig_destroy__ = _IMP_core.delete_EdgePairGeometry
2260 __del__ =
lambda self :
None;
2262 """__str__(EdgePairGeometry self) -> std::string"""
2263 return _IMP_core.EdgePairGeometry___str__(self)
2266 """__repr__(EdgePairGeometry self) -> std::string"""
2267 return _IMP_core.EdgePairGeometry___repr__(self)
2270 return _object_cast_to_EdgePairGeometry(o)
2271 get_from = staticmethod(get_from)
2273 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2274 EdgePairGeometry_swigregister(EdgePairGeometry)
2277 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2278 __swig_setmethods__ = {}
2280 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairsGeometry, name, value)
2281 __swig_getmethods__ = {}
2283 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairsGeometry, name)
2284 def __init__(self, *args):
2285 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2286 this = _IMP_core.new_EdgePairsGeometry(*args)
2287 try: self.this.append(this)
2288 except: self.this = this
2289 def get_version_info(self):
2290 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2291 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2293 __swig_destroy__ = _IMP_core.delete_EdgePairsGeometry
2294 __del__ =
lambda self :
None;
2296 """__str__(EdgePairsGeometry self) -> std::string"""
2297 return _IMP_core.EdgePairsGeometry___str__(self)
2300 """__repr__(EdgePairsGeometry self) -> std::string"""
2301 return _IMP_core.EdgePairsGeometry___repr__(self)
2304 return _object_cast_to_EdgePairsGeometry(o)
2305 get_from = staticmethod(get_from)
2307 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2308 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2311 """Proxy of C++ IMP::core::AngleTripletScore class"""
2312 __swig_setmethods__ = {}
2314 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleTripletScore, name, value)
2315 __swig_getmethods__ = {}
2317 __getattr__ =
lambda self, name: _swig_getattr(self, AngleTripletScore, name)
2318 def __init__(self, *args):
2319 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2320 this = _IMP_core.new_AngleTripletScore(*args)
2321 try: self.this.append(this)
2322 except: self.this = this
2323 def do_get_inputs(self, *args):
2324 """do_get_inputs(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2325 return _IMP_core.AngleTripletScore_do_get_inputs(self, *args)
2327 def get_version_info(self):
2328 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2329 return _IMP_core.AngleTripletScore_get_version_info(self)
2331 __swig_destroy__ = _IMP_core.delete_AngleTripletScore
2332 __del__ =
lambda self :
None;
2334 """__str__(AngleTripletScore self) -> std::string"""
2335 return _IMP_core.AngleTripletScore___str__(self)
2338 """__repr__(AngleTripletScore self) -> std::string"""
2339 return _IMP_core.AngleTripletScore___repr__(self)
2342 return _object_cast_to_AngleTripletScore(o)
2343 get_from = staticmethod(get_from)
2345 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2346 AngleTripletScore_swigregister(AngleTripletScore)
2348 class BallMover(MonteCarloMover):
2349 """Proxy of C++ IMP::core::BallMover class"""
2350 __swig_setmethods__ = {}
2351 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2352 __setattr__ =
lambda self, name, value: _swig_setattr(self, BallMover, name, value)
2353 __swig_getmethods__ = {}
2354 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2355 __getattr__ =
lambda self, name: _swig_getattr(self, BallMover, name)
2356 def __init__(self, *args):
2358 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2359 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2360 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2361 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2363 this = _IMP_core.new_BallMover(*args)
2364 try: self.this.append(this)
2365 except: self.this = this
2366 def set_radius(self, *args):
2367 """set_radius(BallMover self, IMP::Float radius)"""
2368 return _IMP_core.BallMover_set_radius(self, *args)
2370 def get_radius(self):
2371 """get_radius(BallMover self) -> IMP::Float"""
2372 return _IMP_core.BallMover_get_radius(self)
2374 def get_version_info(self):
2375 """get_version_info(BallMover self) -> VersionInfo"""
2376 return _IMP_core.BallMover_get_version_info(self)
2378 __swig_destroy__ = _IMP_core.delete_BallMover
2379 __del__ =
lambda self :
None;
2381 """__str__(BallMover self) -> std::string"""
2382 return _IMP_core.BallMover___str__(self)
2385 """__repr__(BallMover self) -> std::string"""
2386 return _IMP_core.BallMover___repr__(self)
2389 return _object_cast_to_BallMover(o)
2390 get_from = staticmethod(get_from)
2392 BallMover_swigregister = _IMP_core.BallMover_swigregister
2393 BallMover_swigregister(BallMover)
2395 class SerialMover(MonteCarloMover):
2396 """Proxy of C++ IMP::core::SerialMover class"""
2397 __swig_setmethods__ = {}
2398 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2399 __setattr__ =
lambda self, name, value: _swig_setattr(self, SerialMover, name, value)
2400 __swig_getmethods__ = {}
2401 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2402 __getattr__ =
lambda self, name: _swig_getattr(self, SerialMover, name)
2403 def __init__(self, *args):
2404 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2405 this = _IMP_core.new_SerialMover(*args)
2406 try: self.this.append(this)
2407 except: self.this = this
2408 def get_movers(self):
2409 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2410 return _IMP_core.SerialMover_get_movers(self)
2412 def get_acceptance_probability(self, *args):
2413 """get_acceptance_probability(SerialMover self, int i) -> double"""
2414 return _IMP_core.SerialMover_get_acceptance_probability(self, *args)
2416 def reset_acceptance_probabilities(self):
2417 """reset_acceptance_probabilities(SerialMover self)"""
2418 return _IMP_core.SerialMover_reset_acceptance_probabilities(self)
2420 def get_number_of_movers(self):
2421 """get_number_of_movers(SerialMover self) -> unsigned int"""
2422 return _IMP_core.SerialMover_get_number_of_movers(self)
2424 def get_version_info(self):
2425 """get_version_info(SerialMover self) -> VersionInfo"""
2426 return _IMP_core.SerialMover_get_version_info(self)
2428 __swig_destroy__ = _IMP_core.delete_SerialMover
2429 __del__ =
lambda self :
None;
2431 """__str__(SerialMover self) -> std::string"""
2432 return _IMP_core.SerialMover___str__(self)
2435 """__repr__(SerialMover self) -> std::string"""
2436 return _IMP_core.SerialMover___repr__(self)
2439 return _object_cast_to_SerialMover(o)
2440 get_from = staticmethod(get_from)
2442 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2443 SerialMover_swigregister(SerialMover)
2445 class BoxSweepClosePairsFinder(ClosePairsFinder):
2446 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2447 __swig_setmethods__ = {}
2448 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2449 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoxSweepClosePairsFinder, name, value)
2450 __swig_getmethods__ = {}
2451 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2452 __getattr__ =
lambda self, name: _swig_getattr(self, BoxSweepClosePairsFinder, name)
2454 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2455 this = _IMP_core.new_BoxSweepClosePairsFinder()
2456 try: self.this.append(this)
2457 except: self.this = this
2458 def get_close_pairs(self, *args):
2460 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
2461 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
2462 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2463 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2464 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
2465 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
2467 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2469 def do_get_inputs(self, *args):
2470 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2471 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, *args)
2473 def get_version_info(self):
2474 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2475 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2477 __swig_destroy__ = _IMP_core.delete_BoxSweepClosePairsFinder
2478 __del__ =
lambda self :
None;
2480 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2481 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2484 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2485 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2488 return _object_cast_to_BoxSweepClosePairsFinder(o)
2489 get_from = staticmethod(get_from)
2491 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2492 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2495 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2496 __swig_setmethods__ = {}
2498 __setattr__ =
lambda self, name, value: _swig_setattr(self, CentroidOfRefined, name, value)
2499 __swig_getmethods__ = {}
2501 __getattr__ =
lambda self, name: _swig_getattr(self, CentroidOfRefined, name)
2502 def __init__(self, *args):
2504 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2505 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2506 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2508 this = _IMP_core.new_CentroidOfRefined(*args)
2509 try: self.this.append(this)
2510 except: self.this = this
2511 def do_get_inputs(self, *args):
2512 """do_get_inputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2513 return _IMP_core.CentroidOfRefined_do_get_inputs(self, *args)
2515 def do_get_outputs(self, *args):
2516 """do_get_outputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2517 return _IMP_core.CentroidOfRefined_do_get_outputs(self, *args)
2519 def get_version_info(self):
2520 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2521 return _IMP_core.CentroidOfRefined_get_version_info(self)
2523 __swig_destroy__ = _IMP_core.delete_CentroidOfRefined
2524 __del__ =
lambda self :
None;
2526 """__str__(CentroidOfRefined self) -> std::string"""
2527 return _IMP_core.CentroidOfRefined___str__(self)
2530 """__repr__(CentroidOfRefined self) -> std::string"""
2531 return _IMP_core.CentroidOfRefined___repr__(self)
2534 return _object_cast_to_CentroidOfRefined(o)
2535 get_from = staticmethod(get_from)
2537 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2538 CentroidOfRefined_swigregister(CentroidOfRefined)
2540 class Centroid(XYZ):
2541 """Proxy of C++ IMP::core::Centroid class"""
2542 __swig_setmethods__ = {}
2543 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2544 __setattr__ =
lambda self, name, value: _swig_setattr(self, Centroid, name, value)
2545 __swig_getmethods__ = {}
2546 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2547 __getattr__ =
lambda self, name: _swig_getattr(self, Centroid, name)
2548 def get_constraint(self):
2549 """get_constraint(Centroid self) -> Constraint"""
2550 return _IMP_core.Centroid_get_constraint(self)
2552 def do_setup_particle(*args):
2554 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
2555 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
2557 return _IMP_core.Centroid_do_setup_particle(*args)
2559 if _newclass:do_setup_particle = staticmethod(do_setup_particle)
2560 __swig_getmethods__[
"do_setup_particle"] =
lambda x: do_setup_particle
2561 def __init__(self, *args):
2563 __init__(IMP::core::Centroid self) -> Centroid
2564 __init__(IMP::core::Centroid self, Model m, ::IMP::kernel::ParticleIndex id) -> Centroid
2565 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2567 this = _IMP_core.new_Centroid(*args)
2568 try: self.this.append(this)
2569 except: self.this = this
2570 def decorate_particle(*args):
2571 """decorate_particle(Particle p) -> Centroid"""
2572 return _IMP_core.Centroid_decorate_particle(*args)
2574 if _newclass:decorate_particle = staticmethod(decorate_particle)
2575 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
2576 def particle_is_instance(*args):
2578 particle_is_instance(Particle p) -> bool
2579 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2581 return _IMP_core.Centroid_particle_is_instance(*args)
2583 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
2584 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
2585 def show(self, *args):
2587 show(Centroid self, _ostream out=std::cout)
2590 return _IMP_core.Centroid_show(self, *args)
2592 def setup_particle(*args):
2594 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2595 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2596 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2597 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2599 return _IMP_core.Centroid_setup_particle(*args)
2601 if _newclass:setup_particle = staticmethod(setup_particle)
2602 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
2603 def get_is_setup(*args):
2605 get_is_setup(_ParticleAdaptor p) -> bool
2606 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2608 return _IMP_core.Centroid_get_is_setup(*args)
2610 if _newclass:get_is_setup = staticmethod(get_is_setup)
2611 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
2612 def add_attribute(self, *args):
2614 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2615 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2616 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2617 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2618 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2619 add_attribute(Centroid self, ObjectKey a0, IMP::Object * a1)
2621 return _IMP_core.Centroid_add_attribute(self, *args)
2623 def get_value(self, *args):
2625 get_value(Centroid self, FloatKey a0) -> IMP::Float
2626 get_value(Centroid self, IntKey a0) -> IMP::Int
2627 get_value(Centroid self, StringKey a0) -> IMP::String
2628 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2629 get_value(Centroid self, ObjectKey a0) -> IMP::Object *
2631 return _IMP_core.Centroid_get_value(self, *args)
2633 def set_value(self, *args):
2635 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2636 set_value(Centroid self, IntKey a0, IMP::Int a1)
2637 set_value(Centroid self, StringKey a0, IMP::String a1)
2638 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2639 set_value(Centroid self, ObjectKey a0, IMP::Object * a1)
2641 return _IMP_core.Centroid_set_value(self, *args)
2643 def remove_attribute(self, *args):
2645 remove_attribute(Centroid self, FloatKey a0)
2646 remove_attribute(Centroid self, IntKey a0)
2647 remove_attribute(Centroid self, StringKey a0)
2648 remove_attribute(Centroid self, ParticleIndexKey a0)
2649 remove_attribute(Centroid self, ObjectKey a0)
2651 return _IMP_core.Centroid_remove_attribute(self, *args)
2653 def has_attribute(self, *args):
2655 has_attribute(Centroid self, FloatKey a0) -> bool
2656 has_attribute(Centroid self, IntKey a0) -> bool
2657 has_attribute(Centroid self, StringKey a0) -> bool
2658 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2659 has_attribute(Centroid self, ObjectKey a0) -> bool
2661 return _IMP_core.Centroid_has_attribute(self, *args)
2663 def get_derivative(self, *args):
2664 """get_derivative(Centroid self, FloatKey a0) -> double"""
2665 return _IMP_core.Centroid_get_derivative(self, *args)
2668 """get_name(Centroid self) -> std::string"""
2669 return _IMP_core.Centroid_get_name(self)
2671 def clear_caches(self):
2672 """clear_caches(Centroid self)"""
2673 return _IMP_core.Centroid_clear_caches(self)
2675 def set_name(self, *args):
2676 """set_name(Centroid self, std::string a0)"""
2677 return _IMP_core.Centroid_set_name(self, *args)
2680 """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2681 return _IMP_core.Centroid_set_check_level(self, *args)
2683 def add_to_derivative(self, *args):
2684 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2685 return _IMP_core.Centroid_add_to_derivative(self, *args)
2687 def set_is_optimized(self, *args):
2688 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2689 return _IMP_core.Centroid_set_is_optimized(self, *args)
2691 def get_is_optimized(self, *args):
2692 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2693 return _IMP_core.Centroid_get_is_optimized(self, *args)
2696 """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2697 return _IMP_core.Centroid_get_check_level(self)
2699 def __eq__(self, *args):
2701 __eq__(Centroid self, Centroid o) -> bool
2702 __eq__(Centroid self, Particle d) -> bool
2704 return _IMP_core.Centroid___eq__(self, *args)
2706 def __ne__(self, *args):
2708 __ne__(Centroid self, Centroid o) -> bool
2709 __ne__(Centroid self, Particle d) -> bool
2711 return _IMP_core.Centroid___ne__(self, *args)
2713 def __le__(self, *args):
2715 __le__(Centroid self, Centroid o) -> bool
2716 __le__(Centroid self, Particle d) -> bool
2718 return _IMP_core.Centroid___le__(self, *args)
2720 def __lt__(self, *args):
2722 __lt__(Centroid self, Centroid o) -> bool
2723 __lt__(Centroid self, Particle d) -> bool
2725 return _IMP_core.Centroid___lt__(self, *args)
2727 def __ge__(self, *args):
2729 __ge__(Centroid self, Centroid o) -> bool
2730 __ge__(Centroid self, Particle d) -> bool
2732 return _IMP_core.Centroid___ge__(self, *args)
2734 def __gt__(self, *args):
2736 __gt__(Centroid self, Centroid o) -> bool
2737 __gt__(Centroid self, Particle d) -> bool
2739 return _IMP_core.Centroid___gt__(self, *args)
2742 """__str__(Centroid self) -> std::string"""
2743 return _IMP_core.Centroid___str__(self)
2746 """__repr__(Centroid self) -> std::string"""
2747 return _IMP_core.Centroid___repr__(self)
2749 __swig_destroy__ = _IMP_core.delete_Centroid
2750 __del__ =
lambda self :
None;
2751 Centroid_swigregister = _IMP_core.Centroid_swigregister
2752 Centroid_swigregister(Centroid)
2754 def Centroid_do_setup_particle(*args):
2756 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
2757 Centroid_do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
2759 return _IMP_core.Centroid_do_setup_particle(*args)
2761 def Centroid_decorate_particle(*args):
2762 """Centroid_decorate_particle(Particle p) -> Centroid"""
2763 return _IMP_core.Centroid_decorate_particle(*args)
2765 def Centroid_particle_is_instance(*args):
2767 particle_is_instance(Particle p) -> bool
2768 Centroid_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2770 return _IMP_core.Centroid_particle_is_instance(*args)
2772 def Centroid_setup_particle(*args):
2774 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2775 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2776 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2777 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2779 return _IMP_core.Centroid_setup_particle(*args)
2781 def Centroid_get_is_setup(*args):
2783 get_is_setup(_ParticleAdaptor p) -> bool
2784 Centroid_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2786 return _IMP_core.Centroid_get_is_setup(*args)
2789 """Proxy of C++ IMP::core::ChecksScoreState class"""
2790 __swig_setmethods__ = {}
2792 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChecksScoreState, name, value)
2793 __swig_getmethods__ = {}
2795 __getattr__ =
lambda self, name: _swig_getattr(self, ChecksScoreState, name)
2796 def __init__(self, *args):
2798 __init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState
2799 __init__(IMP::core::ChecksScoreState self, double probability) -> ChecksScoreState
2801 this = _IMP_core.new_ChecksScoreState(*args)
2802 try: self.this.append(this)
2803 except: self.this = this
2804 def get_number_of_checked(self):
2805 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2806 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2808 def do_before_evaluate(self):
2809 """do_before_evaluate(ChecksScoreState self)"""
2810 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2812 def do_after_evaluate(self, *args):
2813 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2814 return _IMP_core.ChecksScoreState_do_after_evaluate(self, *args)
2816 def do_get_outputs(self):
2817 """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2818 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2820 def do_get_inputs(self):
2821 """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2822 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2824 def get_version_info(self):
2825 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2826 return _IMP_core.ChecksScoreState_get_version_info(self)
2828 __swig_destroy__ = _IMP_core.delete_ChecksScoreState
2829 __del__ =
lambda self :
None;
2831 """__str__(ChecksScoreState self) -> std::string"""
2832 return _IMP_core.ChecksScoreState___str__(self)
2835 """__repr__(ChecksScoreState self) -> std::string"""
2836 return _IMP_core.ChecksScoreState___repr__(self)
2839 return _object_cast_to_ChecksScoreState(o)
2840 get_from = staticmethod(get_from)
2842 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2843 ChecksScoreState_swigregister(ChecksScoreState)
2846 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2847 __swig_setmethods__ = {}
2848 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2849 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChildrenRefiner, name, value)
2850 __swig_getmethods__ = {}
2851 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2852 __getattr__ =
lambda self, name: _swig_getattr(self, ChildrenRefiner, name)
2853 def __init__(self, *args):
2854 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2855 this = _IMP_core.new_ChildrenRefiner(*args)
2856 try: self.this.append(this)
2857 except: self.this = this
2858 def do_get_inputs(self, *args):
2859 """do_get_inputs(ChildrenRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2860 return _IMP_core.ChildrenRefiner_do_get_inputs(self, *args)
2862 def get_version_info(self):
2863 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2864 return _IMP_core.ChildrenRefiner_get_version_info(self)
2866 __swig_destroy__ = _IMP_core.delete_ChildrenRefiner
2867 __del__ =
lambda self :
None;
2869 """__str__(ChildrenRefiner self) -> std::string"""
2870 return _IMP_core.ChildrenRefiner___str__(self)
2873 """__repr__(ChildrenRefiner self) -> std::string"""
2874 return _IMP_core.ChildrenRefiner___repr__(self)
2877 return _object_cast_to_ChildrenRefiner(o)
2878 get_from = staticmethod(get_from)
2880 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2881 ChildrenRefiner_swigregister(ChildrenRefiner)
2884 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2885 __swig_setmethods__ = {}
2887 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosedCubicSpline, name, value)
2888 __swig_getmethods__ = {}
2890 __getattr__ =
lambda self, name: _swig_getattr(self, ClosedCubicSpline, name)
2891 def __init__(self, *args):
2892 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2893 this = _IMP_core.new_ClosedCubicSpline(*args)
2894 try: self.this.append(this)
2895 except: self.this = this
2896 def get_version_info(self):
2897 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2898 return _IMP_core.ClosedCubicSpline_get_version_info(self)
2900 __swig_destroy__ = _IMP_core.delete_ClosedCubicSpline
2901 __del__ =
lambda self :
None;
2902 def do_show(self, *args):
2903 """do_show(ClosedCubicSpline self, _ostream out)"""
2904 return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2907 """__str__(ClosedCubicSpline self) -> std::string"""
2908 return _IMP_core.ClosedCubicSpline___str__(self)
2911 """__repr__(ClosedCubicSpline self) -> std::string"""
2912 return _IMP_core.ClosedCubicSpline___repr__(self)
2915 return _object_cast_to_ClosedCubicSpline(o)
2916 get_from = staticmethod(get_from)
2918 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2919 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2922 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2923 __swig_setmethods__ = {}
2924 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2925 __setattr__ =
lambda self, name, value: _swig_setattr(self, KClosePairsPairScore, name, value)
2926 __swig_getmethods__ = {}
2927 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2928 __getattr__ =
lambda self, name: _swig_getattr(self, KClosePairsPairScore, name)
2929 def __init__(self, *args):
2931 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2932 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2934 this = _IMP_core.new_KClosePairsPairScore(*args)
2935 try: self.this.append(this)
2936 except: self.this = this
2937 def get_close_pairs(self, *args):
2938 """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2939 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
2941 def create_current_decomposition(self, *args):
2942 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2943 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
2945 def do_get_inputs(self, *args):
2946 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2947 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, *args)
2949 def get_version_info(self):
2950 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
2951 return _IMP_core.KClosePairsPairScore_get_version_info(self)
2953 __swig_destroy__ = _IMP_core.delete_KClosePairsPairScore
2954 __del__ =
lambda self :
None;
2956 """__str__(KClosePairsPairScore self) -> std::string"""
2957 return _IMP_core.KClosePairsPairScore___str__(self)
2960 """__repr__(KClosePairsPairScore self) -> std::string"""
2961 return _IMP_core.KClosePairsPairScore___repr__(self)
2964 return _object_cast_to_KClosePairsPairScore(o)
2965 get_from = staticmethod(get_from)
2967 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
2968 KClosePairsPairScore_swigregister(KClosePairsPairScore)
2971 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
2972 __swig_setmethods__ = {}
2973 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2974 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsPairScore, name, value)
2975 __swig_getmethods__ = {}
2976 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2977 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsPairScore, name)
2978 def __init__(self, *args):
2979 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
2980 this = _IMP_core.new_ClosePairsPairScore(*args)
2981 try: self.this.append(this)
2982 except: self.this = this
2983 def get_close_pairs(self, *args):
2984 """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2985 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
2987 def create_current_decomposition(self, *args):
2988 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2989 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
2991 def do_get_inputs(self, *args):
2992 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2993 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, *args)
2995 def get_version_info(self):
2996 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
2997 return _IMP_core.ClosePairsPairScore_get_version_info(self)
2999 __swig_destroy__ = _IMP_core.delete_ClosePairsPairScore
3000 __del__ =
lambda self :
None;
3002 """__str__(ClosePairsPairScore self) -> std::string"""
3003 return _IMP_core.ClosePairsPairScore___str__(self)
3006 """__repr__(ClosePairsPairScore self) -> std::string"""
3007 return _IMP_core.ClosePairsPairScore___repr__(self)
3010 return _object_cast_to_ClosePairsPairScore(o)
3011 get_from = staticmethod(get_from)
3013 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3014 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3017 """Proxy of C++ IMP::core::ConjugateGradients class"""
3018 __swig_setmethods__ = {}
3020 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConjugateGradients, name, value)
3021 __swig_getmethods__ = {}
3023 __getattr__ =
lambda self, name: _swig_getattr(self, ConjugateGradients, name)
3024 def __init__(self, *args):
3026 __init__(IMP::core::ConjugateGradients self) -> ConjugateGradients
3027 __init__(IMP::core::ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
3028 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3030 this = _IMP_core.new_ConjugateGradients(*args)
3031 try: self.this.append(this)
3032 except: self.this = this
3033 def set_gradient_threshold(self, *args):
3034 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3035 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
3037 def set_threshold(self, *args):
3038 """set_threshold(ConjugateGradients self, IMP::Float t)"""
3039 return _IMP_core.ConjugateGradients_set_threshold(self, *args)
3041 def set_max_change(self, *args):
3042 """set_max_change(ConjugateGradients self, IMP::Float t)"""
3043 return _IMP_core.ConjugateGradients_set_max_change(self, *args)
3045 def do_optimize(self, *args):
3046 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3047 return _IMP_core.ConjugateGradients_do_optimize(self, *args)
3049 def get_version_info(self):
3050 """get_version_info(ConjugateGradients self) -> VersionInfo"""
3051 return _IMP_core.ConjugateGradients_get_version_info(self)
3053 __swig_destroy__ = _IMP_core.delete_ConjugateGradients
3054 __del__ =
lambda self :
None;
3056 """__str__(ConjugateGradients self) -> std::string"""
3057 return _IMP_core.ConjugateGradients___str__(self)
3060 """__repr__(ConjugateGradients self) -> std::string"""
3061 return _IMP_core.ConjugateGradients___repr__(self)
3064 return _object_cast_to_ConjugateGradients(o)
3065 get_from = staticmethod(get_from)
3067 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3068 ConjugateGradients_swigregister(ConjugateGradients)
3071 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3072 __swig_setmethods__ = {}
3073 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3074 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnectivityRestraint, name, value)
3075 __swig_getmethods__ = {}
3076 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3077 __getattr__ =
lambda self, name: _swig_getattr(self, ConnectivityRestraint, name)
3078 def __init__(self, *args):
3080 __init__(IMP::core::ConnectivityRestraint self, PairScore ps, SingletonContainer sc) -> ConnectivityRestraint
3081 __init__(IMP::core::ConnectivityRestraint self, PairScore ps) -> ConnectivityRestraint
3083 this = _IMP_core.new_ConnectivityRestraint(*args)
3084 try: self.this.append(this)
3085 except: self.this = this
3087 """add_particle(ConnectivityRestraint self, Particle p)"""
3088 return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
3091 """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3092 return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
3094 def set_particles(self, *args):
3095 """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3096 return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
3098 def get_connected_pairs(self):
3099 """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
3100 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3102 def get_pair_score(self):
3103 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3104 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3106 def do_create_current_decomposition(self):
3107 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
3108 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3110 def do_get_inputs(self):
3111 """do_get_inputs(ConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3112 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3114 def get_version_info(self):
3115 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3116 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3118 __swig_destroy__ = _IMP_core.delete_ConnectivityRestraint
3119 __del__ =
lambda self :
None;
3121 """__str__(ConnectivityRestraint self) -> std::string"""
3122 return _IMP_core.ConnectivityRestraint___str__(self)
3125 """__repr__(ConnectivityRestraint self) -> std::string"""
3126 return _IMP_core.ConnectivityRestraint___repr__(self)
3129 return _object_cast_to_ConnectivityRestraint(o)
3130 get_from = staticmethod(get_from)
3132 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3133 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3136 """Proxy of C++ IMP::core::ConstantRestraint class"""
3137 __swig_setmethods__ = {}
3138 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3139 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantRestraint, name, value)
3140 __swig_getmethods__ = {}
3141 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3142 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantRestraint, name)
3143 def __init__(self, *args):
3144 """__init__(IMP::core::ConstantRestraint self, IMP::Float v) -> ConstantRestraint"""
3145 this = _IMP_core.new_ConstantRestraint(*args)
3146 try: self.this.append(this)
3147 except: self.this = this
3148 def do_get_inputs(self):
3149 """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3150 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3152 def get_version_info(self):
3153 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3154 return _IMP_core.ConstantRestraint_get_version_info(self)
3156 __swig_destroy__ = _IMP_core.delete_ConstantRestraint
3157 __del__ =
lambda self :
None;
3159 """__str__(ConstantRestraint self) -> std::string"""
3160 return _IMP_core.ConstantRestraint___str__(self)
3163 """__repr__(ConstantRestraint self) -> std::string"""
3164 return _IMP_core.ConstantRestraint___repr__(self)
3167 return _object_cast_to_ConstantRestraint(o)
3168 get_from = staticmethod(get_from)
3170 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3171 ConstantRestraint_swigregister(ConstantRestraint)
3174 """Proxy of C++ IMP::core::Cosine class"""
3175 __swig_setmethods__ = {}
3177 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cosine, name, value)
3178 __swig_getmethods__ = {}
3180 __getattr__ =
lambda self, name: _swig_getattr(self, Cosine, name)
3181 def __init__(self, *args):
3182 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3183 this = _IMP_core.new_Cosine(*args)
3184 try: self.this.append(this)
3185 except: self.this = this
3186 def get_version_info(self):
3187 """get_version_info(Cosine self) -> VersionInfo"""
3188 return _IMP_core.Cosine_get_version_info(self)
3190 __swig_destroy__ = _IMP_core.delete_Cosine
3191 __del__ =
lambda self :
None;
3192 def do_show(self, *args):
3193 """do_show(Cosine self, _ostream out)"""
3194 return _IMP_core.Cosine_do_show(self, *args)
3197 """__str__(Cosine self) -> std::string"""
3198 return _IMP_core.Cosine___str__(self)
3201 """__repr__(Cosine self) -> std::string"""
3202 return _IMP_core.Cosine___repr__(self)
3205 return _object_cast_to_Cosine(o)
3206 get_from = staticmethod(get_from)
3208 Cosine_swigregister = _IMP_core.Cosine_swigregister
3209 Cosine_swigregister(Cosine)
3212 """Proxy of C++ IMP::core::CoverRefined class"""
3213 __swig_setmethods__ = {}
3215 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoverRefined, name, value)
3216 __swig_getmethods__ = {}
3218 __getattr__ =
lambda self, name: _swig_getattr(self, CoverRefined, name)
3219 def __init__(self, *args):
3221 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3222 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3224 this = _IMP_core.new_CoverRefined(*args)
3225 try: self.this.append(this)
3226 except: self.this = this
3227 def set_slack(self, *args):
3228 """set_slack(CoverRefined self, IMP::Float slack)"""
3229 return _IMP_core.CoverRefined_set_slack(self, *args)
3231 def do_get_inputs(self, *args):
3232 """do_get_inputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3233 return _IMP_core.CoverRefined_do_get_inputs(self, *args)
3235 def do_get_outputs(self, *args):
3236 """do_get_outputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3237 return _IMP_core.CoverRefined_do_get_outputs(self, *args)
3239 def get_version_info(self):
3240 """get_version_info(CoverRefined self) -> VersionInfo"""
3241 return _IMP_core.CoverRefined_get_version_info(self)
3243 __swig_destroy__ = _IMP_core.delete_CoverRefined
3244 __del__ =
lambda self :
None;
3246 """__str__(CoverRefined self) -> std::string"""
3247 return _IMP_core.CoverRefined___str__(self)
3250 """__repr__(CoverRefined self) -> std::string"""
3251 return _IMP_core.CoverRefined___repr__(self)
3254 return _object_cast_to_CoverRefined(o)
3255 get_from = staticmethod(get_from)
3257 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3258 CoverRefined_swigregister(CoverRefined)
3261 """Proxy of C++ IMP::core::Cover class"""
3262 __swig_setmethods__ = {}
3263 for _s
in [XYZR]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3264 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cover, name, value)
3265 __swig_getmethods__ = {}
3266 for _s
in [XYZR]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3267 __getattr__ =
lambda self, name: _swig_getattr(self, Cover, name)
3268 def get_constraint(self):
3269 """get_constraint(Cover self) -> Constraint"""
3270 return _IMP_core.Cover_get_constraint(self)
3272 def do_setup_particle(*args):
3274 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
3275 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
3277 return _IMP_core.Cover_do_setup_particle(*args)
3279 if _newclass:do_setup_particle = staticmethod(do_setup_particle)
3280 __swig_getmethods__[
"do_setup_particle"] =
lambda x: do_setup_particle
3281 def __init__(self, *args):
3283 __init__(IMP::core::Cover self) -> Cover
3284 __init__(IMP::core::Cover self, Model m, ::IMP::kernel::ParticleIndex id) -> Cover
3285 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3287 this = _IMP_core.new_Cover(*args)
3288 try: self.this.append(this)
3289 except: self.this = this
3290 def decorate_particle(*args):
3291 """decorate_particle(Particle p) -> Cover"""
3292 return _IMP_core.Cover_decorate_particle(*args)
3294 if _newclass:decorate_particle = staticmethod(decorate_particle)
3295 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3296 def particle_is_instance(*args):
3298 particle_is_instance(Particle p) -> bool
3299 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3301 return _IMP_core.Cover_particle_is_instance(*args)
3303 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3304 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
3305 def show(self, *args):
3307 show(Cover self, _ostream out=std::cout)
3310 return _IMP_core.Cover_show(self, *args)
3312 def setup_particle(*args):
3314 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3315 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3316 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3317 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3319 return _IMP_core.Cover_setup_particle(*args)
3321 if _newclass:setup_particle = staticmethod(setup_particle)
3322 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3323 def get_is_setup(*args):
3325 get_is_setup(_ParticleAdaptor p) -> bool
3326 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3328 return _IMP_core.Cover_get_is_setup(*args)
3330 if _newclass:get_is_setup = staticmethod(get_is_setup)
3331 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3332 def add_attribute(self, *args):
3334 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3335 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3336 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3337 add_attribute(Cover self, StringKey a0, IMP::String a1)
3338 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3339 add_attribute(Cover self, ObjectKey a0, IMP::Object * a1)
3341 return _IMP_core.Cover_add_attribute(self, *args)
3343 def get_value(self, *args):
3345 get_value(Cover self, FloatKey a0) -> IMP::Float
3346 get_value(Cover self, IntKey a0) -> IMP::Int
3347 get_value(Cover self, StringKey a0) -> IMP::String
3348 get_value(Cover self, ParticleIndexKey a0) -> Particle
3349 get_value(Cover self, ObjectKey a0) -> IMP::Object *
3351 return _IMP_core.Cover_get_value(self, *args)
3353 def set_value(self, *args):
3355 set_value(Cover self, FloatKey a0, IMP::Float a1)
3356 set_value(Cover self, IntKey a0, IMP::Int a1)
3357 set_value(Cover self, StringKey a0, IMP::String a1)
3358 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3359 set_value(Cover self, ObjectKey a0, IMP::Object * a1)
3361 return _IMP_core.Cover_set_value(self, *args)
3363 def remove_attribute(self, *args):
3365 remove_attribute(Cover self, FloatKey a0)
3366 remove_attribute(Cover self, IntKey a0)
3367 remove_attribute(Cover self, StringKey a0)
3368 remove_attribute(Cover self, ParticleIndexKey a0)
3369 remove_attribute(Cover self, ObjectKey a0)
3371 return _IMP_core.Cover_remove_attribute(self, *args)
3373 def has_attribute(self, *args):
3375 has_attribute(Cover self, FloatKey a0) -> bool
3376 has_attribute(Cover self, IntKey a0) -> bool
3377 has_attribute(Cover self, StringKey a0) -> bool
3378 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3379 has_attribute(Cover self, ObjectKey a0) -> bool
3381 return _IMP_core.Cover_has_attribute(self, *args)
3383 def get_derivative(self, *args):
3384 """get_derivative(Cover self, FloatKey a0) -> double"""
3385 return _IMP_core.Cover_get_derivative(self, *args)
3388 """get_name(Cover self) -> std::string"""
3389 return _IMP_core.Cover_get_name(self)
3391 def clear_caches(self):
3392 """clear_caches(Cover self)"""
3393 return _IMP_core.Cover_clear_caches(self)
3395 def set_name(self, *args):
3396 """set_name(Cover self, std::string a0)"""
3397 return _IMP_core.Cover_set_name(self, *args)
3400 """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3401 return _IMP_core.Cover_set_check_level(self, *args)
3403 def add_to_derivative(self, *args):
3404 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3405 return _IMP_core.Cover_add_to_derivative(self, *args)
3407 def set_is_optimized(self, *args):
3408 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3409 return _IMP_core.Cover_set_is_optimized(self, *args)
3411 def get_is_optimized(self, *args):
3412 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3413 return _IMP_core.Cover_get_is_optimized(self, *args)
3416 """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3417 return _IMP_core.Cover_get_check_level(self)
3419 def __eq__(self, *args):
3421 __eq__(Cover self, Cover o) -> bool
3422 __eq__(Cover self, Particle d) -> bool
3424 return _IMP_core.Cover___eq__(self, *args)
3426 def __ne__(self, *args):
3428 __ne__(Cover self, Cover o) -> bool
3429 __ne__(Cover self, Particle d) -> bool
3431 return _IMP_core.Cover___ne__(self, *args)
3433 def __le__(self, *args):
3435 __le__(Cover self, Cover o) -> bool
3436 __le__(Cover self, Particle d) -> bool
3438 return _IMP_core.Cover___le__(self, *args)
3440 def __lt__(self, *args):
3442 __lt__(Cover self, Cover o) -> bool
3443 __lt__(Cover self, Particle d) -> bool
3445 return _IMP_core.Cover___lt__(self, *args)
3447 def __ge__(self, *args):
3449 __ge__(Cover self, Cover o) -> bool
3450 __ge__(Cover self, Particle d) -> bool
3452 return _IMP_core.Cover___ge__(self, *args)
3454 def __gt__(self, *args):
3456 __gt__(Cover self, Cover o) -> bool
3457 __gt__(Cover self, Particle d) -> bool
3459 return _IMP_core.Cover___gt__(self, *args)
3462 """__str__(Cover self) -> std::string"""
3463 return _IMP_core.Cover___str__(self)
3466 """__repr__(Cover self) -> std::string"""
3467 return _IMP_core.Cover___repr__(self)
3469 __swig_destroy__ = _IMP_core.delete_Cover
3470 __del__ =
lambda self :
None;
3471 Cover_swigregister = _IMP_core.Cover_swigregister
3472 Cover_swigregister(Cover)
3474 def Cover_do_setup_particle(*args):
3476 do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
3477 Cover_do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
3479 return _IMP_core.Cover_do_setup_particle(*args)
3481 def Cover_decorate_particle(*args):
3482 """Cover_decorate_particle(Particle p) -> Cover"""
3483 return _IMP_core.Cover_decorate_particle(*args)
3485 def Cover_particle_is_instance(*args):
3487 particle_is_instance(Particle p) -> bool
3488 Cover_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3490 return _IMP_core.Cover_particle_is_instance(*args)
3492 def Cover_setup_particle(*args):
3494 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3495 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3496 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3497 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3499 return _IMP_core.Cover_setup_particle(*args)
3501 def Cover_get_is_setup(*args):
3503 get_is_setup(_ParticleAdaptor p) -> bool
3504 Cover_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3506 return _IMP_core.Cover_get_is_setup(*args)
3509 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3510 __swig_setmethods__ = {}
3512 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesFromRefined, name, value)
3513 __swig_getmethods__ = {}
3515 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesFromRefined, name)
3516 def __init__(self, *args):
3518 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3519 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3521 this = _IMP_core.new_DerivativesFromRefined(*args)
3522 try: self.this.append(this)
3523 except: self.this = this
3524 def do_get_inputs(self, *args):
3525 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3526 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, *args)
3528 def do_get_outputs(self, *args):
3529 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3530 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, *args)
3532 def get_version_info(self):
3533 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3534 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3536 __swig_destroy__ = _IMP_core.delete_DerivativesFromRefined
3537 __del__ =
lambda self :
None;
3539 """__str__(DerivativesFromRefined self) -> std::string"""
3540 return _IMP_core.DerivativesFromRefined___str__(self)
3543 """__repr__(DerivativesFromRefined self) -> std::string"""
3544 return _IMP_core.DerivativesFromRefined___repr__(self)
3547 return _object_cast_to_DerivativesFromRefined(o)
3548 get_from = staticmethod(get_from)
3550 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3551 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3554 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3555 __swig_setmethods__ = {}
3557 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesToRefined, name, value)
3558 __swig_getmethods__ = {}
3560 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesToRefined, name)
3561 def __init__(self, *args):
3563 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3564 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3566 this = _IMP_core.new_DerivativesToRefined(*args)
3567 try: self.this.append(this)
3568 except: self.this = this
3569 def do_get_inputs(self, *args):
3570 """do_get_inputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3571 return _IMP_core.DerivativesToRefined_do_get_inputs(self, *args)
3573 def do_get_outputs(self, *args):
3574 """do_get_outputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3575 return _IMP_core.DerivativesToRefined_do_get_outputs(self, *args)
3577 def get_version_info(self):
3578 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3579 return _IMP_core.DerivativesToRefined_get_version_info(self)
3581 __swig_destroy__ = _IMP_core.delete_DerivativesToRefined
3582 __del__ =
lambda self :
None;
3584 """__str__(DerivativesToRefined self) -> std::string"""
3585 return _IMP_core.DerivativesToRefined___str__(self)
3588 """__repr__(DerivativesToRefined self) -> std::string"""
3589 return _IMP_core.DerivativesToRefined___repr__(self)
3592 return _object_cast_to_DerivativesToRefined(o)
3593 get_from = staticmethod(get_from)
3595 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3596 DerivativesToRefined_swigregister(DerivativesToRefined)
3599 """Proxy of C++ IMP::core::DiameterRestraint class"""
3600 __swig_setmethods__ = {}
3601 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3602 __setattr__ =
lambda self, name, value: _swig_setattr(self, DiameterRestraint, name, value)
3603 __swig_getmethods__ = {}
3604 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3605 __getattr__ =
lambda self, name: _swig_getattr(self, DiameterRestraint, name)
3606 def __init__(self, *args):
3607 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3608 this = _IMP_core.new_DiameterRestraint(*args)
3609 try: self.this.append(this)
3610 except: self.this = this
3611 def do_get_inputs(self):
3612 """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3613 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3615 def get_version_info(self):
3616 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3617 return _IMP_core.DiameterRestraint_get_version_info(self)
3619 __swig_destroy__ = _IMP_core.delete_DiameterRestraint
3620 __del__ =
lambda self :
None;
3621 def do_create_decomposition(self):
3622 """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3623 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3625 def do_create_current_decomposition(self):
3626 """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3627 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3630 """__str__(DiameterRestraint self) -> std::string"""
3631 return _IMP_core.DiameterRestraint___str__(self)
3634 """__repr__(DiameterRestraint self) -> std::string"""
3635 return _IMP_core.DiameterRestraint___repr__(self)
3638 return _object_cast_to_DiameterRestraint(o)
3639 get_from = staticmethod(get_from)
3641 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3642 DiameterRestraint_swigregister(DiameterRestraint)
3645 """Proxy of C++ IMP::core::Transform class"""
3646 __swig_setmethods__ = {}
3648 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transform, name, value)
3649 __swig_getmethods__ = {}
3651 __getattr__ =
lambda self, name: _swig_getattr(self, Transform, name)
3652 def __init__(self, *args):
3654 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3655 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3657 this = _IMP_core.new_Transform(*args)
3658 try: self.this.append(this)
3659 except: self.this = this
3660 def do_get_inputs(self, *args):
3661 """do_get_inputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3662 return _IMP_core.Transform_do_get_inputs(self, *args)
3664 def do_get_outputs(self, *args):
3665 """do_get_outputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3666 return _IMP_core.Transform_do_get_outputs(self, *args)
3668 def get_version_info(self):
3669 """get_version_info(Transform self) -> VersionInfo"""
3670 return _IMP_core.Transform_get_version_info(self)
3672 __swig_destroy__ = _IMP_core.delete_Transform
3673 __del__ =
lambda self :
None;
3675 """__str__(Transform self) -> std::string"""
3676 return _IMP_core.Transform___str__(self)
3679 """__repr__(Transform self) -> std::string"""
3680 return _IMP_core.Transform___repr__(self)
3683 return _object_cast_to_Transform(o)
3684 get_from = staticmethod(get_from)
3686 Transform_swigregister = _IMP_core.Transform_swigregister
3687 Transform_swigregister(Transform)
3690 """Proxy of C++ IMP::core::Reference class"""
3691 __swig_setmethods__ = {}
3692 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3693 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reference, name, value)
3694 __swig_getmethods__ = {}
3695 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3696 __getattr__ =
lambda self, name: _swig_getattr(self, Reference, name)
3697 def __init__(self, *args):
3699 __init__(IMP::core::Reference self) -> Reference
3700 __init__(IMP::core::Reference self, Model m, ::IMP::kernel::ParticleIndex id) -> Reference
3701 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3703 this = _IMP_core.new_Reference(*args)
3704 try: self.this.append(this)
3705 except: self.this = this
3706 def decorate_particle(*args):
3707 """decorate_particle(Particle p) -> Reference"""
3708 return _IMP_core.Reference_decorate_particle(*args)
3710 if _newclass:decorate_particle = staticmethod(decorate_particle)
3711 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3712 def particle_is_instance(*args):
3714 particle_is_instance(Particle p) -> bool
3715 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3717 return _IMP_core.Reference_particle_is_instance(*args)
3719 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3720 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
3721 def show(self, *args):
3723 show(Reference self, _ostream out=std::cout)
3724 show(Reference self)
3726 return _IMP_core.Reference_show(self, *args)
3728 def setup_particle(*args):
3730 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3731 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3733 return _IMP_core.Reference_setup_particle(*args)
3735 if _newclass:setup_particle = staticmethod(setup_particle)
3736 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3737 def get_reference_particle(self):
3738 """get_reference_particle(Reference self) -> Particle"""
3739 return _IMP_core.Reference_get_reference_particle(self)
3741 def get_is_setup(*args):
3743 get_is_setup(_ParticleAdaptor p) -> bool
3744 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3746 return _IMP_core.Reference_get_is_setup(*args)
3748 if _newclass:get_is_setup = staticmethod(get_is_setup)
3749 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3750 def get_reference_key():
3751 """get_reference_key() -> ParticleIndexKey"""
3752 return _IMP_core.Reference_get_reference_key()
3754 if _newclass:get_reference_key = staticmethod(get_reference_key)
3755 __swig_getmethods__[
"get_reference_key"] =
lambda x: get_reference_key
3756 def add_attribute(self, *args):
3758 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3759 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3760 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3761 add_attribute(Reference self, StringKey a0, IMP::String a1)
3762 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3763 add_attribute(Reference self, ObjectKey a0, IMP::Object * a1)
3765 return _IMP_core.Reference_add_attribute(self, *args)
3767 def get_value(self, *args):
3769 get_value(Reference self, FloatKey a0) -> IMP::Float
3770 get_value(Reference self, IntKey a0) -> IMP::Int
3771 get_value(Reference self, StringKey a0) -> IMP::String
3772 get_value(Reference self, ParticleIndexKey a0) -> Particle
3773 get_value(Reference self, ObjectKey a0) -> IMP::Object *
3775 return _IMP_core.Reference_get_value(self, *args)
3777 def set_value(self, *args):
3779 set_value(Reference self, FloatKey a0, IMP::Float a1)
3780 set_value(Reference self, IntKey a0, IMP::Int a1)
3781 set_value(Reference self, StringKey a0, IMP::String a1)
3782 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3783 set_value(Reference self, ObjectKey a0, IMP::Object * a1)
3785 return _IMP_core.Reference_set_value(self, *args)
3787 def remove_attribute(self, *args):
3789 remove_attribute(Reference self, FloatKey a0)
3790 remove_attribute(Reference self, IntKey a0)
3791 remove_attribute(Reference self, StringKey a0)
3792 remove_attribute(Reference self, ParticleIndexKey a0)
3793 remove_attribute(Reference self, ObjectKey a0)
3795 return _IMP_core.Reference_remove_attribute(self, *args)
3797 def has_attribute(self, *args):
3799 has_attribute(Reference self, FloatKey a0) -> bool
3800 has_attribute(Reference self, IntKey a0) -> bool
3801 has_attribute(Reference self, StringKey a0) -> bool
3802 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3803 has_attribute(Reference self, ObjectKey a0) -> bool
3805 return _IMP_core.Reference_has_attribute(self, *args)
3807 def get_derivative(self, *args):
3808 """get_derivative(Reference self, FloatKey a0) -> double"""
3809 return _IMP_core.Reference_get_derivative(self, *args)
3812 """get_name(Reference self) -> std::string"""
3813 return _IMP_core.Reference_get_name(self)
3815 def clear_caches(self):
3816 """clear_caches(Reference self)"""
3817 return _IMP_core.Reference_clear_caches(self)
3819 def set_name(self, *args):
3820 """set_name(Reference self, std::string a0)"""
3821 return _IMP_core.Reference_set_name(self, *args)
3824 """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3825 return _IMP_core.Reference_set_check_level(self, *args)
3827 def add_to_derivative(self, *args):
3828 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3829 return _IMP_core.Reference_add_to_derivative(self, *args)
3831 def set_is_optimized(self, *args):
3832 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3833 return _IMP_core.Reference_set_is_optimized(self, *args)
3835 def get_is_optimized(self, *args):
3836 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3837 return _IMP_core.Reference_get_is_optimized(self, *args)
3840 """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3841 return _IMP_core.Reference_get_check_level(self)
3843 def __eq__(self, *args):
3845 __eq__(Reference self, Reference o) -> bool
3846 __eq__(Reference self, Particle d) -> bool
3848 return _IMP_core.Reference___eq__(self, *args)
3850 def __ne__(self, *args):
3852 __ne__(Reference self, Reference o) -> bool
3853 __ne__(Reference self, Particle d) -> bool
3855 return _IMP_core.Reference___ne__(self, *args)
3857 def __le__(self, *args):
3859 __le__(Reference self, Reference o) -> bool
3860 __le__(Reference self, Particle d) -> bool
3862 return _IMP_core.Reference___le__(self, *args)
3864 def __lt__(self, *args):
3866 __lt__(Reference self, Reference o) -> bool
3867 __lt__(Reference self, Particle d) -> bool
3869 return _IMP_core.Reference___lt__(self, *args)
3871 def __ge__(self, *args):
3873 __ge__(Reference self, Reference o) -> bool
3874 __ge__(Reference self, Particle d) -> bool
3876 return _IMP_core.Reference___ge__(self, *args)
3878 def __gt__(self, *args):
3880 __gt__(Reference self, Reference o) -> bool
3881 __gt__(Reference self, Particle d) -> bool
3883 return _IMP_core.Reference___gt__(self, *args)
3886 """__str__(Reference self) -> std::string"""
3887 return _IMP_core.Reference___str__(self)
3890 """__repr__(Reference self) -> std::string"""
3891 return _IMP_core.Reference___repr__(self)
3893 __swig_destroy__ = _IMP_core.delete_Reference
3894 __del__ =
lambda self :
None;
3895 Reference_swigregister = _IMP_core.Reference_swigregister
3896 Reference_swigregister(Reference)
3898 def Reference_decorate_particle(*args):
3899 """Reference_decorate_particle(Particle p) -> Reference"""
3900 return _IMP_core.Reference_decorate_particle(*args)
3902 def Reference_particle_is_instance(*args):
3904 particle_is_instance(Particle p) -> bool
3905 Reference_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3907 return _IMP_core.Reference_particle_is_instance(*args)
3909 def Reference_setup_particle(*args):
3911 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3912 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3914 return _IMP_core.Reference_setup_particle(*args)
3916 def Reference_get_is_setup(*args):
3918 get_is_setup(_ParticleAdaptor p) -> bool
3919 Reference_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3921 return _IMP_core.Reference_get_is_setup(*args)
3923 def Reference_get_reference_key():
3924 """Reference_get_reference_key() -> ParticleIndexKey"""
3925 return _IMP_core.Reference_get_reference_key()
3928 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3929 __swig_setmethods__ = {}
3931 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationAndReflectionSymmetry, name, value)
3932 __swig_getmethods__ = {}
3934 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationAndReflectionSymmetry, name)
3935 def __init__(self, *args):
3936 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3937 this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3938 try: self.this.append(this)
3939 except: self.this = this
3940 def do_get_inputs(self, *args):
3941 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3942 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, *args)
3944 def do_get_outputs(self, *args):
3945 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3946 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, *args)
3948 def get_version_info(self):
3949 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3950 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3952 __swig_destroy__ = _IMP_core.delete_TransformationAndReflectionSymmetry
3953 __del__ =
lambda self :
None;
3955 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3956 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3959 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3960 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3963 return _object_cast_to_TransformationAndReflectionSymmetry(o)
3964 get_from = staticmethod(get_from)
3966 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3967 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3970 """Proxy of C++ IMP::core::TransformationSymmetry class"""
3971 __swig_setmethods__ = {}
3973 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationSymmetry, name, value)
3974 __swig_getmethods__ = {}
3976 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationSymmetry, name)
3977 def __init__(self, *args):
3978 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3979 this = _IMP_core.new_TransformationSymmetry(*args)
3980 try: self.this.append(this)
3981 except: self.this = this
3982 def do_get_inputs(self, *args):
3983 """do_get_inputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3984 return _IMP_core.TransformationSymmetry_do_get_inputs(self, *args)
3986 def do_get_outputs(self, *args):
3987 """do_get_outputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3988 return _IMP_core.TransformationSymmetry_do_get_outputs(self, *args)
3990 def get_version_info(self):
3991 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3992 return _IMP_core.TransformationSymmetry_get_version_info(self)
3994 __swig_destroy__ = _IMP_core.delete_TransformationSymmetry
3995 __del__ =
lambda self :
None;
3997 """__str__(TransformationSymmetry self) -> std::string"""
3998 return _IMP_core.TransformationSymmetry___str__(self)
4001 """__repr__(TransformationSymmetry self) -> std::string"""
4002 return _IMP_core.TransformationSymmetry___repr__(self)
4005 return _object_cast_to_TransformationSymmetry(o)
4006 get_from = staticmethod(get_from)
4008 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
4009 TransformationSymmetry_swigregister(TransformationSymmetry)
4012 """Proxy of C++ IMP::core::DihedralRestraint class"""
4013 __swig_setmethods__ = {}
4014 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4015 __setattr__ =
lambda self, name, value: _swig_setattr(self, DihedralRestraint, name, value)
4016 __swig_getmethods__ = {}
4017 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4018 __getattr__ =
lambda self, name: _swig_getattr(self, DihedralRestraint, name)
4019 def __init__(self, *args):
4020 """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
4021 this = _IMP_core.new_DihedralRestraint(*args)
4022 try: self.this.append(this)
4023 except: self.this = this
4024 def do_get_inputs(self):
4025 """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4026 return _IMP_core.DihedralRestraint_do_get_inputs(self)
4028 def get_version_info(self):
4029 """get_version_info(DihedralRestraint self) -> VersionInfo"""
4030 return _IMP_core.DihedralRestraint_get_version_info(self)
4032 __swig_destroy__ = _IMP_core.delete_DihedralRestraint
4033 __del__ =
lambda self :
None;
4035 """__str__(DihedralRestraint self) -> std::string"""
4036 return _IMP_core.DihedralRestraint___str__(self)
4039 """__repr__(DihedralRestraint self) -> std::string"""
4040 return _IMP_core.DihedralRestraint___repr__(self)
4043 return _object_cast_to_DihedralRestraint(o)
4044 get_from = staticmethod(get_from)
4046 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4047 DihedralRestraint_swigregister(DihedralRestraint)
4050 """Proxy of C++ IMP::core::DistancePairScore class"""
4051 __swig_setmethods__ = {}
4052 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4053 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistancePairScore, name, value)
4054 __swig_getmethods__ = {}
4055 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4056 __getattr__ =
lambda self, name: _swig_getattr(self, DistancePairScore, name)
4057 def __init__(self, *args):
4059 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
4060 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4062 this = _IMP_core.new_DistancePairScore(*args)
4063 try: self.this.append(this)
4064 except: self.this = this
4065 def do_get_inputs(self, *args):
4066 """do_get_inputs(DistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4067 return _IMP_core.DistancePairScore_do_get_inputs(self, *args)
4069 def get_version_info(self):
4070 """get_version_info(DistancePairScore self) -> VersionInfo"""
4071 return _IMP_core.DistancePairScore_get_version_info(self)
4073 __swig_destroy__ = _IMP_core.delete_DistancePairScore
4074 __del__ =
lambda self :
None;
4076 """__str__(DistancePairScore self) -> std::string"""
4077 return _IMP_core.DistancePairScore___str__(self)
4080 """__repr__(DistancePairScore self) -> std::string"""
4081 return _IMP_core.DistancePairScore___repr__(self)
4084 return _object_cast_to_DistancePairScore(o)
4085 get_from = staticmethod(get_from)
4087 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4088 DistancePairScore_swigregister(DistancePairScore)
4091 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4092 __swig_setmethods__ = {}
4093 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4094 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicDistancePairScore, name, value)
4095 __swig_getmethods__ = {}
4096 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4097 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicDistancePairScore, name)
4098 def __init__(self, *args):
4100 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
4101 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4103 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4104 try: self.this.append(this)
4105 except: self.this = this
4106 def do_get_inputs(self, *args):
4107 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4108 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, *args)
4110 def get_version_info(self):
4111 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4112 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4114 __swig_destroy__ = _IMP_core.delete_HarmonicDistancePairScore
4115 __del__ =
lambda self :
None;
4117 """__str__(HarmonicDistancePairScore self) -> std::string"""
4118 return _IMP_core.HarmonicDistancePairScore___str__(self)
4121 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4122 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4125 return _object_cast_to_HarmonicDistancePairScore(o)
4126 get_from = staticmethod(get_from)
4128 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4129 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4132 """Proxy of C++ IMP::core::DistanceRestraint class"""
4133 __swig_setmethods__ = {}
4134 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4135 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceRestraint, name, value)
4136 __swig_getmethods__ = {}
4137 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4138 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceRestraint, name)
4139 def __init__(self, *args):
4140 """__init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint"""
4141 this = _IMP_core.new_DistanceRestraint(*args)
4142 try: self.this.append(this)
4143 except: self.this = this
4144 def get_version_info(self):
4145 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4146 return _IMP_core.DistanceRestraint_get_version_info(self)
4148 __swig_destroy__ = _IMP_core.delete_DistanceRestraint
4149 __del__ =
lambda self :
None;
4151 """__str__(DistanceRestraint self) -> std::string"""
4152 return _IMP_core.DistanceRestraint___str__(self)
4155 """__repr__(DistanceRestraint self) -> std::string"""
4156 return _IMP_core.DistanceRestraint___repr__(self)
4159 return _object_cast_to_DistanceRestraint(o)
4160 get_from = staticmethod(get_from)
4162 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4163 DistanceRestraint_swigregister(DistanceRestraint)
4166 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4167 __swig_setmethods__ = {}
4169 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistanceToSingletonScore, name, value)
4170 __swig_getmethods__ = {}
4172 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistanceToSingletonScore, name)
4173 def __init__(self, *args):
4174 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4175 this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
4176 try: self.this.append(this)
4177 except: self.this = this
4178 def do_get_inputs(self, *args):
4179 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4180 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, *args)
4182 def get_version_info(self):
4183 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4184 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4186 __swig_destroy__ = _IMP_core.delete_SphereDistanceToSingletonScore
4187 __del__ =
lambda self :
None;
4189 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4190 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4193 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4194 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4197 return _object_cast_to_SphereDistanceToSingletonScore(o)
4198 get_from = staticmethod(get_from)
4200 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4201 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4204 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4205 __swig_setmethods__ = {}
4206 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4207 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExcludedVolumeRestraint, name, value)
4208 __swig_getmethods__ = {}
4209 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4210 __getattr__ =
lambda self, name: _swig_getattr(self, ExcludedVolumeRestraint, name)
4211 def __init__(self, *args):
4213 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
4214 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4215 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4216 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4218 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4219 try: self.this.append(this)
4220 except: self.this = this
4221 def do_get_inputs(self):
4222 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4223 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4225 def get_version_info(self):
4226 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4227 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4229 __swig_destroy__ = _IMP_core.delete_ExcludedVolumeRestraint
4230 __del__ =
lambda self :
None;
4231 def do_create_decomposition(self):
4232 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4233 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4235 def do_create_current_decomposition(self):
4236 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4237 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4240 """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
4241 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4243 def remove_pair_filter(self, *args):
4244 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4245 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
4247 def remove_pair_filters(self, *args):
4248 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
4249 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
4251 def set_pair_filters(self, *args):
4252 """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
4253 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
4255 def set_pair_filters_order(self, *args):
4256 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4257 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
4259 def add_pair_filter(self, *args):
4260 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4261 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
4263 def add_pair_filters(self, *args):
4264 """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4265 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
4267 def clear_pair_filters(self):
4268 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4269 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4271 def get_number_of_pair_filters(self):
4272 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4273 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4275 def get_has_pair_filters(self):
4276 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4277 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4279 def get_pair_filter(self, *args):
4280 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4281 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
4283 def get_pair_filters(self):
4284 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
4285 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4287 def reserve_pair_filters(self, *args):
4288 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4289 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
4292 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4293 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4296 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4297 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4300 return _object_cast_to_ExcludedVolumeRestraint(o)
4301 get_from = staticmethod(get_from)
4303 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4304 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4307 """Proxy of C++ IMP::core::FixedRefiner class"""
4308 __swig_setmethods__ = {}
4309 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4310 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedRefiner, name, value)
4311 __swig_getmethods__ = {}
4312 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4313 __getattr__ =
lambda self, name: _swig_getattr(self, FixedRefiner, name)
4314 def __init__(self, *args):
4315 """__init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner"""
4316 this = _IMP_core.new_FixedRefiner(*args)
4317 try: self.this.append(this)
4318 except: self.this = this
4319 def do_get_inputs(self, *args):
4320 """do_get_inputs(FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4321 return _IMP_core.FixedRefiner_do_get_inputs(self, *args)
4323 def get_version_info(self):
4324 """get_version_info(FixedRefiner self) -> VersionInfo"""
4325 return _IMP_core.FixedRefiner_get_version_info(self)
4327 __swig_destroy__ = _IMP_core.delete_FixedRefiner
4328 __del__ =
lambda self :
None;
4330 """__str__(FixedRefiner self) -> std::string"""
4331 return _IMP_core.FixedRefiner___str__(self)
4334 """__repr__(FixedRefiner self) -> std::string"""
4335 return _IMP_core.FixedRefiner___repr__(self)
4338 return _object_cast_to_FixedRefiner(o)
4339 get_from = staticmethod(get_from)
4341 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4342 FixedRefiner_swigregister(FixedRefiner)
4344 class GridClosePairsFinder(ClosePairsFinder):
4345 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4346 __swig_setmethods__ = {}
4347 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4348 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridClosePairsFinder, name, value)
4349 __swig_getmethods__ = {}
4350 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4351 __getattr__ =
lambda self, name: _swig_getattr(self, GridClosePairsFinder, name)
4353 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4354 this = _IMP_core.new_GridClosePairsFinder()
4355 try: self.this.append(this)
4356 except: self.this = this
4357 def get_close_pairs(self, *args):
4359 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
4360 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
4361 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4362 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4363 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4364 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4366 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4368 def do_get_inputs(self, *args):
4369 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4370 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, *args)
4372 def get_version_info(self):
4373 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4374 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4376 __swig_destroy__ = _IMP_core.delete_GridClosePairsFinder
4377 __del__ =
lambda self :
None;
4379 """__str__(GridClosePairsFinder self) -> std::string"""
4380 return _IMP_core.GridClosePairsFinder___str__(self)
4383 """__repr__(GridClosePairsFinder self) -> std::string"""
4384 return _IMP_core.GridClosePairsFinder___repr__(self)
4387 return _object_cast_to_GridClosePairsFinder(o)
4388 get_from = staticmethod(get_from)
4390 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4391 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4394 """Proxy of C++ IMP::core::Harmonic class"""
4395 __swig_setmethods__ = {}
4397 __setattr__ =
lambda self, name, value: _swig_setattr(self, Harmonic, name, value)
4398 __swig_getmethods__ = {}
4400 __getattr__ =
lambda self, name: _swig_getattr(self, Harmonic, name)
4401 def __init__(self, *args):
4402 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4403 this = _IMP_core.new_Harmonic(*args)
4404 try: self.this.append(this)
4405 except: self.this = this
4406 def get_version_info(self):
4407 """get_version_info(Harmonic self) -> VersionInfo"""
4408 return _IMP_core.Harmonic_get_version_info(self)
4410 __swig_destroy__ = _IMP_core.delete_Harmonic
4411 __del__ =
lambda self :
None;
4413 """get_mean(Harmonic self) -> IMP::Float"""
4414 return _IMP_core.Harmonic_get_mean(self)
4417 """get_k(Harmonic self) -> IMP::Float"""
4418 return _IMP_core.Harmonic_get_k(self)
4420 def set_mean(self, *args):
4421 """set_mean(Harmonic self, IMP::Float mean)"""
4422 return _IMP_core.Harmonic_set_mean(self, *args)
4424 def set_k(self, *args):
4425 """set_k(Harmonic self, IMP::Float k)"""
4426 return _IMP_core.Harmonic_set_k(self, *args)
4428 def get_k_from_standard_deviation(*args):
4430 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4431 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4433 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4435 if _newclass:get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4436 __swig_getmethods__[
"get_k_from_standard_deviation"] =
lambda x: get_k_from_standard_deviation
4438 """__str__(Harmonic self) -> std::string"""
4439 return _IMP_core.Harmonic___str__(self)
4442 """__repr__(Harmonic self) -> std::string"""
4443 return _IMP_core.Harmonic___repr__(self)
4446 return _object_cast_to_Harmonic(o)
4447 get_from = staticmethod(get_from)
4449 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4450 Harmonic_swigregister(Harmonic)
4452 def Harmonic_get_k_from_standard_deviation(*args):
4454 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4455 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4457 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4460 """Proxy of C++ IMP::core::HarmonicWell class"""
4461 __swig_setmethods__ = {}
4463 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicWell, name, value)
4464 __swig_getmethods__ = {}
4466 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicWell, name)
4467 def __init__(self, *args):
4468 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4469 this = _IMP_core.new_HarmonicWell(*args)
4470 try: self.this.append(this)
4471 except: self.this = this
4472 def get_version_info(self):
4473 """get_version_info(HarmonicWell self) -> VersionInfo"""
4474 return _IMP_core.HarmonicWell_get_version_info(self)
4476 __swig_destroy__ = _IMP_core.delete_HarmonicWell
4477 __del__ =
lambda self :
None;
4479 """__str__(HarmonicWell self) -> std::string"""
4480 return _IMP_core.HarmonicWell___str__(self)
4483 """__repr__(HarmonicWell self) -> std::string"""
4484 return _IMP_core.HarmonicWell___repr__(self)
4487 return _object_cast_to_HarmonicWell(o)
4488 get_from = staticmethod(get_from)
4490 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4491 HarmonicWell_swigregister(HarmonicWell)
4493 class HarmonicLowerBound(Harmonic):
4494 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4495 __swig_setmethods__ = {}
4496 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4497 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicLowerBound, name, value)
4498 __swig_getmethods__ = {}
4499 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4500 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicLowerBound, name)
4501 def __init__(self, *args):
4502 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4503 this = _IMP_core.new_HarmonicLowerBound(*args)
4504 try: self.this.append(this)
4505 except: self.this = this
4506 __swig_destroy__ = _IMP_core.delete_HarmonicLowerBound
4507 __del__ =
lambda self :
None;
4509 """__str__(HarmonicLowerBound self) -> std::string"""
4510 return _IMP_core.HarmonicLowerBound___str__(self)
4513 """__repr__(HarmonicLowerBound self) -> std::string"""
4514 return _IMP_core.HarmonicLowerBound___repr__(self)
4517 return _object_cast_to_HarmonicLowerBound(o)
4518 get_from = staticmethod(get_from)
4520 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4521 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4523 class HarmonicUpperBound(Harmonic):
4524 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4525 __swig_setmethods__ = {}
4526 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4527 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBound, name, value)
4528 __swig_getmethods__ = {}
4529 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4530 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBound, name)
4531 def __init__(self, *args):
4532 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4533 this = _IMP_core.new_HarmonicUpperBound(*args)
4534 try: self.this.append(this)
4535 except: self.this = this
4536 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBound
4537 __del__ =
lambda self :
None;
4539 """__str__(HarmonicUpperBound self) -> std::string"""
4540 return _IMP_core.HarmonicUpperBound___str__(self)
4543 """__repr__(HarmonicUpperBound self) -> std::string"""
4544 return _IMP_core.HarmonicUpperBound___repr__(self)
4547 return _object_cast_to_HarmonicUpperBound(o)
4548 get_from = staticmethod(get_from)
4550 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4551 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4554 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4555 __swig_setmethods__ = {}
4556 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4557 __setattr__ =
lambda self, name, value: _swig_setattr(self, MSConnectivityRestraint, name, value)
4558 __swig_getmethods__ = {}
4559 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4560 __getattr__ =
lambda self, name: _swig_getattr(self, MSConnectivityRestraint, name)
4561 def __init__(self, *args):
4563 __init__(IMP::core::MSConnectivityRestraint self, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4564 __init__(IMP::core::MSConnectivityRestraint self, PairScore ps) -> MSConnectivityRestraint
4566 this = _IMP_core.new_MSConnectivityRestraint(*args)
4567 try: self.this.append(this)
4568 except: self.this = this
4569 def add_type(self, *args):
4570 """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4571 return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4573 def add_composite(self, *args):
4575 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4576 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4578 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4580 def get_connected_pairs(self):
4581 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4582 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4584 def get_pair_score(self):
4585 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4586 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4588 def do_create_current_decomposition(self):
4589 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4590 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4592 def do_get_inputs(self):
4593 """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4594 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4596 def get_version_info(self):
4597 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4598 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4600 __swig_destroy__ = _IMP_core.delete_MSConnectivityRestraint
4601 __del__ =
lambda self :
None;
4603 """__str__(MSConnectivityRestraint self) -> std::string"""
4604 return _IMP_core.MSConnectivityRestraint___str__(self)
4607 """__repr__(MSConnectivityRestraint self) -> std::string"""
4608 return _IMP_core.MSConnectivityRestraint___repr__(self)
4611 return _object_cast_to_MSConnectivityRestraint(o)
4612 get_from = staticmethod(get_from)
4614 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4615 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4617 class HierarchyTraits(_object):
4618 """Proxy of C++ IMP::core::HierarchyTraits class"""
4619 __swig_setmethods__ = {}
4620 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyTraits, name, value)
4621 __swig_getmethods__ = {}
4622 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyTraits, name)
4623 def __init__(self, *args):
4625 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4626 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4628 this = _IMP_core.new_HierarchyTraits(*args)
4629 try: self.this.append(this)
4630 except: self.this = this
4631 def get_children_key(self):
4632 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4633 return _IMP_core.HierarchyTraits_get_children_key(self)
4635 def get_parent_key(self):
4636 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4637 return _IMP_core.HierarchyTraits_get_parent_key(self)
4639 def __eq__(self, *args):
4640 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4641 return _IMP_core.HierarchyTraits___eq__(self, *args)
4643 def show(self, *args):
4645 show(HierarchyTraits self, _ostream out=std::cout)
4646 show(HierarchyTraits self)
4648 return _IMP_core.HierarchyTraits_show(self, *args)
4651 """__str__(HierarchyTraits self) -> std::string"""
4652 return _IMP_core.HierarchyTraits___str__(self)
4655 """__repr__(HierarchyTraits self) -> std::string"""
4656 return _IMP_core.HierarchyTraits___repr__(self)
4658 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4659 __del__ =
lambda self :
None;
4660 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4661 HierarchyTraits_swigregister(HierarchyTraits)
4664 """Proxy of C++ IMP::core::Hierarchy class"""
4665 __swig_setmethods__ = {}
4666 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4667 __setattr__ =
lambda self, name, value: _swig_setattr(self, Hierarchy, name, value)
4668 __swig_getmethods__ = {}
4669 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4670 __getattr__ =
lambda self, name: _swig_getattr(self, Hierarchy, name)
4671 def get_decorator_traits(self):
4672 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4673 return _IMP_core.Hierarchy_get_decorator_traits(self)
4675 def get_default_decorator_traits():
4676 """get_default_decorator_traits() -> HierarchyTraits"""
4677 return _IMP_core.Hierarchy_get_default_decorator_traits()
4679 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4680 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
4681 def __init__(self, *args):
4683 __init__(IMP::core::Hierarchy self) -> Hierarchy
4684 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4685 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id) -> Hierarchy
4686 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4687 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4689 this = _IMP_core.new_Hierarchy(*args)
4690 try: self.this.append(this)
4691 except: self.this = this
4692 def decorate_particle(*args):
4694 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4695 decorate_particle(Particle p) -> Hierarchy
4697 return _IMP_core.Hierarchy_decorate_particle(*args)
4699 if _newclass:decorate_particle = staticmethod(decorate_particle)
4700 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
4701 def particle_is_instance(*args):
4703 particle_is_instance(Particle p, HierarchyTraits tr=get_default_traits()) -> bool
4704 particle_is_instance(Particle p) -> bool
4705 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=get_default_traits()) -> bool
4706 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
4708 return _IMP_core.Hierarchy_particle_is_instance(*args)
4710 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
4711 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
4712 def show(self, *args):
4714 show(Hierarchy self, _ostream out=std::cout)
4715 show(Hierarchy self)
4717 return _IMP_core.Hierarchy_show(self, *args)
4719 def setup_particle(*args):
4721 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4722 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4723 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4724 setup_particle(_ParticleAdaptor d) -> Hierarchy
4725 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4726 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4727 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4728 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4729 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4730 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4731 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4732 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4734 return _IMP_core.Hierarchy_setup_particle(*args)
4736 if _newclass:setup_particle = staticmethod(setup_particle)
4737 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
4738 def get_is_setup(*args):
4740 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4741 get_is_setup(_ParticleAdaptor p) -> bool
4742 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4743 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4745 return _IMP_core.Hierarchy_get_is_setup(*args)
4747 if _newclass:get_is_setup = staticmethod(get_is_setup)
4748 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
4749 def get_parent(self):
4750 """get_parent(Hierarchy self) -> Hierarchy"""
4751 return _IMP_core.Hierarchy_get_parent(self)
4753 def get_number_of_children(self):
4754 """get_number_of_children(Hierarchy self) -> unsigned int"""
4755 return _IMP_core.Hierarchy_get_number_of_children(self)
4757 def get_child(self, *args):
4758 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4759 return _IMP_core.Hierarchy_get_child(self, *args)
4761 def get_children(self):
4762 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4763 return _IMP_core.Hierarchy_get_children(self)
4765 def remove_child(self, *args):
4767 remove_child(Hierarchy self, unsigned int i)
4768 remove_child(Hierarchy self, Hierarchy h)
4770 return _IMP_core.Hierarchy_remove_child(self, *args)
4772 def clear_children(self):
4773 """clear_children(Hierarchy self)"""
4774 return _IMP_core.Hierarchy_clear_children(self)
4776 def add_child(self, *args):
4777 """add_child(Hierarchy self, Hierarchy h)"""
4778 return _IMP_core.Hierarchy_add_child(self, *args)
4780 def add_child_at(self, *args):
4781 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4782 return _IMP_core.Hierarchy_add_child_at(self, *args)
4784 def get_child_index(self, *args):
4786 get_child_index(Hierarchy self, unsigned int i) -> IMP::kernel::ParticleIndex
4787 get_child_index(Hierarchy self) -> int
4789 return _IMP_core.Hierarchy_get_child_index(self, *args)
4791 def get_default_traits():
4792 """get_default_traits() -> HierarchyTraits"""
4793 return _IMP_core.Hierarchy_get_default_traits()
4795 if _newclass:get_default_traits = staticmethod(get_default_traits)
4796 __swig_getmethods__[
"get_default_traits"] =
lambda x: get_default_traits
4797 def get_traits(self):
4798 """get_traits(Hierarchy self) -> HierarchyTraits"""
4799 return _IMP_core.Hierarchy_get_traits(self)
4801 def add_attribute(self, *args):
4803 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4804 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4805 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4806 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4807 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4808 add_attribute(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4810 return _IMP_core.Hierarchy_add_attribute(self, *args)
4812 def get_value(self, *args):
4814 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4815 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4816 get_value(Hierarchy self, StringKey a0) -> IMP::String
4817 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4818 get_value(Hierarchy self, ObjectKey a0) -> IMP::Object *
4820 return _IMP_core.Hierarchy_get_value(self, *args)
4822 def set_value(self, *args):
4824 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4825 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4826 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4827 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4828 set_value(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4830 return _IMP_core.Hierarchy_set_value(self, *args)
4832 def remove_attribute(self, *args):
4834 remove_attribute(Hierarchy self, FloatKey a0)
4835 remove_attribute(Hierarchy self, IntKey a0)
4836 remove_attribute(Hierarchy self, StringKey a0)
4837 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4838 remove_attribute(Hierarchy self, ObjectKey a0)
4840 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4842 def has_attribute(self, *args):
4844 has_attribute(Hierarchy self, FloatKey a0) -> bool
4845 has_attribute(Hierarchy self, IntKey a0) -> bool
4846 has_attribute(Hierarchy self, StringKey a0) -> bool
4847 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4848 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4850 return _IMP_core.Hierarchy_has_attribute(self, *args)
4852 def get_derivative(self, *args):
4853 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4854 return _IMP_core.Hierarchy_get_derivative(self, *args)
4857 """get_name(Hierarchy self) -> std::string"""
4858 return _IMP_core.Hierarchy_get_name(self)
4860 def clear_caches(self):
4861 """clear_caches(Hierarchy self)"""
4862 return _IMP_core.Hierarchy_clear_caches(self)
4864 def set_name(self, *args):
4865 """set_name(Hierarchy self, std::string a0)"""
4866 return _IMP_core.Hierarchy_set_name(self, *args)
4869 """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4870 return _IMP_core.Hierarchy_set_check_level(self, *args)
4872 def add_to_derivative(self, *args):
4873 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4874 return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4876 def set_is_optimized(self, *args):
4877 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4878 return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4880 def get_is_optimized(self, *args):
4881 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4882 return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4885 """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4886 return _IMP_core.Hierarchy_get_check_level(self)
4888 def __eq__(self, *args):
4890 __eq__(Hierarchy self, Hierarchy o) -> bool
4891 __eq__(Hierarchy self, Particle d) -> bool
4893 return _IMP_core.Hierarchy___eq__(self, *args)
4895 def __ne__(self, *args):
4897 __ne__(Hierarchy self, Hierarchy o) -> bool
4898 __ne__(Hierarchy self, Particle d) -> bool
4900 return _IMP_core.Hierarchy___ne__(self, *args)
4902 def __le__(self, *args):
4904 __le__(Hierarchy self, Hierarchy o) -> bool
4905 __le__(Hierarchy self, Particle d) -> bool
4907 return _IMP_core.Hierarchy___le__(self, *args)
4909 def __lt__(self, *args):
4911 __lt__(Hierarchy self, Hierarchy o) -> bool
4912 __lt__(Hierarchy self, Particle d) -> bool
4914 return _IMP_core.Hierarchy___lt__(self, *args)
4916 def __ge__(self, *args):
4918 __ge__(Hierarchy self, Hierarchy o) -> bool
4919 __ge__(Hierarchy self, Particle d) -> bool
4921 return _IMP_core.Hierarchy___ge__(self, *args)
4923 def __gt__(self, *args):
4925 __gt__(Hierarchy self, Hierarchy o) -> bool
4926 __gt__(Hierarchy self, Particle d) -> bool
4928 return _IMP_core.Hierarchy___gt__(self, *args)
4931 """__str__(Hierarchy self) -> std::string"""
4932 return _IMP_core.Hierarchy___str__(self)
4935 """__repr__(Hierarchy self) -> std::string"""
4936 return _IMP_core.Hierarchy___repr__(self)
4938 __swig_destroy__ = _IMP_core.delete_Hierarchy
4939 __del__ =
lambda self :
None;
4940 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4941 Hierarchy_swigregister(Hierarchy)
4943 def Hierarchy_get_default_decorator_traits():
4944 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4945 return _IMP_core.Hierarchy_get_default_decorator_traits()
4947 def Hierarchy_decorate_particle(*args):
4949 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4950 Hierarchy_decorate_particle(Particle p) -> Hierarchy
4952 return _IMP_core.Hierarchy_decorate_particle(*args)
4954 def Hierarchy_particle_is_instance(*args):
4956 particle_is_instance(Particle p, HierarchyTraits tr=get_default_traits()) -> bool
4957 particle_is_instance(Particle p) -> bool
4958 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=get_default_traits()) -> bool
4959 Hierarchy_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
4961 return _IMP_core.Hierarchy_particle_is_instance(*args)
4963 def Hierarchy_setup_particle(*args):
4965 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4966 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4967 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4968 setup_particle(_ParticleAdaptor d) -> Hierarchy
4969 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4970 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4971 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4972 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4973 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4974 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4975 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4976 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4978 return _IMP_core.Hierarchy_setup_particle(*args)
4980 def Hierarchy_get_is_setup(*args):
4982 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4983 get_is_setup(_ParticleAdaptor p) -> bool
4984 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4985 Hierarchy_get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4987 return _IMP_core.Hierarchy_get_is_setup(*args)
4989 def Hierarchy_get_default_traits():
4990 """Hierarchy_get_default_traits() -> HierarchyTraits"""
4991 return _IMP_core.Hierarchy_get_default_traits()
4993 class HierarchyVisitor(_object):
4994 """Proxy of C++ IMP::core::HierarchyVisitor class"""
4995 __swig_setmethods__ = {}
4996 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyVisitor, name, value)
4997 __swig_getmethods__ = {}
4998 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyVisitor, name)
4999 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
5000 __repr__ = _swig_repr
5001 def __call__(self, *args):
5002 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5003 return _IMP_core.HierarchyVisitor___call__(self, *args)
5005 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5006 __del__ =
lambda self :
None;
5007 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5008 HierarchyVisitor_swigregister(HierarchyVisitor)
5010 class ModifierVisitor(HierarchyVisitor):
5011 """Proxy of C++ IMP::core::ModifierVisitor class"""
5012 __swig_setmethods__ = {}
5013 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5014 __setattr__ =
lambda self, name, value: _swig_setattr(self, ModifierVisitor, name, value)
5015 __swig_getmethods__ = {}
5016 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5017 __getattr__ =
lambda self, name: _swig_getattr(self, ModifierVisitor, name)
5018 __repr__ = _swig_repr
5019 def __init__(self, *args):
5020 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5021 this = _IMP_core.new_ModifierVisitor(*args)
5022 try: self.this.append(this)
5023 except: self.this = this
5024 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5025 __del__ =
lambda self :
None;
5026 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5027 ModifierVisitor_swigregister(ModifierVisitor)
5029 class HierarchyCounter(HierarchyVisitor):
5030 """Proxy of C++ IMP::core::HierarchyCounter class"""
5031 __swig_setmethods__ = {}
5032 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5033 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyCounter, name, value)
5034 __swig_getmethods__ = {}
5035 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5036 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyCounter, name)
5038 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5039 this = _IMP_core.new_HierarchyCounter()
5040 try: self.this.append(this)
5041 except: self.this = this
5042 def get_count(self):
5043 """get_count(HierarchyCounter self) -> unsigned int"""
5044 return _IMP_core.HierarchyCounter_get_count(self)
5046 def show(self, *args):
5048 show(HierarchyCounter self, _ostream out=std::cout)
5049 show(HierarchyCounter self)
5051 return _IMP_core.HierarchyCounter_show(self, *args)
5054 """__str__(HierarchyCounter self) -> std::string"""
5055 return _IMP_core.HierarchyCounter___str__(self)
5058 """__repr__(HierarchyCounter self) -> std::string"""
5059 return _IMP_core.HierarchyCounter___repr__(self)
5061 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5062 __del__ =
lambda self :
None;
5063 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5064 HierarchyCounter_swigregister(HierarchyCounter)
5068 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5069 return _IMP_core.get_leaves(*args)
5072 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5073 return _IMP_core.get_internal(*args)
5076 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5077 return _IMP_core.get_all_descendants(*args)
5080 """get_root(Hierarchy h) -> Hierarchy"""
5081 return _IMP_core.get_root(*args)
5084 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5085 return _IMP_core.visit_breadth_first(*args)
5088 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5089 return _IMP_core.visit_depth_first(*args)
5091 """Proxy of C++ IMP::core::LeavesRefiner class"""
5092 __swig_setmethods__ = {}
5093 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5094 __setattr__ =
lambda self, name, value: _swig_setattr(self, LeavesRefiner, name, value)
5095 __swig_getmethods__ = {}
5096 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5097 __getattr__ =
lambda self, name: _swig_getattr(self, LeavesRefiner, name)
5098 def __init__(self, *args):
5099 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5100 this = _IMP_core.new_LeavesRefiner(*args)
5101 try: self.this.append(this)
5102 except: self.this = this
5103 def do_get_inputs(self, *args):
5104 """do_get_inputs(LeavesRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5105 return _IMP_core.LeavesRefiner_do_get_inputs(self, *args)
5107 def get_version_info(self):
5108 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5109 return _IMP_core.LeavesRefiner_get_version_info(self)
5111 __swig_destroy__ = _IMP_core.delete_LeavesRefiner
5112 __del__ =
lambda self :
None;
5114 """__str__(LeavesRefiner self) -> std::string"""
5115 return _IMP_core.LeavesRefiner___str__(self)
5118 """__repr__(LeavesRefiner self) -> std::string"""
5119 return _IMP_core.LeavesRefiner___repr__(self)
5122 return _object_cast_to_LeavesRefiner(o)
5123 get_from = staticmethod(get_from)
5125 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5126 LeavesRefiner_swigregister(LeavesRefiner)
5129 """Proxy of C++ IMP::core::Linear class"""
5130 __swig_setmethods__ = {}
5132 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear, name, value)
5133 __swig_getmethods__ = {}
5135 __getattr__ =
lambda self, name: _swig_getattr(self, Linear, name)
5136 def __init__(self, *args):
5137 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5138 this = _IMP_core.new_Linear(*args)
5139 try: self.this.append(this)
5140 except: self.this = this
5141 def set_slope(self, *args):
5142 """set_slope(Linear self, double f)"""
5143 return _IMP_core.Linear_set_slope(self, *args)
5145 def set_offset(self, *args):
5146 """set_offset(Linear self, double f)"""
5147 return _IMP_core.Linear_set_offset(self, *args)
5149 def get_version_info(self):
5150 """get_version_info(Linear self) -> VersionInfo"""
5151 return _IMP_core.Linear_get_version_info(self)
5153 __swig_destroy__ = _IMP_core.delete_Linear
5154 __del__ =
lambda self :
None;
5156 """__str__(Linear self) -> std::string"""
5157 return _IMP_core.Linear___str__(self)
5160 """__repr__(Linear self) -> std::string"""
5161 return _IMP_core.Linear___repr__(self)
5164 return _object_cast_to_Linear(o)
5165 get_from = staticmethod(get_from)
5167 Linear_swigregister = _IMP_core.Linear_swigregister
5168 Linear_swigregister(Linear)
5171 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5172 __swig_setmethods__ = {}
5174 __setattr__ =
lambda self, name, value: _swig_setattr(self, IncrementalScoringFunction, name, value)
5175 __swig_getmethods__ = {}
5177 __getattr__ =
lambda self, name: _swig_getattr(self, IncrementalScoringFunction, name)
5178 def __init__(self, *args):
5180 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5181 double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
5182 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5183 double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
5184 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5185 double weight=1.0) -> IncrementalScoringFunction
5186 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
5188 this = _IMP_core.new_IncrementalScoringFunction(*args)
5189 try: self.this.append(this)
5190 except: self.this = this
5191 def reset_moved_particles(self):
5192 """reset_moved_particles(IncrementalScoringFunction self)"""
5193 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5195 def set_moved_particles(self, *args):
5196 """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
5197 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
5199 def add_close_pair_score(self, *args):
5201 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
5202 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
5204 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5206 def clear_close_pair_scores(self):
5207 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5208 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5210 def get_movable_particles(self):
5211 """get_movable_particles(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5212 return _IMP_core.IncrementalScoringFunction_get_movable_particles(self)
5214 def get_movable_indexes(self):
5215 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5216 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5218 def do_add_score_and_derivatives(self, *args):
5219 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
5220 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
5222 def do_get_inputs(self):
5223 """do_get_inputs(IncrementalScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
5224 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5226 def handle_set_has_required_score_states(self, *args):
5227 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5228 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, *args)
5230 def get_version_info(self):
5231 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5232 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5234 __swig_destroy__ = _IMP_core.delete_IncrementalScoringFunction
5235 __del__ =
lambda self :
None;
5237 """__str__(IncrementalScoringFunction self) -> std::string"""
5238 return _IMP_core.IncrementalScoringFunction___str__(self)
5241 """__repr__(IncrementalScoringFunction self) -> std::string"""
5242 return _IMP_core.IncrementalScoringFunction___repr__(self)
5245 return _object_cast_to_IncrementalScoringFunction(o)
5246 get_from = staticmethod(get_from)
5248 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5249 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5251 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5253 """Proxy of C++ IMP::core::MonteCarlo class"""
5254 __swig_setmethods__ = {}
5255 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5256 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarlo, name, value)
5257 __swig_getmethods__ = {}
5258 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5259 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarlo, name)
5260 def __init__(self, *args):
5262 __init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo
5263 __init__(IMP::core::MonteCarlo self) -> MonteCarlo
5265 this = _IMP_core.new_MonteCarlo(*args)
5266 try: self.this.append(this)
5267 except: self.this = this
5268 def get_version_info(self):
5269 """get_version_info(MonteCarlo self) -> VersionInfo"""
5270 return _IMP_core.MonteCarlo_get_version_info(self)
5272 __swig_destroy__ = _IMP_core.delete_MonteCarlo
5273 __del__ =
lambda self :
None;
5274 def set_return_best(self, *args):
5275 """set_return_best(MonteCarlo self, bool tf)"""
5276 return _IMP_core.MonteCarlo_set_return_best(self, *args)
5278 def set_kt(self, *args):
5279 """set_kt(MonteCarlo self, IMP::Float t)"""
5280 return _IMP_core.MonteCarlo_set_kt(self, *args)
5283 """get_kt(MonteCarlo self) -> IMP::Float"""
5284 return _IMP_core.MonteCarlo_get_kt(self)
5286 def get_last_accepted_energy(self):
5287 """get_last_accepted_energy(MonteCarlo self) -> double"""
5288 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5290 def get_best_accepted_energy(self):
5291 """get_best_accepted_energy(MonteCarlo self) -> double"""
5292 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5294 def get_number_of_forward_steps(self):
5295 """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
5296 return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
5298 def get_number_of_upward_steps(self):
5299 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5300 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5302 def get_number_of_proposed_steps(self):
5303 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5304 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5306 def get_number_of_accepted_steps(self):
5307 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5308 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5310 def reset_statistics(self):
5311 """reset_statistics(MonteCarlo self)"""
5312 return _IMP_core.MonteCarlo_reset_statistics(self)
5314 def set_maximum_difference(self, *args):
5315 """set_maximum_difference(MonteCarlo self, double d)"""
5316 return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
5318 def get_maximum_difference(self):
5319 """get_maximum_difference(MonteCarlo self) -> double"""
5320 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5322 def remove_mover(self, *args):
5323 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5324 return _IMP_core.MonteCarlo_remove_mover(self, *args)
5326 def remove_movers(self, *args):
5327 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5328 return _IMP_core.MonteCarlo_remove_movers(self, *args)
5330 def set_movers(self, *args):
5331 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5332 return _IMP_core.MonteCarlo_set_movers(self, *args)
5334 def set_movers_order(self, *args):
5335 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5336 return _IMP_core.MonteCarlo_set_movers_order(self, *args)
5338 def add_mover(self, *args):
5339 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5340 return _IMP_core.MonteCarlo_add_mover(self, *args)
5342 def add_movers(self, *args):
5343 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5344 return _IMP_core.MonteCarlo_add_movers(self, *args)
5346 def clear_movers(self):
5347 """clear_movers(MonteCarlo self)"""
5348 return _IMP_core.MonteCarlo_clear_movers(self)
5350 def get_number_of_movers(self):
5351 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5352 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5354 def get_has_movers(self):
5355 """get_has_movers(MonteCarlo self) -> bool"""
5356 return _IMP_core.MonteCarlo_get_has_movers(self)
5358 def get_mover(self, *args):
5359 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5360 return _IMP_core.MonteCarlo_get_mover(self, *args)
5362 def get_movers(self):
5363 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5364 return _IMP_core.MonteCarlo_get_movers(self)
5366 def reserve_movers(self, *args):
5367 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5368 return _IMP_core.MonteCarlo_reserve_movers(self, *args)
5370 def set_incremental_scoring_function(self, *args):
5371 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5372 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
5374 def get_use_incremental_scoring_function(self):
5375 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5376 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5378 def get_incremental_scoring_function(self):
5379 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5380 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5383 """__str__(MonteCarlo self) -> std::string"""
5384 return _IMP_core.MonteCarlo___str__(self)
5387 """__repr__(MonteCarlo self) -> std::string"""
5388 return _IMP_core.MonteCarlo___repr__(self)
5391 return _object_cast_to_MonteCarlo(o)
5392 get_from = staticmethod(get_from)
5394 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5395 MonteCarlo_swigregister(MonteCarlo)
5397 class MonteCarloWithLocalOptimization(MonteCarlo):
5398 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5399 __swig_setmethods__ = {}
5400 for _s
in [MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5401 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithLocalOptimization, name, value)
5402 __swig_getmethods__ = {}
5403 for _s
in [MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5404 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithLocalOptimization, name)
5405 def __init__(self, *args):
5406 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5407 this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
5408 try: self.this.append(this)
5409 except: self.this = this
5410 def get_number_of_steps(self):
5411 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5412 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5414 def get_local_optimizer(self):
5415 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5416 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5418 __swig_destroy__ = _IMP_core.delete_MonteCarloWithLocalOptimization
5419 __del__ =
lambda self :
None;
5421 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5422 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5425 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5426 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5429 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5430 get_from = staticmethod(get_from)
5432 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5433 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5435 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5436 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5437 __swig_setmethods__ = {}
5438 for _s
in [MonteCarloWithLocalOptimization]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5439 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithBasinHopping, name, value)
5440 __swig_getmethods__ = {}
5441 for _s
in [MonteCarloWithLocalOptimization]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5442 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithBasinHopping, name)
5443 def __init__(self, *args):
5444 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5445 this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
5446 try: self.this.append(this)
5447 except: self.this = this
5448 __swig_destroy__ = _IMP_core.delete_MonteCarloWithBasinHopping
5449 __del__ =
lambda self :
None;
5451 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5452 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5455 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5456 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5459 return _object_cast_to_MonteCarloWithBasinHopping(o)
5460 get_from = staticmethod(get_from)
5462 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5463 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5466 """Proxy of C++ IMP::core::NeighborsTable class"""
5467 __swig_setmethods__ = {}
5469 __setattr__ =
lambda self, name, value: _swig_setattr(self, NeighborsTable, name, value)
5470 __swig_getmethods__ = {}
5472 __getattr__ =
lambda self, name: _swig_getattr(self, NeighborsTable, name)
5473 def __init__(self, *args):
5475 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable
5476 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5478 this = _IMP_core.new_NeighborsTable(*args)
5479 try: self.this.append(this)
5480 except: self.this = this
5481 def get_neighbors(self, *args):
5482 """get_neighbors(NeighborsTable self, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes const &"""
5483 return _IMP_core.NeighborsTable_get_neighbors(self, *args)
5485 def get_version_info(self):
5486 """get_version_info(NeighborsTable self) -> VersionInfo"""
5487 return _IMP_core.NeighborsTable_get_version_info(self)
5489 __swig_destroy__ = _IMP_core.delete_NeighborsTable
5490 __del__ =
lambda self :
None;
5492 """__str__(NeighborsTable self) -> std::string"""
5493 return _IMP_core.NeighborsTable___str__(self)
5496 """__repr__(NeighborsTable self) -> std::string"""
5497 return _IMP_core.NeighborsTable___repr__(self)
5500 return _object_cast_to_NeighborsTable(o)
5501 get_from = staticmethod(get_from)
5503 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5504 NeighborsTable_swigregister(NeighborsTable)
5506 class NormalMover(MonteCarloMover):
5507 """Proxy of C++ IMP::core::NormalMover class"""
5508 __swig_setmethods__ = {}
5509 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5510 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalMover, name, value)
5511 __swig_getmethods__ = {}
5512 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5513 __getattr__ =
lambda self, name: _swig_getattr(self, NormalMover, name)
5514 def __init__(self, *args):
5516 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
5517 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
5518 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5519 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5521 this = _IMP_core.new_NormalMover(*args)
5522 try: self.this.append(this)
5523 except: self.this = this
5524 def set_sigma(self, *args):
5525 """set_sigma(NormalMover self, IMP::Float sigma)"""
5526 return _IMP_core.NormalMover_set_sigma(self, *args)
5528 def get_sigma(self):
5529 """get_sigma(NormalMover self) -> IMP::Float"""
5530 return _IMP_core.NormalMover_get_sigma(self)
5532 def get_version_info(self):
5533 """get_version_info(NormalMover self) -> VersionInfo"""
5534 return _IMP_core.NormalMover_get_version_info(self)
5536 __swig_destroy__ = _IMP_core.delete_NormalMover
5537 __del__ =
lambda self :
None;
5539 """__str__(NormalMover self) -> std::string"""
5540 return _IMP_core.NormalMover___str__(self)
5543 """__repr__(NormalMover self) -> std::string"""
5544 return _IMP_core.NormalMover___repr__(self)
5547 return _object_cast_to_NormalMover(o)
5548 get_from = staticmethod(get_from)
5550 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5551 NormalMover_swigregister(NormalMover)
5553 class OpenCubicSpline(_OpenCubicSplineBase):
5554 """Proxy of C++ IMP::core::OpenCubicSpline class"""
5555 __swig_setmethods__ = {}
5556 for _s
in [_OpenCubicSplineBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5557 __setattr__ =
lambda self, name, value: _swig_setattr(self, OpenCubicSpline, name, value)
5558 __swig_getmethods__ = {}
5559 for _s
in [_OpenCubicSplineBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5560 __getattr__ =
lambda self, name: _swig_getattr(self, OpenCubicSpline, name)
5561 def __init__(self, *args):
5563 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5564 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5566 this = _IMP_core.new_OpenCubicSpline(*args)
5567 try: self.this.append(this)
5568 except: self.this = this
5570 """__str__(OpenCubicSpline self) -> std::string"""
5571 return _IMP_core.OpenCubicSpline___str__(self)
5574 """__repr__(OpenCubicSpline self) -> std::string"""
5575 return _IMP_core.OpenCubicSpline___repr__(self)
5578 return _object_cast_to_OpenCubicSpline(o)
5579 get_from = staticmethod(get_from)
5581 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5582 __del__ =
lambda self :
None;
5583 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5584 OpenCubicSpline_swigregister(OpenCubicSpline)
5586 class QuadraticClosePairsFinder(ClosePairsFinder):
5587 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5588 __swig_setmethods__ = {}
5589 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5590 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadraticClosePairsFinder, name, value)
5591 __swig_getmethods__ = {}
5592 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5593 __getattr__ =
lambda self, name: _swig_getattr(self, QuadraticClosePairsFinder, name)
5595 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5596 this = _IMP_core.new_QuadraticClosePairsFinder()
5597 try: self.this.append(this)
5598 except: self.this = this
5599 def get_are_close(self, *args):
5601 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
5602 get_are_close(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b) -> bool
5604 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5606 def get_close_pairs(self, *args):
5608 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
5609 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
5610 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5611 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5612 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
5613 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
5615 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5617 def do_get_inputs(self, *args):
5618 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5619 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, *args)
5621 def get_version_info(self):
5622 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5623 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5625 __swig_destroy__ = _IMP_core.delete_QuadraticClosePairsFinder
5626 __del__ =
lambda self :
None;
5628 """__str__(QuadraticClosePairsFinder self) -> std::string"""
5629 return _IMP_core.QuadraticClosePairsFinder___str__(self)
5632 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5633 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5636 return _object_cast_to_QuadraticClosePairsFinder(o)
5637 get_from = staticmethod(get_from)
5639 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5640 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5643 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5644 __swig_setmethods__ = {}
5645 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5646 __setattr__ =
lambda self, name, value: _swig_setattr(self, RefinedPairsPairScore, name, value)
5647 __swig_getmethods__ = {}
5648 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5649 __getattr__ =
lambda self, name: _swig_getattr(self, RefinedPairsPairScore, name)
5650 def __init__(self, *args):
5651 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5652 this = _IMP_core.new_RefinedPairsPairScore(*args)
5653 try: self.this.append(this)
5654 except: self.this = this
5655 def do_get_inputs(self, *args):
5656 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5657 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, *args)
5659 def get_version_info(self):
5660 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5661 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5663 __swig_destroy__ = _IMP_core.delete_RefinedPairsPairScore
5664 __del__ =
lambda self :
None;
5666 """__str__(RefinedPairsPairScore self) -> std::string"""
5667 return _IMP_core.RefinedPairsPairScore___str__(self)
5670 """__repr__(RefinedPairsPairScore self) -> std::string"""
5671 return _IMP_core.RefinedPairsPairScore___repr__(self)
5674 return _object_cast_to_RefinedPairsPairScore(o)
5675 get_from = staticmethod(get_from)
5677 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5678 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5680 class RigidBody(XYZ):
5681 """Proxy of C++ IMP::core::RigidBody class"""
5682 __swig_setmethods__ = {}
5683 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5684 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBody, name, value)
5685 __swig_getmethods__ = {}
5686 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5687 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBody, name)
5688 def get_members(self):
5689 """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5690 return _IMP_core.RigidBody_get_members(self)
5692 def get_member_particle_indexes(self):
5693 """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5694 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5696 def get_body_member_particle_indexes(self):
5697 """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5698 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5700 def __init__(self, *args):
5702 __init__(IMP::core::RigidBody self) -> RigidBody
5703 __init__(IMP::core::RigidBody self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBody
5704 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5706 this = _IMP_core.new_RigidBody(*args)
5707 try: self.this.append(this)
5708 except: self.this = this
5709 def decorate_particle(*args):
5710 """decorate_particle(Particle p) -> RigidBody"""
5711 return _IMP_core.RigidBody_decorate_particle(*args)
5713 if _newclass:decorate_particle = staticmethod(decorate_particle)
5714 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
5715 def particle_is_instance(*args):
5717 particle_is_instance(Particle p) -> bool
5718 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5720 return _IMP_core.RigidBody_particle_is_instance(*args)
5722 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
5723 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
5724 def show(self, *args):
5726 show(RigidBody self, _ostream out=std::cout)
5727 show(RigidBody self)
5729 return _IMP_core.RigidBody_show(self, *args)
5731 def setup_particle(*args):
5733 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5734 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5735 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5736 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5738 return _IMP_core.RigidBody_setup_particle(*args)
5740 if _newclass:setup_particle = staticmethod(setup_particle)
5741 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
5742 def teardown_particle(*args):
5743 """teardown_particle(RigidBody rb)"""
5744 return _IMP_core.RigidBody_teardown_particle(*args)
5746 if _newclass:teardown_particle = staticmethod(teardown_particle)
5747 __swig_getmethods__[
"teardown_particle"] =
lambda x: teardown_particle
5748 __swig_destroy__ = _IMP_core.delete_RigidBody
5749 __del__ =
lambda self :
None;
5750 def get_is_setup(*args):
5752 get_is_setup(_ParticleAdaptor p) -> bool
5753 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5755 return _IMP_core.RigidBody_get_is_setup(*args)
5757 if _newclass:get_is_setup = staticmethod(get_is_setup)
5758 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5759 def get_coordinates(self):
5760 """get_coordinates(RigidBody self) -> Vector3D"""
5761 return _IMP_core.RigidBody_get_coordinates(self)
5763 def get_reference_frame(self):
5764 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5765 return _IMP_core.RigidBody_get_reference_frame(self)
5767 def set_reference_frame(self, *args):
5768 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5769 return _IMP_core.RigidBody_set_reference_frame(self, *args)
5771 def set_reference_frame_lazy(self, *args):
5772 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5773 return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5775 def set_reference_frame_from_members(self, *args):
5776 """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5777 return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5779 def add_to_derivatives(self, *args):
5781 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5782 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5783 DerivativeAccumulator da)
5785 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5787 def get_torque(self):
5788 """get_torque(RigidBody self) -> Vector3D"""
5789 return _IMP_core.RigidBody_get_torque(self)
5791 def get_coordinates_are_optimized(self):
5792 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5793 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5795 def set_coordinates_are_optimized(self, *args):
5796 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5797 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5799 def normalize_rotation(self):
5800 """normalize_rotation(RigidBody self)"""
5801 return _IMP_core.RigidBody_normalize_rotation(self)
5803 def update_members(self):
5804 """update_members(RigidBody self)"""
5805 return _IMP_core.RigidBody_update_members(self)
5807 def get_rotational_derivatives(self):
5808 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5809 return _IMP_core.RigidBody_get_rotational_derivatives(self)
5811 def get_number_of_members(self):
5812 """get_number_of_members(RigidBody self) -> unsigned int"""
5813 return _IMP_core.RigidBody_get_number_of_members(self)
5815 def get_member(self, *args):
5816 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5817 return _IMP_core.RigidBody_get_member(self, *args)
5819 def add_member(self, *args):
5820 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
5821 return _IMP_core.RigidBody_add_member(self, *args)
5823 def add_non_rigid_member(self, *args):
5824 """add_non_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi)"""
5825 return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5827 def set_is_rigid_member(self, *args):
5828 """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5829 return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5831 def add_attribute(self, *args):
5833 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5834 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5835 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5836 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5837 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5838 add_attribute(RigidBody self, ObjectKey a0, IMP::Object * a1)
5840 return _IMP_core.RigidBody_add_attribute(self, *args)
5842 def get_value(self, *args):
5844 get_value(RigidBody self, FloatKey a0) -> IMP::Float
5845 get_value(RigidBody self, IntKey a0) -> IMP::Int
5846 get_value(RigidBody self, StringKey a0) -> IMP::String
5847 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5848 get_value(RigidBody self, ObjectKey a0) -> IMP::Object *
5850 return _IMP_core.RigidBody_get_value(self, *args)
5852 def set_value(self, *args):
5854 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5855 set_value(RigidBody self, IntKey a0, IMP::Int a1)
5856 set_value(RigidBody self, StringKey a0, IMP::String a1)
5857 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5858 set_value(RigidBody self, ObjectKey a0, IMP::Object * a1)
5860 return _IMP_core.RigidBody_set_value(self, *args)
5862 def remove_attribute(self, *args):
5864 remove_attribute(RigidBody self, FloatKey a0)
5865 remove_attribute(RigidBody self, IntKey a0)
5866 remove_attribute(RigidBody self, StringKey a0)
5867 remove_attribute(RigidBody self, ParticleIndexKey a0)
5868 remove_attribute(RigidBody self, ObjectKey a0)
5870 return _IMP_core.RigidBody_remove_attribute(self, *args)
5872 def has_attribute(self, *args):
5874 has_attribute(RigidBody self, FloatKey a0) -> bool
5875 has_attribute(RigidBody self, IntKey a0) -> bool
5876 has_attribute(RigidBody self, StringKey a0) -> bool
5877 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5878 has_attribute(RigidBody self, ObjectKey a0) -> bool
5880 return _IMP_core.RigidBody_has_attribute(self, *args)
5882 def get_derivative(self, *args):
5883 """get_derivative(RigidBody self, FloatKey a0) -> double"""
5884 return _IMP_core.RigidBody_get_derivative(self, *args)
5887 """get_name(RigidBody self) -> std::string"""
5888 return _IMP_core.RigidBody_get_name(self)
5890 def clear_caches(self):
5891 """clear_caches(RigidBody self)"""
5892 return _IMP_core.RigidBody_clear_caches(self)
5894 def set_name(self, *args):
5895 """set_name(RigidBody self, std::string a0)"""
5896 return _IMP_core.RigidBody_set_name(self, *args)
5899 """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5900 return _IMP_core.RigidBody_set_check_level(self, *args)
5902 def add_to_derivative(self, *args):
5903 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5904 return _IMP_core.RigidBody_add_to_derivative(self, *args)
5906 def set_is_optimized(self, *args):
5907 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5908 return _IMP_core.RigidBody_set_is_optimized(self, *args)
5910 def get_is_optimized(self, *args):
5911 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5912 return _IMP_core.RigidBody_get_is_optimized(self, *args)
5915 """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5916 return _IMP_core.RigidBody_get_check_level(self)
5918 def __eq__(self, *args):
5920 __eq__(RigidBody self, RigidBody o) -> bool
5921 __eq__(RigidBody self, Particle d) -> bool
5923 return _IMP_core.RigidBody___eq__(self, *args)
5925 def __ne__(self, *args):
5927 __ne__(RigidBody self, RigidBody o) -> bool
5928 __ne__(RigidBody self, Particle d) -> bool
5930 return _IMP_core.RigidBody___ne__(self, *args)
5932 def __le__(self, *args):
5934 __le__(RigidBody self, RigidBody o) -> bool
5935 __le__(RigidBody self, Particle d) -> bool
5937 return _IMP_core.RigidBody___le__(self, *args)
5939 def __lt__(self, *args):
5941 __lt__(RigidBody self, RigidBody o) -> bool
5942 __lt__(RigidBody self, Particle d) -> bool
5944 return _IMP_core.RigidBody___lt__(self, *args)
5946 def __ge__(self, *args):
5948 __ge__(RigidBody self, RigidBody o) -> bool
5949 __ge__(RigidBody self, Particle d) -> bool
5951 return _IMP_core.RigidBody___ge__(self, *args)
5953 def __gt__(self, *args):
5955 __gt__(RigidBody self, RigidBody o) -> bool
5956 __gt__(RigidBody self, Particle d) -> bool
5958 return _IMP_core.RigidBody___gt__(self, *args)
5961 """__str__(RigidBody self) -> std::string"""
5962 return _IMP_core.RigidBody___str__(self)
5965 """__repr__(RigidBody self) -> std::string"""
5966 return _IMP_core.RigidBody___repr__(self)
5968 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5969 RigidBody_swigregister(RigidBody)
5971 def RigidBody_decorate_particle(*args):
5972 """RigidBody_decorate_particle(Particle p) -> RigidBody"""
5973 return _IMP_core.RigidBody_decorate_particle(*args)
5975 def RigidBody_particle_is_instance(*args):
5977 particle_is_instance(Particle p) -> bool
5978 RigidBody_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5980 return _IMP_core.RigidBody_particle_is_instance(*args)
5982 def RigidBody_setup_particle(*args):
5984 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5985 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5986 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5987 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5989 return _IMP_core.RigidBody_setup_particle(*args)
5991 def RigidBody_teardown_particle(*args):
5992 """RigidBody_teardown_particle(RigidBody rb)"""
5993 return _IMP_core.RigidBody_teardown_particle(*args)
5995 def RigidBody_get_is_setup(*args):
5997 get_is_setup(_ParticleAdaptor p) -> bool
5998 RigidBody_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6000 return _IMP_core.RigidBody_get_is_setup(*args)
6004 """add_rigid_body_cache_key(ObjectKey k)"""
6005 return _IMP_core.add_rigid_body_cache_key(*args)
6006 class RigidBodyMember(XYZ):
6007 """Proxy of C++ IMP::core::RigidBodyMember class"""
6008 __swig_setmethods__ = {}
6009 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6010 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMember, name, value)
6011 __swig_getmethods__ = {}
6012 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6013 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMember, name)
6014 def __init__(self, *args):
6016 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
6017 __init__(IMP::core::RigidBodyMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBodyMember
6018 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
6020 this = _IMP_core.new_RigidBodyMember(*args)
6021 try: self.this.append(this)
6022 except: self.this = this
6023 def decorate_particle(*args):
6024 """decorate_particle(Particle p) -> RigidBodyMember"""
6025 return _IMP_core.RigidBodyMember_decorate_particle(*args)
6027 if _newclass:decorate_particle = staticmethod(decorate_particle)
6028 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6029 def particle_is_instance(*args):
6031 particle_is_instance(Particle p) -> bool
6032 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6034 return _IMP_core.RigidBodyMember_particle_is_instance(*args)
6036 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6037 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
6038 def show(self, *args):
6040 show(RigidBodyMember self, _ostream out=std::cout)
6041 show(RigidBodyMember self)
6043 return _IMP_core.RigidBodyMember_show(self, *args)
6045 def get_rigid_body(self):
6046 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
6047 return _IMP_core.RigidBodyMember_get_rigid_body(self)
6049 def get_internal_coordinates(self):
6050 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
6051 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
6053 def set_internal_coordinates(self, *args):
6054 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
6055 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, *args)
6057 def set_internal_transformation(self, *args):
6058 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
6059 return _IMP_core.RigidBodyMember_set_internal_transformation(self, *args)
6061 def get_internal_transformation(self):
6062 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
6063 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
6065 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
6066 __del__ =
lambda self :
None;
6067 def set_coordinates(self, *args):
6069 set_coordinates(RigidBodyMember self, Vector3D center)
6070 set_coordinates(RigidBodyMember self, Transformation3D tr)
6072 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
6074 def get_is_setup(*args):
6076 get_is_setup(_ParticleAdaptor p) -> bool
6077 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6079 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6081 if _newclass:get_is_setup = staticmethod(get_is_setup)
6082 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6083 def get_internal_coordinate_keys():
6084 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6085 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6087 if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6088 __swig_getmethods__[
"get_internal_coordinate_keys"] =
lambda x: get_internal_coordinate_keys
6089 def add_attribute(self, *args):
6091 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6092 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6093 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6094 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6095 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6096 add_attribute(RigidBodyMember self, ObjectKey a0, IMP::Object * a1)
6098 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6100 def get_value(self, *args):
6102 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6103 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6104 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6105 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6106 get_value(RigidBodyMember self, ObjectKey a0) -> IMP::Object *
6108 return _IMP_core.RigidBodyMember_get_value(self, *args)
6110 def set_value(self, *args):
6112 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6113 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6114 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6115 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6116 set_value(RigidBodyMember self, ObjectKey a0, IMP::Object * a1)
6118 return _IMP_core.RigidBodyMember_set_value(self, *args)
6120 def remove_attribute(self, *args):
6122 remove_attribute(RigidBodyMember self, FloatKey a0)
6123 remove_attribute(RigidBodyMember self, IntKey a0)
6124 remove_attribute(RigidBodyMember self, StringKey a0)
6125 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6126 remove_attribute(RigidBodyMember self, ObjectKey a0)
6128 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6130 def has_attribute(self, *args):
6132 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6133 has_attribute(RigidBodyMember self, IntKey a0) -> bool
6134 has_attribute(RigidBodyMember self, StringKey a0) -> bool
6135 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6136 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6138 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6140 def get_derivative(self, *args):
6141 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6142 return _IMP_core.RigidBodyMember_get_derivative(self, *args)
6145 """get_name(RigidBodyMember self) -> std::string"""
6146 return _IMP_core.RigidBodyMember_get_name(self)
6148 def clear_caches(self):
6149 """clear_caches(RigidBodyMember self)"""
6150 return _IMP_core.RigidBodyMember_clear_caches(self)
6152 def set_name(self, *args):
6153 """set_name(RigidBodyMember self, std::string a0)"""
6154 return _IMP_core.RigidBodyMember_set_name(self, *args)
6157 """set_check_level(RigidBodyMember self, IMP::base::CheckLevel a0)"""
6158 return _IMP_core.RigidBodyMember_set_check_level(self, *args)
6160 def add_to_derivative(self, *args):
6161 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6162 return _IMP_core.RigidBodyMember_add_to_derivative(self, *args)
6164 def set_is_optimized(self, *args):
6165 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6166 return _IMP_core.RigidBodyMember_set_is_optimized(self, *args)
6168 def get_is_optimized(self, *args):
6169 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6170 return _IMP_core.RigidBodyMember_get_is_optimized(self, *args)
6173 """get_check_level(RigidBodyMember self) -> IMP::base::CheckLevel"""
6174 return _IMP_core.RigidBodyMember_get_check_level(self)
6176 def __eq__(self, *args):
6178 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6179 __eq__(RigidBodyMember self, Particle d) -> bool
6181 return _IMP_core.RigidBodyMember___eq__(self, *args)
6183 def __ne__(self, *args):
6185 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6186 __ne__(RigidBodyMember self, Particle d) -> bool
6188 return _IMP_core.RigidBodyMember___ne__(self, *args)
6190 def __le__(self, *args):
6192 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6193 __le__(RigidBodyMember self, Particle d) -> bool
6195 return _IMP_core.RigidBodyMember___le__(self, *args)
6197 def __lt__(self, *args):
6199 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6200 __lt__(RigidBodyMember self, Particle d) -> bool
6202 return _IMP_core.RigidBodyMember___lt__(self, *args)
6204 def __ge__(self, *args):
6206 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6207 __ge__(RigidBodyMember self, Particle d) -> bool
6209 return _IMP_core.RigidBodyMember___ge__(self, *args)
6211 def __gt__(self, *args):
6213 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6214 __gt__(RigidBodyMember self, Particle d) -> bool
6216 return _IMP_core.RigidBodyMember___gt__(self, *args)
6219 """__str__(RigidBodyMember self) -> std::string"""
6220 return _IMP_core.RigidBodyMember___str__(self)
6223 """__repr__(RigidBodyMember self) -> std::string"""
6224 return _IMP_core.RigidBodyMember___repr__(self)
6226 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6227 RigidBodyMember_swigregister(RigidBodyMember)
6229 def RigidBodyMember_decorate_particle(*args):
6230 """RigidBodyMember_decorate_particle(Particle p) -> RigidBodyMember"""
6231 return _IMP_core.RigidBodyMember_decorate_particle(*args)
6233 def RigidBodyMember_particle_is_instance(*args):
6235 particle_is_instance(Particle p) -> bool
6236 RigidBodyMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6238 return _IMP_core.RigidBodyMember_particle_is_instance(*args)
6240 def RigidBodyMember_get_is_setup(*args):
6242 get_is_setup(_ParticleAdaptor p) -> bool
6243 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6245 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6247 def RigidBodyMember_get_internal_coordinate_keys():
6248 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6249 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6251 class RigidMember(RigidBodyMember):
6252 """Proxy of C++ IMP::core::RigidMember class"""
6253 __swig_setmethods__ = {}
6254 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6255 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMember, name, value)
6256 __swig_getmethods__ = {}
6257 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6258 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMember, name)
6259 def __init__(self, *args):
6261 __init__(IMP::core::RigidMember self) -> RigidMember
6262 __init__(IMP::core::RigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidMember
6263 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6265 this = _IMP_core.new_RigidMember(*args)
6266 try: self.this.append(this)
6267 except: self.this = this
6268 def decorate_particle(*args):
6269 """decorate_particle(Particle p) -> RigidMember"""
6270 return _IMP_core.RigidMember_decorate_particle(*args)
6272 if _newclass:decorate_particle = staticmethod(decorate_particle)
6273 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6274 def particle_is_instance(*args):
6276 particle_is_instance(Particle p) -> bool
6277 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6279 return _IMP_core.RigidMember_particle_is_instance(*args)
6281 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6282 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
6283 def show(self, *args):
6285 show(RigidMember self, _ostream out=std::cout)
6286 show(RigidMember self)
6288 return _IMP_core.RigidMember_show(self, *args)
6290 __swig_destroy__ = _IMP_core.delete_RigidMember
6291 __del__ =
lambda self :
None;
6292 def get_is_setup(*args):
6294 get_is_setup(_ParticleAdaptor p) -> bool
6295 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6297 return _IMP_core.RigidMember_get_is_setup(*args)
6299 if _newclass:get_is_setup = staticmethod(get_is_setup)
6300 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6301 def add_attribute(self, *args):
6303 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6304 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6305 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6306 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6307 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6308 add_attribute(RigidMember self, ObjectKey a0, IMP::Object * a1)
6310 return _IMP_core.RigidMember_add_attribute(self, *args)
6312 def get_value(self, *args):
6314 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6315 get_value(RigidMember self, IntKey a0) -> IMP::Int
6316 get_value(RigidMember self, StringKey a0) -> IMP::String
6317 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6318 get_value(RigidMember self, ObjectKey a0) -> IMP::Object *
6320 return _IMP_core.RigidMember_get_value(self, *args)
6322 def set_value(self, *args):
6324 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6325 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6326 set_value(RigidMember self, StringKey a0, IMP::String a1)
6327 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6328 set_value(RigidMember self, ObjectKey a0, IMP::Object * a1)
6330 return _IMP_core.RigidMember_set_value(self, *args)
6332 def remove_attribute(self, *args):
6334 remove_attribute(RigidMember self, FloatKey a0)
6335 remove_attribute(RigidMember self, IntKey a0)
6336 remove_attribute(RigidMember self, StringKey a0)
6337 remove_attribute(RigidMember self, ParticleIndexKey a0)
6338 remove_attribute(RigidMember self, ObjectKey a0)
6340 return _IMP_core.RigidMember_remove_attribute(self, *args)
6342 def has_attribute(self, *args):
6344 has_attribute(RigidMember self, FloatKey a0) -> bool
6345 has_attribute(RigidMember self, IntKey a0) -> bool
6346 has_attribute(RigidMember self, StringKey a0) -> bool
6347 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6348 has_attribute(RigidMember self, ObjectKey a0) -> bool
6350 return _IMP_core.RigidMember_has_attribute(self, *args)
6352 def get_derivative(self, *args):
6353 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6354 return _IMP_core.RigidMember_get_derivative(self, *args)
6357 """get_name(RigidMember self) -> std::string"""
6358 return _IMP_core.RigidMember_get_name(self)
6360 def clear_caches(self):
6361 """clear_caches(RigidMember self)"""
6362 return _IMP_core.RigidMember_clear_caches(self)
6364 def set_name(self, *args):
6365 """set_name(RigidMember self, std::string a0)"""
6366 return _IMP_core.RigidMember_set_name(self, *args)
6369 """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
6370 return _IMP_core.RigidMember_set_check_level(self, *args)
6372 def add_to_derivative(self, *args):
6373 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6374 return _IMP_core.RigidMember_add_to_derivative(self, *args)
6376 def set_is_optimized(self, *args):
6377 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6378 return _IMP_core.RigidMember_set_is_optimized(self, *args)
6380 def get_is_optimized(self, *args):
6381 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6382 return _IMP_core.RigidMember_get_is_optimized(self, *args)
6385 """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
6386 return _IMP_core.RigidMember_get_check_level(self)
6388 def __eq__(self, *args):
6390 __eq__(RigidMember self, RigidMember o) -> bool
6391 __eq__(RigidMember self, Particle d) -> bool
6393 return _IMP_core.RigidMember___eq__(self, *args)
6395 def __ne__(self, *args):
6397 __ne__(RigidMember self, RigidMember o) -> bool
6398 __ne__(RigidMember self, Particle d) -> bool
6400 return _IMP_core.RigidMember___ne__(self, *args)
6402 def __le__(self, *args):
6404 __le__(RigidMember self, RigidMember o) -> bool
6405 __le__(RigidMember self, Particle d) -> bool
6407 return _IMP_core.RigidMember___le__(self, *args)
6409 def __lt__(self, *args):
6411 __lt__(RigidMember self, RigidMember o) -> bool
6412 __lt__(RigidMember self, Particle d) -> bool
6414 return _IMP_core.RigidMember___lt__(self, *args)
6416 def __ge__(self, *args):
6418 __ge__(RigidMember self, RigidMember o) -> bool
6419 __ge__(RigidMember self, Particle d) -> bool
6421 return _IMP_core.RigidMember___ge__(self, *args)
6423 def __gt__(self, *args):
6425 __gt__(RigidMember self, RigidMember o) -> bool
6426 __gt__(RigidMember self, Particle d) -> bool
6428 return _IMP_core.RigidMember___gt__(self, *args)
6431 """__str__(RigidMember self) -> std::string"""
6432 return _IMP_core.RigidMember___str__(self)
6435 """__repr__(RigidMember self) -> std::string"""
6436 return _IMP_core.RigidMember___repr__(self)
6438 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6439 RigidMember_swigregister(RigidMember)
6441 def RigidMember_decorate_particle(*args):
6442 """RigidMember_decorate_particle(Particle p) -> RigidMember"""
6443 return _IMP_core.RigidMember_decorate_particle(*args)
6445 def RigidMember_particle_is_instance(*args):
6447 particle_is_instance(Particle p) -> bool
6448 RigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6450 return _IMP_core.RigidMember_particle_is_instance(*args)
6452 def RigidMember_get_is_setup(*args):
6454 get_is_setup(_ParticleAdaptor p) -> bool
6455 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6457 return _IMP_core.RigidMember_get_is_setup(*args)
6459 class NonRigidMember(RigidBodyMember):
6460 """Proxy of C++ IMP::core::NonRigidMember class"""
6461 __swig_setmethods__ = {}
6462 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6463 __setattr__ =
lambda self, name, value: _swig_setattr(self, NonRigidMember, name, value)
6464 __swig_getmethods__ = {}
6465 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6466 __getattr__ =
lambda self, name: _swig_getattr(self, NonRigidMember, name)
6467 def __init__(self, *args):
6469 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6470 __init__(IMP::core::NonRigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> NonRigidMember
6471 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6473 this = _IMP_core.new_NonRigidMember(*args)
6474 try: self.this.append(this)
6475 except: self.this = this
6476 def decorate_particle(*args):
6477 """decorate_particle(Particle p) -> NonRigidMember"""
6478 return _IMP_core.NonRigidMember_decorate_particle(*args)
6480 if _newclass:decorate_particle = staticmethod(decorate_particle)
6481 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6482 def particle_is_instance(*args):
6484 particle_is_instance(Particle p) -> bool
6485 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6487 return _IMP_core.NonRigidMember_particle_is_instance(*args)
6489 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6490 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
6491 def show(self, *args):
6493 show(NonRigidMember self, _ostream out=std::cout)
6494 show(NonRigidMember self)
6496 return _IMP_core.NonRigidMember_show(self, *args)
6498 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6499 __del__ =
lambda self :
None;
6500 def get_is_setup(*args):
6502 get_is_setup(_ParticleAdaptor p) -> bool
6503 get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6505 return _IMP_core.NonRigidMember_get_is_setup(*args)
6507 if _newclass:get_is_setup = staticmethod(get_is_setup)
6508 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6509 def add_attribute(self, *args):
6511 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6512 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6513 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6514 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6515 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6516 add_attribute(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6518 return _IMP_core.NonRigidMember_add_attribute(self, *args)
6520 def get_value(self, *args):
6522 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6523 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6524 get_value(NonRigidMember self, StringKey a0) -> IMP::String
6525 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6526 get_value(NonRigidMember self, ObjectKey a0) -> IMP::Object *
6528 return _IMP_core.NonRigidMember_get_value(self, *args)
6530 def set_value(self, *args):
6532 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6533 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6534 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6535 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6536 set_value(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6538 return _IMP_core.NonRigidMember_set_value(self, *args)
6540 def remove_attribute(self, *args):
6542 remove_attribute(NonRigidMember self, FloatKey a0)
6543 remove_attribute(NonRigidMember self, IntKey a0)
6544 remove_attribute(NonRigidMember self, StringKey a0)
6545 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6546 remove_attribute(NonRigidMember self, ObjectKey a0)
6548 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6550 def has_attribute(self, *args):
6552 has_attribute(NonRigidMember self, FloatKey a0) -> bool
6553 has_attribute(NonRigidMember self, IntKey a0) -> bool
6554 has_attribute(NonRigidMember self, StringKey a0) -> bool
6555 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6556 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6558 return _IMP_core.NonRigidMember_has_attribute(self, *args)
6560 def get_derivative(self, *args):
6561 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6562 return _IMP_core.NonRigidMember_get_derivative(self, *args)
6565 """get_name(NonRigidMember self) -> std::string"""
6566 return _IMP_core.NonRigidMember_get_name(self)
6568 def clear_caches(self):
6569 """clear_caches(NonRigidMember self)"""
6570 return _IMP_core.NonRigidMember_clear_caches(self)
6572 def set_name(self, *args):
6573 """set_name(NonRigidMember self, std::string a0)"""
6574 return _IMP_core.NonRigidMember_set_name(self, *args)
6577 """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
6578 return _IMP_core.NonRigidMember_set_check_level(self, *args)
6580 def add_to_derivative(self, *args):
6581 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6582 return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
6584 def set_is_optimized(self, *args):
6585 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6586 return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
6588 def get_is_optimized(self, *args):
6589 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6590 return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
6593 """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
6594 return _IMP_core.NonRigidMember_get_check_level(self)
6596 def __eq__(self, *args):
6598 __eq__(NonRigidMember self, NonRigidMember o) -> bool
6599 __eq__(NonRigidMember self, Particle d) -> bool
6601 return _IMP_core.NonRigidMember___eq__(self, *args)
6603 def __ne__(self, *args):
6605 __ne__(NonRigidMember self, NonRigidMember o) -> bool
6606 __ne__(NonRigidMember self, Particle d) -> bool
6608 return _IMP_core.NonRigidMember___ne__(self, *args)
6610 def __le__(self, *args):
6612 __le__(NonRigidMember self, NonRigidMember o) -> bool
6613 __le__(NonRigidMember self, Particle d) -> bool
6615 return _IMP_core.NonRigidMember___le__(self, *args)
6617 def __lt__(self, *args):
6619 __lt__(NonRigidMember self, NonRigidMember o) -> bool
6620 __lt__(NonRigidMember self, Particle d) -> bool
6622 return _IMP_core.NonRigidMember___lt__(self, *args)
6624 def __ge__(self, *args):
6626 __ge__(NonRigidMember self, NonRigidMember o) -> bool
6627 __ge__(NonRigidMember self, Particle d) -> bool
6629 return _IMP_core.NonRigidMember___ge__(self, *args)
6631 def __gt__(self, *args):
6633 __gt__(NonRigidMember self, NonRigidMember o) -> bool
6634 __gt__(NonRigidMember self, Particle d) -> bool
6636 return _IMP_core.NonRigidMember___gt__(self, *args)
6639 """__str__(NonRigidMember self) -> std::string"""
6640 return _IMP_core.NonRigidMember___str__(self)
6643 """__repr__(NonRigidMember self) -> std::string"""
6644 return _IMP_core.NonRigidMember___repr__(self)
6646 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6647 NonRigidMember_swigregister(NonRigidMember)
6649 def NonRigidMember_decorate_particle(*args):
6650 """NonRigidMember_decorate_particle(Particle p) -> NonRigidMember"""
6651 return _IMP_core.NonRigidMember_decorate_particle(*args)
6653 def NonRigidMember_particle_is_instance(*args):
6655 particle_is_instance(Particle p) -> bool
6656 NonRigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6658 return _IMP_core.NonRigidMember_particle_is_instance(*args)
6660 def NonRigidMember_get_is_setup(*args):
6662 get_is_setup(_ParticleAdaptor p) -> bool
6663 NonRigidMember_get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6665 return _IMP_core.NonRigidMember_get_is_setup(*args)
6668 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6669 __swig_setmethods__ = {}
6670 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6671 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMembersRefiner, name, value)
6672 __swig_getmethods__ = {}
6673 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6674 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMembersRefiner, name)
6675 def __init__(self, name="RigidMembersRefiner%d"):
6677 __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
6678 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6680 this = _IMP_core.new_RigidMembersRefiner(name)
6681 try: self.this.append(this)
6682 except: self.this = this
6683 def do_get_inputs(self, *args):
6684 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6685 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, *args)
6687 def get_version_info(self):
6688 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6689 return _IMP_core.RigidMembersRefiner_get_version_info(self)
6691 __swig_destroy__ = _IMP_core.delete_RigidMembersRefiner
6692 __del__ =
lambda self :
None;
6694 """__str__(RigidMembersRefiner self) -> std::string"""
6695 return _IMP_core.RigidMembersRefiner___str__(self)
6698 """__repr__(RigidMembersRefiner self) -> std::string"""
6699 return _IMP_core.RigidMembersRefiner___repr__(self)
6702 return _object_cast_to_RigidMembersRefiner(o)
6703 get_from = staticmethod(get_from)
6705 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6706 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6709 def get_rigid_members_refiner():
6710 """get_rigid_members_refiner() -> RigidMembersRefiner"""
6711 return _IMP_core.get_rigid_members_refiner()
6715 transform(XYZ a, Transformation3D tr)
6716 transform(RigidBody a, Transformation3D tr)
6718 return _IMP_core.transform(*args)
6722 get_initial_reference_frame(Model m, IMP::kernel::ParticleIndexes const & pis) -> ReferenceFrame3D
6723 get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D
6725 return _IMP_core.get_initial_reference_frame(*args)
6729 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
6730 create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
6732 return _IMP_core.create_rigid_bodies(*args)
6734 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6735 __swig_setmethods__ = {}
6737 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyHierarchyGeometry, name, value)
6738 __swig_getmethods__ = {}
6740 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyHierarchyGeometry, name)
6741 def __init__(self, *args):
6742 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6743 this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
6744 try: self.this.append(this)
6745 except: self.this = this
6746 def get_version_info(self):
6747 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6748 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6750 __swig_destroy__ = _IMP_core.delete_RigidBodyHierarchyGeometry
6751 __del__ =
lambda self :
None;
6753 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6754 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6757 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6758 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6761 return _object_cast_to_RigidBodyHierarchyGeometry(o)
6762 get_from = staticmethod(get_from)
6764 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6765 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6768 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6769 __swig_setmethods__ = {}
6771 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativeGeometry, name, value)
6772 __swig_getmethods__ = {}
6774 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativeGeometry, name)
6775 def __init__(self, *args):
6777 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
6778 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
6780 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
6781 try: self.this.append(this)
6782 except: self.this = this
6783 def get_version_info(self):
6784 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
6785 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
6787 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativeGeometry
6788 __del__ =
lambda self :
None;
6790 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
6791 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6794 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6795 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6798 return _object_cast_to_RigidBodyDerivativeGeometry(o)
6799 get_from = staticmethod(get_from)
6801 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6802 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6805 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6806 __swig_setmethods__ = {}
6808 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativesGeometry, name, value)
6809 __swig_getmethods__ = {}
6811 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativesGeometry, name)
6812 def __init__(self, *args):
6813 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6814 this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6815 try: self.this.append(this)
6816 except: self.this = this
6817 def get_version_info(self):
6818 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6819 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6821 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativesGeometry
6822 __del__ =
lambda self :
None;
6824 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6825 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6828 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6829 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6832 return _object_cast_to_RigidBodyDerivativesGeometry(o)
6833 get_from = staticmethod(get_from)
6835 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6836 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6839 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6840 __swig_setmethods__ = {}
6842 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFrameGeometry, name, value)
6843 __swig_getmethods__ = {}
6845 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFrameGeometry, name)
6846 def __init__(self, *args):
6848 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6849 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6851 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6852 try: self.this.append(this)
6853 except: self.this = this
6854 def get_version_info(self):
6855 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6856 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6858 __swig_destroy__ = _IMP_core.delete_RigidBodyFrameGeometry
6859 __del__ =
lambda self :
None;
6861 """__str__(RigidBodyFrameGeometry self) -> std::string"""
6862 return _IMP_core.RigidBodyFrameGeometry___str__(self)
6865 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6866 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6869 return _object_cast_to_RigidBodyFrameGeometry(o)
6870 get_from = staticmethod(get_from)
6872 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6873 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6876 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6877 __swig_setmethods__ = {}
6879 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFramesGeometry, name, value)
6880 __swig_getmethods__ = {}
6882 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFramesGeometry, name)
6883 def __init__(self, *args):
6884 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6885 this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6886 try: self.this.append(this)
6887 except: self.this = this
6888 def get_version_info(self):
6889 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6890 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6892 __swig_destroy__ = _IMP_core.delete_RigidBodyFramesGeometry
6893 __del__ =
lambda self :
None;
6895 """__str__(RigidBodyFramesGeometry self) -> std::string"""
6896 return _IMP_core.RigidBodyFramesGeometry___str__(self)
6899 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6900 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6903 return _object_cast_to_RigidBodyFramesGeometry(o)
6904 get_from = staticmethod(get_from)
6906 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6907 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6910 """Proxy of C++ IMP::core::RigidBodyTorque class"""
6911 __swig_setmethods__ = {}
6913 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTorque, name, value)
6914 __swig_getmethods__ = {}
6916 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTorque, name)
6917 def __init__(self, *args):
6918 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6919 this = _IMP_core.new_RigidBodyTorque(*args)
6920 try: self.this.append(this)
6921 except: self.this = this
6923 """__str__(RigidBodyTorque self) -> std::string"""
6924 return _IMP_core.RigidBodyTorque___str__(self)
6927 """__repr__(RigidBodyTorque self) -> std::string"""
6928 return _IMP_core.RigidBodyTorque___repr__(self)
6931 return _object_cast_to_RigidBodyTorque(o)
6932 get_from = staticmethod(get_from)
6934 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6935 __del__ =
lambda self :
None;
6936 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6937 RigidBodyTorque_swigregister(RigidBodyTorque)
6939 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6940 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6941 __swig_setmethods__ = {}
6942 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6943 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborsClosePairsFinder, name, value)
6944 __swig_getmethods__ = {}
6945 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6946 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborsClosePairsFinder, name)
6948 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6949 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6950 try: self.this.append(this)
6951 except: self.this = this
6952 def get_close_pairs(self, *args):
6954 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6955 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6956 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6957 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6958 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6959 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6961 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6963 def do_get_inputs(self, *args):
6964 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6965 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, *args)
6967 def get_version_info(self):
6968 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6969 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6971 __swig_destroy__ = _IMP_core.delete_NearestNeighborsClosePairsFinder
6972 __del__ =
lambda self :
None;
6974 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6975 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6978 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6979 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6982 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6983 get_from = staticmethod(get_from)
6985 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6986 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6989 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6990 __swig_setmethods__ = {}
6992 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintsScoringFunction, name, value)
6993 __swig_getmethods__ = {}
6995 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintsScoringFunction, name)
6996 def __init__(self, *args):
6998 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6999 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
7000 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
7001 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
7002 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
7004 this = _IMP_core.new_RestraintsScoringFunction(*args)
7005 try: self.this.append(this)
7006 except: self.this = this
7007 def do_add_score_and_derivatives(self, *args):
7008 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
7009 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
7011 def do_get_inputs(self):
7012 """do_get_inputs(RestraintsScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
7013 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
7015 def get_version_info(self):
7016 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
7017 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
7019 __swig_destroy__ = _IMP_core.delete_RestraintsScoringFunction
7020 __del__ =
lambda self :
None;
7022 """__str__(RestraintsScoringFunction self) -> std::string"""
7023 return _IMP_core.RestraintsScoringFunction___str__(self)
7026 """__repr__(RestraintsScoringFunction self) -> std::string"""
7027 return _IMP_core.RestraintsScoringFunction___repr__(self)
7030 return _object_cast_to_RestraintsScoringFunction(o)
7031 get_from = staticmethod(get_from)
7033 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
7034 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
7036 class RigidClosePairsFinder(ClosePairsFinder):
7037 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
7038 __swig_setmethods__ = {}
7039 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7040 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidClosePairsFinder, name, value)
7041 __swig_getmethods__ = {}
7042 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7043 __getattr__ =
lambda self, name: _swig_getattr(self, RigidClosePairsFinder, name)
7044 def __init__(self, *args):
7046 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=nullptr) -> RigidClosePairsFinder
7047 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
7049 this = _IMP_core.new_RigidClosePairsFinder(*args)
7050 try: self.this.append(this)
7051 except: self.this = this
7052 def do_get_inputs(self, *args):
7053 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7054 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, *args)
7056 def get_close_pairs(self, *args):
7058 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b, IMP::kernel::ParticleIndexes const & pa,
7059 IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticleIndexPairs
7060 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
7061 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
7062 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7063 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7064 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
7065 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
7067 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
7069 def get_version_info(self):
7070 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
7071 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
7073 __swig_destroy__ = _IMP_core.delete_RigidClosePairsFinder
7074 __del__ =
lambda self :
None;
7076 """__str__(RigidClosePairsFinder self) -> std::string"""
7077 return _IMP_core.RigidClosePairsFinder___str__(self)
7080 """__repr__(RigidClosePairsFinder self) -> std::string"""
7081 return _IMP_core.RigidClosePairsFinder___repr__(self)
7084 return _object_cast_to_RigidClosePairsFinder(o)
7085 get_from = staticmethod(get_from)
7087 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
7088 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
7091 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
7092 __swig_setmethods__ = {}
7093 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7094 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistancePairScore, name, value)
7095 __swig_getmethods__ = {}
7096 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7097 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistancePairScore, name)
7098 def __init__(self, *args):
7100 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
7101 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
7103 this = _IMP_core.new_SphereDistancePairScore(*args)
7104 try: self.this.append(this)
7105 except: self.this = this
7106 def do_get_inputs(self, *args):
7107 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7108 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, *args)
7110 def get_version_info(self):
7111 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
7112 return _IMP_core.SphereDistancePairScore_get_version_info(self)
7114 __swig_destroy__ = _IMP_core.delete_SphereDistancePairScore
7115 __del__ =
lambda self :
None;
7117 """__str__(SphereDistancePairScore self) -> std::string"""
7118 return _IMP_core.SphereDistancePairScore___str__(self)
7121 """__repr__(SphereDistancePairScore self) -> std::string"""
7122 return _IMP_core.SphereDistancePairScore___repr__(self)
7125 return _object_cast_to_SphereDistancePairScore(o)
7126 get_from = staticmethod(get_from)
7128 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
7129 SphereDistancePairScore_swigregister(SphereDistancePairScore)
7132 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
7133 __swig_setmethods__ = {}
7134 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7135 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDistancePairScore, name, value)
7136 __swig_getmethods__ = {}
7137 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7138 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDistancePairScore, name)
7139 def __init__(self, *args):
7141 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
7142 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7144 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7145 try: self.this.append(this)
7146 except: self.this = this
7147 def do_get_inputs(self, *args):
7148 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7149 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, *args)
7151 def get_version_info(self):
7152 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7153 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7155 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDistancePairScore
7156 __del__ =
lambda self :
None;
7158 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7159 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7162 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7163 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7166 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7167 get_from = staticmethod(get_from)
7169 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7170 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7173 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
7174 __swig_setmethods__ = {}
7175 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7176 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDiameterPairScore, name, value)
7177 __swig_getmethods__ = {}
7178 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7179 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDiameterPairScore, name)
7180 def __init__(self, *args):
7181 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7182 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
7183 try: self.this.append(this)
7184 except: self.this = this
7185 def get_rest_length(self):
7186 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7187 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7189 def get_stiffness(self):
7190 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7191 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7193 def do_get_inputs(self, *args):
7194 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7195 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, *args)
7197 def get_version_info(self):
7198 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7199 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7201 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDiameterPairScore
7202 __del__ =
lambda self :
None;
7204 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7205 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7208 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7209 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7212 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7213 get_from = staticmethod(get_from)
7215 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7216 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7219 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
7220 __swig_setmethods__ = {}
7221 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7222 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicSphereDistancePairScore, name, value)
7223 __swig_getmethods__ = {}
7224 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7225 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicSphereDistancePairScore, name)
7226 def __init__(self, *args):
7228 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
7229 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7231 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7232 try: self.this.append(this)
7233 except: self.this = this
7234 def do_get_inputs(self, *args):
7235 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7236 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, *args)
7238 def get_version_info(self):
7239 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7240 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7242 __swig_destroy__ = _IMP_core.delete_HarmonicSphereDistancePairScore
7243 __del__ =
lambda self :
None;
7245 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7246 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7249 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7250 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7253 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7254 get_from = staticmethod(get_from)
7256 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7257 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7260 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7261 __swig_setmethods__ = {}
7262 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7263 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalizedSphereDistancePairScore, name, value)
7264 __swig_getmethods__ = {}
7265 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7266 __getattr__ =
lambda self, name: _swig_getattr(self, NormalizedSphereDistancePairScore, name)
7267 def __init__(self, *args):
7269 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
7270 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7272 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7273 try: self.this.append(this)
7274 except: self.this = this
7275 def do_get_inputs(self, *args):
7276 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7277 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, *args)
7279 def get_version_info(self):
7280 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7281 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7283 __swig_destroy__ = _IMP_core.delete_NormalizedSphereDistancePairScore
7284 __del__ =
lambda self :
None;
7286 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7287 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7290 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7291 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7294 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7295 get_from = staticmethod(get_from)
7297 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7298 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7301 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7302 __swig_setmethods__ = {}
7303 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7304 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedSphereDistancePairScore, name, value)
7305 __swig_getmethods__ = {}
7306 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7307 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedSphereDistancePairScore, name)
7308 def __init__(self, *args):
7310 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
7311 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7313 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7314 try: self.this.append(this)
7315 except: self.this = this
7316 def do_get_inputs(self, *args):
7317 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7318 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, *args)
7320 def get_version_info(self):
7321 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7322 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7324 __swig_destroy__ = _IMP_core.delete_WeightedSphereDistancePairScore
7325 __del__ =
lambda self :
None;
7327 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7328 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7331 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7332 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7335 return _object_cast_to_WeightedSphereDistancePairScore(o)
7336 get_from = staticmethod(get_from)
7338 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7339 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7342 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7343 __swig_setmethods__ = {}
7344 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7345 __setattr__ =
lambda self, name, value: _swig_setattr(self, SoftSpherePairScore, name, value)
7346 __swig_getmethods__ = {}
7347 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7348 __getattr__ =
lambda self, name: _swig_getattr(self, SoftSpherePairScore, name)
7349 def __init__(self, *args):
7351 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
7352 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7354 this = _IMP_core.new_SoftSpherePairScore(*args)
7355 try: self.this.append(this)
7356 except: self.this = this
7357 def do_get_inputs(self, *args):
7358 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7359 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, *args)
7361 def get_version_info(self):
7362 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7363 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7365 __swig_destroy__ = _IMP_core.delete_SoftSpherePairScore
7366 __del__ =
lambda self :
None;
7368 """__str__(SoftSpherePairScore self) -> std::string"""
7369 return _IMP_core.SoftSpherePairScore___str__(self)
7372 """__repr__(SoftSpherePairScore self) -> std::string"""
7373 return _IMP_core.SoftSpherePairScore___repr__(self)
7376 return _object_cast_to_SoftSpherePairScore(o)
7377 get_from = staticmethod(get_from)
7379 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7380 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7383 """Proxy of C++ IMP::core::SteepestDescent class"""
7384 __swig_setmethods__ = {}
7386 __setattr__ =
lambda self, name, value: _swig_setattr(self, SteepestDescent, name, value)
7387 __swig_getmethods__ = {}
7389 __getattr__ =
lambda self, name: _swig_getattr(self, SteepestDescent, name)
7390 def __init__(self, *args):
7392 __init__(IMP::core::SteepestDescent self) -> SteepestDescent
7393 __init__(IMP::core::SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent
7394 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
7396 this = _IMP_core.new_SteepestDescent(*args)
7397 try: self.this.append(this)
7398 except: self.this = this
7399 def do_optimize(self, *args):
7400 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7401 return _IMP_core.SteepestDescent_do_optimize(self, *args)
7403 def get_version_info(self):
7404 """get_version_info(SteepestDescent self) -> VersionInfo"""
7405 return _IMP_core.SteepestDescent_get_version_info(self)
7407 __swig_destroy__ = _IMP_core.delete_SteepestDescent
7408 __del__ =
lambda self :
None;
7409 def set_threshold(self, *args):
7410 """set_threshold(SteepestDescent self, IMP::Float t)"""
7411 return _IMP_core.SteepestDescent_set_threshold(self, *args)
7413 def set_step_size(self, *args):
7414 """set_step_size(SteepestDescent self, IMP::Float t)"""
7415 return _IMP_core.SteepestDescent_set_step_size(self, *args)
7417 def set_maximum_step_size(self, *args):
7418 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7419 return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
7422 """__str__(SteepestDescent self) -> std::string"""
7423 return _IMP_core.SteepestDescent___str__(self)
7426 """__repr__(SteepestDescent self) -> std::string"""
7427 return _IMP_core.SteepestDescent___repr__(self)
7430 return _object_cast_to_SteepestDescent(o)
7431 get_from = staticmethod(get_from)
7433 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7434 SteepestDescent_swigregister(SteepestDescent)
7437 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7438 __swig_setmethods__ = {}
7439 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7440 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformedDistancePairScore, name, value)
7441 __swig_getmethods__ = {}
7442 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7443 __getattr__ =
lambda self, name: _swig_getattr(self, TransformedDistancePairScore, name)
7444 def __init__(self, *args):
7445 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7446 this = _IMP_core.new_TransformedDistancePairScore(*args)
7447 try: self.this.append(this)
7448 except: self.this = this
7449 def set_transformation(self, *args):
7450 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7451 return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
7453 def do_get_inputs(self, *args):
7454 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7455 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, *args)
7457 def get_version_info(self):
7458 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7459 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7461 __swig_destroy__ = _IMP_core.delete_TransformedDistancePairScore
7462 __del__ =
lambda self :
None;
7464 """__str__(TransformedDistancePairScore self) -> std::string"""
7465 return _IMP_core.TransformedDistancePairScore___str__(self)
7468 """__repr__(TransformedDistancePairScore self) -> std::string"""
7469 return _IMP_core.TransformedDistancePairScore___repr__(self)
7472 return _object_cast_to_TransformedDistancePairScore(o)
7473 get_from = staticmethod(get_from)
7475 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
7476 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7479 """Proxy of C++ IMP::core::TypedPairScore class"""
7480 __swig_setmethods__ = {}
7481 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7482 __setattr__ =
lambda self, name, value: _swig_setattr(self, TypedPairScore, name, value)
7483 __swig_getmethods__ = {}
7484 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7485 __getattr__ =
lambda self, name: _swig_getattr(self, TypedPairScore, name)
7486 def __init__(self, *args):
7488 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7489 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7491 this = _IMP_core.new_TypedPairScore(*args)
7492 try: self.this.append(this)
7493 except: self.this = this
7494 def set_particle_type(self, *args):
7495 """set_particle_type(TypedPairScore self, Particle arg2)"""
7496 return _IMP_core.TypedPairScore_set_particle_type(self, *args)
7498 def set_pair_score(self, *args):
7499 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7500 return _IMP_core.TypedPairScore_set_pair_score(self, *args)
7502 def do_get_inputs(self, *args):
7503 """do_get_inputs(TypedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7504 return _IMP_core.TypedPairScore_do_get_inputs(self, *args)
7506 def get_version_info(self):
7507 """get_version_info(TypedPairScore self) -> VersionInfo"""
7508 return _IMP_core.TypedPairScore_get_version_info(self)
7510 __swig_destroy__ = _IMP_core.delete_TypedPairScore
7511 __del__ =
lambda self :
None;
7513 """__str__(TypedPairScore self) -> std::string"""
7514 return _IMP_core.TypedPairScore___str__(self)
7517 """__repr__(TypedPairScore self) -> std::string"""
7518 return _IMP_core.TypedPairScore___repr__(self)
7521 return _object_cast_to_TypedPairScore(o)
7522 get_from = staticmethod(get_from)
7524 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7525 TypedPairScore_swigregister(TypedPairScore)
7527 class RigidBodyDistancePairScore(KClosePairsPairScore):
7528 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7529 __swig_setmethods__ = {}
7530 for _s
in [KClosePairsPairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7531 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDistancePairScore, name, value)
7532 __swig_getmethods__ = {}
7533 for _s
in [KClosePairsPairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7534 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDistancePairScore, name)
7535 def __init__(self, *args):
7536 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7537 this = _IMP_core.new_RigidBodyDistancePairScore(*args)
7538 try: self.this.append(this)
7539 except: self.this = this
7541 """__str__(RigidBodyDistancePairScore self) -> std::string"""
7542 return _IMP_core.RigidBodyDistancePairScore___str__(self)
7545 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7546 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7549 return _object_cast_to_RigidBodyDistancePairScore(o)
7550 get_from = staticmethod(get_from)
7552 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7553 __del__ =
lambda self :
None;
7554 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7555 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7558 """Proxy of C++ IMP::core::TableRefiner class"""
7559 __swig_setmethods__ = {}
7560 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7561 __setattr__ =
lambda self, name, value: _swig_setattr(self, TableRefiner, name, value)
7562 __swig_getmethods__ = {}
7563 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7564 __getattr__ =
lambda self, name: _swig_getattr(self, TableRefiner, name)
7566 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7567 this = _IMP_core.new_TableRefiner()
7568 try: self.this.append(this)
7569 except: self.this = this
7571 """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7572 return _IMP_core.TableRefiner_add_particle(self, *args)
7574 def remove_particle(self, *args):
7575 """remove_particle(TableRefiner self, Particle p)"""
7576 return _IMP_core.TableRefiner_remove_particle(self, *args)
7578 def set_particle(self, *args):
7579 """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7580 return _IMP_core.TableRefiner_set_particle(self, *args)
7582 def do_get_inputs(self, *args):
7583 """do_get_inputs(TableRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7584 return _IMP_core.TableRefiner_do_get_inputs(self, *args)
7586 def get_version_info(self):
7587 """get_version_info(TableRefiner self) -> VersionInfo"""
7588 return _IMP_core.TableRefiner_get_version_info(self)
7590 __swig_destroy__ = _IMP_core.delete_TableRefiner
7591 __del__ =
lambda self :
None;
7593 """__str__(TableRefiner self) -> std::string"""
7594 return _IMP_core.TableRefiner___str__(self)
7597 """__repr__(TableRefiner self) -> std::string"""
7598 return _IMP_core.TableRefiner___repr__(self)
7601 return _object_cast_to_TableRefiner(o)
7602 get_from = staticmethod(get_from)
7604 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7605 TableRefiner_swigregister(TableRefiner)
7607 LOWER = _IMP_core.LOWER
7608 BOTH = _IMP_core.BOTH
7609 UPPER = _IMP_core.UPPER
7611 """Proxy of C++ IMP::core::MCCGSampler class"""
7612 __swig_setmethods__ = {}
7613 for _s
in [
IMP.kernel.Sampler]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7614 __setattr__ =
lambda self, name, value: _swig_setattr(self, MCCGSampler, name, value)
7615 __swig_getmethods__ = {}
7616 for _s
in [
IMP.kernel.Sampler]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7617 __getattr__ =
lambda self, name: _swig_getattr(self, MCCGSampler, name)
7618 def __init__(self, *args):
7620 __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
7621 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7623 this = _IMP_core.new_MCCGSampler(*args)
7624 try: self.this.append(this)
7625 except: self.this = this
7626 def set_bounding_box(self, *args):
7627 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7628 return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
7630 def set_number_of_attempts(self, *args):
7631 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7632 return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
7634 def set_number_of_monte_carlo_steps(self, *args):
7635 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7636 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
7638 def set_number_of_conjugate_gradient_steps(self, *args):
7639 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7640 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
7642 def set_max_monte_carlo_step_size(self, *args):
7644 set_max_monte_carlo_step_size(MCCGSampler self, double d)
7645 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7647 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7649 def set_is_refining(self, *args):
7650 """set_is_refining(MCCGSampler self, bool tf)"""
7651 return _IMP_core.MCCGSampler_set_is_refining(self, *args)
7653 def set_local_optimizer(self, *args):
7654 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7655 return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
7657 def set_save_rejected_configurations(self, *args):
7658 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7659 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
7661 def get_rejected_configurations(self):
7662 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7663 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7665 def remove_optimizer_state(self, *args):
7666 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7667 return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
7669 def remove_optimizer_states(self, *args):
7670 """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
7671 return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
7673 def set_optimizer_states(self, *args):
7674 """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
7675 return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
7677 def set_optimizer_states_order(self, *args):
7678 """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7679 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
7681 def add_optimizer_state(self, *args):
7682 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7683 return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
7685 def add_optimizer_states(self, *args):
7686 """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7687 return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
7689 def clear_optimizer_states(self):
7690 """clear_optimizer_states(MCCGSampler self)"""
7691 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7693 def get_number_of_optimizer_states(self):
7694 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7695 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7697 def get_has_optimizer_states(self):
7698 """get_has_optimizer_states(MCCGSampler self) -> bool"""
7699 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7701 def get_optimizer_state(self, *args):
7702 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7703 return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
7705 def get_optimizer_states(self):
7706 """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
7707 return _IMP_core.MCCGSampler_get_optimizer_states(self)
7709 def reserve_optimizer_states(self, *args):
7710 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
7711 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
7713 def do_sample(self):
7714 """do_sample(MCCGSampler self) -> ConfigurationSet"""
7715 return _IMP_core.MCCGSampler_do_sample(self)
7717 def get_version_info(self):
7718 """get_version_info(MCCGSampler self) -> VersionInfo"""
7719 return _IMP_core.MCCGSampler_get_version_info(self)
7721 __swig_destroy__ = _IMP_core.delete_MCCGSampler
7722 __del__ =
lambda self :
None;
7724 """__str__(MCCGSampler self) -> std::string"""
7725 return _IMP_core.MCCGSampler___str__(self)
7728 """__repr__(MCCGSampler self) -> std::string"""
7729 return _IMP_core.MCCGSampler___repr__(self)
7732 return _object_cast_to_MCCGSampler(o)
7733 get_from = staticmethod(get_from)
7735 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
7736 MCCGSampler_swigregister(MCCGSampler)
7739 """Proxy of C++ IMP::core::MinimumRestraint class"""
7740 __swig_setmethods__ = {}
7741 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7742 __setattr__ =
lambda self, name, value: _swig_setattr(self, MinimumRestraint, name, value)
7743 __swig_getmethods__ = {}
7744 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7745 __getattr__ =
lambda self, name: _swig_getattr(self, MinimumRestraint, name)
7746 def __init__(self, *args):
7748 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
7749 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
7750 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
7752 this = _IMP_core.new_MinimumRestraint(*args)
7753 try: self.this.append(this)
7754 except: self.this = this
7755 def do_get_inputs(self):
7756 """do_get_inputs(MinimumRestraint self) -> IMP::kernel::ModelObjectsTemp"""
7757 return _IMP_core.MinimumRestraint_do_get_inputs(self)
7759 def get_version_info(self):
7760 """get_version_info(MinimumRestraint self) -> VersionInfo"""
7761 return _IMP_core.MinimumRestraint_get_version_info(self)
7763 __swig_destroy__ = _IMP_core.delete_MinimumRestraint
7764 __del__ =
lambda self :
None;
7765 def remove_restraint(self, *args):
7766 """remove_restraint(MinimumRestraint self, Restraint d)"""
7767 return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
7769 def remove_restraints(self, *args):
7770 """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
7771 return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
7773 def set_restraints(self, *args):
7774 """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
7775 return _IMP_core.MinimumRestraint_set_restraints(self, *args)
7777 def set_restraints_order(self, *args):
7778 """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7779 return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
7782 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
7783 return _IMP_core.MinimumRestraint_add_restraint(self, *args)
7786 """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7787 return _IMP_core.MinimumRestraint_add_restraints(self, *args)
7789 def clear_restraints(self):
7790 """clear_restraints(MinimumRestraint self)"""
7791 return _IMP_core.MinimumRestraint_clear_restraints(self)
7793 def get_number_of_restraints(self):
7794 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
7795 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
7797 def get_has_restraints(self):
7798 """get_has_restraints(MinimumRestraint self) -> bool"""
7799 return _IMP_core.MinimumRestraint_get_has_restraints(self)
7801 def get_restraint(self, *args):
7802 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
7803 return _IMP_core.MinimumRestraint_get_restraint(self, *args)
7806 """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
7807 return _IMP_core.MinimumRestraint_get_restraints(self)
7809 def reserve_restraints(self, *args):
7810 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
7811 return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
7814 """__str__(MinimumRestraint self) -> std::string"""
7815 return _IMP_core.MinimumRestraint___str__(self)
7818 """__repr__(MinimumRestraint self) -> std::string"""
7819 return _IMP_core.MinimumRestraint___repr__(self)
7822 return _object_cast_to_MinimumRestraint(o)
7823 get_from = staticmethod(get_from)
7825 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
7826 MinimumRestraint_swigregister(MinimumRestraint)
7829 """Proxy of C++ IMP::core::PairRestraint class"""
7830 __swig_setmethods__ = {}
7831 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7832 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairRestraint, name, value)
7833 __swig_getmethods__ = {}
7834 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7835 __getattr__ =
lambda self, name: _swig_getattr(self, PairRestraint, name)
7836 def __init__(self, *args):
7838 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7839 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7841 this = _IMP_core.new_PairRestraint(*args)
7842 try: self.this.append(this)
7843 except: self.this = this
7844 def get_version_info(self):
7845 """get_version_info(PairRestraint self) -> VersionInfo"""
7846 return _IMP_core.PairRestraint_get_version_info(self)
7848 __swig_destroy__ = _IMP_core.delete_PairRestraint
7849 __del__ =
lambda self :
None;
7851 """__str__(PairRestraint self) -> std::string"""
7852 return _IMP_core.PairRestraint___str__(self)
7855 """__repr__(PairRestraint self) -> std::string"""
7856 return _IMP_core.PairRestraint___repr__(self)
7859 return _object_cast_to_PairRestraint(o)
7860 get_from = staticmethod(get_from)
7862 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7863 PairRestraint_swigregister(PairRestraint)
7866 """Proxy of C++ IMP::core::SingletonRestraint class"""
7867 __swig_setmethods__ = {}
7868 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7869 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonRestraint, name, value)
7870 __swig_getmethods__ = {}
7871 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7872 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonRestraint, name)
7873 def __init__(self, *args):
7875 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7876 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7878 this = _IMP_core.new_SingletonRestraint(*args)
7879 try: self.this.append(this)
7880 except: self.this = this
7881 def get_version_info(self):
7882 """get_version_info(SingletonRestraint self) -> VersionInfo"""
7883 return _IMP_core.SingletonRestraint_get_version_info(self)
7885 __swig_destroy__ = _IMP_core.delete_SingletonRestraint
7886 __del__ =
lambda self :
None;
7888 """__str__(SingletonRestraint self) -> std::string"""
7889 return _IMP_core.SingletonRestraint___str__(self)
7892 """__repr__(SingletonRestraint self) -> std::string"""
7893 return _IMP_core.SingletonRestraint___repr__(self)
7896 return _object_cast_to_SingletonRestraint(o)
7897 get_from = staticmethod(get_from)
7899 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7900 SingletonRestraint_swigregister(SingletonRestraint)
7903 """Proxy of C++ IMP::core::TripletRestraint class"""
7904 __swig_setmethods__ = {}
7905 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7906 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletRestraint, name, value)
7907 __swig_getmethods__ = {}
7908 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7909 __getattr__ =
lambda self, name: _swig_getattr(self, TripletRestraint, name)
7910 def __init__(self, *args):
7912 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7913 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7915 this = _IMP_core.new_TripletRestraint(*args)
7916 try: self.this.append(this)
7917 except: self.this = this
7918 def get_version_info(self):
7919 """get_version_info(TripletRestraint self) -> VersionInfo"""
7920 return _IMP_core.TripletRestraint_get_version_info(self)
7922 __swig_destroy__ = _IMP_core.delete_TripletRestraint
7923 __del__ =
lambda self :
None;
7925 """__str__(TripletRestraint self) -> std::string"""
7926 return _IMP_core.TripletRestraint___str__(self)
7929 """__repr__(TripletRestraint self) -> std::string"""
7930 return _IMP_core.TripletRestraint___repr__(self)
7933 return _object_cast_to_TripletRestraint(o)
7934 get_from = staticmethod(get_from)
7936 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7937 TripletRestraint_swigregister(TripletRestraint)
7940 """Proxy of C++ IMP::core::QuadRestraint class"""
7941 __swig_setmethods__ = {}
7942 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7943 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadRestraint, name, value)
7944 __swig_getmethods__ = {}
7945 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7946 __getattr__ =
lambda self, name: _swig_getattr(self, QuadRestraint, name)
7947 def __init__(self, *args):
7949 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7950 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7952 this = _IMP_core.new_QuadRestraint(*args)
7953 try: self.this.append(this)
7954 except: self.this = this
7955 def get_version_info(self):
7956 """get_version_info(QuadRestraint self) -> VersionInfo"""
7957 return _IMP_core.QuadRestraint_get_version_info(self)
7959 __swig_destroy__ = _IMP_core.delete_QuadRestraint
7960 __del__ =
lambda self :
None;
7962 """__str__(QuadRestraint self) -> std::string"""
7963 return _IMP_core.QuadRestraint___str__(self)
7966 """__repr__(QuadRestraint self) -> std::string"""
7967 return _IMP_core.QuadRestraint___repr__(self)
7970 return _object_cast_to_QuadRestraint(o)
7971 get_from = staticmethod(get_from)
7973 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7974 QuadRestraint_swigregister(QuadRestraint)
7977 """Proxy of C++ IMP::core::SingletonConstraint class"""
7978 __swig_setmethods__ = {}
7980 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonConstraint, name, value)
7981 __swig_getmethods__ = {}
7983 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonConstraint, name)
7984 def __init__(self, *args):
7986 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7987 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7988 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt,
7989 std::string name="SingletonConstraint %1%") -> SingletonConstraint
7990 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt) -> SingletonConstraint
7992 this = _IMP_core.new_SingletonConstraint(*args)
7993 try: self.this.append(this)
7994 except: self.this = this
7995 def get_version_info(self):
7996 """get_version_info(SingletonConstraint self) -> VersionInfo"""
7997 return _IMP_core.SingletonConstraint_get_version_info(self)
7999 __swig_destroy__ = _IMP_core.delete_SingletonConstraint
8000 __del__ =
lambda self :
None;
8002 """__str__(SingletonConstraint self) -> std::string"""
8003 return _IMP_core.SingletonConstraint___str__(self)
8006 """__repr__(SingletonConstraint self) -> std::string"""
8007 return _IMP_core.SingletonConstraint___repr__(self)
8010 return _object_cast_to_SingletonConstraint(o)
8011 get_from = staticmethod(get_from)
8013 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
8014 SingletonConstraint_swigregister(SingletonConstraint)
8017 """Proxy of C++ IMP::core::PairConstraint class"""
8018 __swig_setmethods__ = {}
8020 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairConstraint, name, value)
8021 __swig_getmethods__ = {}
8023 __getattr__ =
lambda self, name: _swig_getattr(self, PairConstraint, name)
8024 def __init__(self, *args):
8026 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
8027 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
8028 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt,
8029 std::string name="PairConstraint %1%") -> PairConstraint
8030 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt) -> PairConstraint
8032 this = _IMP_core.new_PairConstraint(*args)
8033 try: self.this.append(this)
8034 except: self.this = this
8035 def get_version_info(self):
8036 """get_version_info(PairConstraint self) -> VersionInfo"""
8037 return _IMP_core.PairConstraint_get_version_info(self)
8039 __swig_destroy__ = _IMP_core.delete_PairConstraint
8040 __del__ =
lambda self :
None;
8042 """__str__(PairConstraint self) -> std::string"""
8043 return _IMP_core.PairConstraint___str__(self)
8046 """__repr__(PairConstraint self) -> std::string"""
8047 return _IMP_core.PairConstraint___repr__(self)
8050 return _object_cast_to_PairConstraint(o)
8051 get_from = staticmethod(get_from)
8053 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
8054 PairConstraint_swigregister(PairConstraint)
8057 """Proxy of C++ IMP::core::TripletConstraint class"""
8058 __swig_setmethods__ = {}
8060 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletConstraint, name, value)
8061 __swig_getmethods__ = {}
8063 __getattr__ =
lambda self, name: _swig_getattr(self, TripletConstraint, name)
8064 def __init__(self, *args):
8066 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
8067 std::string name="TripletConstraint %1%") -> TripletConstraint
8068 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
8069 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt,
8070 std::string name="TripletConstraint %1%") -> TripletConstraint
8071 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletConstraint
8073 this = _IMP_core.new_TripletConstraint(*args)
8074 try: self.this.append(this)
8075 except: self.this = this
8076 def get_version_info(self):
8077 """get_version_info(TripletConstraint self) -> VersionInfo"""
8078 return _IMP_core.TripletConstraint_get_version_info(self)
8080 __swig_destroy__ = _IMP_core.delete_TripletConstraint
8081 __del__ =
lambda self :
None;
8083 """__str__(TripletConstraint self) -> std::string"""
8084 return _IMP_core.TripletConstraint___str__(self)
8087 """__repr__(TripletConstraint self) -> std::string"""
8088 return _IMP_core.TripletConstraint___repr__(self)
8091 return _object_cast_to_TripletConstraint(o)
8092 get_from = staticmethod(get_from)
8094 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
8095 TripletConstraint_swigregister(TripletConstraint)
8098 """Proxy of C++ IMP::core::QuadConstraint class"""
8099 __swig_setmethods__ = {}
8101 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadConstraint, name, value)
8102 __swig_getmethods__ = {}
8104 __getattr__ =
lambda self, name: _swig_getattr(self, QuadConstraint, name)
8105 def __init__(self, *args):
8107 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
8108 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
8109 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt,
8110 std::string name="QuadConstraint %1%") -> QuadConstraint
8111 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> QuadConstraint
8113 this = _IMP_core.new_QuadConstraint(*args)
8114 try: self.this.append(this)
8115 except: self.this = this
8116 def get_version_info(self):
8117 """get_version_info(QuadConstraint self) -> VersionInfo"""
8118 return _IMP_core.QuadConstraint_get_version_info(self)
8120 __swig_destroy__ = _IMP_core.delete_QuadConstraint
8121 __del__ =
lambda self :
None;
8123 """__str__(QuadConstraint self) -> std::string"""
8124 return _IMP_core.QuadConstraint___str__(self)
8127 """__repr__(QuadConstraint self) -> std::string"""
8128 return _IMP_core.QuadConstraint___repr__(self)
8131 return _object_cast_to_QuadConstraint(o)
8132 get_from = staticmethod(get_from)
8134 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
8135 QuadConstraint_swigregister(QuadConstraint)
8138 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
8139 __swig_setmethods__ = {}
8141 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantSingletonPredicate, name, value)
8142 __swig_getmethods__ = {}
8144 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantSingletonPredicate, name)
8145 def __init__(self, *args):
8147 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
8148 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
8150 this = _IMP_core.new_ConstantSingletonPredicate(*args)
8151 try: self.this.append(this)
8152 except: self.this = this
8153 def do_get_inputs(self, *args):
8154 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8155 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, *args)
8157 def get_value(self, *args):
8159 get_value(ConstantSingletonPredicate self, Particle a) -> int
8160 get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8162 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
8164 def get_value_index(self, *args):
8166 get_value_index(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8167 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8169 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
8171 def get_version_info(self):
8172 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
8173 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
8175 __swig_destroy__ = _IMP_core.delete_ConstantSingletonPredicate
8176 __del__ =
lambda self :
None;
8178 """__str__(ConstantSingletonPredicate self) -> std::string"""
8179 return _IMP_core.ConstantSingletonPredicate___str__(self)
8182 """__repr__(ConstantSingletonPredicate self) -> std::string"""
8183 return _IMP_core.ConstantSingletonPredicate___repr__(self)
8186 return _object_cast_to_ConstantSingletonPredicate(o)
8187 get_from = staticmethod(get_from)
8189 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
8190 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
8193 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
8194 __swig_setmethods__ = {}
8196 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeSingletonPredicate, name, value)
8197 __swig_getmethods__ = {}
8199 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeSingletonPredicate, name)
8200 def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
8202 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
8203 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
8205 this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
8206 try: self.this.append(this)
8207 except: self.this = this
8208 def do_get_inputs(self, *args):
8209 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8210 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, *args)
8212 def get_value(self, *args):
8214 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
8215 get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8217 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
8219 def get_value_index(self, *args):
8221 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8222 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8224 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
8226 def get_version_info(self):
8227 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
8228 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
8230 __swig_destroy__ = _IMP_core.delete_UnorderedTypeSingletonPredicate
8231 __del__ =
lambda self :
None;
8233 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
8234 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
8237 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
8238 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
8241 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
8242 get_from = staticmethod(get_from)
8244 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8245 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8248 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8249 __swig_setmethods__ = {}
8251 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeSingletonPredicate, name, value)
8252 __swig_getmethods__ = {}
8254 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeSingletonPredicate, name)
8255 def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
8257 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
8258 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8260 this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
8261 try: self.this.append(this)
8262 except: self.this = this
8263 def do_get_inputs(self, *args):
8264 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8265 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, *args)
8267 def get_value(self, *args):
8269 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8270 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8271 get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8273 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8275 def get_value_index(self, *args):
8277 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8278 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8280 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8282 def get_version_info(self):
8283 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8284 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8286 __swig_destroy__ = _IMP_core.delete_OrderedTypeSingletonPredicate
8287 __del__ =
lambda self :
None;
8289 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8290 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8293 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8294 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8297 return _object_cast_to_OrderedTypeSingletonPredicate(o)
8298 get_from = staticmethod(get_from)
8300 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8301 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8304 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8305 __swig_setmethods__ = {}
8307 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameSingletonPredicate, name, value)
8308 __swig_getmethods__ = {}
8310 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameSingletonPredicate, name)
8311 def __init__(self, name="AllSameSingletonPredicate%1%"):
8313 __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
8314 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8316 this = _IMP_core.new_AllSameSingletonPredicate(name)
8317 try: self.this.append(this)
8318 except: self.this = this
8319 def do_get_inputs(self, *args):
8320 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8321 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, *args)
8323 def get_value(self, *args):
8325 get_value(AllSameSingletonPredicate self, Particle a) -> int
8326 get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8328 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8330 def get_value_index(self, *args):
8332 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8333 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8335 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8337 def get_version_info(self):
8338 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8339 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8341 __swig_destroy__ = _IMP_core.delete_AllSameSingletonPredicate
8342 __del__ =
lambda self :
None;
8344 """__str__(AllSameSingletonPredicate self) -> std::string"""
8345 return _IMP_core.AllSameSingletonPredicate___str__(self)
8348 """__repr__(AllSameSingletonPredicate self) -> std::string"""
8349 return _IMP_core.AllSameSingletonPredicate___repr__(self)
8352 return _object_cast_to_AllSameSingletonPredicate(o)
8353 get_from = staticmethod(get_from)
8355 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8356 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8359 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8360 __swig_setmethods__ = {}
8362 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipSingletonPredicate, name, value)
8363 __swig_getmethods__ = {}
8365 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipSingletonPredicate, name)
8366 def __init__(self, *args):
8368 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
8369 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8371 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8372 try: self.this.append(this)
8373 except: self.this = this
8374 def do_get_inputs(self, *args):
8375 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8376 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, *args)
8378 def get_value(self, *args):
8380 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8381 get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8383 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8385 def get_value_index(self, *args):
8387 get_value_index(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8388 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8390 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8392 def get_version_info(self):
8393 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8394 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
8396 __swig_destroy__ = _IMP_core.delete_CoinFlipSingletonPredicate
8397 __del__ =
lambda self :
None;
8399 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
8400 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
8403 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
8404 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
8407 return _object_cast_to_CoinFlipSingletonPredicate(o)
8408 get_from = staticmethod(get_from)
8410 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
8411 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
8414 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
8415 __swig_setmethods__ = {}
8417 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantPairPredicate, name, value)
8418 __swig_getmethods__ = {}
8420 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantPairPredicate, name)
8421 def __init__(self, *args):
8423 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
8424 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
8426 this = _IMP_core.new_ConstantPairPredicate(*args)
8427 try: self.this.append(this)
8428 except: self.this = this
8429 def do_get_inputs(self, *args):
8430 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8431 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, *args)
8433 def get_value(self, *args):
8435 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8436 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8438 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
8440 def get_value_index(self, *args):
8442 get_value_index(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8443 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8445 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
8447 def get_version_info(self):
8448 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
8449 return _IMP_core.ConstantPairPredicate_get_version_info(self)
8451 __swig_destroy__ = _IMP_core.delete_ConstantPairPredicate
8452 __del__ =
lambda self :
None;
8454 """__str__(ConstantPairPredicate self) -> std::string"""
8455 return _IMP_core.ConstantPairPredicate___str__(self)
8458 """__repr__(ConstantPairPredicate self) -> std::string"""
8459 return _IMP_core.ConstantPairPredicate___repr__(self)
8462 return _object_cast_to_ConstantPairPredicate(o)
8463 get_from = staticmethod(get_from)
8465 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
8466 ConstantPairPredicate_swigregister(ConstantPairPredicate)
8469 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
8470 __swig_setmethods__ = {}
8472 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypePairPredicate, name, value)
8473 __swig_getmethods__ = {}
8475 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypePairPredicate, name)
8476 def __init__(self, name="UnorderedTypePairPredicate%1%"):
8478 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
8479 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
8481 this = _IMP_core.new_UnorderedTypePairPredicate(name)
8482 try: self.this.append(this)
8483 except: self.this = this
8484 def do_get_inputs(self, *args):
8485 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8486 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, *args)
8488 def get_value(self, *args):
8490 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8491 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8493 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
8495 def get_value_index(self, *args):
8497 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8498 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8500 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
8502 def get_version_info(self):
8503 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
8504 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
8506 __swig_destroy__ = _IMP_core.delete_UnorderedTypePairPredicate
8507 __del__ =
lambda self :
None;
8509 """__str__(UnorderedTypePairPredicate self) -> std::string"""
8510 return _IMP_core.UnorderedTypePairPredicate___str__(self)
8513 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
8514 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
8517 return _object_cast_to_UnorderedTypePairPredicate(o)
8518 get_from = staticmethod(get_from)
8520 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
8521 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
8524 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
8525 __swig_setmethods__ = {}
8527 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypePairPredicate, name, value)
8528 __swig_getmethods__ = {}
8530 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypePairPredicate, name)
8531 def __init__(self, name="OrderedTypePairPredicate%1%"):
8533 __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
8534 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
8536 this = _IMP_core.new_OrderedTypePairPredicate(name)
8537 try: self.this.append(this)
8538 except: self.this = this
8539 def do_get_inputs(self, *args):
8540 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8541 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, *args)
8543 def get_value(self, *args):
8545 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
8546 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8547 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8549 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
8551 def get_value_index(self, *args):
8553 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8554 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8556 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
8558 def get_version_info(self):
8559 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
8560 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
8562 __swig_destroy__ = _IMP_core.delete_OrderedTypePairPredicate
8563 __del__ =
lambda self :
None;
8565 """__str__(OrderedTypePairPredicate self) -> std::string"""
8566 return _IMP_core.OrderedTypePairPredicate___str__(self)
8569 """__repr__(OrderedTypePairPredicate self) -> std::string"""
8570 return _IMP_core.OrderedTypePairPredicate___repr__(self)
8573 return _object_cast_to_OrderedTypePairPredicate(o)
8574 get_from = staticmethod(get_from)
8576 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
8577 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
8580 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
8581 __swig_setmethods__ = {}
8583 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSamePairPredicate, name, value)
8584 __swig_getmethods__ = {}
8586 __getattr__ =
lambda self, name: _swig_getattr(self, AllSamePairPredicate, name)
8587 def __init__(self, name="AllSamePairPredicate%1%"):
8589 __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
8590 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
8592 this = _IMP_core.new_AllSamePairPredicate(name)
8593 try: self.this.append(this)
8594 except: self.this = this
8595 def do_get_inputs(self, *args):
8596 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8597 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, *args)
8599 def get_value(self, *args):
8601 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8602 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8604 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
8606 def get_value_index(self, *args):
8608 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8609 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8611 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
8613 def get_version_info(self):
8614 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
8615 return _IMP_core.AllSamePairPredicate_get_version_info(self)
8617 __swig_destroy__ = _IMP_core.delete_AllSamePairPredicate
8618 __del__ =
lambda self :
None;
8620 """__str__(AllSamePairPredicate self) -> std::string"""
8621 return _IMP_core.AllSamePairPredicate___str__(self)
8624 """__repr__(AllSamePairPredicate self) -> std::string"""
8625 return _IMP_core.AllSamePairPredicate___repr__(self)
8628 return _object_cast_to_AllSamePairPredicate(o)
8629 get_from = staticmethod(get_from)
8631 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
8632 AllSamePairPredicate_swigregister(AllSamePairPredicate)
8635 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
8636 __swig_setmethods__ = {}
8638 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipPairPredicate, name, value)
8639 __swig_getmethods__ = {}
8641 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipPairPredicate, name)
8642 def __init__(self, *args):
8644 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
8645 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
8647 this = _IMP_core.new_CoinFlipPairPredicate(*args)
8648 try: self.this.append(this)
8649 except: self.this = this
8650 def do_get_inputs(self, *args):
8651 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8652 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, *args)
8654 def get_value(self, *args):
8656 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8657 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8659 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
8661 def get_value_index(self, *args):
8663 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8664 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8666 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
8668 def get_version_info(self):
8669 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
8670 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
8672 __swig_destroy__ = _IMP_core.delete_CoinFlipPairPredicate
8673 __del__ =
lambda self :
None;
8675 """__str__(CoinFlipPairPredicate self) -> std::string"""
8676 return _IMP_core.CoinFlipPairPredicate___str__(self)
8679 """__repr__(CoinFlipPairPredicate self) -> std::string"""
8680 return _IMP_core.CoinFlipPairPredicate___repr__(self)
8683 return _object_cast_to_CoinFlipPairPredicate(o)
8684 get_from = staticmethod(get_from)
8686 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
8687 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
8690 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
8691 __swig_setmethods__ = {}
8693 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantTripletPredicate, name, value)
8694 __swig_getmethods__ = {}
8696 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantTripletPredicate, name)
8697 def __init__(self, *args):
8699 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
8700 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
8702 this = _IMP_core.new_ConstantTripletPredicate(*args)
8703 try: self.this.append(this)
8704 except: self.this = this
8705 def do_get_inputs(self, *args):
8706 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8707 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, *args)
8709 def get_value(self, *args):
8711 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8712 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8714 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
8716 def get_value_index(self, *args):
8718 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8719 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8721 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
8723 def get_version_info(self):
8724 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
8725 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
8727 __swig_destroy__ = _IMP_core.delete_ConstantTripletPredicate
8728 __del__ =
lambda self :
None;
8730 """__str__(ConstantTripletPredicate self) -> std::string"""
8731 return _IMP_core.ConstantTripletPredicate___str__(self)
8734 """__repr__(ConstantTripletPredicate self) -> std::string"""
8735 return _IMP_core.ConstantTripletPredicate___repr__(self)
8738 return _object_cast_to_ConstantTripletPredicate(o)
8739 get_from = staticmethod(get_from)
8741 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
8742 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
8745 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
8746 __swig_setmethods__ = {}
8748 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeTripletPredicate, name, value)
8749 __swig_getmethods__ = {}
8751 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeTripletPredicate, name)
8752 def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
8754 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
8755 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
8757 this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
8758 try: self.this.append(this)
8759 except: self.this = this
8760 def do_get_inputs(self, *args):
8761 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8762 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, *args)
8764 def get_value(self, *args):
8766 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8767 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8769 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
8771 def get_value_index(self, *args):
8773 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8774 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8776 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
8778 def get_version_info(self):
8779 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
8780 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
8782 __swig_destroy__ = _IMP_core.delete_UnorderedTypeTripletPredicate
8783 __del__ =
lambda self :
None;
8785 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
8786 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
8789 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
8790 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
8793 return _object_cast_to_UnorderedTypeTripletPredicate(o)
8794 get_from = staticmethod(get_from)
8796 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
8797 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
8800 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
8801 __swig_setmethods__ = {}
8803 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeTripletPredicate, name, value)
8804 __swig_getmethods__ = {}
8806 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeTripletPredicate, name)
8807 def __init__(self, name="OrderedTypeTripletPredicate%1%"):
8809 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
8810 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
8812 this = _IMP_core.new_OrderedTypeTripletPredicate(name)
8813 try: self.this.append(this)
8814 except: self.this = this
8815 def do_get_inputs(self, *args):
8816 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8817 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, *args)
8819 def get_value(self, *args):
8821 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
8822 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8823 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8825 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8827 def get_value_index(self, *args):
8829 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8830 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8832 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8834 def get_version_info(self):
8835 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8836 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8838 __swig_destroy__ = _IMP_core.delete_OrderedTypeTripletPredicate
8839 __del__ =
lambda self :
None;
8841 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8842 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8845 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8846 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8849 return _object_cast_to_OrderedTypeTripletPredicate(o)
8850 get_from = staticmethod(get_from)
8852 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8853 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8856 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8857 __swig_setmethods__ = {}
8859 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameTripletPredicate, name, value)
8860 __swig_getmethods__ = {}
8862 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameTripletPredicate, name)
8863 def __init__(self, name="AllSameTripletPredicate%1%"):
8865 __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8866 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8868 this = _IMP_core.new_AllSameTripletPredicate(name)
8869 try: self.this.append(this)
8870 except: self.this = this
8871 def do_get_inputs(self, *args):
8872 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8873 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, *args)
8875 def get_value(self, *args):
8877 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8878 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8880 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8882 def get_value_index(self, *args):
8884 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8885 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8887 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8889 def get_version_info(self):
8890 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8891 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8893 __swig_destroy__ = _IMP_core.delete_AllSameTripletPredicate
8894 __del__ =
lambda self :
None;
8896 """__str__(AllSameTripletPredicate self) -> std::string"""
8897 return _IMP_core.AllSameTripletPredicate___str__(self)
8900 """__repr__(AllSameTripletPredicate self) -> std::string"""
8901 return _IMP_core.AllSameTripletPredicate___repr__(self)
8904 return _object_cast_to_AllSameTripletPredicate(o)
8905 get_from = staticmethod(get_from)
8907 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8908 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8911 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8912 __swig_setmethods__ = {}
8914 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipTripletPredicate, name, value)
8915 __swig_getmethods__ = {}
8917 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipTripletPredicate, name)
8918 def __init__(self, *args):
8920 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8921 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8923 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8924 try: self.this.append(this)
8925 except: self.this = this
8926 def do_get_inputs(self, *args):
8927 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8928 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, *args)
8930 def get_value(self, *args):
8932 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8933 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8935 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8937 def get_value_index(self, *args):
8939 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8940 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8942 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8944 def get_version_info(self):
8945 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8946 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8948 __swig_destroy__ = _IMP_core.delete_CoinFlipTripletPredicate
8949 __del__ =
lambda self :
None;
8951 """__str__(CoinFlipTripletPredicate self) -> std::string"""
8952 return _IMP_core.CoinFlipTripletPredicate___str__(self)
8955 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8956 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8959 return _object_cast_to_CoinFlipTripletPredicate(o)
8960 get_from = staticmethod(get_from)
8962 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8963 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8966 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8967 __swig_setmethods__ = {}
8969 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantQuadPredicate, name, value)
8970 __swig_getmethods__ = {}
8972 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantQuadPredicate, name)
8973 def __init__(self, *args):
8975 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8976 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8978 this = _IMP_core.new_ConstantQuadPredicate(*args)
8979 try: self.this.append(this)
8980 except: self.this = this
8981 def do_get_inputs(self, *args):
8982 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8983 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, *args)
8985 def get_value(self, *args):
8987 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8988 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8990 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8992 def get_value_index(self, *args):
8994 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8995 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8997 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8999 def get_version_info(self):
9000 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
9001 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
9003 __swig_destroy__ = _IMP_core.delete_ConstantQuadPredicate
9004 __del__ =
lambda self :
None;
9006 """__str__(ConstantQuadPredicate self) -> std::string"""
9007 return _IMP_core.ConstantQuadPredicate___str__(self)
9010 """__repr__(ConstantQuadPredicate self) -> std::string"""
9011 return _IMP_core.ConstantQuadPredicate___repr__(self)
9014 return _object_cast_to_ConstantQuadPredicate(o)
9015 get_from = staticmethod(get_from)
9017 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
9018 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
9021 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
9022 __swig_setmethods__ = {}
9024 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeQuadPredicate, name, value)
9025 __swig_getmethods__ = {}
9027 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeQuadPredicate, name)
9028 def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
9030 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
9031 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
9033 this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
9034 try: self.this.append(this)
9035 except: self.this = this
9036 def do_get_inputs(self, *args):
9037 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9038 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, *args)
9040 def get_value(self, *args):
9042 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9043 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9045 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
9047 def get_value_index(self, *args):
9049 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9050 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9052 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
9054 def get_version_info(self):
9055 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
9056 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
9058 __swig_destroy__ = _IMP_core.delete_UnorderedTypeQuadPredicate
9059 __del__ =
lambda self :
None;
9061 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
9062 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
9065 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
9066 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
9069 return _object_cast_to_UnorderedTypeQuadPredicate(o)
9070 get_from = staticmethod(get_from)
9072 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
9073 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
9076 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
9077 __swig_setmethods__ = {}
9079 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeQuadPredicate, name, value)
9080 __swig_getmethods__ = {}
9082 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeQuadPredicate, name)
9083 def __init__(self, name="OrderedTypeQuadPredicate%1%"):
9085 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
9086 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
9088 this = _IMP_core.new_OrderedTypeQuadPredicate(name)
9089 try: self.this.append(this)
9090 except: self.this = this
9091 def do_get_inputs(self, *args):
9092 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9093 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, *args)
9095 def get_value(self, *args):
9097 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
9098 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9099 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9101 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
9103 def get_value_index(self, *args):
9105 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9106 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9108 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
9110 def get_version_info(self):
9111 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
9112 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
9114 __swig_destroy__ = _IMP_core.delete_OrderedTypeQuadPredicate
9115 __del__ =
lambda self :
None;
9117 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
9118 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
9121 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
9122 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
9125 return _object_cast_to_OrderedTypeQuadPredicate(o)
9126 get_from = staticmethod(get_from)
9128 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
9129 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
9132 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
9133 __swig_setmethods__ = {}
9135 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameQuadPredicate, name, value)
9136 __swig_getmethods__ = {}
9138 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameQuadPredicate, name)
9139 def __init__(self, name="AllSameQuadPredicate%1%"):
9141 __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
9142 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
9144 this = _IMP_core.new_AllSameQuadPredicate(name)
9145 try: self.this.append(this)
9146 except: self.this = this
9147 def do_get_inputs(self, *args):
9148 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
9149 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, *args)
9151 def get_value(self, *args):
9153 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9154 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9156 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
9158 def get_value_index(self, *args):
9160 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9161 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9163 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
9165 def get_version_info(self):
9166 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
9167 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
9169 __swig_destroy__ = _IMP_core.delete_AllSameQuadPredicate
9170 __del__ =
lambda self :
None;
9172 """__str__(AllSameQuadPredicate self) -> std::string"""
9173 return _IMP_core.AllSameQuadPredicate___str__(self)
9176 """__repr__(AllSameQuadPredicate self) -> std::string"""
9177 return _IMP_core.AllSameQuadPredicate___repr__(self)
9180 return _object_cast_to_AllSameQuadPredicate(o)
9181 get_from = staticmethod(get_from)
9183 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
9184 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
9187 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
9188 __swig_setmethods__ = {}
9190 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipQuadPredicate, name, value)
9191 __swig_getmethods__ = {}
9193 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipQuadPredicate, name)
9194 def __init__(self, *args):
9196 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
9197 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
9199 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
9200 try: self.this.append(this)
9201 except: self.this = this
9202 def do_get_inputs(self, *args):
9203 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
9204 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, *args)
9206 def get_value(self, *args):
9208 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9209 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9211 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
9213 def get_value_index(self, *args):
9215 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
9216 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9218 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
9220 def get_version_info(self):
9221 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
9222 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
9224 __swig_destroy__ = _IMP_core.delete_CoinFlipQuadPredicate
9225 __del__ =
lambda self :
None;
9227 """__str__(CoinFlipQuadPredicate self) -> std::string"""
9228 return _IMP_core.CoinFlipQuadPredicate___str__(self)
9231 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
9232 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
9235 return _object_cast_to_CoinFlipQuadPredicate(o)
9236 get_from = staticmethod(get_from)
9238 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
9239 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
9242 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
9243 __swig_setmethods__ = {}
9245 __setattr__ =
lambda self, name, value: _swig_setattr(self, InBoundingBox3DSingletonPredicate, name, value)
9246 __swig_getmethods__ = {}
9248 __getattr__ =
lambda self, name: _swig_getattr(self, InBoundingBox3DSingletonPredicate, name)
9249 def __init__(self, *args):
9251 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate
9252 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
9254 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
9255 try: self.this.append(this)
9256 except: self.this = this
9257 def do_get_inputs(self, *args):
9258 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9259 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, *args)
9261 def get_value(self, *args):
9263 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
9264 get_value(InBoundingBox3DSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9266 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
9268 def get_value_index(self, *args):
9270 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9271 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9273 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
9275 def get_version_info(self):
9276 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
9277 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
9279 __swig_destroy__ = _IMP_core.delete_InBoundingBox3DSingletonPredicate
9280 __del__ =
lambda self :
None;
9282 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9283 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
9286 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9287 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
9290 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
9291 get_from = staticmethod(get_from)
9293 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
9294 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
9297 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
9298 __swig_setmethods__ = {}
9300 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonPredicate, name, value)
9301 __swig_getmethods__ = {}
9303 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonPredicate, name)
9304 def __init__(self, *args):
9306 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate
9307 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
9309 this = _IMP_core.new_AttributeSingletonPredicate(*args)
9310 try: self.this.append(this)
9311 except: self.this = this
9312 def do_get_inputs(self, *args):
9313 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9314 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, *args)
9316 def get_value(self, *args):
9318 get_value(AttributeSingletonPredicate self, Particle a) -> int
9319 get_value(AttributeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9321 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
9323 def get_value_index(self, *args):
9325 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9326 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9328 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
9330 def get_version_info(self):
9331 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
9332 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
9334 __swig_destroy__ = _IMP_core.delete_AttributeSingletonPredicate
9335 __del__ =
lambda self :
None;
9337 """__str__(AttributeSingletonPredicate self) -> std::string"""
9338 return _IMP_core.AttributeSingletonPredicate___str__(self)
9341 """__repr__(AttributeSingletonPredicate self) -> std::string"""
9342 return _IMP_core.AttributeSingletonPredicate___repr__(self)
9345 return _object_cast_to_AttributeSingletonPredicate(o)
9346 get_from = staticmethod(get_from)
9348 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
9349 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
9352 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
9353 __swig_setmethods__ = {}
9355 __setattr__ =
lambda self, name, value: _swig_setattr(self, IsCollisionPairPredicate, name, value)
9356 __swig_getmethods__ = {}
9358 __getattr__ =
lambda self, name: _swig_getattr(self, IsCollisionPairPredicate, name)
9359 def __init__(self, name="CollisionPairPredicate%1%"):
9361 __init__(IMP::core::IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate
9362 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
9364 this = _IMP_core.new_IsCollisionPairPredicate(name)
9365 try: self.this.append(this)
9366 except: self.this = this
9367 def do_get_inputs(self, *args):
9368 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9369 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, *args)
9371 def get_value(self, *args):
9373 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
9374 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
9376 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
9378 def get_value_index(self, *args):
9380 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
9381 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
9383 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
9385 def get_version_info(self):
9386 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
9387 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
9389 __swig_destroy__ = _IMP_core.delete_IsCollisionPairPredicate
9390 __del__ =
lambda self :
None;
9392 """__str__(IsCollisionPairPredicate self) -> std::string"""
9393 return _IMP_core.IsCollisionPairPredicate___str__(self)
9396 """__repr__(IsCollisionPairPredicate self) -> std::string"""
9397 return _IMP_core.IsCollisionPairPredicate___repr__(self)
9400 return _object_cast_to_IsCollisionPairPredicate(o)
9401 get_from = staticmethod(get_from)
9403 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
9404 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
9406 class AngleRestraint(TripletRestraint):
9407 """Proxy of C++ IMP::core::AngleRestraint class"""
9408 __swig_setmethods__ = {}
9409 for _s
in [TripletRestraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9410 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleRestraint, name, value)
9411 __swig_getmethods__ = {}
9412 for _s
in [TripletRestraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9413 __getattr__ =
lambda self, name: _swig_getattr(self, AngleRestraint, name)
9414 def __init__(self, *args):
9416 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
9417 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
9419 this = _IMP_core.new_AngleRestraint(*args)
9420 try: self.this.append(this)
9421 except: self.this = this
9422 __swig_destroy__ = _IMP_core.delete_AngleRestraint
9423 __del__ =
lambda self :
None;
9425 """__str__(AngleRestraint self) -> std::string"""
9426 return _IMP_core.AngleRestraint___str__(self)
9429 """__repr__(AngleRestraint self) -> std::string"""
9430 return _IMP_core.AngleRestraint___repr__(self)
9433 return _object_cast_to_AngleRestraint(o)
9434 get_from = staticmethod(get_from)
9436 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
9437 AngleRestraint_swigregister(AngleRestraint)
9439 class RigidBodyMover(MonteCarloMover):
9440 """Proxy of C++ IMP::core::RigidBodyMover class"""
9441 __swig_setmethods__ = {}
9442 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9443 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMover, name, value)
9444 __swig_getmethods__ = {}
9445 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9446 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMover, name)
9447 def __init__(self, *args):
9449 __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9450 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9452 this = _IMP_core.new_RigidBodyMover(*args)
9453 try: self.this.append(this)
9454 except: self.this = this
9455 def set_maximum_translation(self, *args):
9456 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
9457 return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
9459 def set_maximum_rotation(self, *args):
9460 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
9461 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
9463 def get_maximum_translation(self):
9464 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
9465 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
9467 def get_maximum_rotation(self):
9468 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
9469 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
9471 def get_version_info(self):
9472 """get_version_info(RigidBodyMover self) -> VersionInfo"""
9473 return _IMP_core.RigidBodyMover_get_version_info(self)
9475 __swig_destroy__ = _IMP_core.delete_RigidBodyMover
9476 __del__ =
lambda self :
None;
9478 """__str__(RigidBodyMover self) -> std::string"""
9479 return _IMP_core.RigidBodyMover___str__(self)
9482 """__repr__(RigidBodyMover self) -> std::string"""
9483 return _IMP_core.RigidBodyMover___repr__(self)
9486 return _object_cast_to_RigidBodyMover(o)
9487 get_from = staticmethod(get_from)
9489 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
9490 RigidBodyMover_swigregister(RigidBodyMover)
9493 """Proxy of C++ IMP::core::VolumeRestraint class"""
9494 __swig_setmethods__ = {}
9495 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9496 __setattr__ =
lambda self, name, value: _swig_setattr(self, VolumeRestraint, name, value)
9497 __swig_getmethods__ = {}
9498 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9499 __getattr__ =
lambda self, name: _swig_getattr(self, VolumeRestraint, name)
9500 def __init__(self, *args):
9501 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
9502 this = _IMP_core.new_VolumeRestraint(*args)
9503 try: self.this.append(this)
9504 except: self.this = this
9505 def do_get_inputs(self):
9506 """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
9507 return _IMP_core.VolumeRestraint_do_get_inputs(self)
9509 def get_version_info(self):
9510 """get_version_info(VolumeRestraint self) -> VersionInfo"""
9511 return _IMP_core.VolumeRestraint_get_version_info(self)
9513 __swig_destroy__ = _IMP_core.delete_VolumeRestraint
9514 __del__ =
lambda self :
None;
9516 """__str__(VolumeRestraint self) -> std::string"""
9517 return _IMP_core.VolumeRestraint___str__(self)
9520 """__repr__(VolumeRestraint self) -> std::string"""
9521 return _IMP_core.VolumeRestraint___repr__(self)
9524 return _object_cast_to_VolumeRestraint(o)
9525 get_from = staticmethod(get_from)
9527 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
9528 VolumeRestraint_swigregister(VolumeRestraint)
9532 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
9533 return _IMP_core.get_centroid(*args)
9536 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
9537 return _IMP_core.get_bounding_box(*args)
9539 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
9540 __swig_setmethods__ = {}
9542 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoveStatisticsScoreState, name, value)
9543 __swig_getmethods__ = {}
9545 __getattr__ =
lambda self, name: _swig_getattr(self, MoveStatisticsScoreState, name)
9546 def __init__(self, *args):
9547 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
9548 this = _IMP_core.new_MoveStatisticsScoreState(*args)
9549 try: self.this.append(this)
9550 except: self.this = this
9551 def show_statistics(self, *args):
9553 show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
9554 show_statistics(MoveStatisticsScoreState self)
9556 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
9559 """reset(MoveStatisticsScoreState self)"""
9560 return _IMP_core.MoveStatisticsScoreState_reset(self)
9562 def do_before_evaluate(self):
9563 """do_before_evaluate(MoveStatisticsScoreState self)"""
9564 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
9566 def do_after_evaluate(self, *args):
9567 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
9568 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, *args)
9570 def do_get_inputs(self):
9571 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9572 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
9574 def do_get_outputs(self):
9575 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9576 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
9578 def get_version_info(self):
9579 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
9580 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
9582 __swig_destroy__ = _IMP_core.delete_MoveStatisticsScoreState
9583 __del__ =
lambda self :
None;
9585 """__str__(MoveStatisticsScoreState self) -> std::string"""
9586 return _IMP_core.MoveStatisticsScoreState___str__(self)
9589 """__repr__(MoveStatisticsScoreState self) -> std::string"""
9590 return _IMP_core.MoveStatisticsScoreState___repr__(self)
9593 return _object_cast_to_MoveStatisticsScoreState(o)
9594 get_from = staticmethod(get_from)
9596 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
9597 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
9599 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
9601 """Proxy of C++ IMP::core::Typed class"""
9602 __swig_setmethods__ = {}
9603 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9604 __setattr__ =
lambda self, name, value: _swig_setattr(self, Typed, name, value)
9605 __swig_getmethods__ = {}
9606 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9607 __getattr__ =
lambda self, name: _swig_getattr(self, Typed, name)
9609 """get_type_key() -> IntKey"""
9610 return _IMP_core.Typed_get_type_key()
9612 if _newclass:get_type_key = staticmethod(get_type_key)
9613 __swig_getmethods__[
"get_type_key"] =
lambda x: get_type_key
9614 def __init__(self, *args):
9616 __init__(IMP::core::Typed self) -> Typed
9617 __init__(IMP::core::Typed self, Model m, ::IMP::kernel::ParticleIndex id) -> Typed
9618 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
9620 this = _IMP_core.new_Typed(*args)
9621 try: self.this.append(this)
9622 except: self.this = this
9623 def decorate_particle(*args):
9624 """decorate_particle(Particle p) -> Typed"""
9625 return _IMP_core.Typed_decorate_particle(*args)
9627 if _newclass:decorate_particle = staticmethod(decorate_particle)
9628 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
9629 def particle_is_instance(*args):
9631 particle_is_instance(Particle p) -> bool
9632 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9634 return _IMP_core.Typed_particle_is_instance(*args)
9636 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
9637 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
9638 def show(self, *args):
9640 show(Typed self, _ostream out=std::cout)
9643 return _IMP_core.Typed_show(self, *args)
9645 def setup_particle(*args):
9647 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9648 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9650 return _IMP_core.Typed_setup_particle(*args)
9652 if _newclass:setup_particle = staticmethod(setup_particle)
9653 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
9654 def get_is_setup(*args):
9656 get_is_setup(_ParticleAdaptor p) -> bool
9657 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9659 return _IMP_core.Typed_get_is_setup(*args)
9661 if _newclass:get_is_setup = staticmethod(get_is_setup)
9662 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
9664 """get_type(Typed self) -> ParticleType"""
9665 return _IMP_core.Typed_get_type(self)
9667 def add_attribute(self, *args):
9669 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
9670 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
9671 add_attribute(Typed self, IntKey a0, IMP::Int a1)
9672 add_attribute(Typed self, StringKey a0, IMP::String a1)
9673 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
9674 add_attribute(Typed self, ObjectKey a0, IMP::Object * a1)
9676 return _IMP_core.Typed_add_attribute(self, *args)
9678 def get_value(self, *args):
9680 get_value(Typed self, FloatKey a0) -> IMP::Float
9681 get_value(Typed self, IntKey a0) -> IMP::Int
9682 get_value(Typed self, StringKey a0) -> IMP::String
9683 get_value(Typed self, ParticleIndexKey a0) -> Particle
9684 get_value(Typed self, ObjectKey a0) -> IMP::Object *
9686 return _IMP_core.Typed_get_value(self, *args)
9688 def set_value(self, *args):
9690 set_value(Typed self, FloatKey a0, IMP::Float a1)
9691 set_value(Typed self, IntKey a0, IMP::Int a1)
9692 set_value(Typed self, StringKey a0, IMP::String a1)
9693 set_value(Typed self, ParticleIndexKey a0, Particle a1)
9694 set_value(Typed self, ObjectKey a0, IMP::Object * a1)
9696 return _IMP_core.Typed_set_value(self, *args)
9698 def remove_attribute(self, *args):
9700 remove_attribute(Typed self, FloatKey a0)
9701 remove_attribute(Typed self, IntKey a0)
9702 remove_attribute(Typed self, StringKey a0)
9703 remove_attribute(Typed self, ParticleIndexKey a0)
9704 remove_attribute(Typed self, ObjectKey a0)
9706 return _IMP_core.Typed_remove_attribute(self, *args)
9708 def has_attribute(self, *args):
9710 has_attribute(Typed self, FloatKey a0) -> bool
9711 has_attribute(Typed self, IntKey a0) -> bool
9712 has_attribute(Typed self, StringKey a0) -> bool
9713 has_attribute(Typed self, ParticleIndexKey a0) -> bool
9714 has_attribute(Typed self, ObjectKey a0) -> bool
9716 return _IMP_core.Typed_has_attribute(self, *args)
9718 def get_derivative(self, *args):
9719 """get_derivative(Typed self, FloatKey a0) -> double"""
9720 return _IMP_core.Typed_get_derivative(self, *args)
9723 """get_name(Typed self) -> std::string"""
9724 return _IMP_core.Typed_get_name(self)
9726 def clear_caches(self):
9727 """clear_caches(Typed self)"""
9728 return _IMP_core.Typed_clear_caches(self)
9730 def set_name(self, *args):
9731 """set_name(Typed self, std::string a0)"""
9732 return _IMP_core.Typed_set_name(self, *args)
9735 """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
9736 return _IMP_core.Typed_set_check_level(self, *args)
9738 def add_to_derivative(self, *args):
9739 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9740 return _IMP_core.Typed_add_to_derivative(self, *args)
9742 def set_is_optimized(self, *args):
9743 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
9744 return _IMP_core.Typed_set_is_optimized(self, *args)
9746 def get_is_optimized(self, *args):
9747 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
9748 return _IMP_core.Typed_get_is_optimized(self, *args)
9751 """get_check_level(Typed self) -> IMP::base::CheckLevel"""
9752 return _IMP_core.Typed_get_check_level(self)
9754 def __eq__(self, *args):
9756 __eq__(Typed self, Typed o) -> bool
9757 __eq__(Typed self, Particle d) -> bool
9759 return _IMP_core.Typed___eq__(self, *args)
9761 def __ne__(self, *args):
9763 __ne__(Typed self, Typed o) -> bool
9764 __ne__(Typed self, Particle d) -> bool
9766 return _IMP_core.Typed___ne__(self, *args)
9768 def __le__(self, *args):
9770 __le__(Typed self, Typed o) -> bool
9771 __le__(Typed self, Particle d) -> bool
9773 return _IMP_core.Typed___le__(self, *args)
9775 def __lt__(self, *args):
9777 __lt__(Typed self, Typed o) -> bool
9778 __lt__(Typed self, Particle d) -> bool
9780 return _IMP_core.Typed___lt__(self, *args)
9782 def __ge__(self, *args):
9784 __ge__(Typed self, Typed o) -> bool
9785 __ge__(Typed self, Particle d) -> bool
9787 return _IMP_core.Typed___ge__(self, *args)
9789 def __gt__(self, *args):
9791 __gt__(Typed self, Typed o) -> bool
9792 __gt__(Typed self, Particle d) -> bool
9794 return _IMP_core.Typed___gt__(self, *args)
9797 """__str__(Typed self) -> std::string"""
9798 return _IMP_core.Typed___str__(self)
9801 """__repr__(Typed self) -> std::string"""
9802 return _IMP_core.Typed___repr__(self)
9804 __swig_destroy__ = _IMP_core.delete_Typed
9805 __del__ =
lambda self :
None;
9806 Typed_swigregister = _IMP_core.Typed_swigregister
9807 Typed_swigregister(Typed)
9809 def Typed_get_type_key():
9810 """Typed_get_type_key() -> IntKey"""
9811 return _IMP_core.Typed_get_type_key()
9813 def Typed_decorate_particle(*args):
9814 """Typed_decorate_particle(Particle p) -> Typed"""
9815 return _IMP_core.Typed_decorate_particle(*args)
9817 def Typed_particle_is_instance(*args):
9819 particle_is_instance(Particle p) -> bool
9820 Typed_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9822 return _IMP_core.Typed_particle_is_instance(*args)
9824 def Typed_setup_particle(*args):
9826 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9827 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9829 return _IMP_core.Typed_setup_particle(*args)
9831 def Typed_get_is_setup(*args):
9833 get_is_setup(_ParticleAdaptor p) -> bool
9834 Typed_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9836 return _IMP_core.Typed_get_is_setup(*args)
9839 def __lshift__(*args):
9841 __lshift__(_ostream out, XYZ n) -> _ostream
9842 __lshift__(_ostream out, XYZR n) -> _ostream
9843 __lshift__(_ostream out, Centroid n) -> _ostream
9844 __lshift__(_ostream out, Cover n) -> _ostream
9845 __lshift__(_ostream out, Reference n) -> _ostream
9846 __lshift__(_ostream out, RigidMember n) -> _ostream
9847 __lshift__(_ostream out, RigidBody n) -> _ostream
9848 __lshift__(_ostream out, Typed n) -> _ostream
9850 return _IMP_core.__lshift__(*args)
9852 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9853 __swig_setmethods__ = {}
9855 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteRestraintScoresOptimizerState, name, value)
9856 __swig_getmethods__ = {}
9858 __getattr__ =
lambda self, name: _swig_getattr(self, WriteRestraintScoresOptimizerState, name)
9859 def __init__(self, *args):
9860 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9861 this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9862 try: self.this.append(this)
9863 except: self.this = this
9864 def get_version_info(self):
9865 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9866 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9868 __swig_destroy__ = _IMP_core.delete_WriteRestraintScoresOptimizerState
9869 __del__ =
lambda self :
None;
9871 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9872 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9875 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9876 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9879 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9880 get_from = staticmethod(get_from)
9882 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9883 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9887 """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9888 return _IMP_core.assign_blame(*args)
9892 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9893 std::string name=std::string()) -> IMP::display::Geometries
9894 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9895 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9897 return _IMP_core.create_blame_geometries(*args)
9901 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9902 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9903 get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9905 return _IMP_core.get_transformation_aligning_first_to_second(*args)
9907 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9908 __swig_setmethods__ = {}
9910 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicLowerBound, name, value)
9911 __swig_getmethods__ = {}
9913 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicLowerBound, name)
9914 def __init__(self, *args):
9916 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9917 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9919 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9920 try: self.this.append(this)
9921 except: self.this = this
9922 def get_version_info(self):
9923 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9924 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9926 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicLowerBound
9927 __del__ =
lambda self :
None;
9929 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9930 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9933 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9934 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9937 return _object_cast_to_TruncatedHarmonic(o)
9938 get_from = staticmethod(get_from)
9940 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9941 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9944 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9945 __swig_setmethods__ = {}
9947 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicUpperBound, name, value)
9948 __swig_getmethods__ = {}
9950 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicUpperBound, name)
9951 def __init__(self, *args):
9953 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9954 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9956 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9957 try: self.this.append(this)
9958 except: self.this = this
9959 def get_version_info(self):
9960 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9961 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9963 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicUpperBound
9964 __del__ =
lambda self :
None;
9966 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9967 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9970 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9971 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9974 return _object_cast_to_TruncatedHarmonic(o)
9975 get_from = staticmethod(get_from)
9977 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9978 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9981 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9982 __swig_setmethods__ = {}
9984 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicBound, name, value)
9985 __swig_getmethods__ = {}
9987 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicBound, name)
9988 def __init__(self, *args):
9990 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9991 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9993 this = _IMP_core.new_TruncatedHarmonicBound(*args)
9994 try: self.this.append(this)
9995 except: self.this = this
9996 def get_version_info(self):
9997 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9998 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
10000 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicBound
10001 __del__ =
lambda self :
None;
10003 """__str__(TruncatedHarmonicBound self) -> std::string"""
10004 return _IMP_core.TruncatedHarmonicBound___str__(self)
10006 def __repr__(self):
10007 """__repr__(TruncatedHarmonicBound self) -> std::string"""
10008 return _IMP_core.TruncatedHarmonicBound___repr__(self)
10011 return _object_cast_to_TruncatedHarmonic(o)
10012 get_from = staticmethod(get_from)
10014 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
10015 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
10018 """Proxy of C++ IMP::Key<(34897493,true)> class"""
10019 __swig_setmethods__ = {}
10020 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
10021 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleType, name, value)
10022 __swig_getmethods__ = {}
10023 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
10024 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleType, name)
10025 def __init__(self, *args):
10027 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
10028 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
10029 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
10031 this = _IMP_core.new_ParticleType(*args)
10032 try: self.this.append(this)
10033 except: self.this = this
10034 def add_key(*args):
10035 """add_key(std::string sc) -> unsigned int"""
10036 return _IMP_core.ParticleType_add_key(*args)
10038 if _newclass:add_key = staticmethod(add_key)
10039 __swig_getmethods__[
"add_key"] =
lambda x: add_key
10040 def get_key_exists(*args):
10041 """get_key_exists(std::string sc) -> bool"""
10042 return _IMP_core.ParticleType_get_key_exists(*args)
10044 if _newclass:get_key_exists = staticmethod(get_key_exists)
10045 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
10046 def get_string(self):
10047 """get_string(ParticleType self) -> std::string const"""
10048 return _IMP_core.ParticleType_get_string(self)
10050 def __eq__(self, *args):
10051 """__eq__(ParticleType self, ParticleType o) -> bool"""
10052 return _IMP_core.ParticleType___eq__(self, *args)
10054 def __ne__(self, *args):
10055 """__ne__(ParticleType self, ParticleType o) -> bool"""
10056 return _IMP_core.ParticleType___ne__(self, *args)
10058 def __lt__(self, *args):
10059 """__lt__(ParticleType self, ParticleType o) -> bool"""
10060 return _IMP_core.ParticleType___lt__(self, *args)
10062 def __gt__(self, *args):
10063 """__gt__(ParticleType self, ParticleType o) -> bool"""
10064 return _IMP_core.ParticleType___gt__(self, *args)
10066 def __ge__(self, *args):
10067 """__ge__(ParticleType self, ParticleType o) -> bool"""
10068 return _IMP_core.ParticleType___ge__(self, *args)
10070 def __le__(self, *args):
10071 """__le__(ParticleType self, ParticleType o) -> bool"""
10072 return _IMP_core.ParticleType___le__(self, *args)
10074 def __hash__(self):
10075 """__hash__(ParticleType self) -> std::size_t"""
10076 return _IMP_core.ParticleType___hash__(self)
10078 def show(self, *args):
10080 show(ParticleType self, _ostream out=std::cout)
10081 show(ParticleType self)
10083 return _IMP_core.ParticleType_show(self, *args)
10085 def add_alias(*args):
10086 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10087 return _IMP_core.ParticleType_add_alias(*args)
10089 if _newclass:add_alias = staticmethod(add_alias)
10090 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
10092 """get_index(ParticleType self) -> unsigned int"""
10093 return _IMP_core.ParticleType_get_index(self)
10095 def show_all(*args):
10096 """show_all(_ostream out)"""
10097 return _IMP_core.ParticleType_show_all(*args)
10099 if _newclass:show_all = staticmethod(show_all)
10100 __swig_getmethods__[
"show_all"] =
lambda x: show_all
10101 def get_all_strings():
10102 """get_all_strings() -> IMP::base::Vector< std::string >"""
10103 return _IMP_core.ParticleType_get_all_strings()
10105 if _newclass:get_all_strings = staticmethod(get_all_strings)
10106 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
10107 def get_number_unique():
10108 """get_number_unique() -> unsigned int"""
10109 return _IMP_core.ParticleType_get_number_unique()
10111 if _newclass:get_number_unique = staticmethod(get_number_unique)
10112 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
10114 """__str__(ParticleType self) -> std::string"""
10115 return _IMP_core.ParticleType___str__(self)
10117 def __repr__(self):
10118 """__repr__(ParticleType self) -> std::string"""
10119 return _IMP_core.ParticleType___repr__(self)
10121 __swig_destroy__ = _IMP_core.delete_ParticleType
10122 __del__ =
lambda self :
None;
10123 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
10124 ParticleType_swigregister(ParticleType)
10126 def ParticleType_add_key(*args):
10127 """ParticleType_add_key(std::string sc) -> unsigned int"""
10128 return _IMP_core.ParticleType_add_key(*args)
10130 def ParticleType_get_key_exists(*args):
10131 """ParticleType_get_key_exists(std::string sc) -> bool"""
10132 return _IMP_core.ParticleType_get_key_exists(*args)
10134 def ParticleType_add_alias(*args):
10135 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10136 return _IMP_core.ParticleType_add_alias(*args)
10138 def ParticleType_show_all(*args):
10139 """ParticleType_show_all(_ostream out)"""
10140 return _IMP_core.ParticleType_show_all(*args)
10142 def ParticleType_get_all_strings():
10143 """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
10144 return _IMP_core.ParticleType_get_all_strings()
10146 def ParticleType_get_number_unique():
10147 """ParticleType_get_number_unique() -> unsigned int"""
10148 return _IMP_core.ParticleType_get_number_unique()
10151 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
10152 __swig_setmethods__ = {}
10154 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonScore, name, value)
10155 __swig_getmethods__ = {}
10157 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonScore, name)
10158 __repr__ = _swig_repr
10159 def __init__(self, *args):
10160 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
10161 this = _IMP_core.new_AttributeSingletonScore(*args)
10162 try: self.this.append(this)
10163 except: self.this = this
10164 def do_get_inputs(self, *args):
10165 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10166 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, *args)
10168 def get_version_info(self):
10169 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
10170 return _IMP_core.AttributeSingletonScore_get_version_info(self)
10172 __swig_destroy__ = _IMP_core.delete_AttributeSingletonScore
10173 __del__ =
lambda self :
None;
10174 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
10175 AttributeSingletonScore_swigregister(AttributeSingletonScore)
10179 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
10180 return _IMP_core.create_attribute_singleton_score(*args)
10182 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
10183 __swig_setmethods__ = {}
10185 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3DSingletonScore, name, value)
10186 __swig_getmethods__ = {}
10188 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3DSingletonScore, name)
10189 __repr__ = _swig_repr
10190 def __init__(self, *args):
10191 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10192 this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
10193 try: self.this.append(this)
10194 except: self.this = this
10195 def do_get_inputs(self, *args):
10196 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10197 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, *args)
10199 def get_version_info(self):
10200 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
10201 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
10203 __swig_destroy__ = _IMP_core.delete_BoundingBox3DSingletonScore
10204 __del__ =
lambda self :
None;
10205 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
10206 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
10209 def create_bounding_box_3d_singleton_score(*args):
10210 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10211 return _IMP_core.create_bounding_box_3d_singleton_score(*args)
10213 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
10214 __swig_setmethods__ = {}
10216 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceToSingletonScore, name, value)
10217 __swig_getmethods__ = {}
10219 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceToSingletonScore, name)
10220 __repr__ = _swig_repr
10221 def __init__(self, *args):
10222 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10223 this = _IMP_core.new_DistanceToSingletonScore(*args)
10224 try: self.this.append(this)
10225 except: self.this = this
10226 def do_get_inputs(self, *args):
10227 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10228 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, *args)
10230 def get_version_info(self):
10231 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
10232 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
10234 __swig_destroy__ = _IMP_core.delete_DistanceToSingletonScore
10235 __del__ =
lambda self :
None;
10236 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
10237 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
10240 def create_distance_to_singleton_score(*args):
10241 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10242 return _IMP_core.create_distance_to_singleton_score(*args)
10244 def get_module_version():
10245 """get_module_version() -> std::string const"""
10246 return _IMP_core.get_module_version()
10248 def get_example_path(*args):
10249 """get_example_path(std::string fname) -> std::string"""
10250 return _IMP_core.get_example_path(*args)
10252 def get_data_path(*args):
10253 """get_data_path(std::string fname) -> std::string"""
10254 return _IMP_core.get_data_path(*args)
10255 import _version_check
10256 _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)
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)
ParticlesTemp get_output_particles(const ModelObjectsTemp &mos)
void set_vector_d_geometry(VectorD< D > &g, const VectorD< D > &v)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
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.
See IMP.cgal for more information.
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)
See IMP.base for more information.
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)
Abstract single variable functor class for score functions.
ScoreStates maintian invariants in the Model.
See IMP.score_functor for more information.
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 ParticlesTemp.
Abstract predicate function.
void assign_blame(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, FloatKey attribute)
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)
F visit_depth_first(HD d, F f)
Apply functor F to each particle, traversing the hierarchy depth first.
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
See IMP.kernel for more information.
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.
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.
const SphereD< D > & get_sphere_d_geometry(const SphereD< D > &g)
Base class for optimizers that act on individual attributes.
void set_sphere_d_geometry(SphereD< D > &g, const SphereD< D > &v)
Key< 34897493, true > ParticleType
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Base class for all samplers.
kernel::ParticlesTemp create_rigid_bodies(kernel::Model *m, unsigned int n, bool no_members=false)
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)
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
Abstract class to implement hierarchical methods.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
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.
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)