9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
26 _IMP_core = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
51 def _swig_getattr(self,class_type,name):
52 if (name ==
"thisown"):
return self.this.own()
53 method = class_type.__swig_getmethods__.get(name,
None)
54 if method:
return method(self)
55 raise AttributeError(name)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
77 class IMP_CORE_SwigPyIterator(_object):
78 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
79 __swig_setmethods__ = {}
80 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_CORE_SwigPyIterator, name, value)
81 __swig_getmethods__ = {}
82 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_CORE_SwigPyIterator, name)
83 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
85 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
89 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
93 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
94 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
96 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
100 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
101 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
103 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
105 def distance(self, *args):
106 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
107 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, *args)
109 def equal(self, *args):
110 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
111 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, *args)
114 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
115 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
118 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
119 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
122 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
123 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
126 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
127 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
129 def advance(self, *args):
130 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
131 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, *args)
133 def __eq__(self, *args):
134 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
135 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, *args)
137 def __ne__(self, *args):
138 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
139 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, *args)
141 def __iadd__(self, *args):
142 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
143 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, *args)
145 def __isub__(self, *args):
146 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
147 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, *args)
149 def __add__(self, *args):
150 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
151 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, *args)
153 def __sub__(self, *args):
155 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
156 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
160 def __iter__(self):
return self
161 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
162 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
169 IMP_HAS_DEPRECATED = _IMP_core.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_core.IMP_DEBUG
171 IMP_RELEASE = _IMP_core.IMP_RELEASE
172 IMP_SILENT = _IMP_core.IMP_SILENT
173 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
174 IMP_TERSE = _IMP_core.IMP_TERSE
175 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
176 IMP_NONE = _IMP_core.IMP_NONE
177 IMP_USAGE = _IMP_core.IMP_USAGE
178 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_core.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_core.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_core.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_core.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
193 def register(self, obj):
194 """Take a reference to a director object; will only work for
195 refcounted C++ classes"""
196 if hasattr(obj,
'get_ref_count'):
197 self._objects.append(obj)
199 """Only drop our reference and allow cleanup by Python if no other
200 Python references exist (we hold 3 references: one in self._objects,
201 one in x, and one in the argument list for getrefcount) *and* no
202 other C++ references exist (the Python object always holds one)"""
203 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
204 or x.get_ref_count() > 1]
208 def get_object_count(self):
209 """Get number of director objects (useful for testing only)"""
210 return len(self._objects)
211 _director_objects = _DirectorObjects()
213 DEFAULT_CHECK = _IMP_core.DEFAULT_CHECK
214 NONE = _IMP_core.NONE
215 USAGE = _IMP_core.USAGE
216 USAGE_AND_INTERNAL = _IMP_core.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_core.set_check_level(*args)
223 """get_check_level() -> IMP::base::CheckLevel"""
224 return _IMP_core.get_check_level()
225 class _ostream(_object):
226 """Proxy of C++ std::ostream class"""
227 __swig_setmethods__ = {}
228 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229 __swig_getmethods__ = {}
230 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
231 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
232 __repr__ = _swig_repr
233 def write(self, *args):
234 """write(_ostream self, char const * osa_buf)"""
235 return _IMP_core._ostream_write(self, *args)
237 _ostream_swigregister = _IMP_core._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
256 IMP_KERNEL_HAS_IMP_CGAL = _IMP_core.IMP_KERNEL_HAS_IMP_CGAL
257 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
258 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
259 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_core.IMP_KERNEL_HAS_BOOST_SYSTEM
260 IMP_KERNEL_HAS_CGAL = _IMP_core.IMP_KERNEL_HAS_CGAL
262 IMP_DISPLAY_HAS_IMP_BASE = _IMP_core.IMP_DISPLAY_HAS_IMP_BASE
263 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
264 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
265 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
266 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
267 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
268 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
270 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
271 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
272 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
273 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
274 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
275 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
277 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
278 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
279 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
280 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
281 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
282 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
283 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
284 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
286 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
287 __swig_setmethods__ = {}
289 __setattr__ =
lambda self, name, value: _swig_setattr(self, _OpenCubicSplineBase, name, value)
290 __swig_getmethods__ = {}
292 __getattr__ =
lambda self, name: _swig_getattr(self, _OpenCubicSplineBase, name)
293 __repr__ = _swig_repr
294 def __init__(self, *args):
296 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
297 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
299 this = _IMP_core.new__OpenCubicSplineBase(*args)
300 try: self.this.append(this)
301 except: self.this = this
302 def get_version_info(self):
303 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
304 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
306 __swig_destroy__ = _IMP_core.delete__OpenCubicSplineBase
307 __del__ =
lambda self :
None;
308 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
309 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
311 _object_types.append(
"MonteCarloMover")
314 def _object_cast_to_MonteCarloMover(*args):
315 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
316 return _IMP_core._object_cast_to_MonteCarloMover(*args)
317 MonteCarloMoverResults=list
318 _plural_types.append(
"MonteCarloMoverResults")
319 _value_types.append(
"MonteCarloMoverResult")
321 _object_types.append(
"Mover")
324 def _object_cast_to_Mover(*args):
325 """_object_cast_to_Mover(Object o) -> Mover"""
326 return _IMP_core._object_cast_to_Mover(*args)
327 _object_types.append(
"MoverBase")
330 def _object_cast_to_MoverBase(*args):
331 """_object_cast_to_MoverBase(Object o) -> MoverBase"""
332 return _IMP_core._object_cast_to_MoverBase(*args)
333 _object_types.append(
"AngleRestraint")
336 def _object_cast_to_AngleRestraint(*args):
337 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
338 return _IMP_core._object_cast_to_AngleRestraint(*args)
339 _object_types.append(
"AngleTripletScore")
342 def _object_cast_to_AngleTripletScore(*args):
343 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
344 return _IMP_core._object_cast_to_AngleTripletScore(*args)
345 _object_types.append(
"AttributeSingletonScore")
348 def _object_cast_to_AttributeSingletonScore(*args):
349 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
350 return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
351 _object_types.append(
"BallMover")
354 def _object_cast_to_BallMover(*args):
355 """_object_cast_to_BallMover(Object o) -> BallMover"""
356 return _IMP_core._object_cast_to_BallMover(*args)
357 _object_types.append(
"SerialMover")
360 def _object_cast_to_SerialMover(*args):
361 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
362 return _IMP_core._object_cast_to_SerialMover(*args)
363 _object_types.append(
"BoundingBox3DSingletonScore")
366 def _object_cast_to_BoundingBox3DSingletonScore(*args):
367 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
368 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
369 _object_types.append(
"BoxSweepClosePairsFinder")
372 def _object_cast_to_BoxSweepClosePairsFinder(*args):
373 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
374 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
375 _object_types.append(
"NearestNeighborsClosePairsFinder")
378 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
379 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
380 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
381 _object_types.append(
"CentroidOfRefined")
384 def _object_cast_to_CentroidOfRefined(*args):
385 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
386 return _IMP_core._object_cast_to_CentroidOfRefined(*args)
387 _object_types.append(
"ChecksScoreState")
390 def _object_cast_to_ChecksScoreState(*args):
391 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
392 return _IMP_core._object_cast_to_ChecksScoreState(*args)
393 _object_types.append(
"ChildrenRefiner")
396 def _object_cast_to_ChildrenRefiner(*args):
397 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
398 return _IMP_core._object_cast_to_ChildrenRefiner(*args)
399 _object_types.append(
"ClosePairsFinder")
402 def _object_cast_to_ClosePairsFinder(*args):
403 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
404 return _IMP_core._object_cast_to_ClosePairsFinder(*args)
405 _object_types.append(
"ClosePairsPairScore")
408 def _object_cast_to_ClosePairsPairScore(*args):
409 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
410 return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
411 _object_types.append(
"ClosedCubicSpline")
414 def _object_cast_to_ClosedCubicSpline(*args):
415 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
416 return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
417 _object_types.append(
"ConjugateGradients")
420 def _object_cast_to_ConjugateGradients(*args):
421 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
422 return _IMP_core._object_cast_to_ConjugateGradients(*args)
423 _object_types.append(
"ConnectivityRestraint")
426 def _object_cast_to_ConnectivityRestraint(*args):
427 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
428 return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
429 _object_types.append(
"ConstantRestraint")
432 def _object_cast_to_ConstantRestraint(*args):
433 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
434 return _IMP_core._object_cast_to_ConstantRestraint(*args)
435 _object_types.append(
"Cosine")
438 def _object_cast_to_Cosine(*args):
439 """_object_cast_to_Cosine(Object o) -> Cosine"""
440 return _IMP_core._object_cast_to_Cosine(*args)
441 _object_types.append(
"CoverRefined")
444 def _object_cast_to_CoverRefined(*args):
445 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
446 return _IMP_core._object_cast_to_CoverRefined(*args)
447 _object_types.append(
"DerivativesFromRefined")
450 def _object_cast_to_DerivativesFromRefined(*args):
451 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
452 return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
453 _object_types.append(
"DerivativesToRefined")
456 def _object_cast_to_DerivativesToRefined(*args):
457 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
458 return _IMP_core._object_cast_to_DerivativesToRefined(*args)
459 _object_types.append(
"DiameterRestraint")
462 def _object_cast_to_DiameterRestraint(*args):
463 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
464 return _IMP_core._object_cast_to_DiameterRestraint(*args)
465 _object_types.append(
"DihedralRestraint")
468 def _object_cast_to_DihedralRestraint(*args):
469 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
470 return _IMP_core._object_cast_to_DihedralRestraint(*args)
471 _object_types.append(
"DistanceRestraint")
474 def _object_cast_to_DistanceRestraint(*args):
475 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
476 return _IMP_core._object_cast_to_DistanceRestraint(*args)
477 _object_types.append(
"DistanceToSingletonScore")
480 def _object_cast_to_DistanceToSingletonScore(*args):
481 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
482 return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
483 _object_types.append(
"ExcludedVolumeRestraint")
486 def _object_cast_to_ExcludedVolumeRestraint(*args):
487 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
488 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
489 _object_types.append(
"FixedRefiner")
492 def _object_cast_to_FixedRefiner(*args):
493 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
494 return _IMP_core._object_cast_to_FixedRefiner(*args)
495 _object_types.append(
"GridClosePairsFinder")
498 def _object_cast_to_GridClosePairsFinder(*args):
499 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
500 return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
501 _object_types.append(
"Harmonic")
504 def _object_cast_to_Harmonic(*args):
505 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
506 return _IMP_core._object_cast_to_Harmonic(*args)
507 _object_types.append(
"HarmonicWell")
510 def _object_cast_to_HarmonicWell(*args):
511 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
512 return _IMP_core._object_cast_to_HarmonicWell(*args)
513 _object_types.append(
"HarmonicLowerBound")
516 def _object_cast_to_HarmonicLowerBound(*args):
517 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
518 return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
519 _object_types.append(
"HarmonicUpperBound")
522 def _object_cast_to_HarmonicUpperBound(*args):
523 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
524 return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
525 _object_types.append(
"HarmonicSphereDistancePairScore")
528 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
529 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
530 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
531 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
534 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
535 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
536 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
537 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
540 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
541 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
542 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
543 _object_types.append(
"IncrementalScoringFunction")
546 def _object_cast_to_IncrementalScoringFunction(*args):
547 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
548 return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
549 _object_types.append(
"KClosePairsPairScore")
552 def _object_cast_to_KClosePairsPairScore(*args):
553 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
554 return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
555 _object_types.append(
"LeavesRefiner")
558 def _object_cast_to_LeavesRefiner(*args):
559 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
560 return _IMP_core._object_cast_to_LeavesRefiner(*args)
561 _object_types.append(
"Linear")
564 def _object_cast_to_Linear(*args):
565 """_object_cast_to_Linear(Object o) -> Linear"""
566 return _IMP_core._object_cast_to_Linear(*args)
567 _object_types.append(
"MCCGSampler")
570 def _object_cast_to_MCCGSampler(*args):
571 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
572 return _IMP_core._object_cast_to_MCCGSampler(*args)
573 _object_types.append(
"MonteCarlo")
576 def _object_cast_to_MonteCarlo(*args):
577 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
578 return _IMP_core._object_cast_to_MonteCarlo(*args)
579 _object_types.append(
"MonteCarloWithLocalOptimization")
582 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
583 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
584 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
585 _object_types.append(
"MonteCarloWithBasinHopping")
588 def _object_cast_to_MonteCarloWithBasinHopping(*args):
589 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
590 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
591 _object_types.append(
"MSConnectivityRestraint")
594 def _object_cast_to_MSConnectivityRestraint(*args):
595 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
596 return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
597 _object_types.append(
"NormalMover")
600 def _object_cast_to_NormalMover(*args):
601 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
602 return _IMP_core._object_cast_to_NormalMover(*args)
603 _object_types.append(
"NormalizedSphereDistancePairScore")
606 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
607 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
608 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
609 _object_types.append(
"OpenCubicSpline")
612 def _object_cast_to_OpenCubicSpline(*args):
613 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
614 return _IMP_core._object_cast_to_OpenCubicSpline(*args)
615 _object_types.append(
"PairConstraint")
618 def _object_cast_to_PairConstraint(*args):
619 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
620 return _IMP_core._object_cast_to_PairConstraint(*args)
621 _object_types.append(
"PairRestraint")
624 def _object_cast_to_PairRestraint(*args):
625 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
626 return _IMP_core._object_cast_to_PairRestraint(*args)
627 _object_types.append(
"PeriodicOptimizerState")
630 def _object_cast_to_PeriodicOptimizerState(*args):
631 """_object_cast_to_PeriodicOptimizerState(Object o) -> PeriodicOptimizerState"""
632 return _IMP_core._object_cast_to_PeriodicOptimizerState(*args)
633 _object_types.append(
"QuadConstraint")
636 def _object_cast_to_QuadConstraint(*args):
637 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
638 return _IMP_core._object_cast_to_QuadConstraint(*args)
639 _object_types.append(
"QuadRestraint")
642 def _object_cast_to_QuadRestraint(*args):
643 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
644 return _IMP_core._object_cast_to_QuadRestraint(*args)
645 _object_types.append(
"QuadraticClosePairsFinder")
648 def _object_cast_to_QuadraticClosePairsFinder(*args):
649 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
650 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
651 _object_types.append(
"RefinedPairsPairScore")
654 def _object_cast_to_RefinedPairsPairScore(*args):
655 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
656 return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
657 _object_types.append(
"RestraintsScoringFunction")
660 def _object_cast_to_RestraintsScoringFunction(*args):
661 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
662 return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
663 _object_types.append(
"RigidBodyDistancePairScore")
666 def _object_cast_to_RigidBodyDistancePairScore(*args):
667 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
668 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
669 _object_types.append(
"RigidBodyMover")
672 def _object_cast_to_RigidBodyMover(*args):
673 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
674 return _IMP_core._object_cast_to_RigidBodyMover(*args)
675 _object_types.append(
"RigidClosePairsFinder")
678 def _object_cast_to_RigidClosePairsFinder(*args):
679 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
680 return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
681 _object_types.append(
"RigidMembersRefiner")
684 def _object_cast_to_RigidMembersRefiner(*args):
685 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
686 return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
687 _object_types.append(
"SingletonConstraint")
690 def _object_cast_to_SingletonConstraint(*args):
691 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
692 return _IMP_core._object_cast_to_SingletonConstraint(*args)
693 _object_types.append(
"SingletonRestraint")
696 def _object_cast_to_SingletonRestraint(*args):
697 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
698 return _IMP_core._object_cast_to_SingletonRestraint(*args)
699 _object_types.append(
"SoftSpherePairScore")
702 def _object_cast_to_SoftSpherePairScore(*args):
703 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
704 return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
705 _object_types.append(
"SphereDistancePairScore")
708 def _object_cast_to_SphereDistancePairScore(*args):
709 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
710 return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
711 _object_types.append(
"SphereDistanceToSingletonScore")
714 def _object_cast_to_SphereDistanceToSingletonScore(*args):
715 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
716 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
717 _object_types.append(
"SteepestDescent")
720 def _object_cast_to_SteepestDescent(*args):
721 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
722 return _IMP_core._object_cast_to_SteepestDescent(*args)
723 _object_types.append(
"TableRefiner")
726 def _object_cast_to_TableRefiner(*args):
727 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
728 return _IMP_core._object_cast_to_TableRefiner(*args)
729 _object_types.append(
"Transform")
732 def _object_cast_to_Transform(*args):
733 """_object_cast_to_Transform(Object o) -> Transform"""
734 return _IMP_core._object_cast_to_Transform(*args)
735 _object_types.append(
"TransformationAndReflectionSymmetry")
738 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
739 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
740 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
741 _object_types.append(
"TransformationSymmetry")
744 def _object_cast_to_TransformationSymmetry(*args):
745 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
746 return _IMP_core._object_cast_to_TransformationSymmetry(*args)
747 _object_types.append(
"TransformedDistancePairScore")
750 def _object_cast_to_TransformedDistancePairScore(*args):
751 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
752 return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
753 _object_types.append(
"TripletConstraint")
756 def _object_cast_to_TripletConstraint(*args):
757 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
758 return _IMP_core._object_cast_to_TripletConstraint(*args)
759 _object_types.append(
"TripletRestraint")
762 def _object_cast_to_TripletRestraint(*args):
763 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
764 return _IMP_core._object_cast_to_TripletRestraint(*args)
765 _object_types.append(
"TypedPairScore")
768 def _object_cast_to_TypedPairScore(*args):
769 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
770 return _IMP_core._object_cast_to_TypedPairScore(*args)
771 _object_types.append(
"VolumeRestraint")
774 def _object_cast_to_VolumeRestraint(*args):
775 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
776 return _IMP_core._object_cast_to_VolumeRestraint(*args)
777 _object_types.append(
"WeightedSphereDistancePairScore")
780 def _object_cast_to_WeightedSphereDistancePairScore(*args):
781 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
782 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
783 _object_types.append(
"MoveStatisticsScoreState")
786 def _object_cast_to_MoveStatisticsScoreState(*args):
787 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
788 return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
789 _object_types.append(
"MinimumRestraint")
792 def _object_cast_to_MinimumRestraint(*args):
793 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
794 return _IMP_core._object_cast_to_MinimumRestraint(*args)
795 _object_types.append(
"WriteRestraintScoresOptimizerState")
798 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
799 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
800 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
801 _object_types.append(
"ConstantSingletonPredicate")
804 def _object_cast_to_ConstantSingletonPredicate(*args):
805 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
806 return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
807 _object_types.append(
"ConstantPairPredicate")
810 def _object_cast_to_ConstantPairPredicate(*args):
811 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
812 return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
813 _object_types.append(
"ConstantTripletPredicate")
816 def _object_cast_to_ConstantTripletPredicate(*args):
817 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
818 return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
819 _object_types.append(
"ConstantQuadPredicate")
822 def _object_cast_to_ConstantQuadPredicate(*args):
823 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
824 return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
825 _object_types.append(
"CoinFlipSingletonPredicate")
828 def _object_cast_to_CoinFlipSingletonPredicate(*args):
829 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
830 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
831 _object_types.append(
"CoinFlipPairPredicate")
834 def _object_cast_to_CoinFlipPairPredicate(*args):
835 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
836 return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
837 _object_types.append(
"CoinFlipTripletPredicate")
840 def _object_cast_to_CoinFlipTripletPredicate(*args):
841 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
842 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
843 _object_types.append(
"CoinFlipQuadPredicate")
846 def _object_cast_to_CoinFlipQuadPredicate(*args):
847 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
848 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
849 _object_types.append(
"UnorderedTypeSingletonPredicate")
852 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
853 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
854 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
855 _object_types.append(
"UnorderedTypePairPredicate")
858 def _object_cast_to_UnorderedTypePairPredicate(*args):
859 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
860 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
861 _object_types.append(
"UnorderedTypeTripletPredicate")
864 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
865 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
866 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
867 _object_types.append(
"UnorderedTypeQuadPredicate")
870 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
871 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
872 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
873 _object_types.append(
"OrderedTypeSingletonPredicate")
876 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
877 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
878 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
879 _object_types.append(
"OrderedTypePairPredicate")
882 def _object_cast_to_OrderedTypePairPredicate(*args):
883 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
884 return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
885 _object_types.append(
"OrderedTypeTripletPredicate")
888 def _object_cast_to_OrderedTypeTripletPredicate(*args):
889 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
890 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
891 _object_types.append(
"OrderedTypeQuadPredicate")
894 def _object_cast_to_OrderedTypeQuadPredicate(*args):
895 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
896 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
897 _object_types.append(
"AllSameSingletonPredicate")
900 def _object_cast_to_AllSameSingletonPredicate(*args):
901 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
902 return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
903 _object_types.append(
"AllSamePairPredicate")
906 def _object_cast_to_AllSamePairPredicate(*args):
907 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
908 return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
909 _object_types.append(
"AllSameTripletPredicate")
912 def _object_cast_to_AllSameTripletPredicate(*args):
913 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
914 return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
915 _object_types.append(
"AllSameQuadPredicate")
918 def _object_cast_to_AllSameQuadPredicate(*args):
919 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
920 return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
922 return [XYZ(x)
for x
in l]
923 _plural_types.append(
"XYZs")
925 _value_types.append(
"XYZ")
928 return [XYZR(x)
for x
in l]
929 _plural_types.append(
"XYZRs")
931 _value_types.append(
"XYZR")
933 def RigidBodies(l=[]):
934 return [RigidBody(x)
for x
in l]
935 _plural_types.append(
"RigidBodies")
937 _value_types.append(
"RigidBody")
939 def RigidMembers(l=[]):
940 return [RigidMember(x)
for x
in l]
941 _plural_types.append(
"RigidMembers")
943 _value_types.append(
"RigidMember")
945 def NonRigidMembers(l=[]):
946 return [NonRigidMember(x)
for x
in l]
947 _plural_types.append(
"NonRigidMembers")
949 _value_types.append(
"NonRigidMember")
952 return [Centroid(x)
for x
in l]
953 _plural_types.append(
"Centroids")
955 _value_types.append(
"Centroid")
958 return [Cover(x)
for x
in l]
959 _plural_types.append(
"Covers")
961 _value_types.append(
"Cover")
963 def References(l=[]):
964 return [Reference(x)
for x
in l]
965 _plural_types.append(
"References")
967 _value_types.append(
"Reference")
970 _plural_types.append(
"ParticleTypes")
971 _value_types.append(
"ParticleType")
974 return [Typed(x)
for x
in l]
975 _plural_types.append(
"Typeds")
977 _value_types.append(
"Typed")
979 def GenericHierarchies(l=[]):
980 return [Hierarchy(x)
for x
in l]
981 _plural_types.append(
"GenericHierarchies")
983 _value_types.append(
"Hierarchy")
985 HierarchyCounters=list
986 _plural_types.append(
"HierarchyCounters")
987 _value_types.append(
"HierarchyCounter")
989 HierarchyTraitsList=list
990 _plural_types.append(
"HierarchyTraitsList")
991 _value_types.append(
"HierarchyTraits")
993 _object_types.append(
"TruncatedHarmonicBound")
996 def _object_cast_to_TruncatedHarmonicBound(*args):
997 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
998 return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
999 _object_types.append(
"TruncatedHarmonicLowerBound")
1002 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1003 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1004 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1005 _object_types.append(
"TruncatedHarmonicUpperBound")
1008 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1009 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1010 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1011 _object_types.append(
"HarmonicDistancePairScore")
1014 def _object_cast_to_HarmonicDistancePairScore(*args):
1015 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1016 return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1017 _object_types.append(
"DistancePairScore")
1020 def _object_cast_to_DistancePairScore(*args):
1021 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1022 return _IMP_core._object_cast_to_DistancePairScore(*args)
1023 _object_types.append(
"XYZRGeometry")
1026 def _object_cast_to_XYZRGeometry(*args):
1027 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1028 return _IMP_core._object_cast_to_XYZRGeometry(*args)
1029 _object_types.append(
"XYZRsGeometry")
1032 def _object_cast_to_XYZRsGeometry(*args):
1033 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1034 return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1035 _object_types.append(
"XYZDerivativeGeometry")
1038 def _object_cast_to_XYZDerivativeGeometry(*args):
1039 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1040 return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1041 _object_types.append(
"XYZDerivativesGeometry")
1044 def _object_cast_to_XYZDerivativesGeometry(*args):
1045 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1046 return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1047 _object_types.append(
"RigidBodyDerivativeGeometry")
1050 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1051 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1052 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1053 _object_types.append(
"RigidBodyDerivativesGeometry")
1056 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1057 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1058 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1059 _object_types.append(
"RigidBodyHierarchyGeometry")
1062 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1063 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1064 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1065 _object_types.append(
"RigidBodyFrameGeometry")
1068 def _object_cast_to_RigidBodyFrameGeometry(*args):
1069 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1070 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1071 _object_types.append(
"RigidBodyFramesGeometry")
1074 def _object_cast_to_RigidBodyFramesGeometry(*args):
1075 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1076 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1077 _object_types.append(
"RigidBodyTorque")
1080 def _object_cast_to_RigidBodyTorque(*args):
1081 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1082 return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1083 _object_types.append(
"EdgePairGeometry")
1086 def _object_cast_to_EdgePairGeometry(*args):
1087 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1088 return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1089 _object_types.append(
"EdgePairsGeometry")
1092 def _object_cast_to_EdgePairsGeometry(*args):
1093 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1094 return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1096 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1097 __swig_setmethods__ = {}
1098 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1099 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsFinder, name, value)
1100 __swig_getmethods__ = {}
1101 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1102 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsFinder, name)
1103 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1104 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1105 __del__ =
lambda self :
None;
1106 def get_close_pairs(self, *args):
1108 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1109 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1110 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1111 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1113 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1115 def set_distance(self, *args):
1116 """set_distance(ClosePairsFinder self, double d)"""
1117 return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1120 """get_distance(ClosePairsFinder self) -> double"""
1121 return _IMP_core.ClosePairsFinder_get_distance(self)
1125 get_input_particles(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & ps) -> IMP::kernel::ParticlesTemp
1126 get_input_particles(ClosePairsFinder self, Particle p) -> IMP::kernel::ParticlesTemp
1128 return _IMP_core.ClosePairsFinder_get_input_particles(self, *args)
1132 get_input_containers(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & ps) -> IMP::kernel::ContainersTemp
1133 get_input_containers(ClosePairsFinder self, Particle p) -> IMP::kernel::ContainersTemp
1135 return _IMP_core.ClosePairsFinder_get_input_containers(self, *args)
1137 def get_inputs(self, *args):
1138 """get_inputs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
1139 return _IMP_core.ClosePairsFinder_get_inputs(self, *args)
1141 def _do_get_inputs(self, *args):
1142 """_do_get_inputs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
1143 return _IMP_core.ClosePairsFinder__do_get_inputs(self, *args)
1145 def remove_pair_filter(self, *args):
1146 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1147 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1149 def remove_pair_filters(self, *args):
1150 """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1151 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1153 def set_pair_filters(self, *args):
1154 """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1155 return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1157 def set_pair_filters_order(self, *args):
1158 """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1159 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1161 def add_pair_filter(self, *args):
1162 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1163 return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1165 def add_pair_filters(self, *args):
1166 """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1167 return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1169 def clear_pair_filters(self):
1170 """clear_pair_filters(ClosePairsFinder self)"""
1171 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1173 def get_number_of_pair_filters(self):
1174 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1175 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1177 def get_has_pair_filters(self):
1178 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1179 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1181 def get_pair_filter(self, *args):
1182 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1183 return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1185 def get_pair_filters(self):
1186 """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1187 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1189 def reserve_pair_filters(self, *args):
1190 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1191 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1194 """__str__(ClosePairsFinder self) -> std::string"""
1195 return _IMP_core.ClosePairsFinder___str__(self)
1198 """__repr__(ClosePairsFinder self) -> std::string"""
1199 return _IMP_core.ClosePairsFinder___repr__(self)
1202 return _object_cast_to_ClosePairsFinder(o)
1203 get_from = staticmethod(get_from)
1205 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1206 ClosePairsFinder_swigregister(ClosePairsFinder)
1208 class MonteCarloMoverResult(IMP.base._Value):
1209 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1210 __swig_setmethods__ = {}
1211 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1212 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMoverResult, name, value)
1213 __swig_getmethods__ = {}
1214 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1215 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMoverResult, name)
1216 def __init__(self, *args):
1218 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1219 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1220 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1222 this = _IMP_core.new_MonteCarloMoverResult(*args)
1223 try: self.this.append(this)
1224 except: self.this = this
1226 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1227 return _IMP_core.MonteCarloMoverResult___hash__(self)
1229 def show(self, *args):
1231 show(MonteCarloMoverResult self, _ostream out=std::cout)
1232 show(MonteCarloMoverResult self)
1234 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1236 def __eq__(self, *args):
1237 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1238 return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1240 def __ne__(self, *args):
1241 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1242 return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1244 def __lt__(self, *args):
1245 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1246 return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1248 def __gt__(self, *args):
1249 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1250 return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1252 def __ge__(self, *args):
1253 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1254 return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1256 def __le__(self, *args):
1257 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1258 return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1260 def get_moved_particles(self):
1261 """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1262 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1264 def set_moved_particles(self, *args):
1265 """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1266 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1268 def get_proposal_ratio(self):
1269 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1270 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1272 def set_proposal_ratio(self, *args):
1273 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1274 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1277 """__str__(MonteCarloMoverResult self) -> std::string"""
1278 return _IMP_core.MonteCarloMoverResult___str__(self)
1281 """__repr__(MonteCarloMoverResult self) -> std::string"""
1282 return _IMP_core.MonteCarloMoverResult___repr__(self)
1284 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1285 __del__ =
lambda self :
None;
1286 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1287 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1290 """Proxy of C++ IMP::core::MonteCarloMover class"""
1291 __swig_setmethods__ = {}
1293 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMover, name, value)
1294 __swig_getmethods__ = {}
1296 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMover, name)
1297 def __init__(self, *args):
1298 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1299 if self.__class__ == MonteCarloMover:
1303 this = _IMP_core.new_MonteCarloMover(_self, *args)
1304 try: self.this.append(this)
1305 except: self.this = this
1306 if self.__class__ != MonteCarloMover:
1308 IMP.base._director_objects.register(self)
1313 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1314 return _IMP_core.MonteCarloMover_propose(self)
1317 """reject(MonteCarloMover self)"""
1318 return _IMP_core.MonteCarloMover_reject(self)
1321 """accept(MonteCarloMover self)"""
1322 return _IMP_core.MonteCarloMover_accept(self)
1324 def get_number_of_proposed(self):
1325 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1326 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1328 def get_number_of_accepted(self):
1329 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1330 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1332 def reset_statistics(self):
1333 """reset_statistics(MonteCarloMover self)"""
1334 return _IMP_core.MonteCarloMover_reset_statistics(self)
1336 def do_propose(self):
1337 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1338 return _IMP_core.MonteCarloMover_do_propose(self)
1340 def do_reject(self):
1341 """do_reject(MonteCarloMover self)"""
1342 return _IMP_core.MonteCarloMover_do_reject(self)
1344 def do_accept(self):
1345 """do_accept(MonteCarloMover self)"""
1346 return _IMP_core.MonteCarloMover_do_accept(self)
1348 def do_get_outputs(self):
1349 """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1350 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1352 def do_update_dependencies(self):
1353 """do_update_dependencies(MonteCarloMover self)"""
1354 return _IMP_core.MonteCarloMover_do_update_dependencies(self)
1357 """__str__(MonteCarloMover self) -> std::string"""
1358 return _IMP_core.MonteCarloMover___str__(self)
1361 """__repr__(MonteCarloMover self) -> std::string"""
1362 return _IMP_core.MonteCarloMover___repr__(self)
1365 return _object_cast_to_MonteCarloMover(o)
1366 get_from = staticmethod(get_from)
1368 def get_type_name(self):
1369 return self.__class__.__name__
1370 def do_show(self, out):
1372 def get_version_info(self):
1373 if"IMP::core" ==
"IMP":
1374 return VersionInfo(
"python",
"0")
1376 return IMP.VersionInfo(
"python",
"0")
1378 return _object_cast_to_MonteCarloMover(o)
1379 get_from = staticmethod(get_from)
1381 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1382 __del__ =
lambda self :
None;
1383 def __disown__(self):
1385 _IMP_core.disown_MonteCarloMover(self)
1386 return weakref_proxy(self)
1387 def update_dependencies(self):
1388 """update_dependencies(MonteCarloMover self)"""
1389 return _IMP_core.MonteCarloMover_update_dependencies(self)
1391 def do_get_inputs(self):
1392 """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1393 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1395 def do_get_interactions(self):
1396 """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1397 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1399 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1400 MonteCarloMover_swigregister(MonteCarloMover)
1402 class Mover(MonteCarloMover):
1403 """Proxy of C++ IMP::core::Mover class"""
1404 __swig_setmethods__ = {}
1405 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1406 __setattr__ =
lambda self, name, value: _swig_setattr(self, Mover, name, value)
1407 __swig_getmethods__ = {}
1408 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1409 __getattr__ =
lambda self, name: _swig_getattr(self, Mover, name)
1410 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1411 def propose_move(self, *args):
1412 """propose_move(Mover self, IMP::Float size) -> IMP::kernel::ParticlesTemp"""
1413 return _IMP_core.Mover_propose_move(self, *args)
1415 def reset_move(self):
1416 """reset_move(Mover self)"""
1417 return _IMP_core.Mover_reset_move(self)
1420 """get_output_particles(Mover self) -> IMP::kernel::ParticlesTemp"""
1421 return _IMP_core.Mover_get_output_particles(self)
1424 """__str__(Mover self) -> std::string"""
1425 return _IMP_core.Mover___str__(self)
1428 """__repr__(Mover self) -> std::string"""
1429 return _IMP_core.Mover___repr__(self)
1432 return _object_cast_to_Mover(o)
1433 get_from = staticmethod(get_from)
1435 __swig_destroy__ = _IMP_core.delete_Mover
1436 __del__ =
lambda self :
None;
1437 Mover_swigregister = _IMP_core.Mover_swigregister
1438 Mover_swigregister(Mover)
1440 class MoverBase(Mover):
1441 """Proxy of C++ IMP::core::MoverBase class"""
1442 __swig_setmethods__ = {}
1443 for _s
in [Mover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1444 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoverBase, name, value)
1445 __swig_getmethods__ = {}
1446 for _s
in [Mover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1447 __getattr__ =
lambda self, name: _swig_getattr(self, MoverBase, name)
1448 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1450 """__str__(MoverBase self) -> std::string"""
1451 return _IMP_core.MoverBase___str__(self)
1454 """__repr__(MoverBase self) -> std::string"""
1455 return _IMP_core.MoverBase___repr__(self)
1458 return _object_cast_to_MoverBase(o)
1459 get_from = staticmethod(get_from)
1461 __swig_destroy__ = _IMP_core.delete_MoverBase
1462 __del__ =
lambda self :
None;
1463 MoverBase_swigregister = _IMP_core.MoverBase_swigregister
1464 MoverBase_swigregister(MoverBase)
1467 """Proxy of C++ IMP::core::XYZ class"""
1468 __swig_setmethods__ = {}
1469 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1470 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZ, name, value)
1471 __swig_getmethods__ = {}
1472 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1473 __getattr__ =
lambda self, name: _swig_getattr(self, XYZ, name)
1474 def get_coordinate_key(*args):
1475 """get_coordinate_key(unsigned int i) -> FloatKey"""
1476 return _IMP_core.XYZ_get_coordinate_key(*args)
1478 if _newclass:get_coordinate_key = staticmethod(get_coordinate_key)
1479 __swig_getmethods__[
"get_coordinate_key"] =
lambda x: get_coordinate_key
1480 def __init__(self, *args):
1482 __init__(IMP::core::XYZ self) -> XYZ
1483 __init__(IMP::core::XYZ self, Model m, IMP::kernel::ParticleIndex id) -> XYZ
1484 __init__(IMP::core::XYZ self, Particle p) -> XYZ
1486 this = _IMP_core.new_XYZ(*args)
1487 try: self.this.append(this)
1488 except: self.this = this
1489 def decorate_particle(*args):
1490 """decorate_particle(Particle p) -> XYZ"""
1491 return _IMP_core.XYZ_decorate_particle(*args)
1493 if _newclass:decorate_particle = staticmethod(decorate_particle)
1494 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1495 def show(self, *args):
1497 show(XYZ self, _ostream out=std::cout)
1500 return _IMP_core.XYZ_show(self, *args)
1502 def setup_particle(*args):
1504 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v=IMP::algebra::Vector3D(0,0,0)) -> XYZ
1505 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1506 setup_particle(Particle p, Vector3D v=IMP::algebra::Vector3D(0,0,0)) -> XYZ
1507 setup_particle(Particle p) -> XYZ
1509 return _IMP_core.XYZ_setup_particle(*args)
1511 if _newclass:setup_particle = staticmethod(setup_particle)
1512 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1514 """get_x(XYZ self) -> IMP::Float"""
1515 return _IMP_core.XYZ_get_x(self)
1517 def set_x(self, *args):
1518 """set_x(XYZ self, IMP::Float t)"""
1519 return _IMP_core.XYZ_set_x(self, *args)
1522 """get_y(XYZ self) -> IMP::Float"""
1523 return _IMP_core.XYZ_get_y(self)
1525 def set_y(self, *args):
1526 """set_y(XYZ self, IMP::Float t)"""
1527 return _IMP_core.XYZ_set_y(self, *args)
1530 """get_z(XYZ self) -> IMP::Float"""
1531 return _IMP_core.XYZ_get_z(self)
1533 def set_z(self, *args):
1534 """set_z(XYZ self, IMP::Float t)"""
1535 return _IMP_core.XYZ_set_z(self, *args)
1537 def set_coordinate(self, *args):
1538 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1539 return _IMP_core.XYZ_set_coordinate(self, *args)
1541 def set_coordinates(self, *args):
1542 """set_coordinates(XYZ self, Vector3D v)"""
1543 return _IMP_core.XYZ_set_coordinates(self, *args)
1545 def get_coordinate(self, *args):
1546 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1547 return _IMP_core.XYZ_get_coordinate(self, *args)
1549 def add_to_derivatives(self, *args):
1550 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1551 return _IMP_core.XYZ_add_to_derivatives(self, *args)
1553 def get_coordinates_are_optimized(self):
1554 """get_coordinates_are_optimized(XYZ self) -> bool"""
1555 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1557 def set_coordinates_are_optimized(self, *args):
1558 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1559 return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1561 def get_vector_to(self, *args):
1562 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1563 return _IMP_core.XYZ_get_vector_to(self, *args)
1565 def get_coordinates(self):
1566 """get_coordinates(XYZ self) -> Vector3D"""
1567 return _IMP_core.XYZ_get_coordinates(self)
1569 def get_derivatives(self):
1570 """get_derivatives(XYZ self) -> Vector3D"""
1571 return _IMP_core.XYZ_get_derivatives(self)
1573 def particle_is_instance(*args):
1575 particle_is_instance(Particle p) -> bool
1576 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1578 return _IMP_core.XYZ_particle_is_instance(*args)
1580 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1581 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1583 """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1584 return _IMP_core.XYZ_get_xyz_keys()
1586 if _newclass:get_xyz_keys = staticmethod(get_xyz_keys)
1587 __swig_getmethods__[
"get_xyz_keys"] =
lambda x: get_xyz_keys
1588 def add_attribute(self, *args):
1590 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1591 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1592 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1593 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1594 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1595 add_attribute(XYZ self, ObjectKey a0, IMP::Object * a1)
1597 return _IMP_core.XYZ_add_attribute(self, *args)
1599 def get_value(self, *args):
1601 get_value(XYZ self, FloatKey a0) -> IMP::Float
1602 get_value(XYZ self, IntKey a0) -> IMP::Int
1603 get_value(XYZ self, StringKey a0) -> IMP::String
1604 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1605 get_value(XYZ self, ObjectKey a0) -> IMP::Object *
1607 return _IMP_core.XYZ_get_value(self, *args)
1609 def set_value(self, *args):
1611 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1612 set_value(XYZ self, IntKey a0, IMP::Int a1)
1613 set_value(XYZ self, StringKey a0, IMP::String a1)
1614 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1615 set_value(XYZ self, ObjectKey a0, IMP::Object * a1)
1617 return _IMP_core.XYZ_set_value(self, *args)
1619 def remove_attribute(self, *args):
1621 remove_attribute(XYZ self, FloatKey a0)
1622 remove_attribute(XYZ self, IntKey a0)
1623 remove_attribute(XYZ self, StringKey a0)
1624 remove_attribute(XYZ self, ParticleIndexKey a0)
1625 remove_attribute(XYZ self, ObjectKey a0)
1627 return _IMP_core.XYZ_remove_attribute(self, *args)
1629 def has_attribute(self, *args):
1631 has_attribute(XYZ self, FloatKey a0) -> bool
1632 has_attribute(XYZ self, IntKey a0) -> bool
1633 has_attribute(XYZ self, StringKey a0) -> bool
1634 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1635 has_attribute(XYZ self, ObjectKey a0) -> bool
1637 return _IMP_core.XYZ_has_attribute(self, *args)
1639 def get_derivative(self, *args):
1641 get_derivative(XYZ self, int i) -> IMP::Float
1642 get_derivative(XYZ self, FloatKey a0) -> double
1644 return _IMP_core.XYZ_get_derivative(self, *args)
1647 """get_name(XYZ self) -> std::string"""
1648 return _IMP_core.XYZ_get_name(self)
1650 def clear_caches(self):
1651 """clear_caches(XYZ self)"""
1652 return _IMP_core.XYZ_clear_caches(self)
1654 def set_name(self, *args):
1655 """set_name(XYZ self, std::string a0)"""
1656 return _IMP_core.XYZ_set_name(self, *args)
1659 """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1660 return _IMP_core.XYZ_set_check_level(self, *args)
1662 def add_to_derivative(self, *args):
1664 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1665 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1667 return _IMP_core.XYZ_add_to_derivative(self, *args)
1669 def set_is_optimized(self, *args):
1670 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1671 return _IMP_core.XYZ_set_is_optimized(self, *args)
1673 def get_is_optimized(self, *args):
1674 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1675 return _IMP_core.XYZ_get_is_optimized(self, *args)
1678 """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1679 return _IMP_core.XYZ_get_check_level(self)
1681 def __eq__(self, *args):
1683 __eq__(XYZ self, XYZ o) -> bool
1684 __eq__(XYZ self, Particle d) -> bool
1686 return _IMP_core.XYZ___eq__(self, *args)
1688 def __ne__(self, *args):
1690 __ne__(XYZ self, XYZ o) -> bool
1691 __ne__(XYZ self, Particle d) -> bool
1693 return _IMP_core.XYZ___ne__(self, *args)
1695 def __le__(self, *args):
1697 __le__(XYZ self, XYZ o) -> bool
1698 __le__(XYZ self, Particle d) -> bool
1700 return _IMP_core.XYZ___le__(self, *args)
1702 def __lt__(self, *args):
1704 __lt__(XYZ self, XYZ o) -> bool
1705 __lt__(XYZ self, Particle d) -> bool
1707 return _IMP_core.XYZ___lt__(self, *args)
1709 def __ge__(self, *args):
1711 __ge__(XYZ self, XYZ o) -> bool
1712 __ge__(XYZ self, Particle d) -> bool
1714 return _IMP_core.XYZ___ge__(self, *args)
1716 def __gt__(self, *args):
1718 __gt__(XYZ self, XYZ o) -> bool
1719 __gt__(XYZ self, Particle d) -> bool
1721 return _IMP_core.XYZ___gt__(self, *args)
1724 """__str__(XYZ self) -> std::string"""
1725 return _IMP_core.XYZ___str__(self)
1728 """__repr__(XYZ self) -> std::string"""
1729 return _IMP_core.XYZ___repr__(self)
1731 __swig_destroy__ = _IMP_core.delete_XYZ
1732 __del__ =
lambda self :
None;
1733 XYZ_swigregister = _IMP_core.XYZ_swigregister
1734 XYZ_swigregister(XYZ)
1736 def XYZ_get_coordinate_key(*args):
1737 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1738 return _IMP_core.XYZ_get_coordinate_key(*args)
1740 def XYZ_decorate_particle(*args):
1741 """XYZ_decorate_particle(Particle p) -> XYZ"""
1742 return _IMP_core.XYZ_decorate_particle(*args)
1744 def XYZ_setup_particle(*args):
1746 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v=IMP::algebra::Vector3D(0,0,0)) -> XYZ
1747 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1748 setup_particle(Particle p, Vector3D v=IMP::algebra::Vector3D(0,0,0)) -> XYZ
1749 XYZ_setup_particle(Particle p) -> XYZ
1751 return _IMP_core.XYZ_setup_particle(*args)
1753 def XYZ_particle_is_instance(*args):
1755 particle_is_instance(Particle p) -> bool
1756 XYZ_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1758 return _IMP_core.XYZ_particle_is_instance(*args)
1760 def XYZ_get_xyz_keys():
1761 """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1762 return _IMP_core.XYZ_get_xyz_keys()
1766 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1767 return _IMP_core.get_dihedral(*args)
1770 """get_vector_d_geometry(XYZ d) -> Vector3D"""
1771 return _IMP_core.get_vector_d_geometry(*args)
1774 """set_vector_d_geometry(XYZ d, Vector3D v)"""
1775 return _IMP_core.set_vector_d_geometry(*args)
1777 """Proxy of C++ IMP::core::XYZR class"""
1778 __swig_setmethods__ = {}
1779 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1780 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZR, name, value)
1781 __swig_getmethods__ = {}
1782 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1783 __getattr__ =
lambda self, name: _swig_getattr(self, XYZR, name)
1784 def __init__(self, *args):
1786 __init__(IMP::core::XYZR self) -> XYZR
1787 __init__(IMP::core::XYZR self, Model m, IMP::kernel::ParticleIndex id) -> XYZR
1788 __init__(IMP::core::XYZR self, Particle p) -> XYZR
1790 this = _IMP_core.new_XYZR(*args)
1791 try: self.this.append(this)
1792 except: self.this = this
1793 def decorate_particle(*args):
1794 """decorate_particle(Particle p) -> XYZR"""
1795 return _IMP_core.XYZR_decorate_particle(*args)
1797 if _newclass:decorate_particle = staticmethod(decorate_particle)
1798 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1799 def show(self, *args):
1801 show(XYZR self, _ostream out=std::cout)
1804 return _IMP_core.XYZR_show(self, *args)
1806 def setup_particle(*args):
1808 setup_particle(Particle p) -> XYZR
1809 setup_particle(Particle p, IMP::Float radius) -> XYZR
1810 setup_particle(Particle p, Sphere3D s) -> XYZR
1811 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D s) -> XYZR
1813 return _IMP_core.XYZR_setup_particle(*args)
1815 if _newclass:setup_particle = staticmethod(setup_particle)
1816 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1817 def particle_is_instance(*args):
1818 """particle_is_instance(Particle p) -> bool"""
1819 return _IMP_core.XYZR_particle_is_instance(*args)
1821 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1822 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
1823 def get_radius(self):
1824 """get_radius(XYZR self) -> double"""
1825 return _IMP_core.XYZR_get_radius(self)
1827 def set_radius(self, *args):
1828 """set_radius(XYZR self, double r)"""
1829 return _IMP_core.XYZR_set_radius(self, *args)
1831 def get_sphere(self):
1832 """get_sphere(XYZR self) -> Sphere3D"""
1833 return _IMP_core.XYZR_get_sphere(self)
1835 def set_sphere(self, *args):
1836 """set_sphere(XYZR self, Sphere3D s)"""
1837 return _IMP_core.XYZR_set_sphere(self, *args)
1839 def get_radius_key():
1840 """get_radius_key() -> FloatKey"""
1841 return _IMP_core.XYZR_get_radius_key()
1843 if _newclass:get_radius_key = staticmethod(get_radius_key)
1844 __swig_getmethods__[
"get_radius_key"] =
lambda x: get_radius_key
1845 def add_to_radius_derivative(self, *args):
1846 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1847 return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1849 def add_attribute(self, *args):
1851 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1852 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1853 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1854 add_attribute(XYZR self, StringKey a0, IMP::String a1)
1855 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1856 add_attribute(XYZR self, ObjectKey a0, IMP::Object * a1)
1858 return _IMP_core.XYZR_add_attribute(self, *args)
1860 def get_value(self, *args):
1862 get_value(XYZR self, FloatKey a0) -> IMP::Float
1863 get_value(XYZR self, IntKey a0) -> IMP::Int
1864 get_value(XYZR self, StringKey a0) -> IMP::String
1865 get_value(XYZR self, ParticleIndexKey a0) -> Particle
1866 get_value(XYZR self, ObjectKey a0) -> IMP::Object *
1868 return _IMP_core.XYZR_get_value(self, *args)
1870 def set_value(self, *args):
1872 set_value(XYZR self, FloatKey a0, IMP::Float a1)
1873 set_value(XYZR self, IntKey a0, IMP::Int a1)
1874 set_value(XYZR self, StringKey a0, IMP::String a1)
1875 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1876 set_value(XYZR self, ObjectKey a0, IMP::Object * a1)
1878 return _IMP_core.XYZR_set_value(self, *args)
1880 def remove_attribute(self, *args):
1882 remove_attribute(XYZR self, FloatKey a0)
1883 remove_attribute(XYZR self, IntKey a0)
1884 remove_attribute(XYZR self, StringKey a0)
1885 remove_attribute(XYZR self, ParticleIndexKey a0)
1886 remove_attribute(XYZR self, ObjectKey a0)
1888 return _IMP_core.XYZR_remove_attribute(self, *args)
1890 def has_attribute(self, *args):
1892 has_attribute(XYZR self, FloatKey a0) -> bool
1893 has_attribute(XYZR self, IntKey a0) -> bool
1894 has_attribute(XYZR self, StringKey a0) -> bool
1895 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1896 has_attribute(XYZR self, ObjectKey a0) -> bool
1898 return _IMP_core.XYZR_has_attribute(self, *args)
1900 def get_derivative(self, *args):
1901 """get_derivative(XYZR self, FloatKey a0) -> double"""
1902 return _IMP_core.XYZR_get_derivative(self, *args)
1905 """get_name(XYZR self) -> std::string"""
1906 return _IMP_core.XYZR_get_name(self)
1908 def clear_caches(self):
1909 """clear_caches(XYZR self)"""
1910 return _IMP_core.XYZR_clear_caches(self)
1912 def set_name(self, *args):
1913 """set_name(XYZR self, std::string a0)"""
1914 return _IMP_core.XYZR_set_name(self, *args)
1917 """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1918 return _IMP_core.XYZR_set_check_level(self, *args)
1920 def add_to_derivative(self, *args):
1921 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1922 return _IMP_core.XYZR_add_to_derivative(self, *args)
1924 def set_is_optimized(self, *args):
1925 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1926 return _IMP_core.XYZR_set_is_optimized(self, *args)
1928 def get_is_optimized(self, *args):
1929 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1930 return _IMP_core.XYZR_get_is_optimized(self, *args)
1933 """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1934 return _IMP_core.XYZR_get_check_level(self)
1936 def __eq__(self, *args):
1938 __eq__(XYZR self, XYZR o) -> bool
1939 __eq__(XYZR self, Particle d) -> bool
1941 return _IMP_core.XYZR___eq__(self, *args)
1943 def __ne__(self, *args):
1945 __ne__(XYZR self, XYZR o) -> bool
1946 __ne__(XYZR self, Particle d) -> bool
1948 return _IMP_core.XYZR___ne__(self, *args)
1950 def __le__(self, *args):
1952 __le__(XYZR self, XYZR o) -> bool
1953 __le__(XYZR self, Particle d) -> bool
1955 return _IMP_core.XYZR___le__(self, *args)
1957 def __lt__(self, *args):
1959 __lt__(XYZR self, XYZR o) -> bool
1960 __lt__(XYZR self, Particle d) -> bool
1962 return _IMP_core.XYZR___lt__(self, *args)
1964 def __ge__(self, *args):
1966 __ge__(XYZR self, XYZR o) -> bool
1967 __ge__(XYZR self, Particle d) -> bool
1969 return _IMP_core.XYZR___ge__(self, *args)
1971 def __gt__(self, *args):
1973 __gt__(XYZR self, XYZR o) -> bool
1974 __gt__(XYZR self, Particle d) -> bool
1976 return _IMP_core.XYZR___gt__(self, *args)
1979 """__str__(XYZR self) -> std::string"""
1980 return _IMP_core.XYZR___str__(self)
1983 """__repr__(XYZR self) -> std::string"""
1984 return _IMP_core.XYZR___repr__(self)
1986 __swig_destroy__ = _IMP_core.delete_XYZR
1987 __del__ =
lambda self :
None;
1988 XYZR_swigregister = _IMP_core.XYZR_swigregister
1989 XYZR_swigregister(XYZR)
1991 def XYZR_decorate_particle(*args):
1992 """XYZR_decorate_particle(Particle p) -> XYZR"""
1993 return _IMP_core.XYZR_decorate_particle(*args)
1995 def XYZR_setup_particle(*args):
1997 setup_particle(Particle p) -> XYZR
1998 setup_particle(Particle p, IMP::Float radius) -> XYZR
1999 setup_particle(Particle p, Sphere3D s) -> XYZR
2000 XYZR_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D s) -> XYZR
2002 return _IMP_core.XYZR_setup_particle(*args)
2004 def XYZR_particle_is_instance(*args):
2005 """XYZR_particle_is_instance(Particle p) -> bool"""
2006 return _IMP_core.XYZR_particle_is_instance(*args)
2008 def XYZR_get_radius_key():
2009 """XYZR_get_radius_key() -> FloatKey"""
2010 return _IMP_core.XYZR_get_radius_key()
2015 get_distance(XYZ a, XYZ b) -> double
2016 get_distance(XYZR a, XYZR b) -> double
2018 return _IMP_core.get_distance(*args)
2022 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2023 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2025 return _IMP_core.set_enclosing_sphere(*args)
2028 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2029 return _IMP_core.set_enclosing_radius(*args)
2032 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2033 return _IMP_core.get_enclosing_sphere(*args)
2037 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2038 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2040 return _IMP_core.create_xyzr_particles(*args)
2043 """get_sphere_d_geometry(XYZR d) -> Sphere3D"""
2044 return _IMP_core.get_sphere_d_geometry(*args)
2047 """set_sphere_d_geometry(XYZR d, Sphere3D v)"""
2048 return _IMP_core.set_sphere_d_geometry(*args)
2050 """Proxy of C++ IMP::core::XYZRGeometry class"""
2051 __swig_setmethods__ = {}
2053 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRGeometry, name, value)
2054 __swig_getmethods__ = {}
2056 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRGeometry, name)
2057 def __init__(self, *args):
2059 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2060 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2062 this = _IMP_core.new_XYZRGeometry(*args)
2063 try: self.this.append(this)
2064 except: self.this = this
2065 def get_version_info(self):
2066 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2067 return _IMP_core.XYZRGeometry_get_version_info(self)
2069 __swig_destroy__ = _IMP_core.delete_XYZRGeometry
2070 __del__ =
lambda self :
None;
2072 """__str__(XYZRGeometry self) -> std::string"""
2073 return _IMP_core.XYZRGeometry___str__(self)
2076 """__repr__(XYZRGeometry self) -> std::string"""
2077 return _IMP_core.XYZRGeometry___repr__(self)
2080 return _object_cast_to_XYZRGeometry(o)
2081 get_from = staticmethod(get_from)
2083 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2084 XYZRGeometry_swigregister(XYZRGeometry)
2087 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2088 __swig_setmethods__ = {}
2090 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRsGeometry, name, value)
2091 __swig_getmethods__ = {}
2093 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRsGeometry, name)
2094 def __init__(self, *args):
2095 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2096 this = _IMP_core.new_XYZRsGeometry(*args)
2097 try: self.this.append(this)
2098 except: self.this = this
2099 def get_version_info(self):
2100 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2101 return _IMP_core.XYZRsGeometry_get_version_info(self)
2103 __swig_destroy__ = _IMP_core.delete_XYZRsGeometry
2104 __del__ =
lambda self :
None;
2106 """__str__(XYZRsGeometry self) -> std::string"""
2107 return _IMP_core.XYZRsGeometry___str__(self)
2110 """__repr__(XYZRsGeometry self) -> std::string"""
2111 return _IMP_core.XYZRsGeometry___repr__(self)
2114 return _object_cast_to_XYZRsGeometry(o)
2115 get_from = staticmethod(get_from)
2117 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2118 XYZRsGeometry_swigregister(XYZRsGeometry)
2121 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2122 __swig_setmethods__ = {}
2124 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativeGeometry, name, value)
2125 __swig_getmethods__ = {}
2127 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativeGeometry, name)
2128 def __init__(self, *args):
2130 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2131 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2133 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2134 try: self.this.append(this)
2135 except: self.this = this
2136 def get_version_info(self):
2137 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2138 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2140 __swig_destroy__ = _IMP_core.delete_XYZDerivativeGeometry
2141 __del__ =
lambda self :
None;
2143 """__str__(XYZDerivativeGeometry self) -> std::string"""
2144 return _IMP_core.XYZDerivativeGeometry___str__(self)
2147 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2148 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2151 return _object_cast_to_XYZDerivativeGeometry(o)
2152 get_from = staticmethod(get_from)
2154 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2155 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2158 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2159 __swig_setmethods__ = {}
2161 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativesGeometry, name, value)
2162 __swig_getmethods__ = {}
2164 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativesGeometry, name)
2165 def __init__(self, *args):
2166 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2167 this = _IMP_core.new_XYZDerivativesGeometry(*args)
2168 try: self.this.append(this)
2169 except: self.this = this
2170 def get_version_info(self):
2171 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2172 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2174 __swig_destroy__ = _IMP_core.delete_XYZDerivativesGeometry
2175 __del__ =
lambda self :
None;
2177 """__str__(XYZDerivativesGeometry self) -> std::string"""
2178 return _IMP_core.XYZDerivativesGeometry___str__(self)
2181 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2182 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2185 return _object_cast_to_XYZDerivativesGeometry(o)
2186 get_from = staticmethod(get_from)
2188 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2189 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2192 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2193 __swig_setmethods__ = {}
2195 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairGeometry, name, value)
2196 __swig_getmethods__ = {}
2198 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairGeometry, name)
2199 def __init__(self, *args):
2200 """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2201 this = _IMP_core.new_EdgePairGeometry(*args)
2202 try: self.this.append(this)
2203 except: self.this = this
2204 def get_version_info(self):
2205 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2206 return _IMP_core.EdgePairGeometry_get_version_info(self)
2208 __swig_destroy__ = _IMP_core.delete_EdgePairGeometry
2209 __del__ =
lambda self :
None;
2211 """__str__(EdgePairGeometry self) -> std::string"""
2212 return _IMP_core.EdgePairGeometry___str__(self)
2215 """__repr__(EdgePairGeometry self) -> std::string"""
2216 return _IMP_core.EdgePairGeometry___repr__(self)
2219 return _object_cast_to_EdgePairGeometry(o)
2220 get_from = staticmethod(get_from)
2222 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2223 EdgePairGeometry_swigregister(EdgePairGeometry)
2226 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2227 __swig_setmethods__ = {}
2229 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairsGeometry, name, value)
2230 __swig_getmethods__ = {}
2232 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairsGeometry, name)
2233 def __init__(self, *args):
2234 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2235 this = _IMP_core.new_EdgePairsGeometry(*args)
2236 try: self.this.append(this)
2237 except: self.this = this
2238 def get_version_info(self):
2239 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2240 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2242 __swig_destroy__ = _IMP_core.delete_EdgePairsGeometry
2243 __del__ =
lambda self :
None;
2245 """__str__(EdgePairsGeometry self) -> std::string"""
2246 return _IMP_core.EdgePairsGeometry___str__(self)
2249 """__repr__(EdgePairsGeometry self) -> std::string"""
2250 return _IMP_core.EdgePairsGeometry___repr__(self)
2253 return _object_cast_to_EdgePairsGeometry(o)
2254 get_from = staticmethod(get_from)
2256 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2257 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2260 """Proxy of C++ IMP::core::AngleTripletScore class"""
2261 __swig_setmethods__ = {}
2263 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleTripletScore, name, value)
2264 __swig_getmethods__ = {}
2266 __getattr__ =
lambda self, name: _swig_getattr(self, AngleTripletScore, name)
2267 def __init__(self, *args):
2268 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2269 this = _IMP_core.new_AngleTripletScore(*args)
2270 try: self.this.append(this)
2271 except: self.this = this
2272 def do_create_current_decomposition(self, *args):
2273 """do_create_current_decomposition(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> IMP::kernel::Restraints"""
2274 return _IMP_core.AngleTripletScore_do_create_current_decomposition(self, *args)
2276 def get_version_info(self):
2277 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2278 return _IMP_core.AngleTripletScore_get_version_info(self)
2280 def do_show(self, *args):
2281 """do_show(AngleTripletScore self, _ostream out)"""
2282 return _IMP_core.AngleTripletScore_do_show(self, *args)
2284 __swig_destroy__ = _IMP_core.delete_AngleTripletScore
2285 __del__ =
lambda self :
None;
2287 """__str__(AngleTripletScore self) -> std::string"""
2288 return _IMP_core.AngleTripletScore___str__(self)
2291 """__repr__(AngleTripletScore self) -> std::string"""
2292 return _IMP_core.AngleTripletScore___repr__(self)
2295 return _object_cast_to_AngleTripletScore(o)
2296 get_from = staticmethod(get_from)
2298 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2299 AngleTripletScore_swigregister(AngleTripletScore)
2301 class BallMover(MonteCarloMover):
2302 """Proxy of C++ IMP::core::BallMover class"""
2303 __swig_setmethods__ = {}
2304 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2305 __setattr__ =
lambda self, name, value: _swig_setattr(self, BallMover, name, value)
2306 __swig_getmethods__ = {}
2307 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2308 __getattr__ =
lambda self, name: _swig_getattr(self, BallMover, name)
2309 def __init__(self, *args):
2311 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2312 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2313 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2314 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2316 this = _IMP_core.new_BallMover(*args)
2317 try: self.this.append(this)
2318 except: self.this = this
2319 def set_radius(self, *args):
2320 """set_radius(BallMover self, IMP::Float radius)"""
2321 return _IMP_core.BallMover_set_radius(self, *args)
2323 def get_radius(self):
2324 """get_radius(BallMover self) -> IMP::Float"""
2325 return _IMP_core.BallMover_get_radius(self)
2327 def get_version_info(self):
2328 """get_version_info(BallMover self) -> VersionInfo"""
2329 return _IMP_core.BallMover_get_version_info(self)
2331 __swig_destroy__ = _IMP_core.delete_BallMover
2332 __del__ =
lambda self :
None;
2334 """__str__(BallMover self) -> std::string"""
2335 return _IMP_core.BallMover___str__(self)
2338 """__repr__(BallMover self) -> std::string"""
2339 return _IMP_core.BallMover___repr__(self)
2342 return _object_cast_to_BallMover(o)
2343 get_from = staticmethod(get_from)
2345 BallMover_swigregister = _IMP_core.BallMover_swigregister
2346 BallMover_swigregister(BallMover)
2348 class SerialMover(MonteCarloMover):
2349 """Proxy of C++ IMP::core::SerialMover 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, SerialMover, 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, SerialMover, name)
2356 def __init__(self, *args):
2357 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2358 this = _IMP_core.new_SerialMover(*args)
2359 try: self.this.append(this)
2360 except: self.this = this
2361 def get_movers(self):
2362 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2363 return _IMP_core.SerialMover_get_movers(self)
2365 def get_acceptance_probability(self, *args):
2366 """get_acceptance_probability(SerialMover self, int i) -> double"""
2367 return _IMP_core.SerialMover_get_acceptance_probability(self, *args)
2369 def reset_acceptance_probabilities(self):
2370 """reset_acceptance_probabilities(SerialMover self)"""
2371 return _IMP_core.SerialMover_reset_acceptance_probabilities(self)
2373 def get_number_of_movers(self):
2374 """get_number_of_movers(SerialMover self) -> unsigned int"""
2375 return _IMP_core.SerialMover_get_number_of_movers(self)
2377 def get_version_info(self):
2378 """get_version_info(SerialMover self) -> VersionInfo"""
2379 return _IMP_core.SerialMover_get_version_info(self)
2381 __swig_destroy__ = _IMP_core.delete_SerialMover
2382 __del__ =
lambda self :
None;
2384 """__str__(SerialMover self) -> std::string"""
2385 return _IMP_core.SerialMover___str__(self)
2388 """__repr__(SerialMover self) -> std::string"""
2389 return _IMP_core.SerialMover___repr__(self)
2392 return _object_cast_to_SerialMover(o)
2393 get_from = staticmethod(get_from)
2395 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2396 SerialMover_swigregister(SerialMover)
2398 class BoxSweepClosePairsFinder(ClosePairsFinder):
2399 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2400 __swig_setmethods__ = {}
2401 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2402 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoxSweepClosePairsFinder, name, value)
2403 __swig_getmethods__ = {}
2404 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2405 __getattr__ =
lambda self, name: _swig_getattr(self, BoxSweepClosePairsFinder, name)
2407 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2408 this = _IMP_core.new_BoxSweepClosePairsFinder()
2409 try: self.this.append(this)
2410 except: self.this = this
2411 def get_close_pairs(self, *args):
2413 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa) -> IMP::kernel::ParticlePairsTemp
2414 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa, IMP::kernel::ParticlesTemp const & pb) -> IMP::kernel::ParticlePairsTemp
2415 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2416 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2418 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2420 def get_version_info(self):
2421 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2422 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2424 def do_show(self, *args):
2425 """do_show(BoxSweepClosePairsFinder self, _ostream out)"""
2426 return _IMP_core.BoxSweepClosePairsFinder_do_show(self, *args)
2428 __swig_destroy__ = _IMP_core.delete_BoxSweepClosePairsFinder
2429 __del__ =
lambda self :
None;
2431 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2432 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2435 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2436 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2439 return _object_cast_to_BoxSweepClosePairsFinder(o)
2440 get_from = staticmethod(get_from)
2442 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2443 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2446 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2447 __swig_setmethods__ = {}
2449 __setattr__ =
lambda self, name, value: _swig_setattr(self, CentroidOfRefined, name, value)
2450 __swig_getmethods__ = {}
2452 __getattr__ =
lambda self, name: _swig_getattr(self, CentroidOfRefined, name)
2453 def __init__(self, *args):
2455 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2456 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2457 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2459 this = _IMP_core.new_CentroidOfRefined(*args)
2460 try: self.this.append(this)
2461 except: self.this = this
2462 def get_version_info(self):
2463 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2464 return _IMP_core.CentroidOfRefined_get_version_info(self)
2466 def do_show(self, *args):
2467 """do_show(CentroidOfRefined self, _ostream out)"""
2468 return _IMP_core.CentroidOfRefined_do_show(self, *args)
2470 __swig_destroy__ = _IMP_core.delete_CentroidOfRefined
2471 __del__ =
lambda self :
None;
2473 """__str__(CentroidOfRefined self) -> std::string"""
2474 return _IMP_core.CentroidOfRefined___str__(self)
2477 """__repr__(CentroidOfRefined self) -> std::string"""
2478 return _IMP_core.CentroidOfRefined___repr__(self)
2481 return _object_cast_to_CentroidOfRefined(o)
2482 get_from = staticmethod(get_from)
2484 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2485 CentroidOfRefined_swigregister(CentroidOfRefined)
2487 class Centroid(XYZ):
2488 """Proxy of C++ IMP::core::Centroid class"""
2489 __swig_setmethods__ = {}
2490 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2491 __setattr__ =
lambda self, name, value: _swig_setattr(self, Centroid, name, value)
2492 __swig_getmethods__ = {}
2493 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2494 __getattr__ =
lambda self, name: _swig_getattr(self, Centroid, name)
2495 def get_constraint(self):
2496 """get_constraint(Centroid self) -> Constraint"""
2497 return _IMP_core.Centroid_get_constraint(self)
2499 def __init__(self, *args):
2501 __init__(IMP::core::Centroid self) -> Centroid
2502 __init__(IMP::core::Centroid self, Model m, IMP::kernel::ParticleIndex id) -> Centroid
2503 __init__(IMP::core::Centroid self, Particle p) -> Centroid
2505 this = _IMP_core.new_Centroid(*args)
2506 try: self.this.append(this)
2507 except: self.this = this
2508 def decorate_particle(*args):
2509 """decorate_particle(Particle p) -> Centroid"""
2510 return _IMP_core.Centroid_decorate_particle(*args)
2512 if _newclass:decorate_particle = staticmethod(decorate_particle)
2513 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
2514 def show(self, *args):
2516 show(Centroid self, _ostream out=std::cout)
2519 return _IMP_core.Centroid_show(self, *args)
2521 def setup_particle(*args):
2523 setup_particle(Particle p, IMP::core::XYZs const & members) -> Centroid
2524 setup_particle(Particle p, Refiner ref) -> Centroid
2526 return _IMP_core.Centroid_setup_particle(*args)
2528 if _newclass:setup_particle = staticmethod(setup_particle)
2529 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
2530 __swig_destroy__ = _IMP_core.delete_Centroid
2531 __del__ =
lambda self :
None;
2532 def particle_is_instance(*args):
2533 """particle_is_instance(Particle p) -> bool"""
2534 return _IMP_core.Centroid_particle_is_instance(*args)
2536 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
2537 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
2538 def add_attribute(self, *args):
2540 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2541 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2542 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2543 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2544 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2545 add_attribute(Centroid self, ObjectKey a0, IMP::Object * a1)
2547 return _IMP_core.Centroid_add_attribute(self, *args)
2549 def get_value(self, *args):
2551 get_value(Centroid self, FloatKey a0) -> IMP::Float
2552 get_value(Centroid self, IntKey a0) -> IMP::Int
2553 get_value(Centroid self, StringKey a0) -> IMP::String
2554 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2555 get_value(Centroid self, ObjectKey a0) -> IMP::Object *
2557 return _IMP_core.Centroid_get_value(self, *args)
2559 def set_value(self, *args):
2561 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2562 set_value(Centroid self, IntKey a0, IMP::Int a1)
2563 set_value(Centroid self, StringKey a0, IMP::String a1)
2564 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2565 set_value(Centroid self, ObjectKey a0, IMP::Object * a1)
2567 return _IMP_core.Centroid_set_value(self, *args)
2569 def remove_attribute(self, *args):
2571 remove_attribute(Centroid self, FloatKey a0)
2572 remove_attribute(Centroid self, IntKey a0)
2573 remove_attribute(Centroid self, StringKey a0)
2574 remove_attribute(Centroid self, ParticleIndexKey a0)
2575 remove_attribute(Centroid self, ObjectKey a0)
2577 return _IMP_core.Centroid_remove_attribute(self, *args)
2579 def has_attribute(self, *args):
2581 has_attribute(Centroid self, FloatKey a0) -> bool
2582 has_attribute(Centroid self, IntKey a0) -> bool
2583 has_attribute(Centroid self, StringKey a0) -> bool
2584 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2585 has_attribute(Centroid self, ObjectKey a0) -> bool
2587 return _IMP_core.Centroid_has_attribute(self, *args)
2589 def get_derivative(self, *args):
2590 """get_derivative(Centroid self, FloatKey a0) -> double"""
2591 return _IMP_core.Centroid_get_derivative(self, *args)
2594 """get_name(Centroid self) -> std::string"""
2595 return _IMP_core.Centroid_get_name(self)
2597 def clear_caches(self):
2598 """clear_caches(Centroid self)"""
2599 return _IMP_core.Centroid_clear_caches(self)
2601 def set_name(self, *args):
2602 """set_name(Centroid self, std::string a0)"""
2603 return _IMP_core.Centroid_set_name(self, *args)
2606 """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2607 return _IMP_core.Centroid_set_check_level(self, *args)
2609 def add_to_derivative(self, *args):
2610 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2611 return _IMP_core.Centroid_add_to_derivative(self, *args)
2613 def set_is_optimized(self, *args):
2614 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2615 return _IMP_core.Centroid_set_is_optimized(self, *args)
2617 def get_is_optimized(self, *args):
2618 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2619 return _IMP_core.Centroid_get_is_optimized(self, *args)
2622 """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2623 return _IMP_core.Centroid_get_check_level(self)
2625 def __eq__(self, *args):
2627 __eq__(Centroid self, Centroid o) -> bool
2628 __eq__(Centroid self, Particle d) -> bool
2630 return _IMP_core.Centroid___eq__(self, *args)
2632 def __ne__(self, *args):
2634 __ne__(Centroid self, Centroid o) -> bool
2635 __ne__(Centroid self, Particle d) -> bool
2637 return _IMP_core.Centroid___ne__(self, *args)
2639 def __le__(self, *args):
2641 __le__(Centroid self, Centroid o) -> bool
2642 __le__(Centroid self, Particle d) -> bool
2644 return _IMP_core.Centroid___le__(self, *args)
2646 def __lt__(self, *args):
2648 __lt__(Centroid self, Centroid o) -> bool
2649 __lt__(Centroid self, Particle d) -> bool
2651 return _IMP_core.Centroid___lt__(self, *args)
2653 def __ge__(self, *args):
2655 __ge__(Centroid self, Centroid o) -> bool
2656 __ge__(Centroid self, Particle d) -> bool
2658 return _IMP_core.Centroid___ge__(self, *args)
2660 def __gt__(self, *args):
2662 __gt__(Centroid self, Centroid o) -> bool
2663 __gt__(Centroid self, Particle d) -> bool
2665 return _IMP_core.Centroid___gt__(self, *args)
2668 """__str__(Centroid self) -> std::string"""
2669 return _IMP_core.Centroid___str__(self)
2672 """__repr__(Centroid self) -> std::string"""
2673 return _IMP_core.Centroid___repr__(self)
2675 Centroid_swigregister = _IMP_core.Centroid_swigregister
2676 Centroid_swigregister(Centroid)
2678 def Centroid_decorate_particle(*args):
2679 """Centroid_decorate_particle(Particle p) -> Centroid"""
2680 return _IMP_core.Centroid_decorate_particle(*args)
2682 def Centroid_setup_particle(*args):
2684 setup_particle(Particle p, IMP::core::XYZs const & members) -> Centroid
2685 Centroid_setup_particle(Particle p, Refiner ref) -> Centroid
2687 return _IMP_core.Centroid_setup_particle(*args)
2689 def Centroid_particle_is_instance(*args):
2690 """Centroid_particle_is_instance(Particle p) -> bool"""
2691 return _IMP_core.Centroid_particle_is_instance(*args)
2694 """Proxy of C++ IMP::core::ChecksScoreState class"""
2695 __swig_setmethods__ = {}
2697 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChecksScoreState, name, value)
2698 __swig_getmethods__ = {}
2700 __getattr__ =
lambda self, name: _swig_getattr(self, ChecksScoreState, name)
2701 def __init__(self, *args):
2702 """__init__(IMP::core::ChecksScoreState self, double probability) -> ChecksScoreState"""
2703 this = _IMP_core.new_ChecksScoreState(*args)
2704 try: self.this.append(this)
2705 except: self.this = this
2706 def get_number_of_checked(self):
2707 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2708 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2711 """get_input_particles(ChecksScoreState self) -> IMP::kernel::ParticlesTemp"""
2712 return _IMP_core.ChecksScoreState_get_input_particles(self)
2715 """get_input_containers(ChecksScoreState self) -> IMP::kernel::ContainersTemp"""
2716 return _IMP_core.ChecksScoreState_get_input_containers(self)
2718 def do_get_inputs(self):
2719 """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2720 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2723 """get_output_particles(ChecksScoreState self) -> IMP::kernel::ParticlesTemp"""
2724 return _IMP_core.ChecksScoreState_get_output_particles(self)
2727 """get_output_containers(ChecksScoreState self) -> IMP::kernel::ContainersTemp"""
2728 return _IMP_core.ChecksScoreState_get_output_containers(self)
2730 def do_get_outputs(self):
2731 """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2732 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2734 def get_version_info(self):
2735 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2736 return _IMP_core.ChecksScoreState_get_version_info(self)
2738 def do_show(self, *args):
2739 """do_show(ChecksScoreState self, _ostream out)"""
2740 return _IMP_core.ChecksScoreState_do_show(self, *args)
2742 __swig_destroy__ = _IMP_core.delete_ChecksScoreState
2743 __del__ =
lambda self :
None;
2745 """__str__(ChecksScoreState self) -> std::string"""
2746 return _IMP_core.ChecksScoreState___str__(self)
2749 """__repr__(ChecksScoreState self) -> std::string"""
2750 return _IMP_core.ChecksScoreState___repr__(self)
2753 return _object_cast_to_ChecksScoreState(o)
2754 get_from = staticmethod(get_from)
2756 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2757 ChecksScoreState_swigregister(ChecksScoreState)
2760 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2761 __swig_setmethods__ = {}
2762 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2763 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChildrenRefiner, name, value)
2764 __swig_getmethods__ = {}
2765 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2766 __getattr__ =
lambda self, name: _swig_getattr(self, ChildrenRefiner, name)
2767 def __init__(self, *args):
2768 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2769 this = _IMP_core.new_ChildrenRefiner(*args)
2770 try: self.this.append(this)
2771 except: self.this = this
2772 def get_refined(self, *args):
2774 get_refined(ChildrenRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp const
2775 get_refined(ChildrenRefiner self, Particle arg2, unsigned int arg3) -> Particle
2777 return _IMP_core.ChildrenRefiner_get_refined(self, *args)
2780 """get_input_particles(ChildrenRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
2781 return _IMP_core.ChildrenRefiner_get_input_particles(self, *args)
2784 """get_input_containers(ChildrenRefiner self, Particle arg2) -> IMP::kernel::ContainersTemp"""
2785 return _IMP_core.ChildrenRefiner_get_input_containers(self, *args)
2787 def get_version_info(self):
2788 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2789 return _IMP_core.ChildrenRefiner_get_version_info(self)
2791 def do_show(self, *args):
2792 """do_show(ChildrenRefiner self, _ostream out)"""
2793 return _IMP_core.ChildrenRefiner_do_show(self, *args)
2795 __swig_destroy__ = _IMP_core.delete_ChildrenRefiner
2796 __del__ =
lambda self :
None;
2798 """__str__(ChildrenRefiner self) -> std::string"""
2799 return _IMP_core.ChildrenRefiner___str__(self)
2802 """__repr__(ChildrenRefiner self) -> std::string"""
2803 return _IMP_core.ChildrenRefiner___repr__(self)
2806 return _object_cast_to_ChildrenRefiner(o)
2807 get_from = staticmethod(get_from)
2809 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2810 ChildrenRefiner_swigregister(ChildrenRefiner)
2813 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2814 __swig_setmethods__ = {}
2816 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosedCubicSpline, name, value)
2817 __swig_getmethods__ = {}
2819 __getattr__ =
lambda self, name: _swig_getattr(self, ClosedCubicSpline, name)
2820 def __init__(self, *args):
2821 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2822 this = _IMP_core.new_ClosedCubicSpline(*args)
2823 try: self.this.append(this)
2824 except: self.this = this
2825 def get_version_info(self):
2826 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2827 return _IMP_core.ClosedCubicSpline_get_version_info(self)
2829 __swig_destroy__ = _IMP_core.delete_ClosedCubicSpline
2830 __del__ =
lambda self :
None;
2831 def do_show(self, *args):
2832 """do_show(ClosedCubicSpline self, _ostream out)"""
2833 return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2836 """__str__(ClosedCubicSpline self) -> std::string"""
2837 return _IMP_core.ClosedCubicSpline___str__(self)
2840 """__repr__(ClosedCubicSpline self) -> std::string"""
2841 return _IMP_core.ClosedCubicSpline___repr__(self)
2844 return _object_cast_to_ClosedCubicSpline(o)
2845 get_from = staticmethod(get_from)
2847 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2848 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2851 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2852 __swig_setmethods__ = {}
2853 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2854 __setattr__ =
lambda self, name, value: _swig_setattr(self, KClosePairsPairScore, name, value)
2855 __swig_getmethods__ = {}
2856 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2857 __getattr__ =
lambda self, name: _swig_getattr(self, KClosePairsPairScore, name)
2858 def __init__(self, *args):
2860 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2861 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2863 this = _IMP_core.new_KClosePairsPairScore(*args)
2864 try: self.this.append(this)
2865 except: self.this = this
2866 def get_close_pairs(self, *args):
2867 """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2868 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
2870 def create_current_decomposition(self, *args):
2871 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2872 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
2874 def get_version_info(self):
2875 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
2876 return _IMP_core.KClosePairsPairScore_get_version_info(self)
2878 def do_show(self, *args):
2879 """do_show(KClosePairsPairScore self, _ostream out)"""
2880 return _IMP_core.KClosePairsPairScore_do_show(self, *args)
2882 __swig_destroy__ = _IMP_core.delete_KClosePairsPairScore
2883 __del__ =
lambda self :
None;
2885 """__str__(KClosePairsPairScore self) -> std::string"""
2886 return _IMP_core.KClosePairsPairScore___str__(self)
2889 """__repr__(KClosePairsPairScore self) -> std::string"""
2890 return _IMP_core.KClosePairsPairScore___repr__(self)
2893 return _object_cast_to_KClosePairsPairScore(o)
2894 get_from = staticmethod(get_from)
2896 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
2897 KClosePairsPairScore_swigregister(KClosePairsPairScore)
2900 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
2901 __swig_setmethods__ = {}
2902 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2903 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsPairScore, name, value)
2904 __swig_getmethods__ = {}
2905 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2906 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsPairScore, name)
2907 def __init__(self, *args):
2908 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
2909 this = _IMP_core.new_ClosePairsPairScore(*args)
2910 try: self.this.append(this)
2911 except: self.this = this
2912 def get_close_pairs(self, *args):
2913 """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2914 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
2916 def create_current_decomposition(self, *args):
2917 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2918 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
2920 def get_version_info(self):
2921 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
2922 return _IMP_core.ClosePairsPairScore_get_version_info(self)
2924 def do_show(self, *args):
2925 """do_show(ClosePairsPairScore self, _ostream out)"""
2926 return _IMP_core.ClosePairsPairScore_do_show(self, *args)
2928 __swig_destroy__ = _IMP_core.delete_ClosePairsPairScore
2929 __del__ =
lambda self :
None;
2931 """__str__(ClosePairsPairScore self) -> std::string"""
2932 return _IMP_core.ClosePairsPairScore___str__(self)
2935 """__repr__(ClosePairsPairScore self) -> std::string"""
2936 return _IMP_core.ClosePairsPairScore___repr__(self)
2939 return _object_cast_to_ClosePairsPairScore(o)
2940 get_from = staticmethod(get_from)
2942 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
2943 ClosePairsPairScore_swigregister(ClosePairsPairScore)
2946 """Proxy of C++ IMP::core::ConjugateGradients class"""
2947 __swig_setmethods__ = {}
2948 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2949 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConjugateGradients, name, value)
2950 __swig_getmethods__ = {}
2951 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2952 __getattr__ =
lambda self, name: _swig_getattr(self, ConjugateGradients, name)
2953 def __init__(self, *args):
2955 __init__(IMP::core::ConjugateGradients self, Model m=nullptr) -> ConjugateGradients
2956 __init__(IMP::core::ConjugateGradients self) -> ConjugateGradients
2958 this = _IMP_core.new_ConjugateGradients(*args)
2959 try: self.this.append(this)
2960 except: self.this = this
2961 def set_gradient_threshold(self, *args):
2962 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
2963 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
2965 def set_threshold(self, *args):
2966 """set_threshold(ConjugateGradients self, IMP::Float t)"""
2967 return _IMP_core.ConjugateGradients_set_threshold(self, *args)
2969 def set_max_change(self, *args):
2970 """set_max_change(ConjugateGradients self, IMP::Float t)"""
2971 return _IMP_core.ConjugateGradients_set_max_change(self, *args)
2973 def do_optimize(self, *args):
2974 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
2975 return _IMP_core.ConjugateGradients_do_optimize(self, *args)
2977 def get_version_info(self):
2978 """get_version_info(ConjugateGradients self) -> VersionInfo"""
2979 return _IMP_core.ConjugateGradients_get_version_info(self)
2981 def do_show(self, *args):
2982 """do_show(ConjugateGradients self, _ostream out)"""
2983 return _IMP_core.ConjugateGradients_do_show(self, *args)
2985 __swig_destroy__ = _IMP_core.delete_ConjugateGradients
2986 __del__ =
lambda self :
None;
2988 """__str__(ConjugateGradients self) -> std::string"""
2989 return _IMP_core.ConjugateGradients___str__(self)
2992 """__repr__(ConjugateGradients self) -> std::string"""
2993 return _IMP_core.ConjugateGradients___repr__(self)
2996 return _object_cast_to_ConjugateGradients(o)
2997 get_from = staticmethod(get_from)
2999 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3000 ConjugateGradients_swigregister(ConjugateGradients)
3003 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3004 __swig_setmethods__ = {}
3005 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3006 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnectivityRestraint, name, value)
3007 __swig_getmethods__ = {}
3008 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3009 __getattr__ =
lambda self, name: _swig_getattr(self, ConnectivityRestraint, name)
3010 def __init__(self, *args):
3012 __init__(IMP::core::ConnectivityRestraint self, PairScore ps, SingletonContainer sc) -> ConnectivityRestraint
3013 __init__(IMP::core::ConnectivityRestraint self, PairScore ps) -> ConnectivityRestraint
3015 this = _IMP_core.new_ConnectivityRestraint(*args)
3016 try: self.this.append(this)
3017 except: self.this = this
3019 """add_particle(ConnectivityRestraint self, Particle p)"""
3020 return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
3023 """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3024 return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
3026 def set_particles(self, *args):
3027 """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3028 return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
3030 def get_connected_pairs(self):
3031 """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
3032 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3034 def get_pair_score(self):
3035 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3036 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3038 def do_create_current_decomposition(self):
3039 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
3040 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3042 def do_get_inputs(self):
3043 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
3044 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3046 def get_version_info(self):
3047 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3048 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3050 __swig_destroy__ = _IMP_core.delete_ConnectivityRestraint
3051 __del__ =
lambda self :
None;
3053 """__str__(ConnectivityRestraint self) -> std::string"""
3054 return _IMP_core.ConnectivityRestraint___str__(self)
3057 """__repr__(ConnectivityRestraint self) -> std::string"""
3058 return _IMP_core.ConnectivityRestraint___repr__(self)
3061 return _object_cast_to_ConnectivityRestraint(o)
3062 get_from = staticmethod(get_from)
3064 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3065 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3068 """Proxy of C++ IMP::core::ConstantRestraint class"""
3069 __swig_setmethods__ = {}
3070 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3071 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantRestraint, name, value)
3072 __swig_getmethods__ = {}
3073 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3074 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantRestraint, name)
3075 def __init__(self, *args):
3076 """__init__(IMP::core::ConstantRestraint self, IMP::Float v) -> ConstantRestraint"""
3077 this = _IMP_core.new_ConstantRestraint(*args)
3078 try: self.this.append(this)
3079 except: self.this = this
3081 """get_input_particles(ConstantRestraint self) -> IMP::kernel::ParticlesTemp"""
3082 return _IMP_core.ConstantRestraint_get_input_particles(self)
3085 """get_input_containers(ConstantRestraint self) -> IMP::kernel::ContainersTemp"""
3086 return _IMP_core.ConstantRestraint_get_input_containers(self)
3088 def do_get_inputs(self):
3089 """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3090 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3092 def get_version_info(self):
3093 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3094 return _IMP_core.ConstantRestraint_get_version_info(self)
3096 def do_show(self, *args):
3097 """do_show(ConstantRestraint self, _ostream out)"""
3098 return _IMP_core.ConstantRestraint_do_show(self, *args)
3100 __swig_destroy__ = _IMP_core.delete_ConstantRestraint
3101 __del__ =
lambda self :
None;
3103 """__str__(ConstantRestraint self) -> std::string"""
3104 return _IMP_core.ConstantRestraint___str__(self)
3107 """__repr__(ConstantRestraint self) -> std::string"""
3108 return _IMP_core.ConstantRestraint___repr__(self)
3111 return _object_cast_to_ConstantRestraint(o)
3112 get_from = staticmethod(get_from)
3114 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3115 ConstantRestraint_swigregister(ConstantRestraint)
3118 """Proxy of C++ IMP::core::Cosine class"""
3119 __swig_setmethods__ = {}
3121 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cosine, name, value)
3122 __swig_getmethods__ = {}
3124 __getattr__ =
lambda self, name: _swig_getattr(self, Cosine, name)
3125 def __init__(self, *args):
3126 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3127 this = _IMP_core.new_Cosine(*args)
3128 try: self.this.append(this)
3129 except: self.this = this
3130 def get_version_info(self):
3131 """get_version_info(Cosine self) -> VersionInfo"""
3132 return _IMP_core.Cosine_get_version_info(self)
3134 __swig_destroy__ = _IMP_core.delete_Cosine
3135 __del__ =
lambda self :
None;
3136 def do_show(self, *args):
3137 """do_show(Cosine self, _ostream out)"""
3138 return _IMP_core.Cosine_do_show(self, *args)
3141 """__str__(Cosine self) -> std::string"""
3142 return _IMP_core.Cosine___str__(self)
3145 """__repr__(Cosine self) -> std::string"""
3146 return _IMP_core.Cosine___repr__(self)
3149 return _object_cast_to_Cosine(o)
3150 get_from = staticmethod(get_from)
3152 Cosine_swigregister = _IMP_core.Cosine_swigregister
3153 Cosine_swigregister(Cosine)
3156 """Proxy of C++ IMP::core::CoverRefined class"""
3157 __swig_setmethods__ = {}
3159 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoverRefined, name, value)
3160 __swig_getmethods__ = {}
3162 __getattr__ =
lambda self, name: _swig_getattr(self, CoverRefined, name)
3163 def __init__(self, *args):
3165 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3166 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3168 this = _IMP_core.new_CoverRefined(*args)
3169 try: self.this.append(this)
3170 except: self.this = this
3171 def set_slack(self, *args):
3172 """set_slack(CoverRefined self, IMP::Float slack)"""
3173 return _IMP_core.CoverRefined_set_slack(self, *args)
3175 def get_version_info(self):
3176 """get_version_info(CoverRefined self) -> VersionInfo"""
3177 return _IMP_core.CoverRefined_get_version_info(self)
3179 def do_show(self, *args):
3180 """do_show(CoverRefined self, _ostream out)"""
3181 return _IMP_core.CoverRefined_do_show(self, *args)
3183 __swig_destroy__ = _IMP_core.delete_CoverRefined
3184 __del__ =
lambda self :
None;
3186 """__str__(CoverRefined self) -> std::string"""
3187 return _IMP_core.CoverRefined___str__(self)
3190 """__repr__(CoverRefined self) -> std::string"""
3191 return _IMP_core.CoverRefined___repr__(self)
3194 return _object_cast_to_CoverRefined(o)
3195 get_from = staticmethod(get_from)
3197 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3198 CoverRefined_swigregister(CoverRefined)
3201 """Proxy of C++ IMP::core::Cover class"""
3202 __swig_setmethods__ = {}
3203 for _s
in [XYZR]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3204 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cover, name, value)
3205 __swig_getmethods__ = {}
3206 for _s
in [XYZR]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3207 __getattr__ =
lambda self, name: _swig_getattr(self, Cover, name)
3208 def get_constraint(self):
3209 """get_constraint(Cover self) -> Constraint"""
3210 return _IMP_core.Cover_get_constraint(self)
3212 def __init__(self, *args):
3214 __init__(IMP::core::Cover self) -> Cover
3215 __init__(IMP::core::Cover self, Model m, IMP::kernel::ParticleIndex id) -> Cover
3216 __init__(IMP::core::Cover self, Particle p) -> Cover
3218 this = _IMP_core.new_Cover(*args)
3219 try: self.this.append(this)
3220 except: self.this = this
3221 def decorate_particle(*args):
3222 """decorate_particle(Particle p) -> Cover"""
3223 return _IMP_core.Cover_decorate_particle(*args)
3225 if _newclass:decorate_particle = staticmethod(decorate_particle)
3226 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3227 def show(self, *args):
3229 show(Cover self, _ostream out=std::cout)
3232 return _IMP_core.Cover_show(self, *args)
3234 def setup_particle(*args):
3236 setup_particle(Particle p, IMP::core::XYZs const & members) -> Cover
3237 setup_particle(Particle p, Refiner ref) -> Cover
3239 return _IMP_core.Cover_setup_particle(*args)
3241 if _newclass:setup_particle = staticmethod(setup_particle)
3242 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3243 __swig_destroy__ = _IMP_core.delete_Cover
3244 __del__ =
lambda self :
None;
3245 def particle_is_instance(*args):
3246 """particle_is_instance(Particle p) -> bool"""
3247 return _IMP_core.Cover_particle_is_instance(*args)
3249 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3250 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
3251 def add_attribute(self, *args):
3253 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3254 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3255 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3256 add_attribute(Cover self, StringKey a0, IMP::String a1)
3257 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3258 add_attribute(Cover self, ObjectKey a0, IMP::Object * a1)
3260 return _IMP_core.Cover_add_attribute(self, *args)
3262 def get_value(self, *args):
3264 get_value(Cover self, FloatKey a0) -> IMP::Float
3265 get_value(Cover self, IntKey a0) -> IMP::Int
3266 get_value(Cover self, StringKey a0) -> IMP::String
3267 get_value(Cover self, ParticleIndexKey a0) -> Particle
3268 get_value(Cover self, ObjectKey a0) -> IMP::Object *
3270 return _IMP_core.Cover_get_value(self, *args)
3272 def set_value(self, *args):
3274 set_value(Cover self, FloatKey a0, IMP::Float a1)
3275 set_value(Cover self, IntKey a0, IMP::Int a1)
3276 set_value(Cover self, StringKey a0, IMP::String a1)
3277 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3278 set_value(Cover self, ObjectKey a0, IMP::Object * a1)
3280 return _IMP_core.Cover_set_value(self, *args)
3282 def remove_attribute(self, *args):
3284 remove_attribute(Cover self, FloatKey a0)
3285 remove_attribute(Cover self, IntKey a0)
3286 remove_attribute(Cover self, StringKey a0)
3287 remove_attribute(Cover self, ParticleIndexKey a0)
3288 remove_attribute(Cover self, ObjectKey a0)
3290 return _IMP_core.Cover_remove_attribute(self, *args)
3292 def has_attribute(self, *args):
3294 has_attribute(Cover self, FloatKey a0) -> bool
3295 has_attribute(Cover self, IntKey a0) -> bool
3296 has_attribute(Cover self, StringKey a0) -> bool
3297 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3298 has_attribute(Cover self, ObjectKey a0) -> bool
3300 return _IMP_core.Cover_has_attribute(self, *args)
3302 def get_derivative(self, *args):
3303 """get_derivative(Cover self, FloatKey a0) -> double"""
3304 return _IMP_core.Cover_get_derivative(self, *args)
3307 """get_name(Cover self) -> std::string"""
3308 return _IMP_core.Cover_get_name(self)
3310 def clear_caches(self):
3311 """clear_caches(Cover self)"""
3312 return _IMP_core.Cover_clear_caches(self)
3314 def set_name(self, *args):
3315 """set_name(Cover self, std::string a0)"""
3316 return _IMP_core.Cover_set_name(self, *args)
3319 """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3320 return _IMP_core.Cover_set_check_level(self, *args)
3322 def add_to_derivative(self, *args):
3323 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3324 return _IMP_core.Cover_add_to_derivative(self, *args)
3326 def set_is_optimized(self, *args):
3327 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3328 return _IMP_core.Cover_set_is_optimized(self, *args)
3330 def get_is_optimized(self, *args):
3331 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3332 return _IMP_core.Cover_get_is_optimized(self, *args)
3335 """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3336 return _IMP_core.Cover_get_check_level(self)
3338 def __eq__(self, *args):
3340 __eq__(Cover self, Cover o) -> bool
3341 __eq__(Cover self, Particle d) -> bool
3343 return _IMP_core.Cover___eq__(self, *args)
3345 def __ne__(self, *args):
3347 __ne__(Cover self, Cover o) -> bool
3348 __ne__(Cover self, Particle d) -> bool
3350 return _IMP_core.Cover___ne__(self, *args)
3352 def __le__(self, *args):
3354 __le__(Cover self, Cover o) -> bool
3355 __le__(Cover self, Particle d) -> bool
3357 return _IMP_core.Cover___le__(self, *args)
3359 def __lt__(self, *args):
3361 __lt__(Cover self, Cover o) -> bool
3362 __lt__(Cover self, Particle d) -> bool
3364 return _IMP_core.Cover___lt__(self, *args)
3366 def __ge__(self, *args):
3368 __ge__(Cover self, Cover o) -> bool
3369 __ge__(Cover self, Particle d) -> bool
3371 return _IMP_core.Cover___ge__(self, *args)
3373 def __gt__(self, *args):
3375 __gt__(Cover self, Cover o) -> bool
3376 __gt__(Cover self, Particle d) -> bool
3378 return _IMP_core.Cover___gt__(self, *args)
3381 """__str__(Cover self) -> std::string"""
3382 return _IMP_core.Cover___str__(self)
3385 """__repr__(Cover self) -> std::string"""
3386 return _IMP_core.Cover___repr__(self)
3388 Cover_swigregister = _IMP_core.Cover_swigregister
3389 Cover_swigregister(Cover)
3391 def Cover_decorate_particle(*args):
3392 """Cover_decorate_particle(Particle p) -> Cover"""
3393 return _IMP_core.Cover_decorate_particle(*args)
3395 def Cover_setup_particle(*args):
3397 setup_particle(Particle p, IMP::core::XYZs const & members) -> Cover
3398 Cover_setup_particle(Particle p, Refiner ref) -> Cover
3400 return _IMP_core.Cover_setup_particle(*args)
3402 def Cover_particle_is_instance(*args):
3403 """Cover_particle_is_instance(Particle p) -> bool"""
3404 return _IMP_core.Cover_particle_is_instance(*args)
3407 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3408 __swig_setmethods__ = {}
3410 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesFromRefined, name, value)
3411 __swig_getmethods__ = {}
3413 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesFromRefined, name)
3414 def __init__(self, *args):
3416 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3417 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3419 this = _IMP_core.new_DerivativesFromRefined(*args)
3420 try: self.this.append(this)
3421 except: self.this = this
3422 def get_version_info(self):
3423 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3424 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3426 def do_show(self, *args):
3427 """do_show(DerivativesFromRefined self, _ostream out)"""
3428 return _IMP_core.DerivativesFromRefined_do_show(self, *args)
3430 __swig_destroy__ = _IMP_core.delete_DerivativesFromRefined
3431 __del__ =
lambda self :
None;
3433 """__str__(DerivativesFromRefined self) -> std::string"""
3434 return _IMP_core.DerivativesFromRefined___str__(self)
3437 """__repr__(DerivativesFromRefined self) -> std::string"""
3438 return _IMP_core.DerivativesFromRefined___repr__(self)
3441 return _object_cast_to_DerivativesFromRefined(o)
3442 get_from = staticmethod(get_from)
3444 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3445 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3448 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3449 __swig_setmethods__ = {}
3451 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesToRefined, name, value)
3452 __swig_getmethods__ = {}
3454 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesToRefined, name)
3455 def __init__(self, *args):
3457 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3458 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3460 this = _IMP_core.new_DerivativesToRefined(*args)
3461 try: self.this.append(this)
3462 except: self.this = this
3463 def get_version_info(self):
3464 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3465 return _IMP_core.DerivativesToRefined_get_version_info(self)
3467 def do_show(self, *args):
3468 """do_show(DerivativesToRefined self, _ostream out)"""
3469 return _IMP_core.DerivativesToRefined_do_show(self, *args)
3471 __swig_destroy__ = _IMP_core.delete_DerivativesToRefined
3472 __del__ =
lambda self :
None;
3474 """__str__(DerivativesToRefined self) -> std::string"""
3475 return _IMP_core.DerivativesToRefined___str__(self)
3478 """__repr__(DerivativesToRefined self) -> std::string"""
3479 return _IMP_core.DerivativesToRefined___repr__(self)
3482 return _object_cast_to_DerivativesToRefined(o)
3483 get_from = staticmethod(get_from)
3485 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3486 DerivativesToRefined_swigregister(DerivativesToRefined)
3489 """Proxy of C++ IMP::core::DiameterRestraint class"""
3490 __swig_setmethods__ = {}
3491 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3492 __setattr__ =
lambda self, name, value: _swig_setattr(self, DiameterRestraint, name, value)
3493 __swig_getmethods__ = {}
3494 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3495 __getattr__ =
lambda self, name: _swig_getattr(self, DiameterRestraint, name)
3496 def __init__(self, *args):
3497 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3498 this = _IMP_core.new_DiameterRestraint(*args)
3499 try: self.this.append(this)
3500 except: self.this = this
3502 """get_input_particles(DiameterRestraint self) -> IMP::kernel::ParticlesTemp"""
3503 return _IMP_core.DiameterRestraint_get_input_particles(self)
3506 """get_input_containers(DiameterRestraint self) -> IMP::kernel::ContainersTemp"""
3507 return _IMP_core.DiameterRestraint_get_input_containers(self)
3509 def do_get_inputs(self):
3510 """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3511 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3513 def get_version_info(self):
3514 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3515 return _IMP_core.DiameterRestraint_get_version_info(self)
3517 def do_show(self, *args):
3518 """do_show(DiameterRestraint self, _ostream out)"""
3519 return _IMP_core.DiameterRestraint_do_show(self, *args)
3521 __swig_destroy__ = _IMP_core.delete_DiameterRestraint
3522 __del__ =
lambda self :
None;
3523 def do_create_decomposition(self):
3524 """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3525 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3527 def do_create_current_decomposition(self):
3528 """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3529 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3532 """__str__(DiameterRestraint self) -> std::string"""
3533 return _IMP_core.DiameterRestraint___str__(self)
3536 """__repr__(DiameterRestraint self) -> std::string"""
3537 return _IMP_core.DiameterRestraint___repr__(self)
3540 return _object_cast_to_DiameterRestraint(o)
3541 get_from = staticmethod(get_from)
3543 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3544 DiameterRestraint_swigregister(DiameterRestraint)
3547 """Proxy of C++ IMP::core::Transform class"""
3548 __swig_setmethods__ = {}
3550 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transform, name, value)
3551 __swig_getmethods__ = {}
3553 __getattr__ =
lambda self, name: _swig_getattr(self, Transform, name)
3554 def __init__(self, *args):
3556 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3557 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3559 this = _IMP_core.new_Transform(*args)
3560 try: self.this.append(this)
3561 except: self.this = this
3563 """get_input_particles(Transform self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3564 return _IMP_core.Transform_get_input_particles(self, *args)
3567 """get_input_containers(Transform self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3568 return _IMP_core.Transform_get_input_containers(self, *args)
3571 """get_output_particles(Transform self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3572 return _IMP_core.Transform_get_output_particles(self, *args)
3575 """get_output_containers(Transform self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3576 return _IMP_core.Transform_get_output_containers(self, *args)
3578 def get_version_info(self):
3579 """get_version_info(Transform self) -> VersionInfo"""
3580 return _IMP_core.Transform_get_version_info(self)
3582 def do_show(self, *args):
3583 """do_show(Transform self, _ostream out)"""
3584 return _IMP_core.Transform_do_show(self, *args)
3586 __swig_destroy__ = _IMP_core.delete_Transform
3587 __del__ =
lambda self :
None;
3589 """__str__(Transform self) -> std::string"""
3590 return _IMP_core.Transform___str__(self)
3593 """__repr__(Transform self) -> std::string"""
3594 return _IMP_core.Transform___repr__(self)
3597 return _object_cast_to_Transform(o)
3598 get_from = staticmethod(get_from)
3600 Transform_swigregister = _IMP_core.Transform_swigregister
3601 Transform_swigregister(Transform)
3604 """Proxy of C++ IMP::core::Reference class"""
3605 __swig_setmethods__ = {}
3606 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3607 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reference, name, value)
3608 __swig_getmethods__ = {}
3609 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3610 __getattr__ =
lambda self, name: _swig_getattr(self, Reference, name)
3611 def __init__(self, *args):
3613 __init__(IMP::core::Reference self) -> Reference
3614 __init__(IMP::core::Reference self, Model m, IMP::kernel::ParticleIndex id) -> Reference
3615 __init__(IMP::core::Reference self, Particle p) -> Reference
3617 this = _IMP_core.new_Reference(*args)
3618 try: self.this.append(this)
3619 except: self.this = this
3620 def decorate_particle(*args):
3621 """decorate_particle(Particle p) -> Reference"""
3622 return _IMP_core.Reference_decorate_particle(*args)
3624 if _newclass:decorate_particle = staticmethod(decorate_particle)
3625 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3626 def show(self, *args):
3628 show(Reference self, _ostream out=std::cout)
3629 show(Reference self)
3631 return _IMP_core.Reference_show(self, *args)
3633 def setup_particle(*args):
3634 """setup_particle(Particle p, Particle ref) -> Reference"""
3635 return _IMP_core.Reference_setup_particle(*args)
3637 if _newclass:setup_particle = staticmethod(setup_particle)
3638 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3639 def get_reference_particle(self):
3640 """get_reference_particle(Reference self) -> Particle"""
3641 return _IMP_core.Reference_get_reference_particle(self)
3643 def particle_is_instance(*args):
3644 """particle_is_instance(Particle p) -> bool"""
3645 return _IMP_core.Reference_particle_is_instance(*args)
3647 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3648 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
3649 def get_reference_key():
3650 """get_reference_key() -> ParticleIndexKey"""
3651 return _IMP_core.Reference_get_reference_key()
3653 if _newclass:get_reference_key = staticmethod(get_reference_key)
3654 __swig_getmethods__[
"get_reference_key"] =
lambda x: get_reference_key
3655 def add_attribute(self, *args):
3657 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3658 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3659 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3660 add_attribute(Reference self, StringKey a0, IMP::String a1)
3661 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3662 add_attribute(Reference self, ObjectKey a0, IMP::Object * a1)
3664 return _IMP_core.Reference_add_attribute(self, *args)
3666 def get_value(self, *args):
3668 get_value(Reference self, FloatKey a0) -> IMP::Float
3669 get_value(Reference self, IntKey a0) -> IMP::Int
3670 get_value(Reference self, StringKey a0) -> IMP::String
3671 get_value(Reference self, ParticleIndexKey a0) -> Particle
3672 get_value(Reference self, ObjectKey a0) -> IMP::Object *
3674 return _IMP_core.Reference_get_value(self, *args)
3676 def set_value(self, *args):
3678 set_value(Reference self, FloatKey a0, IMP::Float a1)
3679 set_value(Reference self, IntKey a0, IMP::Int a1)
3680 set_value(Reference self, StringKey a0, IMP::String a1)
3681 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3682 set_value(Reference self, ObjectKey a0, IMP::Object * a1)
3684 return _IMP_core.Reference_set_value(self, *args)
3686 def remove_attribute(self, *args):
3688 remove_attribute(Reference self, FloatKey a0)
3689 remove_attribute(Reference self, IntKey a0)
3690 remove_attribute(Reference self, StringKey a0)
3691 remove_attribute(Reference self, ParticleIndexKey a0)
3692 remove_attribute(Reference self, ObjectKey a0)
3694 return _IMP_core.Reference_remove_attribute(self, *args)
3696 def has_attribute(self, *args):
3698 has_attribute(Reference self, FloatKey a0) -> bool
3699 has_attribute(Reference self, IntKey a0) -> bool
3700 has_attribute(Reference self, StringKey a0) -> bool
3701 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3702 has_attribute(Reference self, ObjectKey a0) -> bool
3704 return _IMP_core.Reference_has_attribute(self, *args)
3706 def get_derivative(self, *args):
3707 """get_derivative(Reference self, FloatKey a0) -> double"""
3708 return _IMP_core.Reference_get_derivative(self, *args)
3711 """get_name(Reference self) -> std::string"""
3712 return _IMP_core.Reference_get_name(self)
3714 def clear_caches(self):
3715 """clear_caches(Reference self)"""
3716 return _IMP_core.Reference_clear_caches(self)
3718 def set_name(self, *args):
3719 """set_name(Reference self, std::string a0)"""
3720 return _IMP_core.Reference_set_name(self, *args)
3723 """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3724 return _IMP_core.Reference_set_check_level(self, *args)
3726 def add_to_derivative(self, *args):
3727 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3728 return _IMP_core.Reference_add_to_derivative(self, *args)
3730 def set_is_optimized(self, *args):
3731 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3732 return _IMP_core.Reference_set_is_optimized(self, *args)
3734 def get_is_optimized(self, *args):
3735 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3736 return _IMP_core.Reference_get_is_optimized(self, *args)
3739 """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3740 return _IMP_core.Reference_get_check_level(self)
3742 def __eq__(self, *args):
3744 __eq__(Reference self, Reference o) -> bool
3745 __eq__(Reference self, Particle d) -> bool
3747 return _IMP_core.Reference___eq__(self, *args)
3749 def __ne__(self, *args):
3751 __ne__(Reference self, Reference o) -> bool
3752 __ne__(Reference self, Particle d) -> bool
3754 return _IMP_core.Reference___ne__(self, *args)
3756 def __le__(self, *args):
3758 __le__(Reference self, Reference o) -> bool
3759 __le__(Reference self, Particle d) -> bool
3761 return _IMP_core.Reference___le__(self, *args)
3763 def __lt__(self, *args):
3765 __lt__(Reference self, Reference o) -> bool
3766 __lt__(Reference self, Particle d) -> bool
3768 return _IMP_core.Reference___lt__(self, *args)
3770 def __ge__(self, *args):
3772 __ge__(Reference self, Reference o) -> bool
3773 __ge__(Reference self, Particle d) -> bool
3775 return _IMP_core.Reference___ge__(self, *args)
3777 def __gt__(self, *args):
3779 __gt__(Reference self, Reference o) -> bool
3780 __gt__(Reference self, Particle d) -> bool
3782 return _IMP_core.Reference___gt__(self, *args)
3785 """__str__(Reference self) -> std::string"""
3786 return _IMP_core.Reference___str__(self)
3789 """__repr__(Reference self) -> std::string"""
3790 return _IMP_core.Reference___repr__(self)
3792 __swig_destroy__ = _IMP_core.delete_Reference
3793 __del__ =
lambda self :
None;
3794 Reference_swigregister = _IMP_core.Reference_swigregister
3795 Reference_swigregister(Reference)
3797 def Reference_decorate_particle(*args):
3798 """Reference_decorate_particle(Particle p) -> Reference"""
3799 return _IMP_core.Reference_decorate_particle(*args)
3801 def Reference_setup_particle(*args):
3802 """Reference_setup_particle(Particle p, Particle ref) -> Reference"""
3803 return _IMP_core.Reference_setup_particle(*args)
3805 def Reference_particle_is_instance(*args):
3806 """Reference_particle_is_instance(Particle p) -> bool"""
3807 return _IMP_core.Reference_particle_is_instance(*args)
3809 def Reference_get_reference_key():
3810 """Reference_get_reference_key() -> ParticleIndexKey"""
3811 return _IMP_core.Reference_get_reference_key()
3814 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3815 __swig_setmethods__ = {}
3817 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationAndReflectionSymmetry, name, value)
3818 __swig_getmethods__ = {}
3820 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationAndReflectionSymmetry, name)
3821 def __init__(self, *args):
3822 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3823 this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3824 try: self.this.append(this)
3825 except: self.this = this
3827 """get_input_particles(TransformationAndReflectionSymmetry self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3828 return _IMP_core.TransformationAndReflectionSymmetry_get_input_particles(self, *args)
3831 """get_input_containers(TransformationAndReflectionSymmetry self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3832 return _IMP_core.TransformationAndReflectionSymmetry_get_input_containers(self, *args)
3835 """get_output_particles(TransformationAndReflectionSymmetry self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3836 return _IMP_core.TransformationAndReflectionSymmetry_get_output_particles(self, *args)
3839 """get_output_containers(TransformationAndReflectionSymmetry self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3840 return _IMP_core.TransformationAndReflectionSymmetry_get_output_containers(self, *args)
3842 def get_version_info(self):
3843 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3844 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3846 def do_show(self, *args):
3847 """do_show(TransformationAndReflectionSymmetry self, _ostream out)"""
3848 return _IMP_core.TransformationAndReflectionSymmetry_do_show(self, *args)
3850 __swig_destroy__ = _IMP_core.delete_TransformationAndReflectionSymmetry
3851 __del__ =
lambda self :
None;
3853 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3854 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3857 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3858 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3861 return _object_cast_to_TransformationAndReflectionSymmetry(o)
3862 get_from = staticmethod(get_from)
3864 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3865 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3868 """Proxy of C++ IMP::core::TransformationSymmetry class"""
3869 __swig_setmethods__ = {}
3871 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationSymmetry, name, value)
3872 __swig_getmethods__ = {}
3874 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationSymmetry, name)
3875 def __init__(self, *args):
3876 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3877 this = _IMP_core.new_TransformationSymmetry(*args)
3878 try: self.this.append(this)
3879 except: self.this = this
3881 """get_input_particles(TransformationSymmetry self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3882 return _IMP_core.TransformationSymmetry_get_input_particles(self, *args)
3885 """get_input_containers(TransformationSymmetry self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3886 return _IMP_core.TransformationSymmetry_get_input_containers(self, *args)
3889 """get_output_particles(TransformationSymmetry self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3890 return _IMP_core.TransformationSymmetry_get_output_particles(self, *args)
3893 """get_output_containers(TransformationSymmetry self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3894 return _IMP_core.TransformationSymmetry_get_output_containers(self, *args)
3896 def get_version_info(self):
3897 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3898 return _IMP_core.TransformationSymmetry_get_version_info(self)
3900 def do_show(self, *args):
3901 """do_show(TransformationSymmetry self, _ostream out)"""
3902 return _IMP_core.TransformationSymmetry_do_show(self, *args)
3904 __swig_destroy__ = _IMP_core.delete_TransformationSymmetry
3905 __del__ =
lambda self :
None;
3907 """__str__(TransformationSymmetry self) -> std::string"""
3908 return _IMP_core.TransformationSymmetry___str__(self)
3911 """__repr__(TransformationSymmetry self) -> std::string"""
3912 return _IMP_core.TransformationSymmetry___repr__(self)
3915 return _object_cast_to_TransformationSymmetry(o)
3916 get_from = staticmethod(get_from)
3918 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
3919 TransformationSymmetry_swigregister(TransformationSymmetry)
3922 """Proxy of C++ IMP::core::DihedralRestraint class"""
3923 __swig_setmethods__ = {}
3924 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3925 __setattr__ =
lambda self, name, value: _swig_setattr(self, DihedralRestraint, name, value)
3926 __swig_getmethods__ = {}
3927 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3928 __getattr__ =
lambda self, name: _swig_getattr(self, DihedralRestraint, name)
3929 def __init__(self, *args):
3930 """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
3931 this = _IMP_core.new_DihedralRestraint(*args)
3932 try: self.this.append(this)
3933 except: self.this = this
3935 """get_input_particles(DihedralRestraint self) -> IMP::kernel::ParticlesTemp"""
3936 return _IMP_core.DihedralRestraint_get_input_particles(self)
3939 """get_input_containers(DihedralRestraint self) -> IMP::kernel::ContainersTemp"""
3940 return _IMP_core.DihedralRestraint_get_input_containers(self)
3942 def do_get_inputs(self):
3943 """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3944 return _IMP_core.DihedralRestraint_do_get_inputs(self)
3946 def get_version_info(self):
3947 """get_version_info(DihedralRestraint self) -> VersionInfo"""
3948 return _IMP_core.DihedralRestraint_get_version_info(self)
3950 def do_show(self, *args):
3951 """do_show(DihedralRestraint self, _ostream out)"""
3952 return _IMP_core.DihedralRestraint_do_show(self, *args)
3954 __swig_destroy__ = _IMP_core.delete_DihedralRestraint
3955 __del__ =
lambda self :
None;
3957 """__str__(DihedralRestraint self) -> std::string"""
3958 return _IMP_core.DihedralRestraint___str__(self)
3961 """__repr__(DihedralRestraint self) -> std::string"""
3962 return _IMP_core.DihedralRestraint___repr__(self)
3965 return _object_cast_to_DihedralRestraint(o)
3966 get_from = staticmethod(get_from)
3968 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
3969 DihedralRestraint_swigregister(DihedralRestraint)
3972 """Proxy of C++ IMP::core::DistancePairScore class"""
3973 __swig_setmethods__ = {}
3974 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3975 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistancePairScore, name, value)
3976 __swig_getmethods__ = {}
3977 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3978 __getattr__ =
lambda self, name: _swig_getattr(self, DistancePairScore, name)
3979 def __init__(self, *args):
3981 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
3982 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
3984 this = _IMP_core.new_DistancePairScore(*args)
3985 try: self.this.append(this)
3986 except: self.this = this
3988 """get_input_particles(DistancePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
3989 return _IMP_core.DistancePairScore_get_input_particles(self, *args)
3992 """get_input_containers(DistancePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
3993 return _IMP_core.DistancePairScore_get_input_containers(self, *args)
3995 def get_version_info(self):
3996 """get_version_info(DistancePairScore self) -> VersionInfo"""
3997 return _IMP_core.DistancePairScore_get_version_info(self)
3999 def do_show(self, *args):
4000 """do_show(DistancePairScore self, _ostream out)"""
4001 return _IMP_core.DistancePairScore_do_show(self, *args)
4003 __swig_destroy__ = _IMP_core.delete_DistancePairScore
4004 __del__ =
lambda self :
None;
4006 """__str__(DistancePairScore self) -> std::string"""
4007 return _IMP_core.DistancePairScore___str__(self)
4010 """__repr__(DistancePairScore self) -> std::string"""
4011 return _IMP_core.DistancePairScore___repr__(self)
4014 return _object_cast_to_DistancePairScore(o)
4015 get_from = staticmethod(get_from)
4017 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4018 DistancePairScore_swigregister(DistancePairScore)
4021 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4022 __swig_setmethods__ = {}
4023 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4024 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicDistancePairScore, name, value)
4025 __swig_getmethods__ = {}
4026 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4027 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicDistancePairScore, name)
4028 def __init__(self, *args):
4030 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
4031 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4033 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4034 try: self.this.append(this)
4035 except: self.this = this
4037 """get_input_particles(HarmonicDistancePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
4038 return _IMP_core.HarmonicDistancePairScore_get_input_particles(self, *args)
4041 """get_input_containers(HarmonicDistancePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
4042 return _IMP_core.HarmonicDistancePairScore_get_input_containers(self, *args)
4044 def get_version_info(self):
4045 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4046 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4048 def do_show(self, *args):
4049 """do_show(HarmonicDistancePairScore self, _ostream out)"""
4050 return _IMP_core.HarmonicDistancePairScore_do_show(self, *args)
4052 __swig_destroy__ = _IMP_core.delete_HarmonicDistancePairScore
4053 __del__ =
lambda self :
None;
4055 """__str__(HarmonicDistancePairScore self) -> std::string"""
4056 return _IMP_core.HarmonicDistancePairScore___str__(self)
4059 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4060 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4063 return _object_cast_to_HarmonicDistancePairScore(o)
4064 get_from = staticmethod(get_from)
4066 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4067 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4070 """Proxy of C++ IMP::core::DistanceRestraint class"""
4071 __swig_setmethods__ = {}
4072 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4073 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceRestraint, name, value)
4074 __swig_getmethods__ = {}
4075 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4076 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceRestraint, name)
4077 def __init__(self, *args):
4078 """__init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint"""
4079 this = _IMP_core.new_DistanceRestraint(*args)
4080 try: self.this.append(this)
4081 except: self.this = this
4082 def get_version_info(self):
4083 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4084 return _IMP_core.DistanceRestraint_get_version_info(self)
4086 __swig_destroy__ = _IMP_core.delete_DistanceRestraint
4087 __del__ =
lambda self :
None;
4089 """__str__(DistanceRestraint self) -> std::string"""
4090 return _IMP_core.DistanceRestraint___str__(self)
4093 """__repr__(DistanceRestraint self) -> std::string"""
4094 return _IMP_core.DistanceRestraint___repr__(self)
4097 return _object_cast_to_DistanceRestraint(o)
4098 get_from = staticmethod(get_from)
4100 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4101 DistanceRestraint_swigregister(DistanceRestraint)
4104 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4105 __swig_setmethods__ = {}
4107 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistanceToSingletonScore, name, value)
4108 __swig_getmethods__ = {}
4110 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistanceToSingletonScore, name)
4111 def __init__(self, *args):
4112 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4113 this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
4114 try: self.this.append(this)
4115 except: self.this = this
4116 def do_create_current_decomposition(self, *args):
4117 """do_create_current_decomposition(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
4118 return _IMP_core.SphereDistanceToSingletonScore_do_create_current_decomposition(self, *args)
4120 def get_version_info(self):
4121 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4122 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4124 def do_show(self, *args):
4125 """do_show(SphereDistanceToSingletonScore self, _ostream out)"""
4126 return _IMP_core.SphereDistanceToSingletonScore_do_show(self, *args)
4128 __swig_destroy__ = _IMP_core.delete_SphereDistanceToSingletonScore
4129 __del__ =
lambda self :
None;
4131 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4132 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4135 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4136 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4139 return _object_cast_to_SphereDistanceToSingletonScore(o)
4140 get_from = staticmethod(get_from)
4142 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4143 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4146 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4147 __swig_setmethods__ = {}
4148 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4149 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExcludedVolumeRestraint, name, value)
4150 __swig_getmethods__ = {}
4151 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4152 __getattr__ =
lambda self, name: _swig_getattr(self, ExcludedVolumeRestraint, name)
4153 def __init__(self, *args):
4155 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
4156 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4157 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4158 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4160 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4161 try: self.this.append(this)
4162 except: self.this = this
4163 def do_get_inputs(self):
4164 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
4165 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4167 def get_version_info(self):
4168 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4169 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4171 __swig_destroy__ = _IMP_core.delete_ExcludedVolumeRestraint
4172 __del__ =
lambda self :
None;
4173 def do_create_decomposition(self):
4174 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4175 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4177 def do_create_current_decomposition(self):
4178 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4179 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4182 """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
4183 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4185 def remove_pair_filter(self, *args):
4186 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4187 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
4189 def remove_pair_filters(self, *args):
4190 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
4191 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
4193 def set_pair_filters(self, *args):
4194 """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
4195 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
4197 def set_pair_filters_order(self, *args):
4198 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4199 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
4201 def add_pair_filter(self, *args):
4202 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4203 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
4205 def add_pair_filters(self, *args):
4206 """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4207 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
4209 def clear_pair_filters(self):
4210 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4211 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4213 def get_number_of_pair_filters(self):
4214 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4215 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4217 def get_has_pair_filters(self):
4218 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4219 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4221 def get_pair_filter(self, *args):
4222 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4223 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
4225 def get_pair_filters(self):
4226 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
4227 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4229 def reserve_pair_filters(self, *args):
4230 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4231 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
4234 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4235 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4238 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4239 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4242 return _object_cast_to_ExcludedVolumeRestraint(o)
4243 get_from = staticmethod(get_from)
4245 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4246 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4249 """Proxy of C++ IMP::core::FixedRefiner class"""
4250 __swig_setmethods__ = {}
4251 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4252 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedRefiner, name, value)
4253 __swig_getmethods__ = {}
4254 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4255 __getattr__ =
lambda self, name: _swig_getattr(self, FixedRefiner, name)
4256 def __init__(self, *args):
4257 """__init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner"""
4258 this = _IMP_core.new_FixedRefiner(*args)
4259 try: self.this.append(this)
4260 except: self.this = this
4261 def get_refined(self, *args):
4263 get_refined(FixedRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp const
4264 get_refined(FixedRefiner self, Particle arg2, unsigned int arg3) -> Particle
4266 return _IMP_core.FixedRefiner_get_refined(self, *args)
4269 """get_input_particles(FixedRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
4270 return _IMP_core.FixedRefiner_get_input_particles(self, *args)
4273 """get_input_containers(FixedRefiner self, Particle arg2) -> IMP::kernel::ContainersTemp"""
4274 return _IMP_core.FixedRefiner_get_input_containers(self, *args)
4276 def get_version_info(self):
4277 """get_version_info(FixedRefiner self) -> VersionInfo"""
4278 return _IMP_core.FixedRefiner_get_version_info(self)
4280 def do_show(self, *args):
4281 """do_show(FixedRefiner self, _ostream out)"""
4282 return _IMP_core.FixedRefiner_do_show(self, *args)
4284 __swig_destroy__ = _IMP_core.delete_FixedRefiner
4285 __del__ =
lambda self :
None;
4287 """__str__(FixedRefiner self) -> std::string"""
4288 return _IMP_core.FixedRefiner___str__(self)
4291 """__repr__(FixedRefiner self) -> std::string"""
4292 return _IMP_core.FixedRefiner___repr__(self)
4295 return _object_cast_to_FixedRefiner(o)
4296 get_from = staticmethod(get_from)
4298 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4299 FixedRefiner_swigregister(FixedRefiner)
4301 class GridClosePairsFinder(ClosePairsFinder):
4302 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4303 __swig_setmethods__ = {}
4304 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4305 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridClosePairsFinder, name, value)
4306 __swig_getmethods__ = {}
4307 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4308 __getattr__ =
lambda self, name: _swig_getattr(self, GridClosePairsFinder, name)
4310 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4311 this = _IMP_core.new_GridClosePairsFinder()
4312 try: self.this.append(this)
4313 except: self.this = this
4314 def get_version_info(self):
4315 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4316 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4318 def do_show(self, *args):
4319 """do_show(GridClosePairsFinder self, _ostream out)"""
4320 return _IMP_core.GridClosePairsFinder_do_show(self, *args)
4322 __swig_destroy__ = _IMP_core.delete_GridClosePairsFinder
4323 __del__ =
lambda self :
None;
4324 def get_close_pairs(self, *args):
4326 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa) -> IMP::kernel::ParticlePairsTemp
4327 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa, IMP::kernel::ParticlesTemp const & pb) -> IMP::kernel::ParticlePairsTemp
4328 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4329 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4330 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4331 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4333 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4336 """__str__(GridClosePairsFinder self) -> std::string"""
4337 return _IMP_core.GridClosePairsFinder___str__(self)
4340 """__repr__(GridClosePairsFinder self) -> std::string"""
4341 return _IMP_core.GridClosePairsFinder___repr__(self)
4344 return _object_cast_to_GridClosePairsFinder(o)
4345 get_from = staticmethod(get_from)
4347 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4348 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4351 """Proxy of C++ IMP::core::Harmonic class"""
4352 __swig_setmethods__ = {}
4354 __setattr__ =
lambda self, name, value: _swig_setattr(self, Harmonic, name, value)
4355 __swig_getmethods__ = {}
4357 __getattr__ =
lambda self, name: _swig_getattr(self, Harmonic, name)
4358 def __init__(self, *args):
4359 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4360 this = _IMP_core.new_Harmonic(*args)
4361 try: self.this.append(this)
4362 except: self.this = this
4363 def get_version_info(self):
4364 """get_version_info(Harmonic self) -> VersionInfo"""
4365 return _IMP_core.Harmonic_get_version_info(self)
4367 __swig_destroy__ = _IMP_core.delete_Harmonic
4368 __del__ =
lambda self :
None;
4370 """get_mean(Harmonic self) -> IMP::Float"""
4371 return _IMP_core.Harmonic_get_mean(self)
4374 """get_k(Harmonic self) -> IMP::Float"""
4375 return _IMP_core.Harmonic_get_k(self)
4377 def set_mean(self, *args):
4378 """set_mean(Harmonic self, IMP::Float mean)"""
4379 return _IMP_core.Harmonic_set_mean(self, *args)
4381 def set_k(self, *args):
4382 """set_k(Harmonic self, IMP::Float k)"""
4383 return _IMP_core.Harmonic_set_k(self, *args)
4385 def get_k_from_standard_deviation(*args):
4387 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4388 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4390 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4392 if _newclass:get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4393 __swig_getmethods__[
"get_k_from_standard_deviation"] =
lambda x: get_k_from_standard_deviation
4395 """__str__(Harmonic self) -> std::string"""
4396 return _IMP_core.Harmonic___str__(self)
4399 """__repr__(Harmonic self) -> std::string"""
4400 return _IMP_core.Harmonic___repr__(self)
4403 return _object_cast_to_Harmonic(o)
4404 get_from = staticmethod(get_from)
4406 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4407 Harmonic_swigregister(Harmonic)
4409 def Harmonic_get_k_from_standard_deviation(*args):
4411 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4412 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4414 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4417 """Proxy of C++ IMP::core::HarmonicWell class"""
4418 __swig_setmethods__ = {}
4420 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicWell, name, value)
4421 __swig_getmethods__ = {}
4423 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicWell, name)
4424 def __init__(self, *args):
4425 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4426 this = _IMP_core.new_HarmonicWell(*args)
4427 try: self.this.append(this)
4428 except: self.this = this
4429 def get_version_info(self):
4430 """get_version_info(HarmonicWell self) -> VersionInfo"""
4431 return _IMP_core.HarmonicWell_get_version_info(self)
4433 __swig_destroy__ = _IMP_core.delete_HarmonicWell
4434 __del__ =
lambda self :
None;
4436 """__str__(HarmonicWell self) -> std::string"""
4437 return _IMP_core.HarmonicWell___str__(self)
4440 """__repr__(HarmonicWell self) -> std::string"""
4441 return _IMP_core.HarmonicWell___repr__(self)
4444 return _object_cast_to_HarmonicWell(o)
4445 get_from = staticmethod(get_from)
4447 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4448 HarmonicWell_swigregister(HarmonicWell)
4450 class HarmonicLowerBound(Harmonic):
4451 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4452 __swig_setmethods__ = {}
4453 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4454 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicLowerBound, name, value)
4455 __swig_getmethods__ = {}
4456 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4457 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicLowerBound, name)
4458 def __init__(self, *args):
4459 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4460 this = _IMP_core.new_HarmonicLowerBound(*args)
4461 try: self.this.append(this)
4462 except: self.this = this
4463 __swig_destroy__ = _IMP_core.delete_HarmonicLowerBound
4464 __del__ =
lambda self :
None;
4466 """__str__(HarmonicLowerBound self) -> std::string"""
4467 return _IMP_core.HarmonicLowerBound___str__(self)
4470 """__repr__(HarmonicLowerBound self) -> std::string"""
4471 return _IMP_core.HarmonicLowerBound___repr__(self)
4474 return _object_cast_to_HarmonicLowerBound(o)
4475 get_from = staticmethod(get_from)
4477 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4478 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4480 class HarmonicUpperBound(Harmonic):
4481 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4482 __swig_setmethods__ = {}
4483 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4484 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBound, name, value)
4485 __swig_getmethods__ = {}
4486 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4487 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBound, name)
4488 def __init__(self, *args):
4489 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4490 this = _IMP_core.new_HarmonicUpperBound(*args)
4491 try: self.this.append(this)
4492 except: self.this = this
4493 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBound
4494 __del__ =
lambda self :
None;
4496 """__str__(HarmonicUpperBound self) -> std::string"""
4497 return _IMP_core.HarmonicUpperBound___str__(self)
4500 """__repr__(HarmonicUpperBound self) -> std::string"""
4501 return _IMP_core.HarmonicUpperBound___repr__(self)
4504 return _object_cast_to_HarmonicUpperBound(o)
4505 get_from = staticmethod(get_from)
4507 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4508 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4511 """Proxy of C++ IMP::core::PeriodicOptimizerState class"""
4512 __swig_setmethods__ = {}
4514 __setattr__ =
lambda self, name, value: _swig_setattr(self, PeriodicOptimizerState, name, value)
4515 __swig_getmethods__ = {}
4517 __getattr__ =
lambda self, name: _swig_getattr(self, PeriodicOptimizerState, name)
4518 def __init__(self, *args):
4519 """__init__(IMP::core::PeriodicOptimizerState self, std::string name) -> PeriodicOptimizerState"""
4520 if self.__class__ == PeriodicOptimizerState:
4524 this = _IMP_core.new_PeriodicOptimizerState(_self, *args)
4525 try: self.this.append(this)
4526 except: self.this = this
4527 if self.__class__ != PeriodicOptimizerState:
4529 IMP.base._director_objects.register(self)
4533 def set_is_optimizing(self, *args):
4534 """set_is_optimizing(PeriodicOptimizerState self, bool tf)"""
4535 return _IMP_core.PeriodicOptimizerState_set_is_optimizing(self, *args)
4537 def set_period(self, *args):
4538 """set_period(PeriodicOptimizerState self, unsigned int p)"""
4539 return _IMP_core.PeriodicOptimizerState_set_period(self, *args)
4541 def get_period(self):
4542 """get_period(PeriodicOptimizerState self) -> unsigned int"""
4543 return _IMP_core.PeriodicOptimizerState_get_period(self)
4546 """reset(PeriodicOptimizerState self)"""
4547 return _IMP_core.PeriodicOptimizerState_reset(self)
4550 """update(PeriodicOptimizerState self)"""
4551 return _IMP_core.PeriodicOptimizerState_update(self)
4553 def update_always(self):
4554 """update_always(PeriodicOptimizerState self)"""
4555 return _IMP_core.PeriodicOptimizerState_update_always(self)
4557 def get_number_of_updates(self):
4558 """get_number_of_updates(PeriodicOptimizerState self) -> unsigned int"""
4559 return _IMP_core.PeriodicOptimizerState_get_number_of_updates(self)
4561 def set_number_of_updates(self, *args):
4562 """set_number_of_updates(PeriodicOptimizerState self, unsigned int n)"""
4563 return _IMP_core.PeriodicOptimizerState_set_number_of_updates(self, *args)
4565 def do_update(self, *args):
4566 """do_update(PeriodicOptimizerState self, unsigned int call_number)"""
4567 return _IMP_core.PeriodicOptimizerState_do_update(self, *args)
4570 """__str__(PeriodicOptimizerState self) -> std::string"""
4571 return _IMP_core.PeriodicOptimizerState___str__(self)
4574 """__repr__(PeriodicOptimizerState self) -> std::string"""
4575 return _IMP_core.PeriodicOptimizerState___repr__(self)
4578 return _object_cast_to_PeriodicOptimizerState(o)
4579 get_from = staticmethod(get_from)
4581 def get_type_name(self):
4582 return self.__class__.__name__
4583 def do_show(self, out):
4585 def get_version_info(self):
4586 if"IMP::core" ==
"IMP":
4587 return VersionInfo(
"python",
"0")
4589 return IMP.VersionInfo(
"python",
"0")
4591 return _object_cast_to_PeriodicOptimizerState(o)
4592 get_from = staticmethod(get_from)
4594 __swig_destroy__ = _IMP_core.delete_PeriodicOptimizerState
4595 __del__ =
lambda self :
None;
4596 def __disown__(self):
4598 _IMP_core.disown_PeriodicOptimizerState(self)
4599 return weakref_proxy(self)
4600 PeriodicOptimizerState_swigregister = _IMP_core.PeriodicOptimizerState_swigregister
4601 PeriodicOptimizerState_swigregister(PeriodicOptimizerState)
4604 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4605 __swig_setmethods__ = {}
4606 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4607 __setattr__ =
lambda self, name, value: _swig_setattr(self, MSConnectivityRestraint, name, value)
4608 __swig_getmethods__ = {}
4609 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4610 __getattr__ =
lambda self, name: _swig_getattr(self, MSConnectivityRestraint, name)
4611 def __init__(self, *args):
4613 __init__(IMP::core::MSConnectivityRestraint self, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4614 __init__(IMP::core::MSConnectivityRestraint self, PairScore ps) -> MSConnectivityRestraint
4616 this = _IMP_core.new_MSConnectivityRestraint(*args)
4617 try: self.this.append(this)
4618 except: self.this = this
4619 def add_type(self, *args):
4620 """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4621 return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4623 def add_composite(self, *args):
4625 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4626 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4628 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4630 def get_connected_pairs(self):
4631 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4632 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4634 def get_pair_score(self):
4635 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4636 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4638 def do_create_current_decomposition(self):
4639 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4640 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4642 def do_get_inputs(self):
4643 """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4644 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4646 def get_version_info(self):
4647 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4648 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4650 __swig_destroy__ = _IMP_core.delete_MSConnectivityRestraint
4651 __del__ =
lambda self :
None;
4653 """__str__(MSConnectivityRestraint self) -> std::string"""
4654 return _IMP_core.MSConnectivityRestraint___str__(self)
4657 """__repr__(MSConnectivityRestraint self) -> std::string"""
4658 return _IMP_core.MSConnectivityRestraint___repr__(self)
4661 return _object_cast_to_MSConnectivityRestraint(o)
4662 get_from = staticmethod(get_from)
4664 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4665 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4667 class HierarchyTraits(_object):
4668 """Proxy of C++ IMP::core::HierarchyTraits class"""
4669 __swig_setmethods__ = {}
4670 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyTraits, name, value)
4671 __swig_getmethods__ = {}
4672 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyTraits, name)
4673 def __init__(self, *args):
4675 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4676 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4678 this = _IMP_core.new_HierarchyTraits(*args)
4679 try: self.this.append(this)
4680 except: self.this = this
4681 def get_children_key(self):
4682 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4683 return _IMP_core.HierarchyTraits_get_children_key(self)
4685 def get_parent_key(self):
4686 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4687 return _IMP_core.HierarchyTraits_get_parent_key(self)
4689 def __eq__(self, *args):
4690 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4691 return _IMP_core.HierarchyTraits___eq__(self, *args)
4693 def show(self, *args):
4695 show(HierarchyTraits self, _ostream out=std::cout)
4696 show(HierarchyTraits self)
4698 return _IMP_core.HierarchyTraits_show(self, *args)
4701 """__str__(HierarchyTraits self) -> std::string"""
4702 return _IMP_core.HierarchyTraits___str__(self)
4705 """__repr__(HierarchyTraits self) -> std::string"""
4706 return _IMP_core.HierarchyTraits___repr__(self)
4708 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4709 __del__ =
lambda self :
None;
4710 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4711 HierarchyTraits_swigregister(HierarchyTraits)
4714 """Proxy of C++ IMP::core::Hierarchy class"""
4715 __swig_setmethods__ = {}
4716 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4717 __setattr__ =
lambda self, name, value: _swig_setattr(self, Hierarchy, name, value)
4718 __swig_getmethods__ = {}
4719 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4720 __getattr__ =
lambda self, name: _swig_getattr(self, Hierarchy, name)
4721 def __init__(self, *args):
4723 __init__(IMP::core::Hierarchy self) -> Hierarchy
4724 __init__(IMP::core::Hierarchy self, Model m, IMP::kernel::ParticleIndex id, HierarchyTraits tr) -> Hierarchy
4725 __init__(IMP::core::Hierarchy self, HierarchyTraits tr) -> Hierarchy
4726 __init__(IMP::core::Hierarchy self, Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4727 __init__(IMP::core::Hierarchy self, Particle p) -> Hierarchy
4729 this = _IMP_core.new_Hierarchy(*args)
4730 try: self.this.append(this)
4731 except: self.this = this
4732 def decorate_particle(*args):
4734 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4735 decorate_particle(Particle p) -> Hierarchy
4737 return _IMP_core.Hierarchy_decorate_particle(*args)
4739 if _newclass:decorate_particle = staticmethod(decorate_particle)
4740 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
4741 def show(self, *args):
4743 show(Hierarchy self, _ostream out=std::cout)
4744 show(Hierarchy self)
4746 return _IMP_core.Hierarchy_show(self, *args)
4748 def get_traits(self):
4749 """get_traits(Hierarchy self) -> HierarchyTraits"""
4750 return _IMP_core.Hierarchy_get_traits(self)
4752 def get_decorator_traits(self):
4753 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4754 return _IMP_core.Hierarchy_get_decorator_traits(self)
4756 def get_default_decorator_traits():
4757 """get_default_decorator_traits() -> HierarchyTraits"""
4758 return _IMP_core.Hierarchy_get_default_decorator_traits()
4760 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4761 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
4762 def setup_particle(*args):
4764 setup_particle(Particle p, HierarchyTraits traits=Hierarchy::get_default_traits()) -> Hierarchy
4765 setup_particle(Particle p) -> Hierarchy
4766 setup_particle(Particle p, IMP::kernel::Particles const & children, HierarchyTraits traits=Hierarchy::get_default_traits()) -> Hierarchy
4767 setup_particle(Particle p, IMP::kernel::Particles const & children) -> Hierarchy
4769 return _IMP_core.Hierarchy_setup_particle(*args)
4771 if _newclass:setup_particle = staticmethod(setup_particle)
4772 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
4773 def particle_is_instance(*args):
4775 particle_is_instance(Particle arg1, HierarchyTraits arg2=Hierarchy::get_default_traits()) -> bool
4776 particle_is_instance(Particle arg1) -> bool
4778 return _IMP_core.Hierarchy_particle_is_instance(*args)
4780 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
4781 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
4782 def get_parent(self):
4783 """get_parent(Hierarchy self) -> Hierarchy"""
4784 return _IMP_core.Hierarchy_get_parent(self)
4786 def get_number_of_children(self):
4787 """get_number_of_children(Hierarchy self) -> unsigned int"""
4788 return _IMP_core.Hierarchy_get_number_of_children(self)
4790 def get_child(self, *args):
4791 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4792 return _IMP_core.Hierarchy_get_child(self, *args)
4794 def get_children(self):
4795 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4796 return _IMP_core.Hierarchy_get_children(self)
4798 def remove_child(self, *args):
4800 remove_child(Hierarchy self, unsigned int i)
4801 remove_child(Hierarchy self, Hierarchy h)
4803 return _IMP_core.Hierarchy_remove_child(self, *args)
4805 def clear_children(self):
4806 """clear_children(Hierarchy self)"""
4807 return _IMP_core.Hierarchy_clear_children(self)
4809 def add_child(self, *args):
4810 """add_child(Hierarchy self, Hierarchy h)"""
4811 return _IMP_core.Hierarchy_add_child(self, *args)
4813 def add_child_at(self, *args):
4814 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4815 return _IMP_core.Hierarchy_add_child_at(self, *args)
4817 def get_child_index(self):
4818 """get_child_index(Hierarchy self) -> int"""
4819 return _IMP_core.Hierarchy_get_child_index(self)
4821 def get_default_traits():
4822 """get_default_traits() -> HierarchyTraits"""
4823 return _IMP_core.Hierarchy_get_default_traits()
4825 if _newclass:get_default_traits = staticmethod(get_default_traits)
4826 __swig_getmethods__[
"get_default_traits"] =
lambda x: get_default_traits
4827 def add_attribute(self, *args):
4829 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4830 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4831 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4832 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4833 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4834 add_attribute(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4836 return _IMP_core.Hierarchy_add_attribute(self, *args)
4838 def get_value(self, *args):
4840 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4841 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4842 get_value(Hierarchy self, StringKey a0) -> IMP::String
4843 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4844 get_value(Hierarchy self, ObjectKey a0) -> IMP::Object *
4846 return _IMP_core.Hierarchy_get_value(self, *args)
4848 def set_value(self, *args):
4850 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4851 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4852 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4853 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4854 set_value(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4856 return _IMP_core.Hierarchy_set_value(self, *args)
4858 def remove_attribute(self, *args):
4860 remove_attribute(Hierarchy self, FloatKey a0)
4861 remove_attribute(Hierarchy self, IntKey a0)
4862 remove_attribute(Hierarchy self, StringKey a0)
4863 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4864 remove_attribute(Hierarchy self, ObjectKey a0)
4866 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4868 def has_attribute(self, *args):
4870 has_attribute(Hierarchy self, FloatKey a0) -> bool
4871 has_attribute(Hierarchy self, IntKey a0) -> bool
4872 has_attribute(Hierarchy self, StringKey a0) -> bool
4873 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4874 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4876 return _IMP_core.Hierarchy_has_attribute(self, *args)
4878 def get_derivative(self, *args):
4879 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4880 return _IMP_core.Hierarchy_get_derivative(self, *args)
4883 """get_name(Hierarchy self) -> std::string"""
4884 return _IMP_core.Hierarchy_get_name(self)
4886 def clear_caches(self):
4887 """clear_caches(Hierarchy self)"""
4888 return _IMP_core.Hierarchy_clear_caches(self)
4890 def set_name(self, *args):
4891 """set_name(Hierarchy self, std::string a0)"""
4892 return _IMP_core.Hierarchy_set_name(self, *args)
4895 """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4896 return _IMP_core.Hierarchy_set_check_level(self, *args)
4898 def add_to_derivative(self, *args):
4899 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4900 return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4902 def set_is_optimized(self, *args):
4903 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4904 return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4906 def get_is_optimized(self, *args):
4907 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4908 return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4911 """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4912 return _IMP_core.Hierarchy_get_check_level(self)
4914 def __eq__(self, *args):
4916 __eq__(Hierarchy self, Hierarchy o) -> bool
4917 __eq__(Hierarchy self, Particle d) -> bool
4919 return _IMP_core.Hierarchy___eq__(self, *args)
4921 def __ne__(self, *args):
4923 __ne__(Hierarchy self, Hierarchy o) -> bool
4924 __ne__(Hierarchy self, Particle d) -> bool
4926 return _IMP_core.Hierarchy___ne__(self, *args)
4928 def __le__(self, *args):
4930 __le__(Hierarchy self, Hierarchy o) -> bool
4931 __le__(Hierarchy self, Particle d) -> bool
4933 return _IMP_core.Hierarchy___le__(self, *args)
4935 def __lt__(self, *args):
4937 __lt__(Hierarchy self, Hierarchy o) -> bool
4938 __lt__(Hierarchy self, Particle d) -> bool
4940 return _IMP_core.Hierarchy___lt__(self, *args)
4942 def __ge__(self, *args):
4944 __ge__(Hierarchy self, Hierarchy o) -> bool
4945 __ge__(Hierarchy self, Particle d) -> bool
4947 return _IMP_core.Hierarchy___ge__(self, *args)
4949 def __gt__(self, *args):
4951 __gt__(Hierarchy self, Hierarchy o) -> bool
4952 __gt__(Hierarchy self, Particle d) -> bool
4954 return _IMP_core.Hierarchy___gt__(self, *args)
4957 """__str__(Hierarchy self) -> std::string"""
4958 return _IMP_core.Hierarchy___str__(self)
4961 """__repr__(Hierarchy self) -> std::string"""
4962 return _IMP_core.Hierarchy___repr__(self)
4964 __swig_destroy__ = _IMP_core.delete_Hierarchy
4965 __del__ =
lambda self :
None;
4966 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4967 Hierarchy_swigregister(Hierarchy)
4969 def Hierarchy_decorate_particle(*args):
4971 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4972 Hierarchy_decorate_particle(Particle p) -> Hierarchy
4974 return _IMP_core.Hierarchy_decorate_particle(*args)
4976 def Hierarchy_get_default_decorator_traits():
4977 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4978 return _IMP_core.Hierarchy_get_default_decorator_traits()
4980 def Hierarchy_setup_particle(*args):
4982 setup_particle(Particle p, HierarchyTraits traits=Hierarchy::get_default_traits()) -> Hierarchy
4983 setup_particle(Particle p) -> Hierarchy
4984 setup_particle(Particle p, IMP::kernel::Particles const & children, HierarchyTraits traits=Hierarchy::get_default_traits()) -> Hierarchy
4985 Hierarchy_setup_particle(Particle p, IMP::kernel::Particles const & children) -> Hierarchy
4987 return _IMP_core.Hierarchy_setup_particle(*args)
4989 def Hierarchy_particle_is_instance(*args):
4991 particle_is_instance(Particle arg1, HierarchyTraits arg2=Hierarchy::get_default_traits()) -> bool
4992 Hierarchy_particle_is_instance(Particle arg1) -> bool
4994 return _IMP_core.Hierarchy_particle_is_instance(*args)
4996 def Hierarchy_get_default_traits():
4997 """Hierarchy_get_default_traits() -> HierarchyTraits"""
4998 return _IMP_core.Hierarchy_get_default_traits()
5000 class HierarchyVisitor(_object):
5001 """Proxy of C++ IMP::core::HierarchyVisitor class"""
5002 __swig_setmethods__ = {}
5003 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyVisitor, name, value)
5004 __swig_getmethods__ = {}
5005 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyVisitor, name)
5006 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
5007 __repr__ = _swig_repr
5008 def __call__(self, *args):
5009 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5010 return _IMP_core.HierarchyVisitor___call__(self, *args)
5012 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5013 __del__ =
lambda self :
None;
5014 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5015 HierarchyVisitor_swigregister(HierarchyVisitor)
5017 class ModifierVisitor(HierarchyVisitor):
5018 """Proxy of C++ IMP::core::ModifierVisitor class"""
5019 __swig_setmethods__ = {}
5020 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5021 __setattr__ =
lambda self, name, value: _swig_setattr(self, ModifierVisitor, name, value)
5022 __swig_getmethods__ = {}
5023 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5024 __getattr__ =
lambda self, name: _swig_getattr(self, ModifierVisitor, name)
5025 __repr__ = _swig_repr
5026 def __init__(self, *args):
5027 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5028 this = _IMP_core.new_ModifierVisitor(*args)
5029 try: self.this.append(this)
5030 except: self.this = this
5031 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5032 __del__ =
lambda self :
None;
5033 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5034 ModifierVisitor_swigregister(ModifierVisitor)
5036 class HierarchyCounter(HierarchyVisitor):
5037 """Proxy of C++ IMP::core::HierarchyCounter class"""
5038 __swig_setmethods__ = {}
5039 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5040 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyCounter, name, value)
5041 __swig_getmethods__ = {}
5042 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5043 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyCounter, name)
5045 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5046 this = _IMP_core.new_HierarchyCounter()
5047 try: self.this.append(this)
5048 except: self.this = this
5049 def get_count(self):
5050 """get_count(HierarchyCounter self) -> unsigned int"""
5051 return _IMP_core.HierarchyCounter_get_count(self)
5053 def show(self, *args):
5055 show(HierarchyCounter self, _ostream out=std::cout)
5056 show(HierarchyCounter self)
5058 return _IMP_core.HierarchyCounter_show(self, *args)
5061 """__str__(HierarchyCounter self) -> std::string"""
5062 return _IMP_core.HierarchyCounter___str__(self)
5065 """__repr__(HierarchyCounter self) -> std::string"""
5066 return _IMP_core.HierarchyCounter___repr__(self)
5068 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5069 __del__ =
lambda self :
None;
5070 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5071 HierarchyCounter_swigregister(HierarchyCounter)
5075 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5076 return _IMP_core.get_leaves(*args)
5079 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5080 return _IMP_core.get_internal(*args)
5083 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5084 return _IMP_core.get_all_descendants(*args)
5087 """get_root(Hierarchy h) -> Hierarchy"""
5088 return _IMP_core.get_root(*args)
5091 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5092 return _IMP_core.visit_breadth_first(*args)
5095 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5096 return _IMP_core.visit_depth_first(*args)
5098 """Proxy of C++ IMP::core::LeavesRefiner class"""
5099 __swig_setmethods__ = {}
5100 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5101 __setattr__ =
lambda self, name, value: _swig_setattr(self, LeavesRefiner, name, value)
5102 __swig_getmethods__ = {}
5103 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5104 __getattr__ =
lambda self, name: _swig_getattr(self, LeavesRefiner, name)
5105 def __init__(self, *args):
5106 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5107 this = _IMP_core.new_LeavesRefiner(*args)
5108 try: self.this.append(this)
5109 except: self.this = this
5110 def get_refined(self, *args):
5112 get_refined(LeavesRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp const
5113 get_refined(LeavesRefiner self, Particle arg2, unsigned int arg3) -> Particle
5115 return _IMP_core.LeavesRefiner_get_refined(self, *args)
5118 """get_input_particles(LeavesRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
5119 return _IMP_core.LeavesRefiner_get_input_particles(self, *args)
5122 """get_input_containers(LeavesRefiner self, Particle arg2) -> IMP::kernel::ContainersTemp"""
5123 return _IMP_core.LeavesRefiner_get_input_containers(self, *args)
5125 def get_version_info(self):
5126 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5127 return _IMP_core.LeavesRefiner_get_version_info(self)
5129 def do_show(self, *args):
5130 """do_show(LeavesRefiner self, _ostream out)"""
5131 return _IMP_core.LeavesRefiner_do_show(self, *args)
5133 __swig_destroy__ = _IMP_core.delete_LeavesRefiner
5134 __del__ =
lambda self :
None;
5136 """__str__(LeavesRefiner self) -> std::string"""
5137 return _IMP_core.LeavesRefiner___str__(self)
5140 """__repr__(LeavesRefiner self) -> std::string"""
5141 return _IMP_core.LeavesRefiner___repr__(self)
5144 return _object_cast_to_LeavesRefiner(o)
5145 get_from = staticmethod(get_from)
5147 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5148 LeavesRefiner_swigregister(LeavesRefiner)
5151 """Proxy of C++ IMP::core::Linear class"""
5152 __swig_setmethods__ = {}
5154 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear, name, value)
5155 __swig_getmethods__ = {}
5157 __getattr__ =
lambda self, name: _swig_getattr(self, Linear, name)
5158 def __init__(self, *args):
5159 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5160 this = _IMP_core.new_Linear(*args)
5161 try: self.this.append(this)
5162 except: self.this = this
5163 def get_version_info(self):
5164 """get_version_info(Linear self) -> VersionInfo"""
5165 return _IMP_core.Linear_get_version_info(self)
5167 __swig_destroy__ = _IMP_core.delete_Linear
5168 __del__ =
lambda self :
None;
5169 def set_slope(self, *args):
5170 """set_slope(Linear self, double f)"""
5171 return _IMP_core.Linear_set_slope(self, *args)
5173 def set_offset(self, *args):
5174 """set_offset(Linear self, double f)"""
5175 return _IMP_core.Linear_set_offset(self, *args)
5178 """__str__(Linear self) -> std::string"""
5179 return _IMP_core.Linear___str__(self)
5182 """__repr__(Linear self) -> std::string"""
5183 return _IMP_core.Linear___repr__(self)
5186 return _object_cast_to_Linear(o)
5187 get_from = staticmethod(get_from)
5189 Linear_swigregister = _IMP_core.Linear_swigregister
5190 Linear_swigregister(Linear)
5193 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5194 __swig_setmethods__ = {}
5196 __setattr__ =
lambda self, name, value: _swig_setattr(self, IncrementalScoringFunction, name, value)
5197 __swig_getmethods__ = {}
5199 __getattr__ =
lambda self, name: _swig_getattr(self, IncrementalScoringFunction, name)
5200 def __init__(self, *args):
5202 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5203 double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
5204 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5205 double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
5206 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5207 double weight=1.0) -> IncrementalScoringFunction
5208 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
5210 this = _IMP_core.new_IncrementalScoringFunction(*args)
5211 try: self.this.append(this)
5212 except: self.this = this
5213 def reset_moved_particles(self):
5214 """reset_moved_particles(IncrementalScoringFunction self)"""
5215 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5217 def set_moved_particles(self, *args):
5218 """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
5219 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
5221 def add_close_pair_score(self, *args):
5223 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
5224 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
5226 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5228 def clear_close_pair_scores(self):
5229 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5230 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5232 def get_movable_particles(self):
5233 """get_movable_particles(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5234 return _IMP_core.IncrementalScoringFunction_get_movable_particles(self)
5236 def do_add_score_and_derivatives(self, *args):
5237 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
5238 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
5241 """get_required_score_states(IncrementalScoringFunction self) -> IMP::kernel::ScoreStatesTemp"""
5242 return _IMP_core.IncrementalScoringFunction_get_required_score_states(self)
5244 def get_version_info(self):
5245 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5246 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5248 __swig_destroy__ = _IMP_core.delete_IncrementalScoringFunction
5249 __del__ =
lambda self :
None;
5251 """__str__(IncrementalScoringFunction self) -> std::string"""
5252 return _IMP_core.IncrementalScoringFunction___str__(self)
5255 """__repr__(IncrementalScoringFunction self) -> std::string"""
5256 return _IMP_core.IncrementalScoringFunction___repr__(self)
5259 return _object_cast_to_IncrementalScoringFunction(o)
5260 get_from = staticmethod(get_from)
5262 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5263 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5265 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5267 """Proxy of C++ IMP::core::MonteCarlo class"""
5268 __swig_setmethods__ = {}
5269 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5270 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarlo, name, value)
5271 __swig_getmethods__ = {}
5272 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5273 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarlo, name)
5274 def __init__(self, *args):
5276 __init__(IMP::core::MonteCarlo self, Model m=nullptr) -> MonteCarlo
5277 __init__(IMP::core::MonteCarlo self) -> MonteCarlo
5279 this = _IMP_core.new_MonteCarlo(*args)
5280 try: self.this.append(this)
5281 except: self.this = this
5282 def get_version_info(self):
5283 """get_version_info(MonteCarlo self) -> VersionInfo"""
5284 return _IMP_core.MonteCarlo_get_version_info(self)
5286 __swig_destroy__ = _IMP_core.delete_MonteCarlo
5287 __del__ =
lambda self :
None;
5288 def set_return_best(self, *args):
5289 """set_return_best(MonteCarlo self, bool tf)"""
5290 return _IMP_core.MonteCarlo_set_return_best(self, *args)
5292 def set_kt(self, *args):
5293 """set_kt(MonteCarlo self, IMP::Float t)"""
5294 return _IMP_core.MonteCarlo_set_kt(self, *args)
5297 """get_kt(MonteCarlo self) -> IMP::Float"""
5298 return _IMP_core.MonteCarlo_get_kt(self)
5300 def get_last_accepted_energy(self):
5301 """get_last_accepted_energy(MonteCarlo self) -> double"""
5302 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5304 def get_best_accepted_energy(self):
5305 """get_best_accepted_energy(MonteCarlo self) -> double"""
5306 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5308 def get_number_of_forward_steps(self):
5309 """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
5310 return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
5312 def get_number_of_upward_steps(self):
5313 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5314 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5316 def set_maximum_difference(self, *args):
5317 """set_maximum_difference(MonteCarlo self, double d)"""
5318 return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
5320 def get_maximum_difference(self):
5321 """get_maximum_difference(MonteCarlo self) -> double"""
5322 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5324 def remove_mover(self, *args):
5325 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5326 return _IMP_core.MonteCarlo_remove_mover(self, *args)
5328 def remove_movers(self, *args):
5329 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5330 return _IMP_core.MonteCarlo_remove_movers(self, *args)
5332 def set_movers(self, *args):
5333 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5334 return _IMP_core.MonteCarlo_set_movers(self, *args)
5336 def set_movers_order(self, *args):
5337 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5338 return _IMP_core.MonteCarlo_set_movers_order(self, *args)
5340 def add_mover(self, *args):
5341 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5342 return _IMP_core.MonteCarlo_add_mover(self, *args)
5344 def add_movers(self, *args):
5345 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5346 return _IMP_core.MonteCarlo_add_movers(self, *args)
5348 def clear_movers(self):
5349 """clear_movers(MonteCarlo self)"""
5350 return _IMP_core.MonteCarlo_clear_movers(self)
5352 def get_number_of_movers(self):
5353 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5354 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5356 def get_has_movers(self):
5357 """get_has_movers(MonteCarlo self) -> bool"""
5358 return _IMP_core.MonteCarlo_get_has_movers(self)
5360 def get_mover(self, *args):
5361 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5362 return _IMP_core.MonteCarlo_get_mover(self, *args)
5364 def get_movers(self):
5365 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5366 return _IMP_core.MonteCarlo_get_movers(self)
5368 def reserve_movers(self, *args):
5369 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5370 return _IMP_core.MonteCarlo_reserve_movers(self, *args)
5372 def set_incremental_scoring_function(self, *args):
5373 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5374 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
5376 def get_use_incremental_scoring_function(self):
5377 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5378 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5380 def get_incremental_scoring_function(self):
5381 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5382 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5385 """__str__(MonteCarlo self) -> std::string"""
5386 return _IMP_core.MonteCarlo___str__(self)
5389 """__repr__(MonteCarlo self) -> std::string"""
5390 return _IMP_core.MonteCarlo___repr__(self)
5393 return _object_cast_to_MonteCarlo(o)
5394 get_from = staticmethod(get_from)
5396 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5397 MonteCarlo_swigregister(MonteCarlo)
5399 class MonteCarloWithLocalOptimization(MonteCarlo):
5400 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5401 __swig_setmethods__ = {}
5402 for _s
in [MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5403 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithLocalOptimization, name, value)
5404 __swig_getmethods__ = {}
5405 for _s
in [MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5406 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithLocalOptimization, name)
5407 def __init__(self, *args):
5408 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5409 this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
5410 try: self.this.append(this)
5411 except: self.this = this
5412 def get_number_of_steps(self):
5413 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5414 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5416 def get_local_optimizer(self):
5417 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5418 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5420 __swig_destroy__ = _IMP_core.delete_MonteCarloWithLocalOptimization
5421 __del__ =
lambda self :
None;
5423 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5424 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5427 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5428 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5431 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5432 get_from = staticmethod(get_from)
5434 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5435 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5437 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5438 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5439 __swig_setmethods__ = {}
5440 for _s
in [MonteCarloWithLocalOptimization]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5441 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithBasinHopping, name, value)
5442 __swig_getmethods__ = {}
5443 for _s
in [MonteCarloWithLocalOptimization]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5444 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithBasinHopping, name)
5445 def __init__(self, *args):
5446 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5447 this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
5448 try: self.this.append(this)
5449 except: self.this = this
5450 __swig_destroy__ = _IMP_core.delete_MonteCarloWithBasinHopping
5451 __del__ =
lambda self :
None;
5453 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5454 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5457 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5458 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5461 return _object_cast_to_MonteCarloWithBasinHopping(o)
5462 get_from = staticmethod(get_from)
5464 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5465 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5467 class NormalMover(MonteCarloMover):
5468 """Proxy of C++ IMP::core::NormalMover class"""
5469 __swig_setmethods__ = {}
5470 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5471 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalMover, name, value)
5472 __swig_getmethods__ = {}
5473 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5474 __getattr__ =
lambda self, name: _swig_getattr(self, NormalMover, name)
5475 def __init__(self, *args):
5477 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
5478 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
5479 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5480 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5482 this = _IMP_core.new_NormalMover(*args)
5483 try: self.this.append(this)
5484 except: self.this = this
5485 def set_sigma(self, *args):
5486 """set_sigma(NormalMover self, IMP::Float sigma)"""
5487 return _IMP_core.NormalMover_set_sigma(self, *args)
5489 def get_sigma(self):
5490 """get_sigma(NormalMover self) -> IMP::Float"""
5491 return _IMP_core.NormalMover_get_sigma(self)
5493 def get_version_info(self):
5494 """get_version_info(NormalMover self) -> VersionInfo"""
5495 return _IMP_core.NormalMover_get_version_info(self)
5497 __swig_destroy__ = _IMP_core.delete_NormalMover
5498 __del__ =
lambda self :
None;
5500 """__str__(NormalMover self) -> std::string"""
5501 return _IMP_core.NormalMover___str__(self)
5504 """__repr__(NormalMover self) -> std::string"""
5505 return _IMP_core.NormalMover___repr__(self)
5508 return _object_cast_to_NormalMover(o)
5509 get_from = staticmethod(get_from)
5511 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5512 NormalMover_swigregister(NormalMover)
5514 class OpenCubicSpline(_OpenCubicSplineBase):
5515 """Proxy of C++ IMP::core::OpenCubicSpline class"""
5516 __swig_setmethods__ = {}
5517 for _s
in [_OpenCubicSplineBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5518 __setattr__ =
lambda self, name, value: _swig_setattr(self, OpenCubicSpline, name, value)
5519 __swig_getmethods__ = {}
5520 for _s
in [_OpenCubicSplineBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5521 __getattr__ =
lambda self, name: _swig_getattr(self, OpenCubicSpline, name)
5522 def __init__(self, *args):
5524 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5525 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5527 this = _IMP_core.new_OpenCubicSpline(*args)
5528 try: self.this.append(this)
5529 except: self.this = this
5531 """__str__(OpenCubicSpline self) -> std::string"""
5532 return _IMP_core.OpenCubicSpline___str__(self)
5535 """__repr__(OpenCubicSpline self) -> std::string"""
5536 return _IMP_core.OpenCubicSpline___repr__(self)
5539 return _object_cast_to_OpenCubicSpline(o)
5540 get_from = staticmethod(get_from)
5542 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5543 __del__ =
lambda self :
None;
5544 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5545 OpenCubicSpline_swigregister(OpenCubicSpline)
5547 class QuadraticClosePairsFinder(ClosePairsFinder):
5548 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5549 __swig_setmethods__ = {}
5550 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5551 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadraticClosePairsFinder, name, value)
5552 __swig_getmethods__ = {}
5553 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5554 __getattr__ =
lambda self, name: _swig_getattr(self, QuadraticClosePairsFinder, name)
5556 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5557 this = _IMP_core.new_QuadraticClosePairsFinder()
5558 try: self.this.append(this)
5559 except: self.this = this
5560 def get_are_close(self, *args):
5561 """get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool"""
5562 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5564 def get_close_pairs(self, *args):
5566 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa) -> IMP::kernel::ParticlePairsTemp
5567 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa, IMP::kernel::ParticlesTemp const & pb) -> IMP::kernel::ParticlePairsTemp
5568 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5569 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5571 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5573 def get_version_info(self):
5574 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5575 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5577 def do_show(self, *args):
5578 """do_show(QuadraticClosePairsFinder self, _ostream out)"""
5579 return _IMP_core.QuadraticClosePairsFinder_do_show(self, *args)
5581 __swig_destroy__ = _IMP_core.delete_QuadraticClosePairsFinder
5582 __del__ =
lambda self :
None;
5584 """__str__(QuadraticClosePairsFinder self) -> std::string"""
5585 return _IMP_core.QuadraticClosePairsFinder___str__(self)
5588 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5589 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5592 return _object_cast_to_QuadraticClosePairsFinder(o)
5593 get_from = staticmethod(get_from)
5595 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5596 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5599 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5600 __swig_setmethods__ = {}
5601 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5602 __setattr__ =
lambda self, name, value: _swig_setattr(self, RefinedPairsPairScore, name, value)
5603 __swig_getmethods__ = {}
5604 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5605 __getattr__ =
lambda self, name: _swig_getattr(self, RefinedPairsPairScore, name)
5606 def __init__(self, *args):
5607 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5608 this = _IMP_core.new_RefinedPairsPairScore(*args)
5609 try: self.this.append(this)
5610 except: self.this = this
5611 def get_version_info(self):
5612 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5613 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5615 def do_show(self, *args):
5616 """do_show(RefinedPairsPairScore self, _ostream out)"""
5617 return _IMP_core.RefinedPairsPairScore_do_show(self, *args)
5619 __swig_destroy__ = _IMP_core.delete_RefinedPairsPairScore
5620 __del__ =
lambda self :
None;
5622 """__str__(RefinedPairsPairScore self) -> std::string"""
5623 return _IMP_core.RefinedPairsPairScore___str__(self)
5626 """__repr__(RefinedPairsPairScore self) -> std::string"""
5627 return _IMP_core.RefinedPairsPairScore___repr__(self)
5630 return _object_cast_to_RefinedPairsPairScore(o)
5631 get_from = staticmethod(get_from)
5633 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5634 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5636 class RigidBody(XYZ):
5637 """Proxy of C++ IMP::core::RigidBody class"""
5638 __swig_setmethods__ = {}
5639 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5640 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBody, name, value)
5641 __swig_getmethods__ = {}
5642 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5643 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBody, name)
5644 def get_members(self):
5645 """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5646 return _IMP_core.RigidBody_get_members(self)
5648 def get_member_particle_indexes(self):
5649 """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5650 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5652 def get_body_member_particle_indexes(self):
5653 """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5654 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5656 def __init__(self, *args):
5658 __init__(IMP::core::RigidBody self) -> RigidBody
5659 __init__(IMP::core::RigidBody self, Model m, IMP::kernel::ParticleIndex id) -> RigidBody
5660 __init__(IMP::core::RigidBody self, Particle p) -> RigidBody
5662 this = _IMP_core.new_RigidBody(*args)
5663 try: self.this.append(this)
5664 except: self.this = this
5665 def decorate_particle(*args):
5666 """decorate_particle(Particle p) -> RigidBody"""
5667 return _IMP_core.RigidBody_decorate_particle(*args)
5669 if _newclass:decorate_particle = staticmethod(decorate_particle)
5670 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
5671 def show(self, *args):
5673 show(RigidBody self, _ostream out=std::cout)
5674 show(RigidBody self)
5676 return _IMP_core.RigidBody_show(self, *args)
5678 def setup_particle(*args):
5680 setup_particle(Particle p, IMP::kernel::ParticlesTemp const & ps) -> RigidBody
5681 setup_particle(Particle p, ReferenceFrame3D rf) -> RigidBody
5683 return _IMP_core.RigidBody_setup_particle(*args)
5685 if _newclass:setup_particle = staticmethod(setup_particle)
5686 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
5687 def teardown_particle(*args):
5688 """teardown_particle(RigidBody rb)"""
5689 return _IMP_core.RigidBody_teardown_particle(*args)
5691 if _newclass:teardown_particle = staticmethod(teardown_particle)
5692 __swig_getmethods__[
"teardown_particle"] =
lambda x: teardown_particle
5693 __swig_destroy__ = _IMP_core.delete_RigidBody
5694 __del__ =
lambda self :
None;
5695 def particle_is_instance(*args):
5697 particle_is_instance(Particle p) -> bool
5698 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5700 return _IMP_core.RigidBody_particle_is_instance(*args)
5702 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
5703 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
5704 def get_coordinates(self):
5705 """get_coordinates(RigidBody self) -> Vector3D"""
5706 return _IMP_core.RigidBody_get_coordinates(self)
5708 def get_reference_frame(self):
5709 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5710 return _IMP_core.RigidBody_get_reference_frame(self)
5712 def set_reference_frame(self, *args):
5713 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5714 return _IMP_core.RigidBody_set_reference_frame(self, *args)
5716 def set_reference_frame_lazy(self, *args):
5717 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5718 return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5720 def set_reference_frame_from_members(self, *args):
5721 """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5722 return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5724 def add_to_derivatives(self, *args):
5726 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5727 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5728 DerivativeAccumulator da)
5730 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5732 def get_torque(self):
5733 """get_torque(RigidBody self) -> Vector3D"""
5734 return _IMP_core.RigidBody_get_torque(self)
5736 def get_coordinates_are_optimized(self):
5737 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5738 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5740 def set_coordinates_are_optimized(self, *args):
5741 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5742 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5744 def normalize_rotation(self):
5745 """normalize_rotation(RigidBody self)"""
5746 return _IMP_core.RigidBody_normalize_rotation(self)
5748 def update_members(self):
5749 """update_members(RigidBody self)"""
5750 return _IMP_core.RigidBody_update_members(self)
5752 def get_rotational_derivatives(self):
5753 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5754 return _IMP_core.RigidBody_get_rotational_derivatives(self)
5756 def get_number_of_members(self):
5757 """get_number_of_members(RigidBody self) -> unsigned int"""
5758 return _IMP_core.RigidBody_get_number_of_members(self)
5760 def get_member(self, *args):
5761 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5762 return _IMP_core.RigidBody_get_member(self, *args)
5764 def add_member(self, *args):
5766 add_member(RigidBody self, Particle p)
5767 add_member(RigidBody self, IMP::kernel::ParticleIndex p)
5769 return _IMP_core.RigidBody_add_member(self, *args)
5771 def add_non_rigid_member(self, *args):
5772 """add_non_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi)"""
5773 return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5775 def set_is_rigid_member(self, *args):
5776 """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5777 return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5779 def add_attribute(self, *args):
5781 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5782 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5783 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5784 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5785 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5786 add_attribute(RigidBody self, ObjectKey a0, IMP::Object * a1)
5788 return _IMP_core.RigidBody_add_attribute(self, *args)
5790 def get_value(self, *args):
5792 get_value(RigidBody self, FloatKey a0) -> IMP::Float
5793 get_value(RigidBody self, IntKey a0) -> IMP::Int
5794 get_value(RigidBody self, StringKey a0) -> IMP::String
5795 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5796 get_value(RigidBody self, ObjectKey a0) -> IMP::Object *
5798 return _IMP_core.RigidBody_get_value(self, *args)
5800 def set_value(self, *args):
5802 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5803 set_value(RigidBody self, IntKey a0, IMP::Int a1)
5804 set_value(RigidBody self, StringKey a0, IMP::String a1)
5805 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5806 set_value(RigidBody self, ObjectKey a0, IMP::Object * a1)
5808 return _IMP_core.RigidBody_set_value(self, *args)
5810 def remove_attribute(self, *args):
5812 remove_attribute(RigidBody self, FloatKey a0)
5813 remove_attribute(RigidBody self, IntKey a0)
5814 remove_attribute(RigidBody self, StringKey a0)
5815 remove_attribute(RigidBody self, ParticleIndexKey a0)
5816 remove_attribute(RigidBody self, ObjectKey a0)
5818 return _IMP_core.RigidBody_remove_attribute(self, *args)
5820 def has_attribute(self, *args):
5822 has_attribute(RigidBody self, FloatKey a0) -> bool
5823 has_attribute(RigidBody self, IntKey a0) -> bool
5824 has_attribute(RigidBody self, StringKey a0) -> bool
5825 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5826 has_attribute(RigidBody self, ObjectKey a0) -> bool
5828 return _IMP_core.RigidBody_has_attribute(self, *args)
5830 def get_derivative(self, *args):
5831 """get_derivative(RigidBody self, FloatKey a0) -> double"""
5832 return _IMP_core.RigidBody_get_derivative(self, *args)
5835 """get_name(RigidBody self) -> std::string"""
5836 return _IMP_core.RigidBody_get_name(self)
5838 def clear_caches(self):
5839 """clear_caches(RigidBody self)"""
5840 return _IMP_core.RigidBody_clear_caches(self)
5842 def set_name(self, *args):
5843 """set_name(RigidBody self, std::string a0)"""
5844 return _IMP_core.RigidBody_set_name(self, *args)
5847 """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5848 return _IMP_core.RigidBody_set_check_level(self, *args)
5850 def add_to_derivative(self, *args):
5851 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5852 return _IMP_core.RigidBody_add_to_derivative(self, *args)
5854 def set_is_optimized(self, *args):
5855 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5856 return _IMP_core.RigidBody_set_is_optimized(self, *args)
5858 def get_is_optimized(self, *args):
5859 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5860 return _IMP_core.RigidBody_get_is_optimized(self, *args)
5863 """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5864 return _IMP_core.RigidBody_get_check_level(self)
5866 def __eq__(self, *args):
5868 __eq__(RigidBody self, RigidBody o) -> bool
5869 __eq__(RigidBody self, Particle d) -> bool
5871 return _IMP_core.RigidBody___eq__(self, *args)
5873 def __ne__(self, *args):
5875 __ne__(RigidBody self, RigidBody o) -> bool
5876 __ne__(RigidBody self, Particle d) -> bool
5878 return _IMP_core.RigidBody___ne__(self, *args)
5880 def __le__(self, *args):
5882 __le__(RigidBody self, RigidBody o) -> bool
5883 __le__(RigidBody self, Particle d) -> bool
5885 return _IMP_core.RigidBody___le__(self, *args)
5887 def __lt__(self, *args):
5889 __lt__(RigidBody self, RigidBody o) -> bool
5890 __lt__(RigidBody self, Particle d) -> bool
5892 return _IMP_core.RigidBody___lt__(self, *args)
5894 def __ge__(self, *args):
5896 __ge__(RigidBody self, RigidBody o) -> bool
5897 __ge__(RigidBody self, Particle d) -> bool
5899 return _IMP_core.RigidBody___ge__(self, *args)
5901 def __gt__(self, *args):
5903 __gt__(RigidBody self, RigidBody o) -> bool
5904 __gt__(RigidBody self, Particle d) -> bool
5906 return _IMP_core.RigidBody___gt__(self, *args)
5909 """__str__(RigidBody self) -> std::string"""
5910 return _IMP_core.RigidBody___str__(self)
5913 """__repr__(RigidBody self) -> std::string"""
5914 return _IMP_core.RigidBody___repr__(self)
5916 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5917 RigidBody_swigregister(RigidBody)
5919 def RigidBody_decorate_particle(*args):
5920 """RigidBody_decorate_particle(Particle p) -> RigidBody"""
5921 return _IMP_core.RigidBody_decorate_particle(*args)
5923 def RigidBody_setup_particle(*args):
5925 setup_particle(Particle p, IMP::kernel::ParticlesTemp const & ps) -> RigidBody
5926 RigidBody_setup_particle(Particle p, ReferenceFrame3D rf) -> RigidBody
5928 return _IMP_core.RigidBody_setup_particle(*args)
5930 def RigidBody_teardown_particle(*args):
5931 """RigidBody_teardown_particle(RigidBody rb)"""
5932 return _IMP_core.RigidBody_teardown_particle(*args)
5934 def RigidBody_particle_is_instance(*args):
5936 particle_is_instance(Particle p) -> bool
5937 RigidBody_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5939 return _IMP_core.RigidBody_particle_is_instance(*args)
5943 """add_rigid_body_cache_key(ObjectKey k)"""
5944 return _IMP_core.add_rigid_body_cache_key(*args)
5945 class RigidMember(XYZ):
5946 """Proxy of C++ IMP::core::RigidMember class"""
5947 __swig_setmethods__ = {}
5948 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5949 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMember, name, value)
5950 __swig_getmethods__ = {}
5951 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5952 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMember, name)
5953 def __init__(self, *args):
5955 __init__(IMP::core::RigidMember self) -> RigidMember
5956 __init__(IMP::core::RigidMember self, Model m, IMP::kernel::ParticleIndex id) -> RigidMember
5957 __init__(IMP::core::RigidMember self, Particle p) -> RigidMember
5959 this = _IMP_core.new_RigidMember(*args)
5960 try: self.this.append(this)
5961 except: self.this = this
5962 def decorate_particle(*args):
5963 """decorate_particle(Particle p) -> RigidMember"""
5964 return _IMP_core.RigidMember_decorate_particle(*args)
5966 if _newclass:decorate_particle = staticmethod(decorate_particle)
5967 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
5968 def show(self, *args):
5970 show(RigidMember self, _ostream out=std::cout)
5971 show(RigidMember self)
5973 return _IMP_core.RigidMember_show(self, *args)
5975 def get_rigid_body(self):
5976 """get_rigid_body(RigidMember self) -> RigidBody"""
5977 return _IMP_core.RigidMember_get_rigid_body(self)
5979 def get_internal_coordinates(self):
5980 """get_internal_coordinates(RigidMember self) -> Vector3D"""
5981 return _IMP_core.RigidMember_get_internal_coordinates(self)
5983 def set_internal_coordinates(self, *args):
5984 """set_internal_coordinates(RigidMember self, Vector3D v)"""
5985 return _IMP_core.RigidMember_set_internal_coordinates(self, *args)
5987 def set_internal_transformation(self, *args):
5988 """set_internal_transformation(RigidMember self, Transformation3D v)"""
5989 return _IMP_core.RigidMember_set_internal_transformation(self, *args)
5991 def get_internal_transformation(self):
5992 """get_internal_transformation(RigidMember self) -> Transformation3D"""
5993 return _IMP_core.RigidMember_get_internal_transformation(self)
5995 def set_coordinates(self, *args):
5997 set_coordinates(RigidMember self, Vector3D center)
5998 set_coordinates(RigidMember self, Transformation3D tr)
6000 return _IMP_core.RigidMember_set_coordinates(self, *args)
6002 __swig_destroy__ = _IMP_core.delete_RigidMember
6003 __del__ =
lambda self :
None;
6004 def particle_is_instance(*args):
6006 particle_is_instance(Particle p) -> bool
6007 particle_is_instance(Model m, IMP::kernel::ParticleIndex p) -> bool
6009 return _IMP_core.RigidMember_particle_is_instance(*args)
6011 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6012 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
6013 def get_internal_coordinate_keys():
6014 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6015 return _IMP_core.RigidMember_get_internal_coordinate_keys()
6017 if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6018 __swig_getmethods__[
"get_internal_coordinate_keys"] =
lambda x: get_internal_coordinate_keys
6019 def add_attribute(self, *args):
6021 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6022 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6023 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6024 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6025 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6026 add_attribute(RigidMember self, ObjectKey a0, IMP::Object * a1)
6028 return _IMP_core.RigidMember_add_attribute(self, *args)
6030 def get_value(self, *args):
6032 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6033 get_value(RigidMember self, IntKey a0) -> IMP::Int
6034 get_value(RigidMember self, StringKey a0) -> IMP::String
6035 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6036 get_value(RigidMember self, ObjectKey a0) -> IMP::Object *
6038 return _IMP_core.RigidMember_get_value(self, *args)
6040 def set_value(self, *args):
6042 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6043 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6044 set_value(RigidMember self, StringKey a0, IMP::String a1)
6045 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6046 set_value(RigidMember self, ObjectKey a0, IMP::Object * a1)
6048 return _IMP_core.RigidMember_set_value(self, *args)
6050 def remove_attribute(self, *args):
6052 remove_attribute(RigidMember self, FloatKey a0)
6053 remove_attribute(RigidMember self, IntKey a0)
6054 remove_attribute(RigidMember self, StringKey a0)
6055 remove_attribute(RigidMember self, ParticleIndexKey a0)
6056 remove_attribute(RigidMember self, ObjectKey a0)
6058 return _IMP_core.RigidMember_remove_attribute(self, *args)
6060 def has_attribute(self, *args):
6062 has_attribute(RigidMember self, FloatKey a0) -> bool
6063 has_attribute(RigidMember self, IntKey a0) -> bool
6064 has_attribute(RigidMember self, StringKey a0) -> bool
6065 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6066 has_attribute(RigidMember self, ObjectKey a0) -> bool
6068 return _IMP_core.RigidMember_has_attribute(self, *args)
6070 def get_derivative(self, *args):
6071 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6072 return _IMP_core.RigidMember_get_derivative(self, *args)
6075 """get_name(RigidMember self) -> std::string"""
6076 return _IMP_core.RigidMember_get_name(self)
6078 def clear_caches(self):
6079 """clear_caches(RigidMember self)"""
6080 return _IMP_core.RigidMember_clear_caches(self)
6082 def set_name(self, *args):
6083 """set_name(RigidMember self, std::string a0)"""
6084 return _IMP_core.RigidMember_set_name(self, *args)
6087 """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
6088 return _IMP_core.RigidMember_set_check_level(self, *args)
6090 def add_to_derivative(self, *args):
6091 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6092 return _IMP_core.RigidMember_add_to_derivative(self, *args)
6094 def set_is_optimized(self, *args):
6095 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6096 return _IMP_core.RigidMember_set_is_optimized(self, *args)
6098 def get_is_optimized(self, *args):
6099 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6100 return _IMP_core.RigidMember_get_is_optimized(self, *args)
6103 """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
6104 return _IMP_core.RigidMember_get_check_level(self)
6106 def __eq__(self, *args):
6108 __eq__(RigidMember self, RigidMember o) -> bool
6109 __eq__(RigidMember self, Particle d) -> bool
6111 return _IMP_core.RigidMember___eq__(self, *args)
6113 def __ne__(self, *args):
6115 __ne__(RigidMember self, RigidMember o) -> bool
6116 __ne__(RigidMember self, Particle d) -> bool
6118 return _IMP_core.RigidMember___ne__(self, *args)
6120 def __le__(self, *args):
6122 __le__(RigidMember self, RigidMember o) -> bool
6123 __le__(RigidMember self, Particle d) -> bool
6125 return _IMP_core.RigidMember___le__(self, *args)
6127 def __lt__(self, *args):
6129 __lt__(RigidMember self, RigidMember o) -> bool
6130 __lt__(RigidMember self, Particle d) -> bool
6132 return _IMP_core.RigidMember___lt__(self, *args)
6134 def __ge__(self, *args):
6136 __ge__(RigidMember self, RigidMember o) -> bool
6137 __ge__(RigidMember self, Particle d) -> bool
6139 return _IMP_core.RigidMember___ge__(self, *args)
6141 def __gt__(self, *args):
6143 __gt__(RigidMember self, RigidMember o) -> bool
6144 __gt__(RigidMember self, Particle d) -> bool
6146 return _IMP_core.RigidMember___gt__(self, *args)
6149 """__str__(RigidMember self) -> std::string"""
6150 return _IMP_core.RigidMember___str__(self)
6153 """__repr__(RigidMember self) -> std::string"""
6154 return _IMP_core.RigidMember___repr__(self)
6156 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6157 RigidMember_swigregister(RigidMember)
6159 def RigidMember_decorate_particle(*args):
6160 """RigidMember_decorate_particle(Particle p) -> RigidMember"""
6161 return _IMP_core.RigidMember_decorate_particle(*args)
6163 def RigidMember_particle_is_instance(*args):
6165 particle_is_instance(Particle p) -> bool
6166 RigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex p) -> bool
6168 return _IMP_core.RigidMember_particle_is_instance(*args)
6170 def RigidMember_get_internal_coordinate_keys():
6171 """RigidMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6172 return _IMP_core.RigidMember_get_internal_coordinate_keys()
6174 class NonRigidMember(XYZ):
6175 """Proxy of C++ IMP::core::NonRigidMember class"""
6176 __swig_setmethods__ = {}
6177 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6178 __setattr__ =
lambda self, name, value: _swig_setattr(self, NonRigidMember, name, value)
6179 __swig_getmethods__ = {}
6180 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6181 __getattr__ =
lambda self, name: _swig_getattr(self, NonRigidMember, name)
6182 def __init__(self, *args):
6184 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6185 __init__(IMP::core::NonRigidMember self, Model m, IMP::kernel::ParticleIndex id) -> NonRigidMember
6186 __init__(IMP::core::NonRigidMember self, Particle p) -> NonRigidMember
6188 this = _IMP_core.new_NonRigidMember(*args)
6189 try: self.this.append(this)
6190 except: self.this = this
6191 def decorate_particle(*args):
6192 """decorate_particle(Particle p) -> NonRigidMember"""
6193 return _IMP_core.NonRigidMember_decorate_particle(*args)
6195 if _newclass:decorate_particle = staticmethod(decorate_particle)
6196 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6197 def show(self, *args):
6199 show(NonRigidMember self, _ostream out=std::cout)
6200 show(NonRigidMember self)
6202 return _IMP_core.NonRigidMember_show(self, *args)
6204 def get_rigid_body(self):
6205 """get_rigid_body(NonRigidMember self) -> RigidBody"""
6206 return _IMP_core.NonRigidMember_get_rigid_body(self)
6208 def get_internal_coordinates(self):
6209 """get_internal_coordinates(NonRigidMember self) -> Vector3D"""
6210 return _IMP_core.NonRigidMember_get_internal_coordinates(self)
6212 def set_internal_coordinates(self, *args):
6213 """set_internal_coordinates(NonRigidMember self, Vector3D v)"""
6214 return _IMP_core.NonRigidMember_set_internal_coordinates(self, *args)
6216 def set_internal_transformation(self, *args):
6217 """set_internal_transformation(NonRigidMember self, Transformation3D v)"""
6218 return _IMP_core.NonRigidMember_set_internal_transformation(self, *args)
6220 def get_internal_transformation(self):
6221 """get_internal_transformation(NonRigidMember self) -> Transformation3D"""
6222 return _IMP_core.NonRigidMember_get_internal_transformation(self)
6224 def set_coordinates(self, *args):
6226 set_coordinates(NonRigidMember self, Vector3D center)
6227 set_coordinates(NonRigidMember self, Transformation3D tr)
6229 return _IMP_core.NonRigidMember_set_coordinates(self, *args)
6231 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6232 __del__ =
lambda self :
None;
6233 def particle_is_instance(*args):
6235 particle_is_instance(Particle p) -> bool
6236 particle_is_instance(Model m, IMP::kernel::ParticleIndex p) -> bool
6238 return _IMP_core.NonRigidMember_particle_is_instance(*args)
6240 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6241 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
6242 def get_internal_coordinate_keys():
6243 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6244 return _IMP_core.NonRigidMember_get_internal_coordinate_keys()
6246 if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6247 __swig_getmethods__[
"get_internal_coordinate_keys"] =
lambda x: get_internal_coordinate_keys
6248 def add_attribute(self, *args):
6250 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6251 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6252 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6253 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6254 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6255 add_attribute(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6257 return _IMP_core.NonRigidMember_add_attribute(self, *args)
6259 def get_value(self, *args):
6261 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6262 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6263 get_value(NonRigidMember self, StringKey a0) -> IMP::String
6264 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6265 get_value(NonRigidMember self, ObjectKey a0) -> IMP::Object *
6267 return _IMP_core.NonRigidMember_get_value(self, *args)
6269 def set_value(self, *args):
6271 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6272 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6273 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6274 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6275 set_value(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6277 return _IMP_core.NonRigidMember_set_value(self, *args)
6279 def remove_attribute(self, *args):
6281 remove_attribute(NonRigidMember self, FloatKey a0)
6282 remove_attribute(NonRigidMember self, IntKey a0)
6283 remove_attribute(NonRigidMember self, StringKey a0)
6284 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6285 remove_attribute(NonRigidMember self, ObjectKey a0)
6287 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6289 def has_attribute(self, *args):
6291 has_attribute(NonRigidMember self, FloatKey a0) -> bool
6292 has_attribute(NonRigidMember self, IntKey a0) -> bool
6293 has_attribute(NonRigidMember self, StringKey a0) -> bool
6294 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6295 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6297 return _IMP_core.NonRigidMember_has_attribute(self, *args)
6299 def get_derivative(self, *args):
6300 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6301 return _IMP_core.NonRigidMember_get_derivative(self, *args)
6304 """get_name(NonRigidMember self) -> std::string"""
6305 return _IMP_core.NonRigidMember_get_name(self)
6307 def clear_caches(self):
6308 """clear_caches(NonRigidMember self)"""
6309 return _IMP_core.NonRigidMember_clear_caches(self)
6311 def set_name(self, *args):
6312 """set_name(NonRigidMember self, std::string a0)"""
6313 return _IMP_core.NonRigidMember_set_name(self, *args)
6316 """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
6317 return _IMP_core.NonRigidMember_set_check_level(self, *args)
6319 def add_to_derivative(self, *args):
6320 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6321 return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
6323 def set_is_optimized(self, *args):
6324 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6325 return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
6327 def get_is_optimized(self, *args):
6328 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6329 return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
6332 """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
6333 return _IMP_core.NonRigidMember_get_check_level(self)
6335 def __eq__(self, *args):
6337 __eq__(NonRigidMember self, NonRigidMember o) -> bool
6338 __eq__(NonRigidMember self, Particle d) -> bool
6340 return _IMP_core.NonRigidMember___eq__(self, *args)
6342 def __ne__(self, *args):
6344 __ne__(NonRigidMember self, NonRigidMember o) -> bool
6345 __ne__(NonRigidMember self, Particle d) -> bool
6347 return _IMP_core.NonRigidMember___ne__(self, *args)
6349 def __le__(self, *args):
6351 __le__(NonRigidMember self, NonRigidMember o) -> bool
6352 __le__(NonRigidMember self, Particle d) -> bool
6354 return _IMP_core.NonRigidMember___le__(self, *args)
6356 def __lt__(self, *args):
6358 __lt__(NonRigidMember self, NonRigidMember o) -> bool
6359 __lt__(NonRigidMember self, Particle d) -> bool
6361 return _IMP_core.NonRigidMember___lt__(self, *args)
6363 def __ge__(self, *args):
6365 __ge__(NonRigidMember self, NonRigidMember o) -> bool
6366 __ge__(NonRigidMember self, Particle d) -> bool
6368 return _IMP_core.NonRigidMember___ge__(self, *args)
6370 def __gt__(self, *args):
6372 __gt__(NonRigidMember self, NonRigidMember o) -> bool
6373 __gt__(NonRigidMember self, Particle d) -> bool
6375 return _IMP_core.NonRigidMember___gt__(self, *args)
6378 """__str__(NonRigidMember self) -> std::string"""
6379 return _IMP_core.NonRigidMember___str__(self)
6382 """__repr__(NonRigidMember self) -> std::string"""
6383 return _IMP_core.NonRigidMember___repr__(self)
6385 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6386 NonRigidMember_swigregister(NonRigidMember)
6388 def NonRigidMember_decorate_particle(*args):
6389 """NonRigidMember_decorate_particle(Particle p) -> NonRigidMember"""
6390 return _IMP_core.NonRigidMember_decorate_particle(*args)
6392 def NonRigidMember_particle_is_instance(*args):
6394 particle_is_instance(Particle p) -> bool
6395 NonRigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex p) -> bool
6397 return _IMP_core.NonRigidMember_particle_is_instance(*args)
6399 def NonRigidMember_get_internal_coordinate_keys():
6400 """NonRigidMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6401 return _IMP_core.NonRigidMember_get_internal_coordinate_keys()
6404 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6405 __swig_setmethods__ = {}
6406 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6407 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMembersRefiner, name, value)
6408 __swig_getmethods__ = {}
6409 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6410 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMembersRefiner, name)
6411 def __init__(self, name="RigidMembersRefiner%d"):
6413 __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
6414 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6416 this = _IMP_core.new_RigidMembersRefiner(name)
6417 try: self.this.append(this)
6418 except: self.this = this
6419 def get_refined(self, *args):
6421 get_refined(RigidMembersRefiner self, Particle arg2, unsigned int arg3) -> Particle
6422 get_refined(RigidMembersRefiner self, Particle a) -> IMP::kernel::ParticlesTemp const
6424 return _IMP_core.RigidMembersRefiner_get_refined(self, *args)
6427 """get_input_particles(RigidMembersRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
6428 return _IMP_core.RigidMembersRefiner_get_input_particles(self, *args)
6431 """get_input_containers(RigidMembersRefiner self, Particle arg2) -> IMP::kernel::ContainersTemp"""
6432 return _IMP_core.RigidMembersRefiner_get_input_containers(self, *args)
6434 def get_version_info(self):
6435 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6436 return _IMP_core.RigidMembersRefiner_get_version_info(self)
6438 def do_show(self, *args):
6439 """do_show(RigidMembersRefiner self, _ostream out)"""
6440 return _IMP_core.RigidMembersRefiner_do_show(self, *args)
6442 __swig_destroy__ = _IMP_core.delete_RigidMembersRefiner
6443 __del__ =
lambda self :
None;
6445 """__str__(RigidMembersRefiner self) -> std::string"""
6446 return _IMP_core.RigidMembersRefiner___str__(self)
6449 """__repr__(RigidMembersRefiner self) -> std::string"""
6450 return _IMP_core.RigidMembersRefiner___repr__(self)
6453 return _object_cast_to_RigidMembersRefiner(o)
6454 get_from = staticmethod(get_from)
6456 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6457 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6460 def get_rigid_members_refiner():
6461 """get_rigid_members_refiner() -> RigidMembersRefiner"""
6462 return _IMP_core.get_rigid_members_refiner()
6466 transform(XYZ a, Transformation3D tr)
6467 transform(RigidBody a, Transformation3D tr)
6469 return _IMP_core.transform(*args)
6472 """get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D"""
6473 return _IMP_core.get_initial_reference_frame(*args)
6477 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
6478 create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
6480 return _IMP_core.create_rigid_bodies(*args)
6482 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6483 __swig_setmethods__ = {}
6485 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyHierarchyGeometry, name, value)
6486 __swig_getmethods__ = {}
6488 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyHierarchyGeometry, name)
6489 def __init__(self, *args):
6490 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6491 this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
6492 try: self.this.append(this)
6493 except: self.this = this
6494 def get_version_info(self):
6495 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6496 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6498 __swig_destroy__ = _IMP_core.delete_RigidBodyHierarchyGeometry
6499 __del__ =
lambda self :
None;
6501 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6502 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6505 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6506 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6509 return _object_cast_to_RigidBodyHierarchyGeometry(o)
6510 get_from = staticmethod(get_from)
6512 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6513 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6516 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6517 __swig_setmethods__ = {}
6519 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativeGeometry, name, value)
6520 __swig_getmethods__ = {}
6522 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativeGeometry, name)
6523 def __init__(self, *args):
6525 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
6526 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
6528 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
6529 try: self.this.append(this)
6530 except: self.this = this
6531 def get_version_info(self):
6532 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
6533 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
6535 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativeGeometry
6536 __del__ =
lambda self :
None;
6538 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
6539 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6542 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6543 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6546 return _object_cast_to_RigidBodyDerivativeGeometry(o)
6547 get_from = staticmethod(get_from)
6549 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6550 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6553 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6554 __swig_setmethods__ = {}
6556 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativesGeometry, name, value)
6557 __swig_getmethods__ = {}
6559 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativesGeometry, name)
6560 def __init__(self, *args):
6561 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6562 this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6563 try: self.this.append(this)
6564 except: self.this = this
6565 def get_version_info(self):
6566 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6567 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6569 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativesGeometry
6570 __del__ =
lambda self :
None;
6572 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6573 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6576 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6577 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6580 return _object_cast_to_RigidBodyDerivativesGeometry(o)
6581 get_from = staticmethod(get_from)
6583 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6584 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6587 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6588 __swig_setmethods__ = {}
6590 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFrameGeometry, name, value)
6591 __swig_getmethods__ = {}
6593 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFrameGeometry, name)
6594 def __init__(self, *args):
6596 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6597 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6599 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6600 try: self.this.append(this)
6601 except: self.this = this
6602 def get_version_info(self):
6603 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6604 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6606 __swig_destroy__ = _IMP_core.delete_RigidBodyFrameGeometry
6607 __del__ =
lambda self :
None;
6609 """__str__(RigidBodyFrameGeometry self) -> std::string"""
6610 return _IMP_core.RigidBodyFrameGeometry___str__(self)
6613 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6614 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6617 return _object_cast_to_RigidBodyFrameGeometry(o)
6618 get_from = staticmethod(get_from)
6620 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6621 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6624 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6625 __swig_setmethods__ = {}
6627 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFramesGeometry, name, value)
6628 __swig_getmethods__ = {}
6630 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFramesGeometry, name)
6631 def __init__(self, *args):
6632 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6633 this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6634 try: self.this.append(this)
6635 except: self.this = this
6636 def get_version_info(self):
6637 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6638 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6640 __swig_destroy__ = _IMP_core.delete_RigidBodyFramesGeometry
6641 __del__ =
lambda self :
None;
6643 """__str__(RigidBodyFramesGeometry self) -> std::string"""
6644 return _IMP_core.RigidBodyFramesGeometry___str__(self)
6647 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6648 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6651 return _object_cast_to_RigidBodyFramesGeometry(o)
6652 get_from = staticmethod(get_from)
6654 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6655 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6658 """Proxy of C++ IMP::core::RigidBodyTorque class"""
6659 __swig_setmethods__ = {}
6661 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTorque, name, value)
6662 __swig_getmethods__ = {}
6664 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTorque, name)
6665 def __init__(self, *args):
6666 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6667 this = _IMP_core.new_RigidBodyTorque(*args)
6668 try: self.this.append(this)
6669 except: self.this = this
6671 """__str__(RigidBodyTorque self) -> std::string"""
6672 return _IMP_core.RigidBodyTorque___str__(self)
6675 """__repr__(RigidBodyTorque self) -> std::string"""
6676 return _IMP_core.RigidBodyTorque___repr__(self)
6679 return _object_cast_to_RigidBodyTorque(o)
6680 get_from = staticmethod(get_from)
6682 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6683 __del__ =
lambda self :
None;
6684 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6685 RigidBodyTorque_swigregister(RigidBodyTorque)
6687 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6688 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6689 __swig_setmethods__ = {}
6690 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6691 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborsClosePairsFinder, name, value)
6692 __swig_getmethods__ = {}
6693 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6694 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborsClosePairsFinder, name)
6696 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6697 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6698 try: self.this.append(this)
6699 except: self.this = this
6700 def get_close_pairs(self, *args):
6702 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa) -> IMP::kernel::ParticlePairsTemp
6703 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa, IMP::kernel::ParticlesTemp const & pb) -> IMP::kernel::ParticlePairsTemp
6704 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6705 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6707 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6709 def get_version_info(self):
6710 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6711 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6713 def do_show(self, *args):
6714 """do_show(NearestNeighborsClosePairsFinder self, _ostream out)"""
6715 return _IMP_core.NearestNeighborsClosePairsFinder_do_show(self, *args)
6717 __swig_destroy__ = _IMP_core.delete_NearestNeighborsClosePairsFinder
6718 __del__ =
lambda self :
None;
6720 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6721 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6724 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6725 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6728 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6729 get_from = staticmethod(get_from)
6731 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6732 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6735 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6736 __swig_setmethods__ = {}
6738 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintsScoringFunction, name, value)
6739 __swig_getmethods__ = {}
6741 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintsScoringFunction, name)
6742 def __init__(self, *args):
6744 __init__(IMP::core::RestraintsScoringFunction self, IMP::kernel::RestraintsTemp const & rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6745 __init__(IMP::core::RestraintsScoringFunction self, IMP::kernel::RestraintsTemp const & rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
6746 __init__(IMP::core::RestraintsScoringFunction self, IMP::kernel::RestraintsTemp const & rs, double weight=1.0) -> RestraintsScoringFunction
6747 __init__(IMP::core::RestraintsScoringFunction self, IMP::kernel::RestraintsTemp const & rs) -> RestraintsScoringFunction
6748 __init__(IMP::core::RestraintsScoringFunction self, IMP::kernel::RestraintsTemp const & rs, std::string name) -> RestraintsScoringFunction
6750 this = _IMP_core.new_RestraintsScoringFunction(*args)
6751 try: self.this.append(this)
6752 except: self.this = this
6753 def do_add_score_and_derivatives(self, *args):
6754 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
6755 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
6758 """get_required_score_states(RestraintsScoringFunction self) -> IMP::kernel::ScoreStatesTemp"""
6759 return _IMP_core.RestraintsScoringFunction_get_required_score_states(self)
6761 def get_version_info(self):
6762 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
6763 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
6765 __swig_destroy__ = _IMP_core.delete_RestraintsScoringFunction
6766 __del__ =
lambda self :
None;
6768 """__str__(RestraintsScoringFunction self) -> std::string"""
6769 return _IMP_core.RestraintsScoringFunction___str__(self)
6772 """__repr__(RestraintsScoringFunction self) -> std::string"""
6773 return _IMP_core.RestraintsScoringFunction___repr__(self)
6776 return _object_cast_to_RestraintsScoringFunction(o)
6777 get_from = staticmethod(get_from)
6779 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
6780 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
6782 class RigidClosePairsFinder(ClosePairsFinder):
6783 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
6784 __swig_setmethods__ = {}
6785 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6786 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidClosePairsFinder, name, value)
6787 __swig_getmethods__ = {}
6788 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6789 __getattr__ =
lambda self, name: _swig_getattr(self, RigidClosePairsFinder, name)
6790 def __init__(self, *args):
6792 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=nullptr) -> RigidClosePairsFinder
6793 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
6795 this = _IMP_core.new_RigidClosePairsFinder(*args)
6796 try: self.this.append(this)
6797 except: self.this = this
6798 def get_close_pairs(self, *args):
6800 get_close_pairs(RigidClosePairsFinder self, Particle a, Particle b, IMP::kernel::ParticleIndexes const & pa, IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticlePairsTemp
6801 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa) -> IMP::kernel::ParticlePairsTemp
6802 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pa, IMP::kernel::ParticlesTemp const & pb) -> IMP::kernel::ParticlePairsTemp
6803 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6804 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6806 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
6808 def get_version_info(self):
6809 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
6810 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
6812 def do_show(self, *args):
6813 """do_show(RigidClosePairsFinder self, _ostream out)"""
6814 return _IMP_core.RigidClosePairsFinder_do_show(self, *args)
6816 __swig_destroy__ = _IMP_core.delete_RigidClosePairsFinder
6817 __del__ =
lambda self :
None;
6819 """__str__(RigidClosePairsFinder self) -> std::string"""
6820 return _IMP_core.RigidClosePairsFinder___str__(self)
6823 """__repr__(RigidClosePairsFinder self) -> std::string"""
6824 return _IMP_core.RigidClosePairsFinder___repr__(self)
6827 return _object_cast_to_RigidClosePairsFinder(o)
6828 get_from = staticmethod(get_from)
6830 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
6831 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
6834 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
6835 __swig_setmethods__ = {}
6836 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6837 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistancePairScore, name, value)
6838 __swig_getmethods__ = {}
6839 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6840 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistancePairScore, name)
6841 def __init__(self, *args):
6843 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
6844 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
6846 this = _IMP_core.new_SphereDistancePairScore(*args)
6847 try: self.this.append(this)
6848 except: self.this = this
6850 """get_input_particles(SphereDistancePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
6851 return _IMP_core.SphereDistancePairScore_get_input_particles(self, *args)
6854 """get_input_containers(SphereDistancePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
6855 return _IMP_core.SphereDistancePairScore_get_input_containers(self, *args)
6857 def get_version_info(self):
6858 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
6859 return _IMP_core.SphereDistancePairScore_get_version_info(self)
6861 def do_show(self, *args):
6862 """do_show(SphereDistancePairScore self, _ostream out)"""
6863 return _IMP_core.SphereDistancePairScore_do_show(self, *args)
6865 __swig_destroy__ = _IMP_core.delete_SphereDistancePairScore
6866 __del__ =
lambda self :
None;
6868 """__str__(SphereDistancePairScore self) -> std::string"""
6869 return _IMP_core.SphereDistancePairScore___str__(self)
6872 """__repr__(SphereDistancePairScore self) -> std::string"""
6873 return _IMP_core.SphereDistancePairScore___repr__(self)
6876 return _object_cast_to_SphereDistancePairScore(o)
6877 get_from = staticmethod(get_from)
6879 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
6880 SphereDistancePairScore_swigregister(SphereDistancePairScore)
6883 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
6884 __swig_setmethods__ = {}
6885 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6886 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDistancePairScore, name, value)
6887 __swig_getmethods__ = {}
6888 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6889 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDistancePairScore, name)
6890 def __init__(self, *args):
6892 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
6893 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
6895 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
6896 try: self.this.append(this)
6897 except: self.this = this
6899 """get_input_particles(HarmonicUpperBoundSphereDistancePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
6900 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_input_particles(self, *args)
6903 """get_input_containers(HarmonicUpperBoundSphereDistancePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
6904 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_input_containers(self, *args)
6906 def get_version_info(self):
6907 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
6908 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
6910 def do_show(self, *args):
6911 """do_show(HarmonicUpperBoundSphereDistancePairScore self, _ostream out)"""
6912 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_show(self, *args)
6914 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDistancePairScore
6915 __del__ =
lambda self :
None;
6917 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6918 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
6921 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6922 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
6925 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
6926 get_from = staticmethod(get_from)
6928 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
6929 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
6932 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
6933 __swig_setmethods__ = {}
6934 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6935 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDiameterPairScore, name, value)
6936 __swig_getmethods__ = {}
6937 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6938 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDiameterPairScore, name)
6939 def __init__(self, *args):
6940 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
6941 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
6942 try: self.this.append(this)
6943 except: self.this = this
6944 def get_rest_length(self):
6945 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6946 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
6948 def get_stiffness(self):
6949 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6950 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
6952 def get_version_info(self):
6953 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
6954 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
6956 def do_show(self, *args):
6957 """do_show(HarmonicUpperBoundSphereDiameterPairScore self, _ostream out)"""
6958 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_show(self, *args)
6960 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDiameterPairScore
6961 __del__ =
lambda self :
None;
6963 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6964 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
6967 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6968 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
6971 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
6972 get_from = staticmethod(get_from)
6974 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
6975 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
6978 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
6979 __swig_setmethods__ = {}
6980 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6981 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicSphereDistancePairScore, name, value)
6982 __swig_getmethods__ = {}
6983 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6984 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicSphereDistancePairScore, name)
6985 def __init__(self, *args):
6987 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
6988 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
6990 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
6991 try: self.this.append(this)
6992 except: self.this = this
6994 """get_input_particles(HarmonicSphereDistancePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
6995 return _IMP_core.HarmonicSphereDistancePairScore_get_input_particles(self, *args)
6998 """get_input_containers(HarmonicSphereDistancePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
6999 return _IMP_core.HarmonicSphereDistancePairScore_get_input_containers(self, *args)
7001 def get_version_info(self):
7002 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7003 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7005 def do_show(self, *args):
7006 """do_show(HarmonicSphereDistancePairScore self, _ostream out)"""
7007 return _IMP_core.HarmonicSphereDistancePairScore_do_show(self, *args)
7009 __swig_destroy__ = _IMP_core.delete_HarmonicSphereDistancePairScore
7010 __del__ =
lambda self :
None;
7012 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7013 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7016 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7017 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7020 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7021 get_from = staticmethod(get_from)
7023 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7024 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7027 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7028 __swig_setmethods__ = {}
7029 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7030 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalizedSphereDistancePairScore, name, value)
7031 __swig_getmethods__ = {}
7032 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7033 __getattr__ =
lambda self, name: _swig_getattr(self, NormalizedSphereDistancePairScore, name)
7034 def __init__(self, *args):
7036 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
7037 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7039 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7040 try: self.this.append(this)
7041 except: self.this = this
7042 def do_create_current_decomposition(self, *args):
7043 """do_create_current_decomposition(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
7044 return _IMP_core.NormalizedSphereDistancePairScore_do_create_current_decomposition(self, *args)
7046 def get_version_info(self):
7047 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7048 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7050 def do_show(self, *args):
7051 """do_show(NormalizedSphereDistancePairScore self, _ostream out)"""
7052 return _IMP_core.NormalizedSphereDistancePairScore_do_show(self, *args)
7054 __swig_destroy__ = _IMP_core.delete_NormalizedSphereDistancePairScore
7055 __del__ =
lambda self :
None;
7057 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7058 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7061 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7062 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7065 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7066 get_from = staticmethod(get_from)
7068 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7069 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7072 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7073 __swig_setmethods__ = {}
7074 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7075 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedSphereDistancePairScore, name, value)
7076 __swig_getmethods__ = {}
7077 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7078 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedSphereDistancePairScore, name)
7079 def __init__(self, *args):
7081 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
7082 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7084 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7085 try: self.this.append(this)
7086 except: self.this = this
7087 def do_create_current_decomposition(self, *args):
7088 """do_create_current_decomposition(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
7089 return _IMP_core.WeightedSphereDistancePairScore_do_create_current_decomposition(self, *args)
7091 def get_version_info(self):
7092 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7093 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7095 def do_show(self, *args):
7096 """do_show(WeightedSphereDistancePairScore self, _ostream out)"""
7097 return _IMP_core.WeightedSphereDistancePairScore_do_show(self, *args)
7099 __swig_destroy__ = _IMP_core.delete_WeightedSphereDistancePairScore
7100 __del__ =
lambda self :
None;
7102 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7103 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7106 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7107 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7110 return _object_cast_to_WeightedSphereDistancePairScore(o)
7111 get_from = staticmethod(get_from)
7113 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7114 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7117 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7118 __swig_setmethods__ = {}
7119 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7120 __setattr__ =
lambda self, name, value: _swig_setattr(self, SoftSpherePairScore, name, value)
7121 __swig_getmethods__ = {}
7122 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7123 __getattr__ =
lambda self, name: _swig_getattr(self, SoftSpherePairScore, name)
7124 def __init__(self, *args):
7126 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
7127 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7129 this = _IMP_core.new_SoftSpherePairScore(*args)
7130 try: self.this.append(this)
7131 except: self.this = this
7133 """get_input_particles(SoftSpherePairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
7134 return _IMP_core.SoftSpherePairScore_get_input_particles(self, *args)
7137 """get_input_containers(SoftSpherePairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
7138 return _IMP_core.SoftSpherePairScore_get_input_containers(self, *args)
7140 def get_version_info(self):
7141 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7142 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7144 def do_show(self, *args):
7145 """do_show(SoftSpherePairScore self, _ostream out)"""
7146 return _IMP_core.SoftSpherePairScore_do_show(self, *args)
7148 __swig_destroy__ = _IMP_core.delete_SoftSpherePairScore
7149 __del__ =
lambda self :
None;
7151 """__str__(SoftSpherePairScore self) -> std::string"""
7152 return _IMP_core.SoftSpherePairScore___str__(self)
7155 """__repr__(SoftSpherePairScore self) -> std::string"""
7156 return _IMP_core.SoftSpherePairScore___repr__(self)
7159 return _object_cast_to_SoftSpherePairScore(o)
7160 get_from = staticmethod(get_from)
7162 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7163 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7166 """Proxy of C++ IMP::core::SteepestDescent class"""
7167 __swig_setmethods__ = {}
7168 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7169 __setattr__ =
lambda self, name, value: _swig_setattr(self, SteepestDescent, name, value)
7170 __swig_getmethods__ = {}
7171 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7172 __getattr__ =
lambda self, name: _swig_getattr(self, SteepestDescent, name)
7173 def __init__(self, *args):
7175 __init__(IMP::core::SteepestDescent self, Model m=nullptr) -> SteepestDescent
7176 __init__(IMP::core::SteepestDescent self) -> SteepestDescent
7178 this = _IMP_core.new_SteepestDescent(*args)
7179 try: self.this.append(this)
7180 except: self.this = this
7181 def do_optimize(self, *args):
7182 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7183 return _IMP_core.SteepestDescent_do_optimize(self, *args)
7185 def get_version_info(self):
7186 """get_version_info(SteepestDescent self) -> VersionInfo"""
7187 return _IMP_core.SteepestDescent_get_version_info(self)
7189 def do_show(self, *args):
7190 """do_show(SteepestDescent self, _ostream out)"""
7191 return _IMP_core.SteepestDescent_do_show(self, *args)
7193 __swig_destroy__ = _IMP_core.delete_SteepestDescent
7194 __del__ =
lambda self :
None;
7195 def set_threshold(self, *args):
7196 """set_threshold(SteepestDescent self, IMP::Float t)"""
7197 return _IMP_core.SteepestDescent_set_threshold(self, *args)
7199 def set_step_size(self, *args):
7200 """set_step_size(SteepestDescent self, IMP::Float t)"""
7201 return _IMP_core.SteepestDescent_set_step_size(self, *args)
7203 def set_maximum_step_size(self, *args):
7204 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7205 return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
7208 """__str__(SteepestDescent self) -> std::string"""
7209 return _IMP_core.SteepestDescent___str__(self)
7212 """__repr__(SteepestDescent self) -> std::string"""
7213 return _IMP_core.SteepestDescent___repr__(self)
7216 return _object_cast_to_SteepestDescent(o)
7217 get_from = staticmethod(get_from)
7219 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7220 SteepestDescent_swigregister(SteepestDescent)
7223 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7224 __swig_setmethods__ = {}
7225 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7226 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformedDistancePairScore, name, value)
7227 __swig_getmethods__ = {}
7228 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7229 __getattr__ =
lambda self, name: _swig_getattr(self, TransformedDistancePairScore, name)
7230 def __init__(self, *args):
7231 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7232 this = _IMP_core.new_TransformedDistancePairScore(*args)
7233 try: self.this.append(this)
7234 except: self.this = this
7235 def set_transformation(self, *args):
7236 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7237 return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
7239 def do_create_current_decomposition(self, *args):
7240 """do_create_current_decomposition(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
7241 return _IMP_core.TransformedDistancePairScore_do_create_current_decomposition(self, *args)
7243 def get_version_info(self):
7244 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7245 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7247 def do_show(self, *args):
7248 """do_show(TransformedDistancePairScore self, _ostream out)"""
7249 return _IMP_core.TransformedDistancePairScore_do_show(self, *args)
7251 __swig_destroy__ = _IMP_core.delete_TransformedDistancePairScore
7252 __del__ =
lambda self :
None;
7254 """__str__(TransformedDistancePairScore self) -> std::string"""
7255 return _IMP_core.TransformedDistancePairScore___str__(self)
7258 """__repr__(TransformedDistancePairScore self) -> std::string"""
7259 return _IMP_core.TransformedDistancePairScore___repr__(self)
7262 return _object_cast_to_TransformedDistancePairScore(o)
7263 get_from = staticmethod(get_from)
7265 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
7266 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7269 """Proxy of C++ IMP::core::TypedPairScore class"""
7270 __swig_setmethods__ = {}
7271 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7272 __setattr__ =
lambda self, name, value: _swig_setattr(self, TypedPairScore, name, value)
7273 __swig_getmethods__ = {}
7274 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7275 __getattr__ =
lambda self, name: _swig_getattr(self, TypedPairScore, name)
7276 def __init__(self, *args):
7278 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7279 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7281 this = _IMP_core.new_TypedPairScore(*args)
7282 try: self.this.append(this)
7283 except: self.this = this
7284 def set_particle_type(self, *args):
7285 """set_particle_type(TypedPairScore self, Particle arg2)"""
7286 return _IMP_core.TypedPairScore_set_particle_type(self, *args)
7288 def set_pair_score(self, *args):
7289 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7290 return _IMP_core.TypedPairScore_set_pair_score(self, *args)
7293 """get_input_particles(TypedPairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
7294 return _IMP_core.TypedPairScore_get_input_particles(self, *args)
7297 """get_input_containers(TypedPairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
7298 return _IMP_core.TypedPairScore_get_input_containers(self, *args)
7300 def get_version_info(self):
7301 """get_version_info(TypedPairScore self) -> VersionInfo"""
7302 return _IMP_core.TypedPairScore_get_version_info(self)
7304 def do_show(self, *args):
7305 """do_show(TypedPairScore self, _ostream out)"""
7306 return _IMP_core.TypedPairScore_do_show(self, *args)
7308 __swig_destroy__ = _IMP_core.delete_TypedPairScore
7309 __del__ =
lambda self :
None;
7311 """__str__(TypedPairScore self) -> std::string"""
7312 return _IMP_core.TypedPairScore___str__(self)
7315 """__repr__(TypedPairScore self) -> std::string"""
7316 return _IMP_core.TypedPairScore___repr__(self)
7319 return _object_cast_to_TypedPairScore(o)
7320 get_from = staticmethod(get_from)
7322 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7323 TypedPairScore_swigregister(TypedPairScore)
7325 class RigidBodyDistancePairScore(KClosePairsPairScore):
7326 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7327 __swig_setmethods__ = {}
7328 for _s
in [KClosePairsPairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7329 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDistancePairScore, name, value)
7330 __swig_getmethods__ = {}
7331 for _s
in [KClosePairsPairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7332 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDistancePairScore, name)
7333 def __init__(self, *args):
7334 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7335 this = _IMP_core.new_RigidBodyDistancePairScore(*args)
7336 try: self.this.append(this)
7337 except: self.this = this
7339 """__str__(RigidBodyDistancePairScore self) -> std::string"""
7340 return _IMP_core.RigidBodyDistancePairScore___str__(self)
7343 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7344 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7347 return _object_cast_to_RigidBodyDistancePairScore(o)
7348 get_from = staticmethod(get_from)
7350 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7351 __del__ =
lambda self :
None;
7352 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7353 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7356 """Proxy of C++ IMP::core::TableRefiner class"""
7357 __swig_setmethods__ = {}
7358 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7359 __setattr__ =
lambda self, name, value: _swig_setattr(self, TableRefiner, name, value)
7360 __swig_getmethods__ = {}
7361 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7362 __getattr__ =
lambda self, name: _swig_getattr(self, TableRefiner, name)
7364 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7365 this = _IMP_core.new_TableRefiner()
7366 try: self.this.append(this)
7367 except: self.this = this
7369 """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7370 return _IMP_core.TableRefiner_add_particle(self, *args)
7372 def remove_particle(self, *args):
7373 """remove_particle(TableRefiner self, Particle p)"""
7374 return _IMP_core.TableRefiner_remove_particle(self, *args)
7376 def set_particle(self, *args):
7377 """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7378 return _IMP_core.TableRefiner_set_particle(self, *args)
7380 def get_refined(self, *args):
7382 get_refined(TableRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp const
7383 get_refined(TableRefiner self, Particle arg2, unsigned int arg3) -> Particle
7385 return _IMP_core.TableRefiner_get_refined(self, *args)
7388 """get_input_particles(TableRefiner self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
7389 return _IMP_core.TableRefiner_get_input_particles(self, *args)
7392 """get_input_containers(TableRefiner self, Particle arg2) -> IMP::kernel::ContainersTemp"""
7393 return _IMP_core.TableRefiner_get_input_containers(self, *args)
7395 def get_version_info(self):
7396 """get_version_info(TableRefiner self) -> VersionInfo"""
7397 return _IMP_core.TableRefiner_get_version_info(self)
7399 def do_show(self, *args):
7400 """do_show(TableRefiner self, _ostream out)"""
7401 return _IMP_core.TableRefiner_do_show(self, *args)
7403 __swig_destroy__ = _IMP_core.delete_TableRefiner
7404 __del__ =
lambda self :
None;
7406 """__str__(TableRefiner self) -> std::string"""
7407 return _IMP_core.TableRefiner___str__(self)
7410 """__repr__(TableRefiner self) -> std::string"""
7411 return _IMP_core.TableRefiner___repr__(self)
7414 return _object_cast_to_TableRefiner(o)
7415 get_from = staticmethod(get_from)
7417 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7418 TableRefiner_swigregister(TableRefiner)
7420 LOWER = _IMP_core.LOWER
7421 BOTH = _IMP_core.BOTH
7422 UPPER = _IMP_core.UPPER
7424 """Proxy of C++ IMP::core::MCCGSampler class"""
7425 __swig_setmethods__ = {}
7426 for _s
in [
IMP.kernel.Sampler]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7427 __setattr__ =
lambda self, name, value: _swig_setattr(self, MCCGSampler, name, value)
7428 __swig_getmethods__ = {}
7429 for _s
in [
IMP.kernel.Sampler]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7430 __getattr__ =
lambda self, name: _swig_getattr(self, MCCGSampler, name)
7431 def __init__(self, *args):
7433 __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
7434 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7436 this = _IMP_core.new_MCCGSampler(*args)
7437 try: self.this.append(this)
7438 except: self.this = this
7439 def set_bounding_box(self, *args):
7440 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7441 return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
7443 def set_number_of_attempts(self, *args):
7444 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7445 return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
7447 def set_number_of_monte_carlo_steps(self, *args):
7448 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7449 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
7451 def set_number_of_conjugate_gradient_steps(self, *args):
7452 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7453 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
7455 def set_max_monte_carlo_step_size(self, *args):
7457 set_max_monte_carlo_step_size(MCCGSampler self, double d)
7458 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7460 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7462 def set_is_refining(self, *args):
7463 """set_is_refining(MCCGSampler self, bool tf)"""
7464 return _IMP_core.MCCGSampler_set_is_refining(self, *args)
7466 def set_local_optimizer(self, *args):
7467 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7468 return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
7470 def set_save_rejected_configurations(self, *args):
7471 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7472 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
7474 def get_rejected_configurations(self):
7475 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7476 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7478 def remove_optimizer_state(self, *args):
7479 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7480 return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
7482 def remove_optimizer_states(self, *args):
7483 """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
7484 return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
7486 def set_optimizer_states(self, *args):
7487 """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
7488 return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
7490 def set_optimizer_states_order(self, *args):
7491 """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7492 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
7494 def add_optimizer_state(self, *args):
7495 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7496 return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
7498 def add_optimizer_states(self, *args):
7499 """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7500 return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
7502 def clear_optimizer_states(self):
7503 """clear_optimizer_states(MCCGSampler self)"""
7504 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7506 def get_number_of_optimizer_states(self):
7507 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7508 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7510 def get_has_optimizer_states(self):
7511 """get_has_optimizer_states(MCCGSampler self) -> bool"""
7512 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7514 def get_optimizer_state(self, *args):
7515 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7516 return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
7518 def get_optimizer_states(self):
7519 """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
7520 return _IMP_core.MCCGSampler_get_optimizer_states(self)
7522 def reserve_optimizer_states(self, *args):
7523 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
7524 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
7526 def get_version_info(self):
7527 """get_version_info(MCCGSampler self) -> VersionInfo"""
7528 return _IMP_core.MCCGSampler_get_version_info(self)
7530 def do_show(self, *args):
7531 """do_show(MCCGSampler self, _ostream out)"""
7532 return _IMP_core.MCCGSampler_do_show(self, *args)
7534 __swig_destroy__ = _IMP_core.delete_MCCGSampler
7535 __del__ =
lambda self :
None;
7537 """__str__(MCCGSampler self) -> std::string"""
7538 return _IMP_core.MCCGSampler___str__(self)
7541 """__repr__(MCCGSampler self) -> std::string"""
7542 return _IMP_core.MCCGSampler___repr__(self)
7545 return _object_cast_to_MCCGSampler(o)
7546 get_from = staticmethod(get_from)
7548 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
7549 MCCGSampler_swigregister(MCCGSampler)
7552 """Proxy of C++ IMP::core::MinimumRestraint class"""
7553 __swig_setmethods__ = {}
7554 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7555 __setattr__ =
lambda self, name, value: _swig_setattr(self, MinimumRestraint, name, value)
7556 __swig_getmethods__ = {}
7557 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7558 __getattr__ =
lambda self, name: _swig_getattr(self, MinimumRestraint, name)
7559 def __init__(self, *args):
7561 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
7562 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
7563 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
7565 this = _IMP_core.new_MinimumRestraint(*args)
7566 try: self.this.append(this)
7567 except: self.this = this
7568 def do_get_inputs(self):
7569 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
7570 return _IMP_core.MinimumRestraint_do_get_inputs(self)
7572 def get_version_info(self):
7573 """get_version_info(MinimumRestraint self) -> VersionInfo"""
7574 return _IMP_core.MinimumRestraint_get_version_info(self)
7576 __swig_destroy__ = _IMP_core.delete_MinimumRestraint
7577 __del__ =
lambda self :
None;
7578 def remove_restraint(self, *args):
7579 """remove_restraint(MinimumRestraint self, Restraint d)"""
7580 return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
7582 def remove_restraints(self, *args):
7583 """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
7584 return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
7586 def set_restraints(self, *args):
7587 """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
7588 return _IMP_core.MinimumRestraint_set_restraints(self, *args)
7590 def set_restraints_order(self, *args):
7591 """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7592 return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
7595 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
7596 return _IMP_core.MinimumRestraint_add_restraint(self, *args)
7599 """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7600 return _IMP_core.MinimumRestraint_add_restraints(self, *args)
7602 def clear_restraints(self):
7603 """clear_restraints(MinimumRestraint self)"""
7604 return _IMP_core.MinimumRestraint_clear_restraints(self)
7606 def get_number_of_restraints(self):
7607 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
7608 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
7610 def get_has_restraints(self):
7611 """get_has_restraints(MinimumRestraint self) -> bool"""
7612 return _IMP_core.MinimumRestraint_get_has_restraints(self)
7614 def get_restraint(self, *args):
7615 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
7616 return _IMP_core.MinimumRestraint_get_restraint(self, *args)
7619 """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
7620 return _IMP_core.MinimumRestraint_get_restraints(self)
7622 def reserve_restraints(self, *args):
7623 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
7624 return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
7627 """__str__(MinimumRestraint self) -> std::string"""
7628 return _IMP_core.MinimumRestraint___str__(self)
7631 """__repr__(MinimumRestraint self) -> std::string"""
7632 return _IMP_core.MinimumRestraint___repr__(self)
7635 return _object_cast_to_MinimumRestraint(o)
7636 get_from = staticmethod(get_from)
7638 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
7639 MinimumRestraint_swigregister(MinimumRestraint)
7642 """Proxy of C++ IMP::core::PairRestraint class"""
7643 __swig_setmethods__ = {}
7644 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7645 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairRestraint, name, value)
7646 __swig_getmethods__ = {}
7647 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7648 __getattr__ =
lambda self, name: _swig_getattr(self, PairRestraint, name)
7649 def __init__(self, *args):
7651 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7652 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7654 this = _IMP_core.new_PairRestraint(*args)
7655 try: self.this.append(this)
7656 except: self.this = this
7657 def get_version_info(self):
7658 """get_version_info(PairRestraint self) -> VersionInfo"""
7659 return _IMP_core.PairRestraint_get_version_info(self)
7661 __swig_destroy__ = _IMP_core.delete_PairRestraint
7662 __del__ =
lambda self :
None;
7664 """__str__(PairRestraint self) -> std::string"""
7665 return _IMP_core.PairRestraint___str__(self)
7668 """__repr__(PairRestraint self) -> std::string"""
7669 return _IMP_core.PairRestraint___repr__(self)
7672 return _object_cast_to_PairRestraint(o)
7673 get_from = staticmethod(get_from)
7675 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7676 PairRestraint_swigregister(PairRestraint)
7679 """Proxy of C++ IMP::core::SingletonRestraint class"""
7680 __swig_setmethods__ = {}
7681 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7682 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonRestraint, name, value)
7683 __swig_getmethods__ = {}
7684 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7685 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonRestraint, name)
7686 def __init__(self, *args):
7688 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7689 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7691 this = _IMP_core.new_SingletonRestraint(*args)
7692 try: self.this.append(this)
7693 except: self.this = this
7694 def get_version_info(self):
7695 """get_version_info(SingletonRestraint self) -> VersionInfo"""
7696 return _IMP_core.SingletonRestraint_get_version_info(self)
7698 __swig_destroy__ = _IMP_core.delete_SingletonRestraint
7699 __del__ =
lambda self :
None;
7701 """__str__(SingletonRestraint self) -> std::string"""
7702 return _IMP_core.SingletonRestraint___str__(self)
7705 """__repr__(SingletonRestraint self) -> std::string"""
7706 return _IMP_core.SingletonRestraint___repr__(self)
7709 return _object_cast_to_SingletonRestraint(o)
7710 get_from = staticmethod(get_from)
7712 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7713 SingletonRestraint_swigregister(SingletonRestraint)
7716 """Proxy of C++ IMP::core::TripletRestraint class"""
7717 __swig_setmethods__ = {}
7718 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7719 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletRestraint, name, value)
7720 __swig_getmethods__ = {}
7721 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7722 __getattr__ =
lambda self, name: _swig_getattr(self, TripletRestraint, name)
7723 def __init__(self, *args):
7725 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7726 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7728 this = _IMP_core.new_TripletRestraint(*args)
7729 try: self.this.append(this)
7730 except: self.this = this
7731 def get_version_info(self):
7732 """get_version_info(TripletRestraint self) -> VersionInfo"""
7733 return _IMP_core.TripletRestraint_get_version_info(self)
7735 __swig_destroy__ = _IMP_core.delete_TripletRestraint
7736 __del__ =
lambda self :
None;
7738 """__str__(TripletRestraint self) -> std::string"""
7739 return _IMP_core.TripletRestraint___str__(self)
7742 """__repr__(TripletRestraint self) -> std::string"""
7743 return _IMP_core.TripletRestraint___repr__(self)
7746 return _object_cast_to_TripletRestraint(o)
7747 get_from = staticmethod(get_from)
7749 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7750 TripletRestraint_swigregister(TripletRestraint)
7753 """Proxy of C++ IMP::core::QuadRestraint class"""
7754 __swig_setmethods__ = {}
7755 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7756 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadRestraint, name, value)
7757 __swig_getmethods__ = {}
7758 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7759 __getattr__ =
lambda self, name: _swig_getattr(self, QuadRestraint, name)
7760 def __init__(self, *args):
7762 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7763 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7765 this = _IMP_core.new_QuadRestraint(*args)
7766 try: self.this.append(this)
7767 except: self.this = this
7768 def get_version_info(self):
7769 """get_version_info(QuadRestraint self) -> VersionInfo"""
7770 return _IMP_core.QuadRestraint_get_version_info(self)
7772 __swig_destroy__ = _IMP_core.delete_QuadRestraint
7773 __del__ =
lambda self :
None;
7775 """__str__(QuadRestraint self) -> std::string"""
7776 return _IMP_core.QuadRestraint___str__(self)
7779 """__repr__(QuadRestraint self) -> std::string"""
7780 return _IMP_core.QuadRestraint___repr__(self)
7783 return _object_cast_to_QuadRestraint(o)
7784 get_from = staticmethod(get_from)
7786 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7787 QuadRestraint_swigregister(QuadRestraint)
7790 """Proxy of C++ IMP::core::SingletonConstraint class"""
7791 __swig_setmethods__ = {}
7793 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonConstraint, name, value)
7794 __swig_getmethods__ = {}
7796 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonConstraint, name)
7797 def __init__(self, *args):
7799 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7800 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7802 this = _IMP_core.new_SingletonConstraint(*args)
7803 try: self.this.append(this)
7804 except: self.this = this
7805 def get_version_info(self):
7806 """get_version_info(SingletonConstraint self) -> VersionInfo"""
7807 return _IMP_core.SingletonConstraint_get_version_info(self)
7809 __swig_destroy__ = _IMP_core.delete_SingletonConstraint
7810 __del__ =
lambda self :
None;
7812 """__str__(SingletonConstraint self) -> std::string"""
7813 return _IMP_core.SingletonConstraint___str__(self)
7816 """__repr__(SingletonConstraint self) -> std::string"""
7817 return _IMP_core.SingletonConstraint___repr__(self)
7820 return _object_cast_to_SingletonConstraint(o)
7821 get_from = staticmethod(get_from)
7823 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
7824 SingletonConstraint_swigregister(SingletonConstraint)
7827 """Proxy of C++ IMP::core::PairConstraint class"""
7828 __swig_setmethods__ = {}
7830 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairConstraint, name, value)
7831 __swig_getmethods__ = {}
7833 __getattr__ =
lambda self, name: _swig_getattr(self, PairConstraint, name)
7834 def __init__(self, *args):
7836 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
7837 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
7839 this = _IMP_core.new_PairConstraint(*args)
7840 try: self.this.append(this)
7841 except: self.this = this
7842 def get_version_info(self):
7843 """get_version_info(PairConstraint self) -> VersionInfo"""
7844 return _IMP_core.PairConstraint_get_version_info(self)
7846 __swig_destroy__ = _IMP_core.delete_PairConstraint
7847 __del__ =
lambda self :
None;
7849 """__str__(PairConstraint self) -> std::string"""
7850 return _IMP_core.PairConstraint___str__(self)
7853 """__repr__(PairConstraint self) -> std::string"""
7854 return _IMP_core.PairConstraint___repr__(self)
7857 return _object_cast_to_PairConstraint(o)
7858 get_from = staticmethod(get_from)
7860 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
7861 PairConstraint_swigregister(PairConstraint)
7864 """Proxy of C++ IMP::core::TripletConstraint class"""
7865 __swig_setmethods__ = {}
7867 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletConstraint, name, value)
7868 __swig_getmethods__ = {}
7870 __getattr__ =
lambda self, name: _swig_getattr(self, TripletConstraint, name)
7871 def __init__(self, *args):
7873 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
7874 std::string name="TripletConstraint %1%") -> TripletConstraint
7875 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
7877 this = _IMP_core.new_TripletConstraint(*args)
7878 try: self.this.append(this)
7879 except: self.this = this
7880 def get_version_info(self):
7881 """get_version_info(TripletConstraint self) -> VersionInfo"""
7882 return _IMP_core.TripletConstraint_get_version_info(self)
7884 __swig_destroy__ = _IMP_core.delete_TripletConstraint
7885 __del__ =
lambda self :
None;
7887 """__str__(TripletConstraint self) -> std::string"""
7888 return _IMP_core.TripletConstraint___str__(self)
7891 """__repr__(TripletConstraint self) -> std::string"""
7892 return _IMP_core.TripletConstraint___repr__(self)
7895 return _object_cast_to_TripletConstraint(o)
7896 get_from = staticmethod(get_from)
7898 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
7899 TripletConstraint_swigregister(TripletConstraint)
7902 """Proxy of C++ IMP::core::QuadConstraint class"""
7903 __swig_setmethods__ = {}
7905 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadConstraint, name, value)
7906 __swig_getmethods__ = {}
7908 __getattr__ =
lambda self, name: _swig_getattr(self, QuadConstraint, name)
7909 def __init__(self, *args):
7911 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
7912 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
7914 this = _IMP_core.new_QuadConstraint(*args)
7915 try: self.this.append(this)
7916 except: self.this = this
7917 def get_version_info(self):
7918 """get_version_info(QuadConstraint self) -> VersionInfo"""
7919 return _IMP_core.QuadConstraint_get_version_info(self)
7921 __swig_destroy__ = _IMP_core.delete_QuadConstraint
7922 __del__ =
lambda self :
None;
7924 """__str__(QuadConstraint self) -> std::string"""
7925 return _IMP_core.QuadConstraint___str__(self)
7928 """__repr__(QuadConstraint self) -> std::string"""
7929 return _IMP_core.QuadConstraint___repr__(self)
7932 return _object_cast_to_QuadConstraint(o)
7933 get_from = staticmethod(get_from)
7935 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
7936 QuadConstraint_swigregister(QuadConstraint)
7939 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
7940 __swig_setmethods__ = {}
7942 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantSingletonPredicate, name, value)
7943 __swig_getmethods__ = {}
7945 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantSingletonPredicate, name)
7946 def __init__(self, *args):
7948 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
7949 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
7951 this = _IMP_core.new_ConstantSingletonPredicate(*args)
7952 try: self.this.append(this)
7953 except: self.this = this
7954 def get_value(self, *args):
7956 get_value(ConstantSingletonPredicate self, Particle a) -> int
7957 get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7959 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
7961 def get_value_index(self, *args):
7963 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
7964 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7966 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
7968 def get_version_info(self):
7969 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
7970 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
7972 __swig_destroy__ = _IMP_core.delete_ConstantSingletonPredicate
7973 __del__ =
lambda self :
None;
7975 """__str__(ConstantSingletonPredicate self) -> std::string"""
7976 return _IMP_core.ConstantSingletonPredicate___str__(self)
7979 """__repr__(ConstantSingletonPredicate self) -> std::string"""
7980 return _IMP_core.ConstantSingletonPredicate___repr__(self)
7983 return _object_cast_to_ConstantSingletonPredicate(o)
7984 get_from = staticmethod(get_from)
7986 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
7987 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
7990 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
7991 __swig_setmethods__ = {}
7993 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeSingletonPredicate, name, value)
7994 __swig_getmethods__ = {}
7996 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeSingletonPredicate, name)
7997 def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
7999 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
8000 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
8002 this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
8003 try: self.this.append(this)
8004 except: self.this = this
8005 def get_value(self, *args):
8007 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
8008 get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8010 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
8012 def get_value_index(self, *args):
8014 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8015 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8017 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
8019 def get_version_info(self):
8020 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
8021 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
8023 __swig_destroy__ = _IMP_core.delete_UnorderedTypeSingletonPredicate
8024 __del__ =
lambda self :
None;
8026 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
8027 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
8030 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
8031 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
8034 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
8035 get_from = staticmethod(get_from)
8037 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8038 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8041 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8042 __swig_setmethods__ = {}
8044 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeSingletonPredicate, name, value)
8045 __swig_getmethods__ = {}
8047 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeSingletonPredicate, name)
8048 def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
8050 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
8051 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8053 this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
8054 try: self.this.append(this)
8055 except: self.this = this
8056 def get_value_index(self, *args):
8058 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8059 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8061 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8063 def get_version_info(self):
8064 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8065 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8067 __swig_destroy__ = _IMP_core.delete_OrderedTypeSingletonPredicate
8068 __del__ =
lambda self :
None;
8069 def get_value(self, *args):
8071 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8072 get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8073 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8075 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8078 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8079 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8082 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8083 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8086 return _object_cast_to_OrderedTypeSingletonPredicate(o)
8087 get_from = staticmethod(get_from)
8089 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8090 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8093 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8094 __swig_setmethods__ = {}
8096 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameSingletonPredicate, name, value)
8097 __swig_getmethods__ = {}
8099 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameSingletonPredicate, name)
8100 def __init__(self, name="AllSameSingletonPredicate%1%"):
8102 __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
8103 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8105 this = _IMP_core.new_AllSameSingletonPredicate(name)
8106 try: self.this.append(this)
8107 except: self.this = this
8108 def get_value(self, *args):
8110 get_value(AllSameSingletonPredicate self, Particle a) -> int
8111 get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8113 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8115 def get_value_index(self, *args):
8117 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8118 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8120 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8122 def get_version_info(self):
8123 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8124 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8126 __swig_destroy__ = _IMP_core.delete_AllSameSingletonPredicate
8127 __del__ =
lambda self :
None;
8129 """__str__(AllSameSingletonPredicate self) -> std::string"""
8130 return _IMP_core.AllSameSingletonPredicate___str__(self)
8133 """__repr__(AllSameSingletonPredicate self) -> std::string"""
8134 return _IMP_core.AllSameSingletonPredicate___repr__(self)
8137 return _object_cast_to_AllSameSingletonPredicate(o)
8138 get_from = staticmethod(get_from)
8140 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8141 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8144 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8145 __swig_setmethods__ = {}
8147 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipSingletonPredicate, name, value)
8148 __swig_getmethods__ = {}
8150 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipSingletonPredicate, name)
8151 def __init__(self, *args):
8153 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
8154 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8156 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8157 try: self.this.append(this)
8158 except: self.this = this
8159 def get_value(self, *args):
8161 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8162 get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8164 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8166 def get_value_index(self, *args):
8168 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8169 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8171 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8173 def get_version_info(self):
8174 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8175 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
8177 __swig_destroy__ = _IMP_core.delete_CoinFlipSingletonPredicate
8178 __del__ =
lambda self :
None;
8180 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
8181 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
8184 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
8185 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
8188 return _object_cast_to_CoinFlipSingletonPredicate(o)
8189 get_from = staticmethod(get_from)
8191 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
8192 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
8195 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
8196 __swig_setmethods__ = {}
8198 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantPairPredicate, name, value)
8199 __swig_getmethods__ = {}
8201 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantPairPredicate, name)
8202 def __init__(self, *args):
8204 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
8205 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
8207 this = _IMP_core.new_ConstantPairPredicate(*args)
8208 try: self.this.append(this)
8209 except: self.this = this
8210 def get_value(self, *args):
8212 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8213 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8215 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
8217 def get_value_index(self, *args):
8219 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8220 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8222 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
8224 def get_version_info(self):
8225 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
8226 return _IMP_core.ConstantPairPredicate_get_version_info(self)
8228 __swig_destroy__ = _IMP_core.delete_ConstantPairPredicate
8229 __del__ =
lambda self :
None;
8231 """__str__(ConstantPairPredicate self) -> std::string"""
8232 return _IMP_core.ConstantPairPredicate___str__(self)
8235 """__repr__(ConstantPairPredicate self) -> std::string"""
8236 return _IMP_core.ConstantPairPredicate___repr__(self)
8239 return _object_cast_to_ConstantPairPredicate(o)
8240 get_from = staticmethod(get_from)
8242 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
8243 ConstantPairPredicate_swigregister(ConstantPairPredicate)
8246 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
8247 __swig_setmethods__ = {}
8249 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypePairPredicate, name, value)
8250 __swig_getmethods__ = {}
8252 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypePairPredicate, name)
8253 def __init__(self, name="UnorderedTypePairPredicate%1%"):
8255 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
8256 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
8258 this = _IMP_core.new_UnorderedTypePairPredicate(name)
8259 try: self.this.append(this)
8260 except: self.this = this
8261 def get_value(self, *args):
8263 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8264 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8266 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
8268 def get_value_index(self, *args):
8270 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8271 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8273 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
8275 def get_version_info(self):
8276 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
8277 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
8279 __swig_destroy__ = _IMP_core.delete_UnorderedTypePairPredicate
8280 __del__ =
lambda self :
None;
8282 """__str__(UnorderedTypePairPredicate self) -> std::string"""
8283 return _IMP_core.UnorderedTypePairPredicate___str__(self)
8286 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
8287 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
8290 return _object_cast_to_UnorderedTypePairPredicate(o)
8291 get_from = staticmethod(get_from)
8293 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
8294 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
8297 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
8298 __swig_setmethods__ = {}
8300 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypePairPredicate, name, value)
8301 __swig_getmethods__ = {}
8303 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypePairPredicate, name)
8304 def __init__(self, name="OrderedTypePairPredicate%1%"):
8306 __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
8307 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
8309 this = _IMP_core.new_OrderedTypePairPredicate(name)
8310 try: self.this.append(this)
8311 except: self.this = this
8312 def get_value_index(self, *args):
8314 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8315 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8317 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
8319 def get_version_info(self):
8320 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
8321 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
8323 __swig_destroy__ = _IMP_core.delete_OrderedTypePairPredicate
8324 __del__ =
lambda self :
None;
8325 def get_value(self, *args):
8327 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8328 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8329 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
8331 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
8334 """__str__(OrderedTypePairPredicate self) -> std::string"""
8335 return _IMP_core.OrderedTypePairPredicate___str__(self)
8338 """__repr__(OrderedTypePairPredicate self) -> std::string"""
8339 return _IMP_core.OrderedTypePairPredicate___repr__(self)
8342 return _object_cast_to_OrderedTypePairPredicate(o)
8343 get_from = staticmethod(get_from)
8345 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
8346 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
8349 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
8350 __swig_setmethods__ = {}
8352 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSamePairPredicate, name, value)
8353 __swig_getmethods__ = {}
8355 __getattr__ =
lambda self, name: _swig_getattr(self, AllSamePairPredicate, name)
8356 def __init__(self, name="AllSamePairPredicate%1%"):
8358 __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
8359 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
8361 this = _IMP_core.new_AllSamePairPredicate(name)
8362 try: self.this.append(this)
8363 except: self.this = this
8364 def get_value(self, *args):
8366 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8367 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8369 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
8371 def get_value_index(self, *args):
8373 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8374 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8376 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
8378 def get_version_info(self):
8379 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
8380 return _IMP_core.AllSamePairPredicate_get_version_info(self)
8382 __swig_destroy__ = _IMP_core.delete_AllSamePairPredicate
8383 __del__ =
lambda self :
None;
8385 """__str__(AllSamePairPredicate self) -> std::string"""
8386 return _IMP_core.AllSamePairPredicate___str__(self)
8389 """__repr__(AllSamePairPredicate self) -> std::string"""
8390 return _IMP_core.AllSamePairPredicate___repr__(self)
8393 return _object_cast_to_AllSamePairPredicate(o)
8394 get_from = staticmethod(get_from)
8396 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
8397 AllSamePairPredicate_swigregister(AllSamePairPredicate)
8400 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
8401 __swig_setmethods__ = {}
8403 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipPairPredicate, name, value)
8404 __swig_getmethods__ = {}
8406 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipPairPredicate, name)
8407 def __init__(self, *args):
8409 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
8410 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
8412 this = _IMP_core.new_CoinFlipPairPredicate(*args)
8413 try: self.this.append(this)
8414 except: self.this = this
8415 def get_value(self, *args):
8417 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8418 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8420 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
8422 def get_value_index(self, *args):
8424 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8425 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8427 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
8429 def get_version_info(self):
8430 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
8431 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
8433 __swig_destroy__ = _IMP_core.delete_CoinFlipPairPredicate
8434 __del__ =
lambda self :
None;
8436 """__str__(CoinFlipPairPredicate self) -> std::string"""
8437 return _IMP_core.CoinFlipPairPredicate___str__(self)
8440 """__repr__(CoinFlipPairPredicate self) -> std::string"""
8441 return _IMP_core.CoinFlipPairPredicate___repr__(self)
8444 return _object_cast_to_CoinFlipPairPredicate(o)
8445 get_from = staticmethod(get_from)
8447 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
8448 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
8451 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
8452 __swig_setmethods__ = {}
8454 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantTripletPredicate, name, value)
8455 __swig_getmethods__ = {}
8457 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantTripletPredicate, name)
8458 def __init__(self, *args):
8460 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
8461 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
8463 this = _IMP_core.new_ConstantTripletPredicate(*args)
8464 try: self.this.append(this)
8465 except: self.this = this
8466 def get_value(self, *args):
8468 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8469 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8471 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
8473 def get_value_index(self, *args):
8475 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8476 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8478 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
8480 def get_version_info(self):
8481 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
8482 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
8484 __swig_destroy__ = _IMP_core.delete_ConstantTripletPredicate
8485 __del__ =
lambda self :
None;
8487 """__str__(ConstantTripletPredicate self) -> std::string"""
8488 return _IMP_core.ConstantTripletPredicate___str__(self)
8491 """__repr__(ConstantTripletPredicate self) -> std::string"""
8492 return _IMP_core.ConstantTripletPredicate___repr__(self)
8495 return _object_cast_to_ConstantTripletPredicate(o)
8496 get_from = staticmethod(get_from)
8498 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
8499 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
8502 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
8503 __swig_setmethods__ = {}
8505 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeTripletPredicate, name, value)
8506 __swig_getmethods__ = {}
8508 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeTripletPredicate, name)
8509 def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
8511 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
8512 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
8514 this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
8515 try: self.this.append(this)
8516 except: self.this = this
8517 def get_value(self, *args):
8519 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8520 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8522 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
8524 def get_value_index(self, *args):
8526 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8527 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8529 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
8531 def get_version_info(self):
8532 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
8533 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
8535 __swig_destroy__ = _IMP_core.delete_UnorderedTypeTripletPredicate
8536 __del__ =
lambda self :
None;
8538 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
8539 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
8542 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
8543 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
8546 return _object_cast_to_UnorderedTypeTripletPredicate(o)
8547 get_from = staticmethod(get_from)
8549 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
8550 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
8553 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
8554 __swig_setmethods__ = {}
8556 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeTripletPredicate, name, value)
8557 __swig_getmethods__ = {}
8559 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeTripletPredicate, name)
8560 def __init__(self, name="OrderedTypeTripletPredicate%1%"):
8562 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
8563 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
8565 this = _IMP_core.new_OrderedTypeTripletPredicate(name)
8566 try: self.this.append(this)
8567 except: self.this = this
8568 def get_value_index(self, *args):
8570 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8571 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8573 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8575 def get_version_info(self):
8576 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8577 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8579 __swig_destroy__ = _IMP_core.delete_OrderedTypeTripletPredicate
8580 __del__ =
lambda self :
None;
8581 def get_value(self, *args):
8583 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8584 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8585 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
8587 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8590 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8591 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8594 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8595 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8598 return _object_cast_to_OrderedTypeTripletPredicate(o)
8599 get_from = staticmethod(get_from)
8601 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8602 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8605 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8606 __swig_setmethods__ = {}
8608 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameTripletPredicate, name, value)
8609 __swig_getmethods__ = {}
8611 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameTripletPredicate, name)
8612 def __init__(self, name="AllSameTripletPredicate%1%"):
8614 __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8615 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8617 this = _IMP_core.new_AllSameTripletPredicate(name)
8618 try: self.this.append(this)
8619 except: self.this = this
8620 def get_value(self, *args):
8622 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8623 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8625 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8627 def get_value_index(self, *args):
8629 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8630 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8632 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8634 def get_version_info(self):
8635 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8636 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8638 __swig_destroy__ = _IMP_core.delete_AllSameTripletPredicate
8639 __del__ =
lambda self :
None;
8641 """__str__(AllSameTripletPredicate self) -> std::string"""
8642 return _IMP_core.AllSameTripletPredicate___str__(self)
8645 """__repr__(AllSameTripletPredicate self) -> std::string"""
8646 return _IMP_core.AllSameTripletPredicate___repr__(self)
8649 return _object_cast_to_AllSameTripletPredicate(o)
8650 get_from = staticmethod(get_from)
8652 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8653 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8656 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8657 __swig_setmethods__ = {}
8659 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipTripletPredicate, name, value)
8660 __swig_getmethods__ = {}
8662 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipTripletPredicate, name)
8663 def __init__(self, *args):
8665 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8666 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8668 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8669 try: self.this.append(this)
8670 except: self.this = this
8671 def get_value(self, *args):
8673 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8674 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8676 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8678 def get_value_index(self, *args):
8680 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8681 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8683 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8685 def get_version_info(self):
8686 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8687 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8689 __swig_destroy__ = _IMP_core.delete_CoinFlipTripletPredicate
8690 __del__ =
lambda self :
None;
8692 """__str__(CoinFlipTripletPredicate self) -> std::string"""
8693 return _IMP_core.CoinFlipTripletPredicate___str__(self)
8696 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8697 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8700 return _object_cast_to_CoinFlipTripletPredicate(o)
8701 get_from = staticmethod(get_from)
8703 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8704 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8707 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8708 __swig_setmethods__ = {}
8710 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantQuadPredicate, name, value)
8711 __swig_getmethods__ = {}
8713 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantQuadPredicate, name)
8714 def __init__(self, *args):
8716 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8717 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8719 this = _IMP_core.new_ConstantQuadPredicate(*args)
8720 try: self.this.append(this)
8721 except: self.this = this
8722 def get_value(self, *args):
8724 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8725 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8727 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8729 def get_value_index(self, *args):
8731 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8732 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8734 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8736 def get_version_info(self):
8737 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
8738 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
8740 __swig_destroy__ = _IMP_core.delete_ConstantQuadPredicate
8741 __del__ =
lambda self :
None;
8743 """__str__(ConstantQuadPredicate self) -> std::string"""
8744 return _IMP_core.ConstantQuadPredicate___str__(self)
8747 """__repr__(ConstantQuadPredicate self) -> std::string"""
8748 return _IMP_core.ConstantQuadPredicate___repr__(self)
8751 return _object_cast_to_ConstantQuadPredicate(o)
8752 get_from = staticmethod(get_from)
8754 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
8755 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
8758 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
8759 __swig_setmethods__ = {}
8761 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeQuadPredicate, name, value)
8762 __swig_getmethods__ = {}
8764 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeQuadPredicate, name)
8765 def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
8767 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
8768 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
8770 this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
8771 try: self.this.append(this)
8772 except: self.this = this
8773 def get_value(self, *args):
8775 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8776 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8778 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
8780 def get_value_index(self, *args):
8782 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8783 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8785 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
8787 def get_version_info(self):
8788 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
8789 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
8791 __swig_destroy__ = _IMP_core.delete_UnorderedTypeQuadPredicate
8792 __del__ =
lambda self :
None;
8794 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
8795 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
8798 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
8799 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
8802 return _object_cast_to_UnorderedTypeQuadPredicate(o)
8803 get_from = staticmethod(get_from)
8805 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
8806 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
8809 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
8810 __swig_setmethods__ = {}
8812 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeQuadPredicate, name, value)
8813 __swig_getmethods__ = {}
8815 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeQuadPredicate, name)
8816 def __init__(self, name="OrderedTypeQuadPredicate%1%"):
8818 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
8819 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
8821 this = _IMP_core.new_OrderedTypeQuadPredicate(name)
8822 try: self.this.append(this)
8823 except: self.this = this
8824 def get_value_index(self, *args):
8826 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8827 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8829 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
8831 def get_version_info(self):
8832 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
8833 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
8835 __swig_destroy__ = _IMP_core.delete_OrderedTypeQuadPredicate
8836 __del__ =
lambda self :
None;
8837 def get_value(self, *args):
8839 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8840 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8841 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
8843 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
8846 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
8847 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
8850 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
8851 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
8854 return _object_cast_to_OrderedTypeQuadPredicate(o)
8855 get_from = staticmethod(get_from)
8857 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
8858 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
8861 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
8862 __swig_setmethods__ = {}
8864 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameQuadPredicate, name, value)
8865 __swig_getmethods__ = {}
8867 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameQuadPredicate, name)
8868 def __init__(self, name="AllSameQuadPredicate%1%"):
8870 __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
8871 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
8873 this = _IMP_core.new_AllSameQuadPredicate(name)
8874 try: self.this.append(this)
8875 except: self.this = this
8876 def get_value(self, *args):
8878 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8879 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8881 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
8883 def get_value_index(self, *args):
8885 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8886 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8888 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
8890 def get_version_info(self):
8891 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
8892 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
8894 __swig_destroy__ = _IMP_core.delete_AllSameQuadPredicate
8895 __del__ =
lambda self :
None;
8897 """__str__(AllSameQuadPredicate self) -> std::string"""
8898 return _IMP_core.AllSameQuadPredicate___str__(self)
8901 """__repr__(AllSameQuadPredicate self) -> std::string"""
8902 return _IMP_core.AllSameQuadPredicate___repr__(self)
8905 return _object_cast_to_AllSameQuadPredicate(o)
8906 get_from = staticmethod(get_from)
8908 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
8909 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
8912 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
8913 __swig_setmethods__ = {}
8915 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipQuadPredicate, name, value)
8916 __swig_getmethods__ = {}
8918 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipQuadPredicate, name)
8919 def __init__(self, *args):
8921 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
8922 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
8924 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
8925 try: self.this.append(this)
8926 except: self.this = this
8927 def get_value(self, *args):
8929 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8930 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8932 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
8934 def get_value_index(self, *args):
8936 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8937 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8939 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
8941 def get_version_info(self):
8942 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
8943 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
8945 __swig_destroy__ = _IMP_core.delete_CoinFlipQuadPredicate
8946 __del__ =
lambda self :
None;
8948 """__str__(CoinFlipQuadPredicate self) -> std::string"""
8949 return _IMP_core.CoinFlipQuadPredicate___str__(self)
8952 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
8953 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
8956 return _object_cast_to_CoinFlipQuadPredicate(o)
8957 get_from = staticmethod(get_from)
8959 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
8960 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
8962 class AngleRestraint(TripletRestraint):
8963 """Proxy of C++ IMP::core::AngleRestraint class"""
8964 __swig_setmethods__ = {}
8965 for _s
in [TripletRestraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
8966 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleRestraint, name, value)
8967 __swig_getmethods__ = {}
8968 for _s
in [TripletRestraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
8969 __getattr__ =
lambda self, name: _swig_getattr(self, AngleRestraint, name)
8970 def __init__(self, *args):
8972 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
8973 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
8975 this = _IMP_core.new_AngleRestraint(*args)
8976 try: self.this.append(this)
8977 except: self.this = this
8978 def do_show(self, *args):
8979 """do_show(AngleRestraint self, _ostream out)"""
8980 return _IMP_core.AngleRestraint_do_show(self, *args)
8982 __swig_destroy__ = _IMP_core.delete_AngleRestraint
8983 __del__ =
lambda self :
None;
8985 """__str__(AngleRestraint self) -> std::string"""
8986 return _IMP_core.AngleRestraint___str__(self)
8989 """__repr__(AngleRestraint self) -> std::string"""
8990 return _IMP_core.AngleRestraint___repr__(self)
8993 return _object_cast_to_AngleRestraint(o)
8994 get_from = staticmethod(get_from)
8996 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
8997 AngleRestraint_swigregister(AngleRestraint)
8999 class RigidBodyMover(MonteCarloMover):
9000 """Proxy of C++ IMP::core::RigidBodyMover class"""
9001 __swig_setmethods__ = {}
9002 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9003 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMover, name, value)
9004 __swig_getmethods__ = {}
9005 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9006 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMover, name)
9007 def __init__(self, *args):
9009 __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9010 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9012 this = _IMP_core.new_RigidBodyMover(*args)
9013 try: self.this.append(this)
9014 except: self.this = this
9015 def set_maximum_translation(self, *args):
9016 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
9017 return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
9019 def set_maximum_rotation(self, *args):
9020 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
9021 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
9023 def get_maximum_translation(self):
9024 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
9025 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
9027 def get_maximum_rotation(self):
9028 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
9029 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
9031 def get_version_info(self):
9032 """get_version_info(RigidBodyMover self) -> VersionInfo"""
9033 return _IMP_core.RigidBodyMover_get_version_info(self)
9035 __swig_destroy__ = _IMP_core.delete_RigidBodyMover
9036 __del__ =
lambda self :
None;
9038 """__str__(RigidBodyMover self) -> std::string"""
9039 return _IMP_core.RigidBodyMover___str__(self)
9042 """__repr__(RigidBodyMover self) -> std::string"""
9043 return _IMP_core.RigidBodyMover___repr__(self)
9046 return _object_cast_to_RigidBodyMover(o)
9047 get_from = staticmethod(get_from)
9049 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
9050 RigidBodyMover_swigregister(RigidBodyMover)
9053 """Proxy of C++ IMP::core::VolumeRestraint class"""
9054 __swig_setmethods__ = {}
9055 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9056 __setattr__ =
lambda self, name, value: _swig_setattr(self, VolumeRestraint, name, value)
9057 __swig_getmethods__ = {}
9058 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9059 __getattr__ =
lambda self, name: _swig_getattr(self, VolumeRestraint, name)
9060 def __init__(self, *args):
9061 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
9062 this = _IMP_core.new_VolumeRestraint(*args)
9063 try: self.this.append(this)
9064 except: self.this = this
9066 """get_input_particles(VolumeRestraint self) -> IMP::kernel::ParticlesTemp"""
9067 return _IMP_core.VolumeRestraint_get_input_particles(self)
9070 """get_input_containers(VolumeRestraint self) -> IMP::kernel::ContainersTemp"""
9071 return _IMP_core.VolumeRestraint_get_input_containers(self)
9073 def do_get_inputs(self):
9074 """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
9075 return _IMP_core.VolumeRestraint_do_get_inputs(self)
9077 def get_version_info(self):
9078 """get_version_info(VolumeRestraint self) -> VersionInfo"""
9079 return _IMP_core.VolumeRestraint_get_version_info(self)
9081 def do_show(self, *args):
9082 """do_show(VolumeRestraint self, _ostream out)"""
9083 return _IMP_core.VolumeRestraint_do_show(self, *args)
9085 __swig_destroy__ = _IMP_core.delete_VolumeRestraint
9086 __del__ =
lambda self :
None;
9088 """__str__(VolumeRestraint self) -> std::string"""
9089 return _IMP_core.VolumeRestraint___str__(self)
9092 """__repr__(VolumeRestraint self) -> std::string"""
9093 return _IMP_core.VolumeRestraint___repr__(self)
9096 return _object_cast_to_VolumeRestraint(o)
9097 get_from = staticmethod(get_from)
9099 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
9100 VolumeRestraint_swigregister(VolumeRestraint)
9104 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
9105 return _IMP_core.get_centroid(*args)
9108 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
9109 return _IMP_core.get_bounding_box(*args)
9111 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
9112 __swig_setmethods__ = {}
9114 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoveStatisticsScoreState, name, value)
9115 __swig_getmethods__ = {}
9117 __getattr__ =
lambda self, name: _swig_getattr(self, MoveStatisticsScoreState, name)
9118 def __init__(self, *args):
9119 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
9120 this = _IMP_core.new_MoveStatisticsScoreState(*args)
9121 try: self.this.append(this)
9122 except: self.this = this
9123 def show_statistics(self, *args):
9125 show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
9126 show_statistics(MoveStatisticsScoreState self)
9128 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
9131 """reset(MoveStatisticsScoreState self)"""
9132 return _IMP_core.MoveStatisticsScoreState_reset(self)
9135 """get_input_particles(MoveStatisticsScoreState self) -> IMP::kernel::ParticlesTemp"""
9136 return _IMP_core.MoveStatisticsScoreState_get_input_particles(self)
9139 """get_input_containers(MoveStatisticsScoreState self) -> IMP::kernel::ContainersTemp"""
9140 return _IMP_core.MoveStatisticsScoreState_get_input_containers(self)
9142 def do_get_inputs(self):
9143 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9144 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
9147 """get_output_particles(MoveStatisticsScoreState self) -> IMP::kernel::ParticlesTemp"""
9148 return _IMP_core.MoveStatisticsScoreState_get_output_particles(self)
9151 """get_output_containers(MoveStatisticsScoreState self) -> IMP::kernel::ContainersTemp"""
9152 return _IMP_core.MoveStatisticsScoreState_get_output_containers(self)
9154 def do_get_outputs(self):
9155 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9156 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
9158 def get_version_info(self):
9159 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
9160 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
9162 def do_show(self, *args):
9163 """do_show(MoveStatisticsScoreState self, _ostream out)"""
9164 return _IMP_core.MoveStatisticsScoreState_do_show(self, *args)
9166 __swig_destroy__ = _IMP_core.delete_MoveStatisticsScoreState
9167 __del__ =
lambda self :
None;
9169 """__str__(MoveStatisticsScoreState self) -> std::string"""
9170 return _IMP_core.MoveStatisticsScoreState___str__(self)
9173 """__repr__(MoveStatisticsScoreState self) -> std::string"""
9174 return _IMP_core.MoveStatisticsScoreState___repr__(self)
9177 return _object_cast_to_MoveStatisticsScoreState(o)
9178 get_from = staticmethod(get_from)
9180 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
9181 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
9183 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
9185 """Proxy of C++ IMP::core::Typed class"""
9186 __swig_setmethods__ = {}
9187 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9188 __setattr__ =
lambda self, name, value: _swig_setattr(self, Typed, name, value)
9189 __swig_getmethods__ = {}
9190 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9191 __getattr__ =
lambda self, name: _swig_getattr(self, Typed, name)
9193 """get_type_key() -> IntKey"""
9194 return _IMP_core.Typed_get_type_key()
9196 if _newclass:get_type_key = staticmethod(get_type_key)
9197 __swig_getmethods__[
"get_type_key"] =
lambda x: get_type_key
9198 def __init__(self, *args):
9200 __init__(IMP::core::Typed self) -> Typed
9201 __init__(IMP::core::Typed self, Model m, IMP::kernel::ParticleIndex id) -> Typed
9202 __init__(IMP::core::Typed self, Particle p) -> Typed
9204 this = _IMP_core.new_Typed(*args)
9205 try: self.this.append(this)
9206 except: self.this = this
9207 def decorate_particle(*args):
9208 """decorate_particle(Particle p) -> Typed"""
9209 return _IMP_core.Typed_decorate_particle(*args)
9211 if _newclass:decorate_particle = staticmethod(decorate_particle)
9212 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
9213 def show(self, *args):
9215 show(Typed self, _ostream out=std::cout)
9218 return _IMP_core.Typed_show(self, *args)
9220 def setup_particle(*args):
9221 """setup_particle(Particle p, ParticleType t) -> Typed"""
9222 return _IMP_core.Typed_setup_particle(*args)
9224 if _newclass:setup_particle = staticmethod(setup_particle)
9225 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
9226 def particle_is_instance(*args):
9228 particle_is_instance(Particle p) -> bool
9229 particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9231 return _IMP_core.Typed_particle_is_instance(*args)
9233 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
9234 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
9236 """get_type(Typed self) -> ParticleType"""
9237 return _IMP_core.Typed_get_type(self)
9239 def add_attribute(self, *args):
9241 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
9242 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
9243 add_attribute(Typed self, IntKey a0, IMP::Int a1)
9244 add_attribute(Typed self, StringKey a0, IMP::String a1)
9245 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
9246 add_attribute(Typed self, ObjectKey a0, IMP::Object * a1)
9248 return _IMP_core.Typed_add_attribute(self, *args)
9250 def get_value(self, *args):
9252 get_value(Typed self, FloatKey a0) -> IMP::Float
9253 get_value(Typed self, IntKey a0) -> IMP::Int
9254 get_value(Typed self, StringKey a0) -> IMP::String
9255 get_value(Typed self, ParticleIndexKey a0) -> Particle
9256 get_value(Typed self, ObjectKey a0) -> IMP::Object *
9258 return _IMP_core.Typed_get_value(self, *args)
9260 def set_value(self, *args):
9262 set_value(Typed self, FloatKey a0, IMP::Float a1)
9263 set_value(Typed self, IntKey a0, IMP::Int a1)
9264 set_value(Typed self, StringKey a0, IMP::String a1)
9265 set_value(Typed self, ParticleIndexKey a0, Particle a1)
9266 set_value(Typed self, ObjectKey a0, IMP::Object * a1)
9268 return _IMP_core.Typed_set_value(self, *args)
9270 def remove_attribute(self, *args):
9272 remove_attribute(Typed self, FloatKey a0)
9273 remove_attribute(Typed self, IntKey a0)
9274 remove_attribute(Typed self, StringKey a0)
9275 remove_attribute(Typed self, ParticleIndexKey a0)
9276 remove_attribute(Typed self, ObjectKey a0)
9278 return _IMP_core.Typed_remove_attribute(self, *args)
9280 def has_attribute(self, *args):
9282 has_attribute(Typed self, FloatKey a0) -> bool
9283 has_attribute(Typed self, IntKey a0) -> bool
9284 has_attribute(Typed self, StringKey a0) -> bool
9285 has_attribute(Typed self, ParticleIndexKey a0) -> bool
9286 has_attribute(Typed self, ObjectKey a0) -> bool
9288 return _IMP_core.Typed_has_attribute(self, *args)
9290 def get_derivative(self, *args):
9291 """get_derivative(Typed self, FloatKey a0) -> double"""
9292 return _IMP_core.Typed_get_derivative(self, *args)
9295 """get_name(Typed self) -> std::string"""
9296 return _IMP_core.Typed_get_name(self)
9298 def clear_caches(self):
9299 """clear_caches(Typed self)"""
9300 return _IMP_core.Typed_clear_caches(self)
9302 def set_name(self, *args):
9303 """set_name(Typed self, std::string a0)"""
9304 return _IMP_core.Typed_set_name(self, *args)
9307 """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
9308 return _IMP_core.Typed_set_check_level(self, *args)
9310 def add_to_derivative(self, *args):
9311 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9312 return _IMP_core.Typed_add_to_derivative(self, *args)
9314 def set_is_optimized(self, *args):
9315 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
9316 return _IMP_core.Typed_set_is_optimized(self, *args)
9318 def get_is_optimized(self, *args):
9319 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
9320 return _IMP_core.Typed_get_is_optimized(self, *args)
9323 """get_check_level(Typed self) -> IMP::base::CheckLevel"""
9324 return _IMP_core.Typed_get_check_level(self)
9326 def __eq__(self, *args):
9328 __eq__(Typed self, Typed o) -> bool
9329 __eq__(Typed self, Particle d) -> bool
9331 return _IMP_core.Typed___eq__(self, *args)
9333 def __ne__(self, *args):
9335 __ne__(Typed self, Typed o) -> bool
9336 __ne__(Typed self, Particle d) -> bool
9338 return _IMP_core.Typed___ne__(self, *args)
9340 def __le__(self, *args):
9342 __le__(Typed self, Typed o) -> bool
9343 __le__(Typed self, Particle d) -> bool
9345 return _IMP_core.Typed___le__(self, *args)
9347 def __lt__(self, *args):
9349 __lt__(Typed self, Typed o) -> bool
9350 __lt__(Typed self, Particle d) -> bool
9352 return _IMP_core.Typed___lt__(self, *args)
9354 def __ge__(self, *args):
9356 __ge__(Typed self, Typed o) -> bool
9357 __ge__(Typed self, Particle d) -> bool
9359 return _IMP_core.Typed___ge__(self, *args)
9361 def __gt__(self, *args):
9363 __gt__(Typed self, Typed o) -> bool
9364 __gt__(Typed self, Particle d) -> bool
9366 return _IMP_core.Typed___gt__(self, *args)
9369 """__str__(Typed self) -> std::string"""
9370 return _IMP_core.Typed___str__(self)
9373 """__repr__(Typed self) -> std::string"""
9374 return _IMP_core.Typed___repr__(self)
9376 __swig_destroy__ = _IMP_core.delete_Typed
9377 __del__ =
lambda self :
None;
9378 Typed_swigregister = _IMP_core.Typed_swigregister
9379 Typed_swigregister(Typed)
9381 def Typed_get_type_key():
9382 """Typed_get_type_key() -> IntKey"""
9383 return _IMP_core.Typed_get_type_key()
9385 def Typed_decorate_particle(*args):
9386 """Typed_decorate_particle(Particle p) -> Typed"""
9387 return _IMP_core.Typed_decorate_particle(*args)
9389 def Typed_setup_particle(*args):
9390 """Typed_setup_particle(Particle p, ParticleType t) -> Typed"""
9391 return _IMP_core.Typed_setup_particle(*args)
9393 def Typed_particle_is_instance(*args):
9395 particle_is_instance(Particle p) -> bool
9396 Typed_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9398 return _IMP_core.Typed_particle_is_instance(*args)
9401 def __lshift__(*args):
9403 __lshift__(_ostream out, XYZ n) -> _ostream
9404 __lshift__(_ostream out, XYZR n) -> _ostream
9405 __lshift__(_ostream out, Centroid n) -> _ostream
9406 __lshift__(_ostream out, Cover n) -> _ostream
9407 __lshift__(_ostream out, Reference n) -> _ostream
9408 __lshift__(_ostream out, RigidMember n) -> _ostream
9409 __lshift__(_ostream out, RigidBody n) -> _ostream
9410 __lshift__(_ostream out, Typed n) -> _ostream
9412 return _IMP_core.__lshift__(*args)
9413 class WriteRestraintScoresOptimizerState(PeriodicOptimizerState):
9414 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9415 __swig_setmethods__ = {}
9416 for _s
in [PeriodicOptimizerState]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9417 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteRestraintScoresOptimizerState, name, value)
9418 __swig_getmethods__ = {}
9419 for _s
in [PeriodicOptimizerState]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9420 __getattr__ =
lambda self, name: _swig_getattr(self, WriteRestraintScoresOptimizerState, name)
9421 def __init__(self, *args):
9422 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9423 this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9424 try: self.this.append(this)
9425 except: self.this = this
9426 def get_version_info(self):
9427 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9428 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9430 __swig_destroy__ = _IMP_core.delete_WriteRestraintScoresOptimizerState
9431 __del__ =
lambda self :
None;
9433 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9434 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9437 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9438 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9441 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9442 get_from = staticmethod(get_from)
9444 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9445 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9449 """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9450 return _IMP_core.assign_blame(*args)
9454 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9455 std::string name=std::string()) -> IMP::display::Geometries
9456 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9457 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9459 return _IMP_core.create_blame_geometries(*args)
9463 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9464 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9465 get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9467 return _IMP_core.get_transformation_aligning_first_to_second(*args)
9469 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9470 __swig_setmethods__ = {}
9472 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicLowerBound, name, value)
9473 __swig_getmethods__ = {}
9475 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicLowerBound, name)
9476 def __init__(self, *args):
9478 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9479 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9481 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9482 try: self.this.append(this)
9483 except: self.this = this
9484 def get_version_info(self):
9485 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9486 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9488 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicLowerBound
9489 __del__ =
lambda self :
None;
9491 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9492 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9495 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9496 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9499 return _object_cast_to_TruncatedHarmonic(o)
9500 get_from = staticmethod(get_from)
9502 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9503 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9506 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9507 __swig_setmethods__ = {}
9509 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicUpperBound, name, value)
9510 __swig_getmethods__ = {}
9512 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicUpperBound, name)
9513 def __init__(self, *args):
9515 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9516 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9518 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9519 try: self.this.append(this)
9520 except: self.this = this
9521 def get_version_info(self):
9522 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9523 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9525 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicUpperBound
9526 __del__ =
lambda self :
None;
9528 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9529 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9532 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9533 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9536 return _object_cast_to_TruncatedHarmonic(o)
9537 get_from = staticmethod(get_from)
9539 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9540 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9543 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9544 __swig_setmethods__ = {}
9546 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicBound, name, value)
9547 __swig_getmethods__ = {}
9549 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicBound, name)
9550 def __init__(self, *args):
9552 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9553 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9555 this = _IMP_core.new_TruncatedHarmonicBound(*args)
9556 try: self.this.append(this)
9557 except: self.this = this
9558 def get_version_info(self):
9559 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9560 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
9562 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicBound
9563 __del__ =
lambda self :
None;
9565 """__str__(TruncatedHarmonicBound self) -> std::string"""
9566 return _IMP_core.TruncatedHarmonicBound___str__(self)
9569 """__repr__(TruncatedHarmonicBound self) -> std::string"""
9570 return _IMP_core.TruncatedHarmonicBound___repr__(self)
9573 return _object_cast_to_TruncatedHarmonic(o)
9574 get_from = staticmethod(get_from)
9576 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
9577 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
9580 """Proxy of C++ IMP::Key<(34897493,true)> class"""
9581 __swig_setmethods__ = {}
9582 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9583 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleType, name, value)
9584 __swig_getmethods__ = {}
9585 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9586 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleType, name)
9587 def __init__(self, *args):
9589 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
9590 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
9591 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
9593 this = _IMP_core.new_ParticleType(*args)
9594 try: self.this.append(this)
9595 except: self.this = this
9597 """add_key(std::string sc) -> unsigned int"""
9598 return _IMP_core.ParticleType_add_key(*args)
9600 if _newclass:add_key = staticmethod(add_key)
9601 __swig_getmethods__[
"add_key"] =
lambda x: add_key
9602 def get_key_exists(*args):
9603 """get_key_exists(std::string sc) -> bool"""
9604 return _IMP_core.ParticleType_get_key_exists(*args)
9606 if _newclass:get_key_exists = staticmethod(get_key_exists)
9607 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
9608 def get_string(self):
9609 """get_string(ParticleType self) -> std::string const"""
9610 return _IMP_core.ParticleType_get_string(self)
9612 def __eq__(self, *args):
9613 """__eq__(ParticleType self, ParticleType o) -> bool"""
9614 return _IMP_core.ParticleType___eq__(self, *args)
9616 def __ne__(self, *args):
9617 """__ne__(ParticleType self, ParticleType o) -> bool"""
9618 return _IMP_core.ParticleType___ne__(self, *args)
9620 def __lt__(self, *args):
9621 """__lt__(ParticleType self, ParticleType o) -> bool"""
9622 return _IMP_core.ParticleType___lt__(self, *args)
9624 def __gt__(self, *args):
9625 """__gt__(ParticleType self, ParticleType o) -> bool"""
9626 return _IMP_core.ParticleType___gt__(self, *args)
9628 def __ge__(self, *args):
9629 """__ge__(ParticleType self, ParticleType o) -> bool"""
9630 return _IMP_core.ParticleType___ge__(self, *args)
9632 def __le__(self, *args):
9633 """__le__(ParticleType self, ParticleType o) -> bool"""
9634 return _IMP_core.ParticleType___le__(self, *args)
9637 """__hash__(ParticleType self) -> std::size_t"""
9638 return _IMP_core.ParticleType___hash__(self)
9640 def show(self, *args):
9642 show(ParticleType self, _ostream out=std::cout)
9643 show(ParticleType self)
9645 return _IMP_core.ParticleType_show(self, *args)
9647 def add_alias(*args):
9648 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9649 return _IMP_core.ParticleType_add_alias(*args)
9651 if _newclass:add_alias = staticmethod(add_alias)
9652 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
9654 """get_index(ParticleType self) -> unsigned int"""
9655 return _IMP_core.ParticleType_get_index(self)
9657 def show_all(*args):
9658 """show_all(_ostream out)"""
9659 return _IMP_core.ParticleType_show_all(*args)
9661 if _newclass:show_all = staticmethod(show_all)
9662 __swig_getmethods__[
"show_all"] =
lambda x: show_all
9663 def get_all_strings():
9664 """get_all_strings() -> IMP::base::Vector< std::string >"""
9665 return _IMP_core.ParticleType_get_all_strings()
9667 if _newclass:get_all_strings = staticmethod(get_all_strings)
9668 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
9669 def get_number_unique():
9670 """get_number_unique() -> unsigned int"""
9671 return _IMP_core.ParticleType_get_number_unique()
9673 if _newclass:get_number_unique = staticmethod(get_number_unique)
9674 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
9676 """__str__(ParticleType self) -> std::string"""
9677 return _IMP_core.ParticleType___str__(self)
9680 """__repr__(ParticleType self) -> std::string"""
9681 return _IMP_core.ParticleType___repr__(self)
9683 __swig_destroy__ = _IMP_core.delete_ParticleType
9684 __del__ =
lambda self :
None;
9685 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
9686 ParticleType_swigregister(ParticleType)
9688 def ParticleType_add_key(*args):
9689 """ParticleType_add_key(std::string sc) -> unsigned int"""
9690 return _IMP_core.ParticleType_add_key(*args)
9692 def ParticleType_get_key_exists(*args):
9693 """ParticleType_get_key_exists(std::string sc) -> bool"""
9694 return _IMP_core.ParticleType_get_key_exists(*args)
9696 def ParticleType_add_alias(*args):
9697 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9698 return _IMP_core.ParticleType_add_alias(*args)
9700 def ParticleType_show_all(*args):
9701 """ParticleType_show_all(_ostream out)"""
9702 return _IMP_core.ParticleType_show_all(*args)
9704 def ParticleType_get_all_strings():
9705 """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
9706 return _IMP_core.ParticleType_get_all_strings()
9708 def ParticleType_get_number_unique():
9709 """ParticleType_get_number_unique() -> unsigned int"""
9710 return _IMP_core.ParticleType_get_number_unique()
9713 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
9714 __swig_setmethods__ = {}
9716 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonScore, name, value)
9717 __swig_getmethods__ = {}
9719 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonScore, name)
9720 __repr__ = _swig_repr
9721 def __init__(self, *args):
9722 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
9723 this = _IMP_core.new_AttributeSingletonScore(*args)
9724 try: self.this.append(this)
9725 except: self.this = this
9726 def do_create_current_decomposition(self, *args):
9727 """do_create_current_decomposition(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
9728 return _IMP_core.AttributeSingletonScore_do_create_current_decomposition(self, *args)
9730 def get_version_info(self):
9731 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
9732 return _IMP_core.AttributeSingletonScore_get_version_info(self)
9734 def do_show(self, *args):
9735 """do_show(AttributeSingletonScore self, _ostream out)"""
9736 return _IMP_core.AttributeSingletonScore_do_show(self, *args)
9738 __swig_destroy__ = _IMP_core.delete_AttributeSingletonScore
9739 __del__ =
lambda self :
None;
9740 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
9741 AttributeSingletonScore_swigregister(AttributeSingletonScore)
9745 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
9746 return _IMP_core.create_attribute_singleton_score(*args)
9748 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
9749 __swig_setmethods__ = {}
9751 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3DSingletonScore, name, value)
9752 __swig_getmethods__ = {}
9754 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3DSingletonScore, name)
9755 __repr__ = _swig_repr
9756 def __init__(self, *args):
9757 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
9758 this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
9759 try: self.this.append(this)
9760 except: self.this = this
9761 def do_create_current_decomposition(self, *args):
9762 """do_create_current_decomposition(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
9763 return _IMP_core.BoundingBox3DSingletonScore_do_create_current_decomposition(self, *args)
9765 def get_version_info(self):
9766 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
9767 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
9769 def do_show(self, *args):
9770 """do_show(BoundingBox3DSingletonScore self, _ostream out)"""
9771 return _IMP_core.BoundingBox3DSingletonScore_do_show(self, *args)
9773 __swig_destroy__ = _IMP_core.delete_BoundingBox3DSingletonScore
9774 __del__ =
lambda self :
None;
9775 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
9776 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
9779 def create_bounding_box_3d_singleton_score(*args):
9780 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
9781 return _IMP_core.create_bounding_box_3d_singleton_score(*args)
9783 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
9784 __swig_setmethods__ = {}
9786 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceToSingletonScore, name, value)
9787 __swig_getmethods__ = {}
9789 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceToSingletonScore, name)
9790 __repr__ = _swig_repr
9791 def __init__(self, *args):
9792 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
9793 this = _IMP_core.new_DistanceToSingletonScore(*args)
9794 try: self.this.append(this)
9795 except: self.this = this
9796 def do_create_current_decomposition(self, *args):
9797 """do_create_current_decomposition(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
9798 return _IMP_core.DistanceToSingletonScore_do_create_current_decomposition(self, *args)
9800 def get_version_info(self):
9801 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
9802 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
9804 def do_show(self, *args):
9805 """do_show(DistanceToSingletonScore self, _ostream out)"""
9806 return _IMP_core.DistanceToSingletonScore_do_show(self, *args)
9808 __swig_destroy__ = _IMP_core.delete_DistanceToSingletonScore
9809 __del__ =
lambda self :
None;
9810 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
9811 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
9814 def create_distance_to_singleton_score(*args):
9815 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
9816 return _IMP_core.create_distance_to_singleton_score(*args)
9818 def get_module_version():
9819 """get_module_version() -> std::string const"""
9820 return _IMP_core.get_module_version()
9822 def get_example_path(*args):
9823 """get_example_path(std::string fname) -> std::string"""
9824 return _IMP_core.get_example_path(*args)
9826 def get_data_path(*args):
9827 """get_data_path(std::string fname) -> std::string"""
9828 return _IMP_core.get_data_path(*args)
9829 import _version_check
9830 _version_check.check_version(get_module_version())