11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
28 _IMP_core = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_CORE_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_CORE_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_CORE_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
91 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
95 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
96 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
98 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
102 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
103 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
105 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
113 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, *args)
116 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
117 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
120 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
121 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
124 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
125 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
128 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
129 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
133 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
137 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
141 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
145 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
149 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
153 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
158 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
164 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
171 IMP_DEBUG = _IMP_core.IMP_DEBUG
172 IMP_RELEASE = _IMP_core.IMP_RELEASE
173 IMP_SILENT = _IMP_core.IMP_SILENT
174 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
175 IMP_TERSE = _IMP_core.IMP_TERSE
176 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
177 IMP_MEMORY = _IMP_core.IMP_MEMORY
178 IMP_NONE = _IMP_core.IMP_NONE
179 IMP_USAGE = _IMP_core.IMP_USAGE
180 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_core.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_core.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_core.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_core.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_core.DEFAULT_CHECK
216 NONE = _IMP_core.NONE
217 USAGE = _IMP_core.USAGE
218 USAGE_AND_INTERNAL = _IMP_core.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_core.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_core.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_core._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_core._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_core.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_core.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_core.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_core.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
286 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
287 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
288 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
289 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
290 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
292 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
293 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
294 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
295 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
297 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
298 __swig_setmethods__ = {}
300 __setattr__ =
lambda self, name, value: _swig_setattr(self, _OpenCubicSplineBase, name, value)
301 __swig_getmethods__ = {}
303 __getattr__ =
lambda self, name: _swig_getattr(self, _OpenCubicSplineBase, name)
304 __repr__ = _swig_repr
305 def __init__(self, *args):
307 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
308 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
310 this = _IMP_core.new__OpenCubicSplineBase(*args)
311 try: self.this.append(this)
312 except: self.this = this
313 def get_version_info(self):
314 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
315 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
317 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
318 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
320 _object_types.append(
"MonteCarloMover")
323 def _object_cast_to_MonteCarloMover(*args):
324 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
325 return _IMP_core._object_cast_to_MonteCarloMover(*args)
326 MonteCarloMoverResults=list
327 _plural_types.append(
"MonteCarloMoverResults")
328 _value_types.append(
"MonteCarloMoverResult")
330 _object_types.append(
"AngleRestraint")
333 def _object_cast_to_AngleRestraint(*args):
334 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
335 return _IMP_core._object_cast_to_AngleRestraint(*args)
336 _object_types.append(
"AngleTripletScore")
339 def _object_cast_to_AngleTripletScore(*args):
340 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
341 return _IMP_core._object_cast_to_AngleTripletScore(*args)
342 _object_types.append(
"AttributeSingletonScore")
345 def _object_cast_to_AttributeSingletonScore(*args):
346 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
347 return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
348 _object_types.append(
"BallMover")
351 def _object_cast_to_BallMover(*args):
352 """_object_cast_to_BallMover(Object o) -> BallMover"""
353 return _IMP_core._object_cast_to_BallMover(*args)
354 _object_types.append(
"SerialMover")
357 def _object_cast_to_SerialMover(*args):
358 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
359 return _IMP_core._object_cast_to_SerialMover(*args)
360 _object_types.append(
"BoundingBox3DSingletonScore")
363 def _object_cast_to_BoundingBox3DSingletonScore(*args):
364 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
365 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
366 _object_types.append(
"BoxSweepClosePairsFinder")
369 def _object_cast_to_BoxSweepClosePairsFinder(*args):
370 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
371 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
372 _object_types.append(
"NearestNeighborsClosePairsFinder")
375 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
376 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
377 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
378 _object_types.append(
"CentroidOfRefined")
381 def _object_cast_to_CentroidOfRefined(*args):
382 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
383 return _IMP_core._object_cast_to_CentroidOfRefined(*args)
384 _object_types.append(
"ChecksScoreState")
387 def _object_cast_to_ChecksScoreState(*args):
388 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
389 return _IMP_core._object_cast_to_ChecksScoreState(*args)
390 _object_types.append(
"ChildrenRefiner")
393 def _object_cast_to_ChildrenRefiner(*args):
394 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
395 return _IMP_core._object_cast_to_ChildrenRefiner(*args)
396 _object_types.append(
"ClosePairsFinder")
399 def _object_cast_to_ClosePairsFinder(*args):
400 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
401 return _IMP_core._object_cast_to_ClosePairsFinder(*args)
402 _object_types.append(
"ClosePairsPairScore")
405 def _object_cast_to_ClosePairsPairScore(*args):
406 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
407 return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
408 _object_types.append(
"ClosedCubicSpline")
411 def _object_cast_to_ClosedCubicSpline(*args):
412 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
413 return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
414 _object_types.append(
"ConjugateGradients")
417 def _object_cast_to_ConjugateGradients(*args):
418 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
419 return _IMP_core._object_cast_to_ConjugateGradients(*args)
420 _object_types.append(
"ConnectivityRestraint")
423 def _object_cast_to_ConnectivityRestraint(*args):
424 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
425 return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
426 _object_types.append(
"ConstantRestraint")
429 def _object_cast_to_ConstantRestraint(*args):
430 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
431 return _IMP_core._object_cast_to_ConstantRestraint(*args)
432 _object_types.append(
"Cosine")
435 def _object_cast_to_Cosine(*args):
436 """_object_cast_to_Cosine(Object o) -> Cosine"""
437 return _IMP_core._object_cast_to_Cosine(*args)
438 _object_types.append(
"CoverRefined")
441 def _object_cast_to_CoverRefined(*args):
442 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
443 return _IMP_core._object_cast_to_CoverRefined(*args)
444 _object_types.append(
"DerivativesFromRefined")
447 def _object_cast_to_DerivativesFromRefined(*args):
448 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
449 return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
450 _object_types.append(
"DerivativesToRefined")
453 def _object_cast_to_DerivativesToRefined(*args):
454 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
455 return _IMP_core._object_cast_to_DerivativesToRefined(*args)
456 _object_types.append(
"DiameterRestraint")
459 def _object_cast_to_DiameterRestraint(*args):
460 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
461 return _IMP_core._object_cast_to_DiameterRestraint(*args)
462 _object_types.append(
"DihedralRestraint")
465 def _object_cast_to_DihedralRestraint(*args):
466 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
467 return _IMP_core._object_cast_to_DihedralRestraint(*args)
468 _object_types.append(
"DistanceRestraint")
471 def _object_cast_to_DistanceRestraint(*args):
472 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
473 return _IMP_core._object_cast_to_DistanceRestraint(*args)
474 _object_types.append(
"DistanceToSingletonScore")
477 def _object_cast_to_DistanceToSingletonScore(*args):
478 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
479 return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
480 _object_types.append(
"ExcludedVolumeRestraint")
483 def _object_cast_to_ExcludedVolumeRestraint(*args):
484 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
485 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
486 _object_types.append(
"FixedRefiner")
489 def _object_cast_to_FixedRefiner(*args):
490 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
491 return _IMP_core._object_cast_to_FixedRefiner(*args)
492 _object_types.append(
"GridClosePairsFinder")
495 def _object_cast_to_GridClosePairsFinder(*args):
496 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
497 return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
498 _object_types.append(
"Harmonic")
501 def _object_cast_to_Harmonic(*args):
502 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
503 return _IMP_core._object_cast_to_Harmonic(*args)
504 _object_types.append(
"HarmonicWell")
507 def _object_cast_to_HarmonicWell(*args):
508 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
509 return _IMP_core._object_cast_to_HarmonicWell(*args)
510 _object_types.append(
"HarmonicLowerBound")
513 def _object_cast_to_HarmonicLowerBound(*args):
514 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
515 return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
516 _object_types.append(
"HarmonicUpperBound")
519 def _object_cast_to_HarmonicUpperBound(*args):
520 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
521 return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
522 _object_types.append(
"HarmonicSphereDistancePairScore")
525 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
526 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
527 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
528 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
531 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
532 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
533 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
534 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
537 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
538 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
539 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
540 _object_types.append(
"IncrementalScoringFunction")
543 def _object_cast_to_IncrementalScoringFunction(*args):
544 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
545 return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
546 _object_types.append(
"KClosePairsPairScore")
549 def _object_cast_to_KClosePairsPairScore(*args):
550 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
551 return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
552 _object_types.append(
"LeavesRefiner")
555 def _object_cast_to_LeavesRefiner(*args):
556 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
557 return _IMP_core._object_cast_to_LeavesRefiner(*args)
558 _object_types.append(
"Linear")
561 def _object_cast_to_Linear(*args):
562 """_object_cast_to_Linear(Object o) -> Linear"""
563 return _IMP_core._object_cast_to_Linear(*args)
564 _object_types.append(
"MCCGSampler")
567 def _object_cast_to_MCCGSampler(*args):
568 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
569 return _IMP_core._object_cast_to_MCCGSampler(*args)
570 _object_types.append(
"MonteCarlo")
573 def _object_cast_to_MonteCarlo(*args):
574 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
575 return _IMP_core._object_cast_to_MonteCarlo(*args)
576 _object_types.append(
"MonteCarloWithLocalOptimization")
579 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
580 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
581 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
582 _object_types.append(
"MonteCarloWithBasinHopping")
585 def _object_cast_to_MonteCarloWithBasinHopping(*args):
586 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
587 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
588 _object_types.append(
"MSConnectivityRestraint")
591 def _object_cast_to_MSConnectivityRestraint(*args):
592 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
593 return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
594 _object_types.append(
"NeighborsTable")
597 def _object_cast_to_NeighborsTable(*args):
598 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
599 return _IMP_core._object_cast_to_NeighborsTable(*args)
600 _object_types.append(
"NormalMover")
603 def _object_cast_to_NormalMover(*args):
604 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
605 return _IMP_core._object_cast_to_NormalMover(*args)
606 _object_types.append(
"NormalizedSphereDistancePairScore")
609 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
610 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
611 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
612 _object_types.append(
"OpenCubicSpline")
615 def _object_cast_to_OpenCubicSpline(*args):
616 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
617 return _IMP_core._object_cast_to_OpenCubicSpline(*args)
618 _object_types.append(
"PairConstraint")
621 def _object_cast_to_PairConstraint(*args):
622 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
623 return _IMP_core._object_cast_to_PairConstraint(*args)
624 _object_types.append(
"PairRestraint")
627 def _object_cast_to_PairRestraint(*args):
628 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
629 return _IMP_core._object_cast_to_PairRestraint(*args)
630 _object_types.append(
"QuadConstraint")
633 def _object_cast_to_QuadConstraint(*args):
634 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
635 return _IMP_core._object_cast_to_QuadConstraint(*args)
636 _object_types.append(
"QuadRestraint")
639 def _object_cast_to_QuadRestraint(*args):
640 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
641 return _IMP_core._object_cast_to_QuadRestraint(*args)
642 _object_types.append(
"QuadraticClosePairsFinder")
645 def _object_cast_to_QuadraticClosePairsFinder(*args):
646 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
647 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
648 _object_types.append(
"RefinedPairsPairScore")
651 def _object_cast_to_RefinedPairsPairScore(*args):
652 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
653 return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
654 _object_types.append(
"RestraintsScoringFunction")
657 def _object_cast_to_RestraintsScoringFunction(*args):
658 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
659 return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
660 _object_types.append(
"RigidBodyDistancePairScore")
663 def _object_cast_to_RigidBodyDistancePairScore(*args):
664 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
665 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
666 _object_types.append(
"RigidBodyMover")
669 def _object_cast_to_RigidBodyMover(*args):
670 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
671 return _IMP_core._object_cast_to_RigidBodyMover(*args)
672 _object_types.append(
"RigidBodyTunneler")
675 def _object_cast_to_RigidBodyTunneler(*args):
676 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
677 return _IMP_core._object_cast_to_RigidBodyTunneler(*args)
678 _object_types.append(
"RigidClosePairsFinder")
681 def _object_cast_to_RigidClosePairsFinder(*args):
682 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
683 return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
684 _object_types.append(
"RigidMembersRefiner")
687 def _object_cast_to_RigidMembersRefiner(*args):
688 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
689 return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
690 _object_types.append(
"SingletonConstraint")
693 def _object_cast_to_SingletonConstraint(*args):
694 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
695 return _IMP_core._object_cast_to_SingletonConstraint(*args)
696 _object_types.append(
"SingletonRestraint")
699 def _object_cast_to_SingletonRestraint(*args):
700 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
701 return _IMP_core._object_cast_to_SingletonRestraint(*args)
702 _object_types.append(
"SoftSpherePairScore")
705 def _object_cast_to_SoftSpherePairScore(*args):
706 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
707 return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
708 _object_types.append(
"SphereDistancePairScore")
711 def _object_cast_to_SphereDistancePairScore(*args):
712 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
713 return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
714 _object_types.append(
"SphereDistanceToSingletonScore")
717 def _object_cast_to_SphereDistanceToSingletonScore(*args):
718 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
719 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
720 _object_types.append(
"SteepestDescent")
723 def _object_cast_to_SteepestDescent(*args):
724 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
725 return _IMP_core._object_cast_to_SteepestDescent(*args)
726 _object_types.append(
"TableRefiner")
729 def _object_cast_to_TableRefiner(*args):
730 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
731 return _IMP_core._object_cast_to_TableRefiner(*args)
732 _object_types.append(
"Transform")
735 def _object_cast_to_Transform(*args):
736 """_object_cast_to_Transform(Object o) -> Transform"""
737 return _IMP_core._object_cast_to_Transform(*args)
738 _object_types.append(
"TransformationAndReflectionSymmetry")
741 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
742 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
743 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
744 _object_types.append(
"TransformationSymmetry")
747 def _object_cast_to_TransformationSymmetry(*args):
748 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
749 return _IMP_core._object_cast_to_TransformationSymmetry(*args)
750 _object_types.append(
"TransformedDistancePairScore")
753 def _object_cast_to_TransformedDistancePairScore(*args):
754 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
755 return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
756 _object_types.append(
"TripletConstraint")
759 def _object_cast_to_TripletConstraint(*args):
760 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
761 return _IMP_core._object_cast_to_TripletConstraint(*args)
762 _object_types.append(
"TripletRestraint")
765 def _object_cast_to_TripletRestraint(*args):
766 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
767 return _IMP_core._object_cast_to_TripletRestraint(*args)
768 _object_types.append(
"TypedPairScore")
771 def _object_cast_to_TypedPairScore(*args):
772 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
773 return _IMP_core._object_cast_to_TypedPairScore(*args)
774 _object_types.append(
"VolumeRestraint")
777 def _object_cast_to_VolumeRestraint(*args):
778 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
779 return _IMP_core._object_cast_to_VolumeRestraint(*args)
780 _object_types.append(
"WeightedSphereDistancePairScore")
783 def _object_cast_to_WeightedSphereDistancePairScore(*args):
784 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
785 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
786 _object_types.append(
"MoveStatisticsScoreState")
789 def _object_cast_to_MoveStatisticsScoreState(*args):
790 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
791 return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
792 _object_types.append(
"MinimumRestraint")
795 def _object_cast_to_MinimumRestraint(*args):
796 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
797 return _IMP_core._object_cast_to_MinimumRestraint(*args)
798 _object_types.append(
"WriteRestraintScoresOptimizerState")
801 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
802 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
803 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
804 _object_types.append(
"ConstantSingletonPredicate")
807 def _object_cast_to_ConstantSingletonPredicate(*args):
808 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
809 return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
810 _object_types.append(
"ConstantPairPredicate")
813 def _object_cast_to_ConstantPairPredicate(*args):
814 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
815 return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
816 _object_types.append(
"ConstantTripletPredicate")
819 def _object_cast_to_ConstantTripletPredicate(*args):
820 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
821 return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
822 _object_types.append(
"ConstantQuadPredicate")
825 def _object_cast_to_ConstantQuadPredicate(*args):
826 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
827 return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
828 _object_types.append(
"CoinFlipSingletonPredicate")
831 def _object_cast_to_CoinFlipSingletonPredicate(*args):
832 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
833 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
834 _object_types.append(
"CoinFlipPairPredicate")
837 def _object_cast_to_CoinFlipPairPredicate(*args):
838 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
839 return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
840 _object_types.append(
"CoinFlipTripletPredicate")
843 def _object_cast_to_CoinFlipTripletPredicate(*args):
844 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
845 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
846 _object_types.append(
"CoinFlipQuadPredicate")
849 def _object_cast_to_CoinFlipQuadPredicate(*args):
850 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
851 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
852 _object_types.append(
"UnorderedTypeSingletonPredicate")
855 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
856 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
857 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
858 _object_types.append(
"UnorderedTypePairPredicate")
861 def _object_cast_to_UnorderedTypePairPredicate(*args):
862 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
863 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
864 _object_types.append(
"UnorderedTypeTripletPredicate")
867 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
868 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
869 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
870 _object_types.append(
"UnorderedTypeQuadPredicate")
873 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
874 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
875 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
876 _object_types.append(
"OrderedTypeSingletonPredicate")
879 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
880 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
881 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
882 _object_types.append(
"OrderedTypePairPredicate")
885 def _object_cast_to_OrderedTypePairPredicate(*args):
886 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
887 return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
888 _object_types.append(
"OrderedTypeTripletPredicate")
891 def _object_cast_to_OrderedTypeTripletPredicate(*args):
892 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
893 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
894 _object_types.append(
"OrderedTypeQuadPredicate")
897 def _object_cast_to_OrderedTypeQuadPredicate(*args):
898 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
899 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
900 _object_types.append(
"AllSameSingletonPredicate")
903 def _object_cast_to_AllSameSingletonPredicate(*args):
904 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
905 return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
906 _object_types.append(
"AllSamePairPredicate")
909 def _object_cast_to_AllSamePairPredicate(*args):
910 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
911 return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
912 _object_types.append(
"AllSameTripletPredicate")
915 def _object_cast_to_AllSameTripletPredicate(*args):
916 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
917 return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
918 _object_types.append(
"AllSameQuadPredicate")
921 def _object_cast_to_AllSameQuadPredicate(*args):
922 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
923 return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
925 return [XYZ(x)
for x
in l]
926 _plural_types.append(
"XYZs")
928 _value_types.append(
"XYZ")
931 return [XYZR(x)
for x
in l]
932 _plural_types.append(
"XYZRs")
934 _value_types.append(
"XYZR")
937 return [Gaussian(x)
for x
in l]
938 _plural_types.append(
"Gaussians")
940 _value_types.append(
"Gaussian")
942 def RigidBodies(l=[]):
943 return [RigidBody(x)
for x
in l]
944 _plural_types.append(
"RigidBodies")
946 _value_types.append(
"RigidBody")
948 def RigidBodyMembers(l=[]):
949 return [RigidBodyMember(x)
for x
in l]
950 _plural_types.append(
"RigidBodyMembers")
952 _value_types.append(
"RigidBodyMember")
954 def RigidMembers(l=[]):
955 return [RigidMember(x)
for x
in l]
956 _plural_types.append(
"RigidMembers")
958 _value_types.append(
"RigidMember")
960 def NonRigidMembers(l=[]):
961 return [NonRigidMember(x)
for x
in l]
962 _plural_types.append(
"NonRigidMembers")
964 _value_types.append(
"NonRigidMember")
967 return [Centroid(x)
for x
in l]
968 _plural_types.append(
"Centroids")
970 _value_types.append(
"Centroid")
973 return [Cover(x)
for x
in l]
974 _plural_types.append(
"Covers")
976 _value_types.append(
"Cover")
978 def References(l=[]):
979 return [Reference(x)
for x
in l]
980 _plural_types.append(
"References")
982 _value_types.append(
"Reference")
985 _plural_types.append(
"ParticleTypes")
986 _value_types.append(
"ParticleType")
989 return [Typed(x)
for x
in l]
990 _plural_types.append(
"Typeds")
992 _value_types.append(
"Typed")
994 def GenericHierarchies(l=[]):
995 return [Hierarchy(x)
for x
in l]
996 _plural_types.append(
"GenericHierarchies")
998 _value_types.append(
"Hierarchy")
1000 HierarchyCounters=list
1001 _plural_types.append(
"HierarchyCounters")
1002 _value_types.append(
"HierarchyCounter")
1004 HierarchyTraitsList=list
1005 _plural_types.append(
"HierarchyTraitsList")
1006 _value_types.append(
"HierarchyTraits")
1008 _object_types.append(
"TruncatedHarmonicBound")
1011 def _object_cast_to_TruncatedHarmonicBound(*args):
1012 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1013 return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
1014 _object_types.append(
"TruncatedHarmonicLowerBound")
1017 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1018 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1019 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1020 _object_types.append(
"TruncatedHarmonicUpperBound")
1023 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1024 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1025 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1026 _object_types.append(
"HarmonicDistancePairScore")
1029 def _object_cast_to_HarmonicDistancePairScore(*args):
1030 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1031 return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1032 _object_types.append(
"DistancePairScore")
1035 def _object_cast_to_DistancePairScore(*args):
1036 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1037 return _IMP_core._object_cast_to_DistancePairScore(*args)
1038 _object_types.append(
"XYZRGeometry")
1041 def _object_cast_to_XYZRGeometry(*args):
1042 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1043 return _IMP_core._object_cast_to_XYZRGeometry(*args)
1044 _object_types.append(
"XYZRsGeometry")
1047 def _object_cast_to_XYZRsGeometry(*args):
1048 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1049 return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1050 _object_types.append(
"XYZDerivativeGeometry")
1053 def _object_cast_to_XYZDerivativeGeometry(*args):
1054 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1055 return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1056 _object_types.append(
"XYZDerivativesGeometry")
1059 def _object_cast_to_XYZDerivativesGeometry(*args):
1060 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1061 return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1062 _object_types.append(
"RigidBodyDerivativeGeometry")
1065 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1066 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1067 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1068 _object_types.append(
"RigidBodyDerivativesGeometry")
1071 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1072 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1073 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1074 _object_types.append(
"RigidBodyHierarchyGeometry")
1077 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1078 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1079 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1080 _object_types.append(
"RigidBodyFrameGeometry")
1083 def _object_cast_to_RigidBodyFrameGeometry(*args):
1084 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1085 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1086 _object_types.append(
"RigidBodyFramesGeometry")
1089 def _object_cast_to_RigidBodyFramesGeometry(*args):
1090 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1091 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1092 _object_types.append(
"RigidBodyTorque")
1095 def _object_cast_to_RigidBodyTorque(*args):
1096 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1097 return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1098 _object_types.append(
"EdgePairGeometry")
1101 def _object_cast_to_EdgePairGeometry(*args):
1102 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1103 return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1104 _object_types.append(
"EdgePairsGeometry")
1107 def _object_cast_to_EdgePairsGeometry(*args):
1108 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1109 return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1110 _object_types.append(
"AttributeSingletonPredicate")
1113 def _object_cast_to_AttributeSingletonPredicate(*args):
1114 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1115 return _IMP_core._object_cast_to_AttributeSingletonPredicate(*args)
1116 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1119 def _object_cast_to_InBoundingBox3DSingletonPredicate(*args):
1120 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1121 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(*args)
1122 _object_types.append(
"IsCollisionPairPredicate")
1125 def _object_cast_to_IsCollisionPairPredicate(*args):
1126 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1127 return _IMP_core._object_cast_to_IsCollisionPairPredicate(*args)
1129 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1130 __swig_setmethods__ = {}
1131 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1132 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsFinder, name, value)
1133 __swig_getmethods__ = {}
1134 for _s
in [IMP.kernel._ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1135 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsFinder, name)
1136 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1137 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1138 __del__ =
lambda self :
None;
1139 def get_close_pairs(self, *args):
1141 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1142 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1143 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
1144 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
1145 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1146 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1148 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1150 def set_distance(self, *args):
1151 """set_distance(ClosePairsFinder self, double d)"""
1152 return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1155 """get_distance(ClosePairsFinder self) -> double"""
1156 return _IMP_core.ClosePairsFinder_get_distance(self)
1158 def remove_pair_filter(self, *args):
1159 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1160 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1162 def remove_pair_filters(self, *args):
1163 """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1164 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1166 def set_pair_filters(self, *args):
1167 """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1168 return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1170 def set_pair_filters_order(self, *args):
1171 """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1172 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1174 def add_pair_filter(self, *args):
1175 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1176 return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1178 def add_pair_filters(self, *args):
1179 """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1180 return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1182 def clear_pair_filters(self):
1183 """clear_pair_filters(ClosePairsFinder self)"""
1184 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1186 def get_number_of_pair_filters(self):
1187 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1188 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1190 def get_has_pair_filters(self):
1191 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1192 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1194 def get_pair_filter(self, *args):
1195 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1196 return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1198 def get_pair_filters(self):
1199 """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1200 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1202 def reserve_pair_filters(self, *args):
1203 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1204 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1207 """__str__(ClosePairsFinder self) -> std::string"""
1208 return _IMP_core.ClosePairsFinder___str__(self)
1211 """__repr__(ClosePairsFinder self) -> std::string"""
1212 return _IMP_core.ClosePairsFinder___repr__(self)
1215 return _object_cast_to_ClosePairsFinder(o)
1216 get_from = staticmethod(get_from)
1218 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1219 ClosePairsFinder_swigregister(ClosePairsFinder)
1221 class MonteCarloMoverResult(IMP.base._Value):
1222 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1223 __swig_setmethods__ = {}
1224 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1225 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMoverResult, name, value)
1226 __swig_getmethods__ = {}
1227 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1228 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMoverResult, name)
1229 def __init__(self, *args):
1231 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1232 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1233 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1235 this = _IMP_core.new_MonteCarloMoverResult(*args)
1236 try: self.this.append(this)
1237 except: self.this = this
1239 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1240 return _IMP_core.MonteCarloMoverResult___hash__(self)
1242 def show(self, *args):
1244 show(MonteCarloMoverResult self, _ostream out=std::cout)
1245 show(MonteCarloMoverResult self)
1247 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1249 def __eq__(self, *args):
1250 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1251 return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1253 def __ne__(self, *args):
1254 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1255 return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1257 def __lt__(self, *args):
1258 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1259 return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1261 def __gt__(self, *args):
1262 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1263 return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1265 def __ge__(self, *args):
1266 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1267 return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1269 def __le__(self, *args):
1270 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1271 return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1273 def get_moved_particles(self):
1274 """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1275 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1277 def set_moved_particles(self, *args):
1278 """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1279 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1281 def get_proposal_ratio(self):
1282 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1283 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1285 def set_proposal_ratio(self, *args):
1286 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1287 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1290 """__str__(MonteCarloMoverResult self) -> std::string"""
1291 return _IMP_core.MonteCarloMoverResult___str__(self)
1294 """__repr__(MonteCarloMoverResult self) -> std::string"""
1295 return _IMP_core.MonteCarloMoverResult___repr__(self)
1297 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1298 __del__ =
lambda self :
None;
1299 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1300 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1303 """Proxy of C++ IMP::core::MonteCarloMover class"""
1304 __swig_setmethods__ = {}
1306 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloMover, name, value)
1307 __swig_getmethods__ = {}
1309 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloMover, name)
1310 def __init__(self, *args):
1311 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1312 if self.__class__ == MonteCarloMover:
1316 this = _IMP_core.new_MonteCarloMover(_self, *args)
1317 try: self.this.append(this)
1318 except: self.this = this
1319 if self.__class__ != MonteCarloMover:
1321 IMP.base._director_objects.register(self)
1326 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1327 return _IMP_core.MonteCarloMover_propose(self)
1330 """reject(MonteCarloMover self)"""
1331 return _IMP_core.MonteCarloMover_reject(self)
1334 """accept(MonteCarloMover self)"""
1335 return _IMP_core.MonteCarloMover_accept(self)
1337 def get_number_of_proposed(self):
1338 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1339 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1341 def get_number_of_accepted(self):
1342 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1343 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1345 def reset_statistics(self):
1346 """reset_statistics(MonteCarloMover self)"""
1347 return _IMP_core.MonteCarloMover_reset_statistics(self)
1349 def do_propose(self):
1350 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1351 return _IMP_core.MonteCarloMover_do_propose(self)
1353 def do_reject(self):
1354 """do_reject(MonteCarloMover self)"""
1355 return _IMP_core.MonteCarloMover_do_reject(self)
1357 def do_accept(self):
1358 """do_accept(MonteCarloMover self)"""
1359 return _IMP_core.MonteCarloMover_do_accept(self)
1361 def do_get_outputs(self):
1362 """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1363 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1366 """__str__(MonteCarloMover self) -> std::string"""
1367 return _IMP_core.MonteCarloMover___str__(self)
1370 """__repr__(MonteCarloMover self) -> std::string"""
1371 return _IMP_core.MonteCarloMover___repr__(self)
1374 return _object_cast_to_MonteCarloMover(o)
1375 get_from = staticmethod(get_from)
1377 def get_type_name(self):
1378 return self.__class__.__name__
1379 def do_show(self, out):
1381 def get_version_info(self):
1382 if"IMP::core" ==
"IMP":
1383 return VersionInfo(
"python",
"0")
1385 return IMP.VersionInfo(
"python",
"0")
1387 return _object_cast_to_MonteCarloMover(o)
1388 get_from = staticmethod(get_from)
1390 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1391 __del__ =
lambda self :
None;
1392 def __disown__(self):
1394 _IMP_core.disown_MonteCarloMover(self)
1395 return weakref_proxy(self)
1396 def handle_set_has_required_score_states(self, *args):
1397 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1398 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, *args)
1400 def do_get_inputs(self):
1401 """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1402 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1404 def do_get_interactions(self):
1405 """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1406 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1408 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1409 MonteCarloMover_swigregister(MonteCarloMover)
1412 """Proxy of C++ IMP::core::XYZ class"""
1413 __swig_setmethods__ = {}
1414 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1415 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZ, name, value)
1416 __swig_getmethods__ = {}
1417 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1418 __getattr__ =
lambda self, name: _swig_getattr(self, XYZ, name)
1419 def get_coordinate_key(*args):
1420 """get_coordinate_key(unsigned int i) -> FloatKey"""
1421 return _IMP_core.XYZ_get_coordinate_key(*args)
1423 if _newclass:get_coordinate_key = staticmethod(get_coordinate_key)
1424 __swig_getmethods__[
"get_coordinate_key"] =
lambda x: get_coordinate_key
1425 def __init__(self, *args):
1427 __init__(IMP::core::XYZ self) -> XYZ
1428 __init__(IMP::core::XYZ self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZ
1429 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1431 this = _IMP_core.new_XYZ(*args)
1432 try: self.this.append(this)
1433 except: self.this = this
1434 def decorate_particle(*args):
1435 """decorate_particle(Particle p) -> XYZ"""
1436 return _IMP_core.XYZ_decorate_particle(*args)
1438 if _newclass:decorate_particle = staticmethod(decorate_particle)
1439 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1440 def show(self, *args):
1442 show(XYZ self, _ostream out=std::cout)
1445 return _IMP_core.XYZ_show(self, *args)
1447 def setup_particle(*args):
1449 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1450 setup_particle(_ParticleAdaptor decorator) -> XYZ
1451 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1452 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1454 return _IMP_core.XYZ_setup_particle(*args)
1456 if _newclass:setup_particle = staticmethod(setup_particle)
1457 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1459 """get_x(XYZ self) -> IMP::Float"""
1460 return _IMP_core.XYZ_get_x(self)
1462 def set_x(self, *args):
1463 """set_x(XYZ self, IMP::Float t)"""
1464 return _IMP_core.XYZ_set_x(self, *args)
1467 """get_y(XYZ self) -> IMP::Float"""
1468 return _IMP_core.XYZ_get_y(self)
1470 def set_y(self, *args):
1471 """set_y(XYZ self, IMP::Float t)"""
1472 return _IMP_core.XYZ_set_y(self, *args)
1475 """get_z(XYZ self) -> IMP::Float"""
1476 return _IMP_core.XYZ_get_z(self)
1478 def set_z(self, *args):
1479 """set_z(XYZ self, IMP::Float t)"""
1480 return _IMP_core.XYZ_set_z(self, *args)
1482 def set_coordinate(self, *args):
1483 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1484 return _IMP_core.XYZ_set_coordinate(self, *args)
1486 def set_coordinates(self, *args):
1487 """set_coordinates(XYZ self, Vector3D v)"""
1488 return _IMP_core.XYZ_set_coordinates(self, *args)
1490 def get_coordinate(self, *args):
1491 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1492 return _IMP_core.XYZ_get_coordinate(self, *args)
1494 def add_to_derivatives(self, *args):
1495 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1496 return _IMP_core.XYZ_add_to_derivatives(self, *args)
1498 def get_coordinates_are_optimized(self):
1499 """get_coordinates_are_optimized(XYZ self) -> bool"""
1500 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1502 def set_coordinates_are_optimized(self, *args):
1503 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1504 return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1506 def get_vector_to(self, *args):
1507 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1508 return _IMP_core.XYZ_get_vector_to(self, *args)
1510 def get_coordinates(self):
1511 """get_coordinates(XYZ self) -> Vector3D"""
1512 return _IMP_core.XYZ_get_coordinates(self)
1514 def get_derivatives(self):
1515 """get_derivatives(XYZ self) -> Vector3D"""
1516 return _IMP_core.XYZ_get_derivatives(self)
1518 def get_is_setup(*args):
1520 get_is_setup(_ParticleAdaptor p) -> bool
1521 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1523 return _IMP_core.XYZ_get_is_setup(*args)
1525 if _newclass:get_is_setup = staticmethod(get_is_setup)
1526 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1528 """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1529 return _IMP_core.XYZ_get_xyz_keys()
1531 if _newclass:get_xyz_keys = staticmethod(get_xyz_keys)
1532 __swig_getmethods__[
"get_xyz_keys"] =
lambda x: get_xyz_keys
1533 def add_attribute(self, *args):
1535 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1536 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1537 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1538 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1539 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1540 add_attribute(XYZ self, ObjectKey a0, Object a1)
1542 return _IMP_core.XYZ_add_attribute(self, *args)
1544 def get_value(self, *args):
1546 get_value(XYZ self, FloatKey a0) -> IMP::Float
1547 get_value(XYZ self, IntKey a0) -> IMP::Int
1548 get_value(XYZ self, StringKey a0) -> IMP::String
1549 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1550 get_value(XYZ self, ObjectKey a0) -> Object
1552 return _IMP_core.XYZ_get_value(self, *args)
1554 def set_value(self, *args):
1556 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1557 set_value(XYZ self, IntKey a0, IMP::Int a1)
1558 set_value(XYZ self, StringKey a0, IMP::String a1)
1559 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1560 set_value(XYZ self, ObjectKey a0, Object a1)
1562 return _IMP_core.XYZ_set_value(self, *args)
1564 def remove_attribute(self, *args):
1566 remove_attribute(XYZ self, FloatKey a0)
1567 remove_attribute(XYZ self, IntKey a0)
1568 remove_attribute(XYZ self, StringKey a0)
1569 remove_attribute(XYZ self, ParticleIndexKey a0)
1570 remove_attribute(XYZ self, ObjectKey a0)
1572 return _IMP_core.XYZ_remove_attribute(self, *args)
1574 def has_attribute(self, *args):
1576 has_attribute(XYZ self, FloatKey a0) -> bool
1577 has_attribute(XYZ self, IntKey a0) -> bool
1578 has_attribute(XYZ self, StringKey a0) -> bool
1579 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1580 has_attribute(XYZ self, ObjectKey a0) -> bool
1582 return _IMP_core.XYZ_has_attribute(self, *args)
1584 def get_derivative(self, *args):
1586 get_derivative(XYZ self, int i) -> IMP::Float
1587 get_derivative(XYZ self, FloatKey a0) -> double
1589 return _IMP_core.XYZ_get_derivative(self, *args)
1592 """get_name(XYZ self) -> std::string"""
1593 return _IMP_core.XYZ_get_name(self)
1595 def clear_caches(self):
1596 """clear_caches(XYZ self)"""
1597 return _IMP_core.XYZ_clear_caches(self)
1599 def set_name(self, *args):
1600 """set_name(XYZ self, std::string a0)"""
1601 return _IMP_core.XYZ_set_name(self, *args)
1604 """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1605 return _IMP_core.XYZ_set_check_level(self, *args)
1607 def add_to_derivative(self, *args):
1609 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1610 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1612 return _IMP_core.XYZ_add_to_derivative(self, *args)
1614 def set_is_optimized(self, *args):
1615 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1616 return _IMP_core.XYZ_set_is_optimized(self, *args)
1618 def get_is_optimized(self, *args):
1619 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1620 return _IMP_core.XYZ_get_is_optimized(self, *args)
1623 """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1624 return _IMP_core.XYZ_get_check_level(self)
1626 def __eq__(self, *args):
1628 __eq__(XYZ self, XYZ o) -> bool
1629 __eq__(XYZ self, Particle d) -> bool
1631 return _IMP_core.XYZ___eq__(self, *args)
1633 def __ne__(self, *args):
1635 __ne__(XYZ self, XYZ o) -> bool
1636 __ne__(XYZ self, Particle d) -> bool
1638 return _IMP_core.XYZ___ne__(self, *args)
1640 def __le__(self, *args):
1642 __le__(XYZ self, XYZ o) -> bool
1643 __le__(XYZ self, Particle d) -> bool
1645 return _IMP_core.XYZ___le__(self, *args)
1647 def __lt__(self, *args):
1649 __lt__(XYZ self, XYZ o) -> bool
1650 __lt__(XYZ self, Particle d) -> bool
1652 return _IMP_core.XYZ___lt__(self, *args)
1654 def __ge__(self, *args):
1656 __ge__(XYZ self, XYZ o) -> bool
1657 __ge__(XYZ self, Particle d) -> bool
1659 return _IMP_core.XYZ___ge__(self, *args)
1661 def __gt__(self, *args):
1663 __gt__(XYZ self, XYZ o) -> bool
1664 __gt__(XYZ self, Particle d) -> bool
1666 return _IMP_core.XYZ___gt__(self, *args)
1669 """__str__(XYZ self) -> std::string"""
1670 return _IMP_core.XYZ___str__(self)
1673 """__repr__(XYZ self) -> std::string"""
1674 return _IMP_core.XYZ___repr__(self)
1676 __swig_destroy__ = _IMP_core.delete_XYZ
1677 __del__ =
lambda self :
None;
1678 XYZ_swigregister = _IMP_core.XYZ_swigregister
1679 XYZ_swigregister(XYZ)
1681 def XYZ_get_coordinate_key(*args):
1682 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1683 return _IMP_core.XYZ_get_coordinate_key(*args)
1685 def XYZ_decorate_particle(*args):
1686 """XYZ_decorate_particle(Particle p) -> XYZ"""
1687 return _IMP_core.XYZ_decorate_particle(*args)
1689 def XYZ_setup_particle(*args):
1691 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1692 setup_particle(_ParticleAdaptor decorator) -> XYZ
1693 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1694 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1696 return _IMP_core.XYZ_setup_particle(*args)
1698 def XYZ_get_is_setup(*args):
1700 get_is_setup(_ParticleAdaptor p) -> bool
1701 XYZ_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1703 return _IMP_core.XYZ_get_is_setup(*args)
1705 def XYZ_get_xyz_keys():
1706 """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1707 return _IMP_core.XYZ_get_xyz_keys()
1711 """set_vector_geometry(XYZ d, Vector3D v)"""
1712 return _IMP_core.set_vector_geometry(*args)
1714 def get_vector_geometry(*args):
1715 """get_vector_geometry(XYZ d) -> Vector3D"""
1716 return _IMP_core.get_vector_geometry(*args)
1719 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1720 return _IMP_core.get_dihedral(*args)
1722 """Proxy of C++ IMP::core::XYZR class"""
1723 __swig_setmethods__ = {}
1724 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1725 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZR, name, value)
1726 __swig_getmethods__ = {}
1727 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1728 __getattr__ =
lambda self, name: _swig_getattr(self, XYZR, name)
1729 def __init__(self, *args):
1731 __init__(IMP::core::XYZR self) -> XYZR
1732 __init__(IMP::core::XYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZR
1733 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1735 this = _IMP_core.new_XYZR(*args)
1736 try: self.this.append(this)
1737 except: self.this = this
1738 def decorate_particle(*args):
1739 """decorate_particle(Particle p) -> XYZR"""
1740 return _IMP_core.XYZR_decorate_particle(*args)
1742 if _newclass:decorate_particle = staticmethod(decorate_particle)
1743 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
1744 def show(self, *args):
1746 show(XYZR self, _ostream out=std::cout)
1749 return _IMP_core.XYZR_show(self, *args)
1751 def setup_particle(*args):
1753 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1754 setup_particle(_ParticleAdaptor decorator) -> XYZR
1755 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1756 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1757 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1758 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1760 return _IMP_core.XYZR_setup_particle(*args)
1762 if _newclass:setup_particle = staticmethod(setup_particle)
1763 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
1764 def get_is_setup(*args):
1766 get_is_setup(_ParticleAdaptor p) -> bool
1767 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1769 return _IMP_core.XYZR_get_is_setup(*args)
1771 if _newclass:get_is_setup = staticmethod(get_is_setup)
1772 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
1773 def get_radius(self):
1774 """get_radius(XYZR self) -> double"""
1775 return _IMP_core.XYZR_get_radius(self)
1777 def set_radius(self, *args):
1778 """set_radius(XYZR self, double r)"""
1779 return _IMP_core.XYZR_set_radius(self, *args)
1781 def get_sphere(self):
1782 """get_sphere(XYZR self) -> Sphere3D"""
1783 return _IMP_core.XYZR_get_sphere(self)
1785 def set_sphere(self, *args):
1786 """set_sphere(XYZR self, Sphere3D s)"""
1787 return _IMP_core.XYZR_set_sphere(self, *args)
1789 def get_radius_key():
1790 """get_radius_key() -> FloatKey"""
1791 return _IMP_core.XYZR_get_radius_key()
1793 if _newclass:get_radius_key = staticmethod(get_radius_key)
1794 __swig_getmethods__[
"get_radius_key"] =
lambda x: get_radius_key
1795 def add_to_radius_derivative(self, *args):
1796 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1797 return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1799 def add_attribute(self, *args):
1801 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1802 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1803 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1804 add_attribute(XYZR self, StringKey a0, IMP::String a1)
1805 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1806 add_attribute(XYZR self, ObjectKey a0, Object a1)
1808 return _IMP_core.XYZR_add_attribute(self, *args)
1810 def get_value(self, *args):
1812 get_value(XYZR self, FloatKey a0) -> IMP::Float
1813 get_value(XYZR self, IntKey a0) -> IMP::Int
1814 get_value(XYZR self, StringKey a0) -> IMP::String
1815 get_value(XYZR self, ParticleIndexKey a0) -> Particle
1816 get_value(XYZR self, ObjectKey a0) -> Object
1818 return _IMP_core.XYZR_get_value(self, *args)
1820 def set_value(self, *args):
1822 set_value(XYZR self, FloatKey a0, IMP::Float a1)
1823 set_value(XYZR self, IntKey a0, IMP::Int a1)
1824 set_value(XYZR self, StringKey a0, IMP::String a1)
1825 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1826 set_value(XYZR self, ObjectKey a0, Object a1)
1828 return _IMP_core.XYZR_set_value(self, *args)
1830 def remove_attribute(self, *args):
1832 remove_attribute(XYZR self, FloatKey a0)
1833 remove_attribute(XYZR self, IntKey a0)
1834 remove_attribute(XYZR self, StringKey a0)
1835 remove_attribute(XYZR self, ParticleIndexKey a0)
1836 remove_attribute(XYZR self, ObjectKey a0)
1838 return _IMP_core.XYZR_remove_attribute(self, *args)
1840 def has_attribute(self, *args):
1842 has_attribute(XYZR self, FloatKey a0) -> bool
1843 has_attribute(XYZR self, IntKey a0) -> bool
1844 has_attribute(XYZR self, StringKey a0) -> bool
1845 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1846 has_attribute(XYZR self, ObjectKey a0) -> bool
1848 return _IMP_core.XYZR_has_attribute(self, *args)
1850 def get_derivative(self, *args):
1851 """get_derivative(XYZR self, FloatKey a0) -> double"""
1852 return _IMP_core.XYZR_get_derivative(self, *args)
1855 """get_name(XYZR self) -> std::string"""
1856 return _IMP_core.XYZR_get_name(self)
1858 def clear_caches(self):
1859 """clear_caches(XYZR self)"""
1860 return _IMP_core.XYZR_clear_caches(self)
1862 def set_name(self, *args):
1863 """set_name(XYZR self, std::string a0)"""
1864 return _IMP_core.XYZR_set_name(self, *args)
1867 """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1868 return _IMP_core.XYZR_set_check_level(self, *args)
1870 def add_to_derivative(self, *args):
1871 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1872 return _IMP_core.XYZR_add_to_derivative(self, *args)
1874 def set_is_optimized(self, *args):
1875 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1876 return _IMP_core.XYZR_set_is_optimized(self, *args)
1878 def get_is_optimized(self, *args):
1879 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1880 return _IMP_core.XYZR_get_is_optimized(self, *args)
1883 """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1884 return _IMP_core.XYZR_get_check_level(self)
1886 def __eq__(self, *args):
1888 __eq__(XYZR self, XYZR o) -> bool
1889 __eq__(XYZR self, Particle d) -> bool
1891 return _IMP_core.XYZR___eq__(self, *args)
1893 def __ne__(self, *args):
1895 __ne__(XYZR self, XYZR o) -> bool
1896 __ne__(XYZR self, Particle d) -> bool
1898 return _IMP_core.XYZR___ne__(self, *args)
1900 def __le__(self, *args):
1902 __le__(XYZR self, XYZR o) -> bool
1903 __le__(XYZR self, Particle d) -> bool
1905 return _IMP_core.XYZR___le__(self, *args)
1907 def __lt__(self, *args):
1909 __lt__(XYZR self, XYZR o) -> bool
1910 __lt__(XYZR self, Particle d) -> bool
1912 return _IMP_core.XYZR___lt__(self, *args)
1914 def __ge__(self, *args):
1916 __ge__(XYZR self, XYZR o) -> bool
1917 __ge__(XYZR self, Particle d) -> bool
1919 return _IMP_core.XYZR___ge__(self, *args)
1921 def __gt__(self, *args):
1923 __gt__(XYZR self, XYZR o) -> bool
1924 __gt__(XYZR self, Particle d) -> bool
1926 return _IMP_core.XYZR___gt__(self, *args)
1929 """__str__(XYZR self) -> std::string"""
1930 return _IMP_core.XYZR___str__(self)
1933 """__repr__(XYZR self) -> std::string"""
1934 return _IMP_core.XYZR___repr__(self)
1936 __swig_destroy__ = _IMP_core.delete_XYZR
1937 __del__ =
lambda self :
None;
1938 XYZR_swigregister = _IMP_core.XYZR_swigregister
1939 XYZR_swigregister(XYZR)
1941 def XYZR_decorate_particle(*args):
1942 """XYZR_decorate_particle(Particle p) -> XYZR"""
1943 return _IMP_core.XYZR_decorate_particle(*args)
1945 def XYZR_setup_particle(*args):
1947 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1948 setup_particle(_ParticleAdaptor decorator) -> XYZR
1949 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1950 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1951 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1952 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1954 return _IMP_core.XYZR_setup_particle(*args)
1956 def XYZR_get_is_setup(*args):
1958 get_is_setup(_ParticleAdaptor p) -> bool
1959 XYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1961 return _IMP_core.XYZR_get_is_setup(*args)
1963 def XYZR_get_radius_key():
1964 """XYZR_get_radius_key() -> FloatKey"""
1965 return _IMP_core.XYZR_get_radius_key()
1970 get_distance(XYZ a, XYZ b) -> double
1971 get_distance(XYZR a, XYZR b) -> double
1973 return _IMP_core.get_distance(*args)
1977 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
1978 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
1980 return _IMP_core.set_enclosing_sphere(*args)
1983 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
1984 return _IMP_core.set_enclosing_radius(*args)
1987 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
1988 return _IMP_core.get_enclosing_sphere(*args)
1992 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
1993 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
1995 return _IMP_core.create_xyzr_particles(*args)
1997 """Proxy of C++ IMP::core::XYZRGeometry class"""
1998 __swig_setmethods__ = {}
2000 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRGeometry, name, value)
2001 __swig_getmethods__ = {}
2003 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRGeometry, name)
2004 def __init__(self, *args):
2006 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2007 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2009 this = _IMP_core.new_XYZRGeometry(*args)
2010 try: self.this.append(this)
2011 except: self.this = this
2012 def get_version_info(self):
2013 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2014 return _IMP_core.XYZRGeometry_get_version_info(self)
2017 """__str__(XYZRGeometry self) -> std::string"""
2018 return _IMP_core.XYZRGeometry___str__(self)
2021 """__repr__(XYZRGeometry self) -> std::string"""
2022 return _IMP_core.XYZRGeometry___repr__(self)
2025 return _object_cast_to_XYZRGeometry(o)
2026 get_from = staticmethod(get_from)
2028 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2029 XYZRGeometry_swigregister(XYZRGeometry)
2032 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2033 __swig_setmethods__ = {}
2035 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZRsGeometry, name, value)
2036 __swig_getmethods__ = {}
2038 __getattr__ =
lambda self, name: _swig_getattr(self, XYZRsGeometry, name)
2039 def __init__(self, *args):
2040 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2041 this = _IMP_core.new_XYZRsGeometry(*args)
2042 try: self.this.append(this)
2043 except: self.this = this
2044 def get_version_info(self):
2045 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2046 return _IMP_core.XYZRsGeometry_get_version_info(self)
2049 """__str__(XYZRsGeometry self) -> std::string"""
2050 return _IMP_core.XYZRsGeometry___str__(self)
2053 """__repr__(XYZRsGeometry self) -> std::string"""
2054 return _IMP_core.XYZRsGeometry___repr__(self)
2057 return _object_cast_to_XYZRsGeometry(o)
2058 get_from = staticmethod(get_from)
2060 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2061 XYZRsGeometry_swigregister(XYZRsGeometry)
2064 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2065 __swig_setmethods__ = {}
2067 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativeGeometry, name, value)
2068 __swig_getmethods__ = {}
2070 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativeGeometry, name)
2071 def __init__(self, *args):
2073 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2074 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2076 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2077 try: self.this.append(this)
2078 except: self.this = this
2079 def get_version_info(self):
2080 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2081 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2084 """__str__(XYZDerivativeGeometry self) -> std::string"""
2085 return _IMP_core.XYZDerivativeGeometry___str__(self)
2088 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2089 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2092 return _object_cast_to_XYZDerivativeGeometry(o)
2093 get_from = staticmethod(get_from)
2095 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2096 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2099 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2100 __swig_setmethods__ = {}
2102 __setattr__ =
lambda self, name, value: _swig_setattr(self, XYZDerivativesGeometry, name, value)
2103 __swig_getmethods__ = {}
2105 __getattr__ =
lambda self, name: _swig_getattr(self, XYZDerivativesGeometry, name)
2106 def __init__(self, *args):
2107 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2108 this = _IMP_core.new_XYZDerivativesGeometry(*args)
2109 try: self.this.append(this)
2110 except: self.this = this
2111 def get_version_info(self):
2112 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2113 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2116 """__str__(XYZDerivativesGeometry self) -> std::string"""
2117 return _IMP_core.XYZDerivativesGeometry___str__(self)
2120 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2121 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2124 return _object_cast_to_XYZDerivativesGeometry(o)
2125 get_from = staticmethod(get_from)
2127 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2128 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2131 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2132 __swig_setmethods__ = {}
2134 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairGeometry, name, value)
2135 __swig_getmethods__ = {}
2137 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairGeometry, name)
2138 def __init__(self, *args):
2139 """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2140 this = _IMP_core.new_EdgePairGeometry(*args)
2141 try: self.this.append(this)
2142 except: self.this = this
2143 def get_version_info(self):
2144 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2145 return _IMP_core.EdgePairGeometry_get_version_info(self)
2148 """__str__(EdgePairGeometry self) -> std::string"""
2149 return _IMP_core.EdgePairGeometry___str__(self)
2152 """__repr__(EdgePairGeometry self) -> std::string"""
2153 return _IMP_core.EdgePairGeometry___repr__(self)
2156 return _object_cast_to_EdgePairGeometry(o)
2157 get_from = staticmethod(get_from)
2159 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2160 EdgePairGeometry_swigregister(EdgePairGeometry)
2163 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2164 __swig_setmethods__ = {}
2166 __setattr__ =
lambda self, name, value: _swig_setattr(self, EdgePairsGeometry, name, value)
2167 __swig_getmethods__ = {}
2169 __getattr__ =
lambda self, name: _swig_getattr(self, EdgePairsGeometry, name)
2170 def __init__(self, *args):
2171 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2172 this = _IMP_core.new_EdgePairsGeometry(*args)
2173 try: self.this.append(this)
2174 except: self.this = this
2175 def get_version_info(self):
2176 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2177 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2180 """__str__(EdgePairsGeometry self) -> std::string"""
2181 return _IMP_core.EdgePairsGeometry___str__(self)
2184 """__repr__(EdgePairsGeometry self) -> std::string"""
2185 return _IMP_core.EdgePairsGeometry___repr__(self)
2188 return _object_cast_to_EdgePairsGeometry(o)
2189 get_from = staticmethod(get_from)
2191 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2192 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2194 class Gaussian(_object):
2195 """Proxy of C++ IMP::core::Gaussian class"""
2196 __swig_setmethods__ = {}
2197 __setattr__ =
lambda self, name, value: _swig_setattr(self, Gaussian, name, value)
2198 __swig_getmethods__ = {}
2199 __getattr__ =
lambda self, name: _swig_getattr(self, Gaussian, name)
2200 def __init__(self, *args):
2202 __init__(IMP::core::Gaussian self) -> Gaussian
2203 __init__(IMP::core::Gaussian self, Model m, ::IMP::kernel::ParticleIndex id) -> Gaussian
2204 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
2206 this = _IMP_core.new_Gaussian(*args)
2207 try: self.this.append(this)
2208 except: self.this = this
2209 def decorate_particle(*args):
2210 """decorate_particle(Particle p) -> Gaussian"""
2211 return _IMP_core.Gaussian_decorate_particle(*args)
2213 if _newclass:decorate_particle = staticmethod(decorate_particle)
2214 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
2215 def show(self, *args):
2217 show(Gaussian self, _ostream out=std::cout)
2220 return _IMP_core.Gaussian_show(self, *args)
2222 def setup_particle(*args):
2224 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
2225 setup_particle(_ParticleAdaptor decorator) -> Gaussian
2226 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
2227 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
2229 return _IMP_core.Gaussian_setup_particle(*args)
2231 if _newclass:setup_particle = staticmethod(setup_particle)
2232 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
2234 """get_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
2235 return _IMP_core.Gaussian_get_covariance(self)
2237 def set_gaussian(self, *args):
2238 """set_gaussian(Gaussian self, Gaussian3D g)"""
2239 return _IMP_core.Gaussian_set_gaussian(self, *args)
2241 def set_variances(self, *args):
2242 """set_variances(Gaussian self, Vector3D radii)"""
2243 return _IMP_core.Gaussian_set_variances(self, *args)
2245 def get_variances(self):
2246 """get_variances(Gaussian self) -> Vector3D"""
2247 return _IMP_core.Gaussian_get_variances(self)
2249 def get_gaussian(self):
2250 """get_gaussian(Gaussian self) -> Gaussian3D"""
2251 return _IMP_core.Gaussian_get_gaussian(self)
2253 def get_variance_key(*args):
2254 """get_variance_key(unsigned int i) -> FloatKey"""
2255 return _IMP_core.Gaussian_get_variance_key(*args)
2257 if _newclass:get_variance_key = staticmethod(get_variance_key)
2258 __swig_getmethods__[
"get_variance_key"] =
lambda x: get_variance_key
2259 def get_is_setup(*args):
2261 get_is_setup(_ParticleAdaptor p) -> bool
2262 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2264 return _IMP_core.Gaussian_get_is_setup(*args)
2266 if _newclass:get_is_setup = staticmethod(get_is_setup)
2267 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
2268 def add_attribute(self, *args):
2270 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
2271 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
2272 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
2273 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
2274 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
2275 add_attribute(Gaussian self, ObjectKey a0, Object a1)
2277 return _IMP_core.Gaussian_add_attribute(self, *args)
2279 def get_value(self, *args):
2281 get_value(Gaussian self, FloatKey a0) -> IMP::Float
2282 get_value(Gaussian self, IntKey a0) -> IMP::Int
2283 get_value(Gaussian self, StringKey a0) -> IMP::String
2284 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
2285 get_value(Gaussian self, ObjectKey a0) -> Object
2287 return _IMP_core.Gaussian_get_value(self, *args)
2289 def set_value(self, *args):
2291 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
2292 set_value(Gaussian self, IntKey a0, IMP::Int a1)
2293 set_value(Gaussian self, StringKey a0, IMP::String a1)
2294 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
2295 set_value(Gaussian self, ObjectKey a0, Object a1)
2297 return _IMP_core.Gaussian_set_value(self, *args)
2299 def remove_attribute(self, *args):
2301 remove_attribute(Gaussian self, FloatKey a0)
2302 remove_attribute(Gaussian self, IntKey a0)
2303 remove_attribute(Gaussian self, StringKey a0)
2304 remove_attribute(Gaussian self, ParticleIndexKey a0)
2305 remove_attribute(Gaussian self, ObjectKey a0)
2307 return _IMP_core.Gaussian_remove_attribute(self, *args)
2309 def has_attribute(self, *args):
2311 has_attribute(Gaussian self, FloatKey a0) -> bool
2312 has_attribute(Gaussian self, IntKey a0) -> bool
2313 has_attribute(Gaussian self, StringKey a0) -> bool
2314 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
2315 has_attribute(Gaussian self, ObjectKey a0) -> bool
2317 return _IMP_core.Gaussian_has_attribute(self, *args)
2319 def get_derivative(self, *args):
2320 """get_derivative(Gaussian self, FloatKey a0) -> double"""
2321 return _IMP_core.Gaussian_get_derivative(self, *args)
2324 """get_name(Gaussian self) -> std::string"""
2325 return _IMP_core.Gaussian_get_name(self)
2327 def clear_caches(self):
2328 """clear_caches(Gaussian self)"""
2329 return _IMP_core.Gaussian_clear_caches(self)
2331 def set_name(self, *args):
2332 """set_name(Gaussian self, std::string a0)"""
2333 return _IMP_core.Gaussian_set_name(self, *args)
2336 """set_check_level(Gaussian self, IMP::base::CheckLevel a0)"""
2337 return _IMP_core.Gaussian_set_check_level(self, *args)
2339 def add_to_derivative(self, *args):
2340 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2341 return _IMP_core.Gaussian_add_to_derivative(self, *args)
2343 def set_is_optimized(self, *args):
2344 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
2345 return _IMP_core.Gaussian_set_is_optimized(self, *args)
2347 def get_is_optimized(self, *args):
2348 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
2349 return _IMP_core.Gaussian_get_is_optimized(self, *args)
2352 """get_check_level(Gaussian self) -> IMP::base::CheckLevel"""
2353 return _IMP_core.Gaussian_get_check_level(self)
2355 def __eq__(self, *args):
2357 __eq__(Gaussian self, Gaussian o) -> bool
2358 __eq__(Gaussian self, Particle d) -> bool
2360 return _IMP_core.Gaussian___eq__(self, *args)
2362 def __ne__(self, *args):
2364 __ne__(Gaussian self, Gaussian o) -> bool
2365 __ne__(Gaussian self, Particle d) -> bool
2367 return _IMP_core.Gaussian___ne__(self, *args)
2369 def __le__(self, *args):
2371 __le__(Gaussian self, Gaussian o) -> bool
2372 __le__(Gaussian self, Particle d) -> bool
2374 return _IMP_core.Gaussian___le__(self, *args)
2376 def __lt__(self, *args):
2378 __lt__(Gaussian self, Gaussian o) -> bool
2379 __lt__(Gaussian self, Particle d) -> bool
2381 return _IMP_core.Gaussian___lt__(self, *args)
2383 def __ge__(self, *args):
2385 __ge__(Gaussian self, Gaussian o) -> bool
2386 __ge__(Gaussian self, Particle d) -> bool
2388 return _IMP_core.Gaussian___ge__(self, *args)
2390 def __gt__(self, *args):
2392 __gt__(Gaussian self, Gaussian o) -> bool
2393 __gt__(Gaussian self, Particle d) -> bool
2395 return _IMP_core.Gaussian___gt__(self, *args)
2398 """__str__(Gaussian self) -> std::string"""
2399 return _IMP_core.Gaussian___str__(self)
2402 """__repr__(Gaussian self) -> std::string"""
2403 return _IMP_core.Gaussian___repr__(self)
2405 __swig_destroy__ = _IMP_core.delete_Gaussian
2406 __del__ =
lambda self :
None;
2407 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
2408 Gaussian_swigregister(Gaussian)
2410 def Gaussian_decorate_particle(*args):
2411 """Gaussian_decorate_particle(Particle p) -> Gaussian"""
2412 return _IMP_core.Gaussian_decorate_particle(*args)
2414 def Gaussian_setup_particle(*args):
2416 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
2417 setup_particle(_ParticleAdaptor decorator) -> Gaussian
2418 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
2419 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
2421 return _IMP_core.Gaussian_setup_particle(*args)
2423 def Gaussian_get_variance_key(*args):
2424 """Gaussian_get_variance_key(unsigned int i) -> FloatKey"""
2425 return _IMP_core.Gaussian_get_variance_key(*args)
2427 def Gaussian_get_is_setup(*args):
2429 get_is_setup(_ParticleAdaptor p) -> bool
2430 Gaussian_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2432 return _IMP_core.Gaussian_get_is_setup(*args)
2435 """Proxy of C++ IMP::core::AngleTripletScore class"""
2436 __swig_setmethods__ = {}
2438 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleTripletScore, name, value)
2439 __swig_getmethods__ = {}
2441 __getattr__ =
lambda self, name: _swig_getattr(self, AngleTripletScore, name)
2442 def __init__(self, *args):
2443 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2444 this = _IMP_core.new_AngleTripletScore(*args)
2445 try: self.this.append(this)
2446 except: self.this = this
2447 def do_get_inputs(self, *args):
2448 """do_get_inputs(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2449 return _IMP_core.AngleTripletScore_do_get_inputs(self, *args)
2451 def get_version_info(self):
2452 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2453 return _IMP_core.AngleTripletScore_get_version_info(self)
2456 """__str__(AngleTripletScore self) -> std::string"""
2457 return _IMP_core.AngleTripletScore___str__(self)
2460 """__repr__(AngleTripletScore self) -> std::string"""
2461 return _IMP_core.AngleTripletScore___repr__(self)
2464 return _object_cast_to_AngleTripletScore(o)
2465 get_from = staticmethod(get_from)
2467 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2468 AngleTripletScore_swigregister(AngleTripletScore)
2470 class BallMover(MonteCarloMover):
2471 """Proxy of C++ IMP::core::BallMover class"""
2472 __swig_setmethods__ = {}
2473 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2474 __setattr__ =
lambda self, name, value: _swig_setattr(self, BallMover, name, value)
2475 __swig_getmethods__ = {}
2476 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2477 __getattr__ =
lambda self, name: _swig_getattr(self, BallMover, name)
2478 def __init__(self, *args):
2480 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2481 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2482 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2483 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2485 this = _IMP_core.new_BallMover(*args)
2486 try: self.this.append(this)
2487 except: self.this = this
2488 def set_radius(self, *args):
2489 """set_radius(BallMover self, IMP::Float radius)"""
2490 return _IMP_core.BallMover_set_radius(self, *args)
2492 def get_radius(self):
2493 """get_radius(BallMover self) -> IMP::Float"""
2494 return _IMP_core.BallMover_get_radius(self)
2496 def get_version_info(self):
2497 """get_version_info(BallMover self) -> VersionInfo"""
2498 return _IMP_core.BallMover_get_version_info(self)
2501 """__str__(BallMover self) -> std::string"""
2502 return _IMP_core.BallMover___str__(self)
2505 """__repr__(BallMover self) -> std::string"""
2506 return _IMP_core.BallMover___repr__(self)
2509 return _object_cast_to_BallMover(o)
2510 get_from = staticmethod(get_from)
2512 BallMover_swigregister = _IMP_core.BallMover_swigregister
2513 BallMover_swigregister(BallMover)
2515 class SerialMover(MonteCarloMover):
2516 """Proxy of C++ IMP::core::SerialMover class"""
2517 __swig_setmethods__ = {}
2518 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2519 __setattr__ =
lambda self, name, value: _swig_setattr(self, SerialMover, name, value)
2520 __swig_getmethods__ = {}
2521 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2522 __getattr__ =
lambda self, name: _swig_getattr(self, SerialMover, name)
2523 def __init__(self, *args):
2524 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2525 this = _IMP_core.new_SerialMover(*args)
2526 try: self.this.append(this)
2527 except: self.this = this
2528 def get_movers(self):
2529 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2530 return _IMP_core.SerialMover_get_movers(self)
2532 def get_version_info(self):
2533 """get_version_info(SerialMover self) -> VersionInfo"""
2534 return _IMP_core.SerialMover_get_version_info(self)
2537 """__str__(SerialMover self) -> std::string"""
2538 return _IMP_core.SerialMover___str__(self)
2541 """__repr__(SerialMover self) -> std::string"""
2542 return _IMP_core.SerialMover___repr__(self)
2545 return _object_cast_to_SerialMover(o)
2546 get_from = staticmethod(get_from)
2548 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2549 SerialMover_swigregister(SerialMover)
2551 class BoxSweepClosePairsFinder(ClosePairsFinder):
2552 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2553 __swig_setmethods__ = {}
2554 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2555 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoxSweepClosePairsFinder, name, value)
2556 __swig_getmethods__ = {}
2557 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2558 __getattr__ =
lambda self, name: _swig_getattr(self, BoxSweepClosePairsFinder, name)
2560 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2561 this = _IMP_core.new_BoxSweepClosePairsFinder()
2562 try: self.this.append(this)
2563 except: self.this = this
2564 def get_close_pairs(self, *args):
2566 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
2567 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
2568 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2569 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2570 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
2571 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
2573 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2575 def do_get_inputs(self, *args):
2576 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2577 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, *args)
2579 def get_version_info(self):
2580 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2581 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2584 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2585 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2588 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2589 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2592 return _object_cast_to_BoxSweepClosePairsFinder(o)
2593 get_from = staticmethod(get_from)
2595 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2596 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2599 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2600 __swig_setmethods__ = {}
2602 __setattr__ =
lambda self, name, value: _swig_setattr(self, CentroidOfRefined, name, value)
2603 __swig_getmethods__ = {}
2605 __getattr__ =
lambda self, name: _swig_getattr(self, CentroidOfRefined, name)
2606 def __init__(self, *args):
2608 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2609 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2610 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2612 this = _IMP_core.new_CentroidOfRefined(*args)
2613 try: self.this.append(this)
2614 except: self.this = this
2615 def do_get_inputs(self, *args):
2616 """do_get_inputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2617 return _IMP_core.CentroidOfRefined_do_get_inputs(self, *args)
2619 def do_get_outputs(self, *args):
2620 """do_get_outputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2621 return _IMP_core.CentroidOfRefined_do_get_outputs(self, *args)
2623 def get_version_info(self):
2624 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2625 return _IMP_core.CentroidOfRefined_get_version_info(self)
2628 """__str__(CentroidOfRefined self) -> std::string"""
2629 return _IMP_core.CentroidOfRefined___str__(self)
2632 """__repr__(CentroidOfRefined self) -> std::string"""
2633 return _IMP_core.CentroidOfRefined___repr__(self)
2636 return _object_cast_to_CentroidOfRefined(o)
2637 get_from = staticmethod(get_from)
2639 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2640 CentroidOfRefined_swigregister(CentroidOfRefined)
2642 class Centroid(XYZ):
2643 """Proxy of C++ IMP::core::Centroid class"""
2644 __swig_setmethods__ = {}
2645 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2646 __setattr__ =
lambda self, name, value: _swig_setattr(self, Centroid, name, value)
2647 __swig_getmethods__ = {}
2648 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2649 __getattr__ =
lambda self, name: _swig_getattr(self, Centroid, name)
2650 def get_constraint(self):
2651 """get_constraint(Centroid self) -> Constraint"""
2652 return _IMP_core.Centroid_get_constraint(self)
2654 def __init__(self, *args):
2656 __init__(IMP::core::Centroid self) -> Centroid
2657 __init__(IMP::core::Centroid self, Model m, ::IMP::kernel::ParticleIndex id) -> Centroid
2658 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2660 this = _IMP_core.new_Centroid(*args)
2661 try: self.this.append(this)
2662 except: self.this = this
2663 def decorate_particle(*args):
2664 """decorate_particle(Particle p) -> Centroid"""
2665 return _IMP_core.Centroid_decorate_particle(*args)
2667 if _newclass:decorate_particle = staticmethod(decorate_particle)
2668 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
2669 def show(self, *args):
2671 show(Centroid self, _ostream out=std::cout)
2674 return _IMP_core.Centroid_show(self, *args)
2676 def setup_particle(*args):
2678 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2679 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2680 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2681 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2683 return _IMP_core.Centroid_setup_particle(*args)
2685 if _newclass:setup_particle = staticmethod(setup_particle)
2686 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
2687 def get_is_setup(*args):
2689 get_is_setup(_ParticleAdaptor p) -> bool
2690 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2692 return _IMP_core.Centroid_get_is_setup(*args)
2694 if _newclass:get_is_setup = staticmethod(get_is_setup)
2695 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
2696 def add_attribute(self, *args):
2698 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2699 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2700 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2701 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2702 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2703 add_attribute(Centroid self, ObjectKey a0, Object a1)
2705 return _IMP_core.Centroid_add_attribute(self, *args)
2707 def get_value(self, *args):
2709 get_value(Centroid self, FloatKey a0) -> IMP::Float
2710 get_value(Centroid self, IntKey a0) -> IMP::Int
2711 get_value(Centroid self, StringKey a0) -> IMP::String
2712 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2713 get_value(Centroid self, ObjectKey a0) -> Object
2715 return _IMP_core.Centroid_get_value(self, *args)
2717 def set_value(self, *args):
2719 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2720 set_value(Centroid self, IntKey a0, IMP::Int a1)
2721 set_value(Centroid self, StringKey a0, IMP::String a1)
2722 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2723 set_value(Centroid self, ObjectKey a0, Object a1)
2725 return _IMP_core.Centroid_set_value(self, *args)
2727 def remove_attribute(self, *args):
2729 remove_attribute(Centroid self, FloatKey a0)
2730 remove_attribute(Centroid self, IntKey a0)
2731 remove_attribute(Centroid self, StringKey a0)
2732 remove_attribute(Centroid self, ParticleIndexKey a0)
2733 remove_attribute(Centroid self, ObjectKey a0)
2735 return _IMP_core.Centroid_remove_attribute(self, *args)
2737 def has_attribute(self, *args):
2739 has_attribute(Centroid self, FloatKey a0) -> bool
2740 has_attribute(Centroid self, IntKey a0) -> bool
2741 has_attribute(Centroid self, StringKey a0) -> bool
2742 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2743 has_attribute(Centroid self, ObjectKey a0) -> bool
2745 return _IMP_core.Centroid_has_attribute(self, *args)
2747 def get_derivative(self, *args):
2748 """get_derivative(Centroid self, FloatKey a0) -> double"""
2749 return _IMP_core.Centroid_get_derivative(self, *args)
2752 """get_name(Centroid self) -> std::string"""
2753 return _IMP_core.Centroid_get_name(self)
2755 def clear_caches(self):
2756 """clear_caches(Centroid self)"""
2757 return _IMP_core.Centroid_clear_caches(self)
2759 def set_name(self, *args):
2760 """set_name(Centroid self, std::string a0)"""
2761 return _IMP_core.Centroid_set_name(self, *args)
2764 """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2765 return _IMP_core.Centroid_set_check_level(self, *args)
2767 def add_to_derivative(self, *args):
2768 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2769 return _IMP_core.Centroid_add_to_derivative(self, *args)
2771 def set_is_optimized(self, *args):
2772 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2773 return _IMP_core.Centroid_set_is_optimized(self, *args)
2775 def get_is_optimized(self, *args):
2776 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2777 return _IMP_core.Centroid_get_is_optimized(self, *args)
2780 """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2781 return _IMP_core.Centroid_get_check_level(self)
2783 def __eq__(self, *args):
2785 __eq__(Centroid self, Centroid o) -> bool
2786 __eq__(Centroid self, Particle d) -> bool
2788 return _IMP_core.Centroid___eq__(self, *args)
2790 def __ne__(self, *args):
2792 __ne__(Centroid self, Centroid o) -> bool
2793 __ne__(Centroid self, Particle d) -> bool
2795 return _IMP_core.Centroid___ne__(self, *args)
2797 def __le__(self, *args):
2799 __le__(Centroid self, Centroid o) -> bool
2800 __le__(Centroid self, Particle d) -> bool
2802 return _IMP_core.Centroid___le__(self, *args)
2804 def __lt__(self, *args):
2806 __lt__(Centroid self, Centroid o) -> bool
2807 __lt__(Centroid self, Particle d) -> bool
2809 return _IMP_core.Centroid___lt__(self, *args)
2811 def __ge__(self, *args):
2813 __ge__(Centroid self, Centroid o) -> bool
2814 __ge__(Centroid self, Particle d) -> bool
2816 return _IMP_core.Centroid___ge__(self, *args)
2818 def __gt__(self, *args):
2820 __gt__(Centroid self, Centroid o) -> bool
2821 __gt__(Centroid self, Particle d) -> bool
2823 return _IMP_core.Centroid___gt__(self, *args)
2826 """__str__(Centroid self) -> std::string"""
2827 return _IMP_core.Centroid___str__(self)
2830 """__repr__(Centroid self) -> std::string"""
2831 return _IMP_core.Centroid___repr__(self)
2833 __swig_destroy__ = _IMP_core.delete_Centroid
2834 __del__ =
lambda self :
None;
2835 Centroid_swigregister = _IMP_core.Centroid_swigregister
2836 Centroid_swigregister(Centroid)
2838 def Centroid_decorate_particle(*args):
2839 """Centroid_decorate_particle(Particle p) -> Centroid"""
2840 return _IMP_core.Centroid_decorate_particle(*args)
2842 def Centroid_setup_particle(*args):
2844 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2845 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2846 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2847 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2849 return _IMP_core.Centroid_setup_particle(*args)
2851 def Centroid_get_is_setup(*args):
2853 get_is_setup(_ParticleAdaptor p) -> bool
2854 Centroid_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2856 return _IMP_core.Centroid_get_is_setup(*args)
2859 """Proxy of C++ IMP::core::ChecksScoreState class"""
2860 __swig_setmethods__ = {}
2862 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChecksScoreState, name, value)
2863 __swig_getmethods__ = {}
2865 __getattr__ =
lambda self, name: _swig_getattr(self, ChecksScoreState, name)
2866 def __init__(self, *args):
2867 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
2868 this = _IMP_core.new_ChecksScoreState(*args)
2869 try: self.this.append(this)
2870 except: self.this = this
2871 def get_number_of_checked(self):
2872 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2873 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2875 def do_before_evaluate(self):
2876 """do_before_evaluate(ChecksScoreState self)"""
2877 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2879 def do_after_evaluate(self, *args):
2880 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2881 return _IMP_core.ChecksScoreState_do_after_evaluate(self, *args)
2883 def do_get_outputs(self):
2884 """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2885 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2887 def do_get_inputs(self):
2888 """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2889 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2891 def get_version_info(self):
2892 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2893 return _IMP_core.ChecksScoreState_get_version_info(self)
2896 """__str__(ChecksScoreState self) -> std::string"""
2897 return _IMP_core.ChecksScoreState___str__(self)
2900 """__repr__(ChecksScoreState self) -> std::string"""
2901 return _IMP_core.ChecksScoreState___repr__(self)
2904 return _object_cast_to_ChecksScoreState(o)
2905 get_from = staticmethod(get_from)
2907 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2908 ChecksScoreState_swigregister(ChecksScoreState)
2911 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2912 __swig_setmethods__ = {}
2913 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2914 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChildrenRefiner, name, value)
2915 __swig_getmethods__ = {}
2916 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2917 __getattr__ =
lambda self, name: _swig_getattr(self, ChildrenRefiner, name)
2918 def __init__(self, *args):
2919 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2920 this = _IMP_core.new_ChildrenRefiner(*args)
2921 try: self.this.append(this)
2922 except: self.this = this
2923 def do_get_inputs(self, *args):
2924 """do_get_inputs(ChildrenRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2925 return _IMP_core.ChildrenRefiner_do_get_inputs(self, *args)
2927 def get_version_info(self):
2928 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2929 return _IMP_core.ChildrenRefiner_get_version_info(self)
2932 """__str__(ChildrenRefiner self) -> std::string"""
2933 return _IMP_core.ChildrenRefiner___str__(self)
2936 """__repr__(ChildrenRefiner self) -> std::string"""
2937 return _IMP_core.ChildrenRefiner___repr__(self)
2940 return _object_cast_to_ChildrenRefiner(o)
2941 get_from = staticmethod(get_from)
2943 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2944 ChildrenRefiner_swigregister(ChildrenRefiner)
2947 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2948 __swig_setmethods__ = {}
2950 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosedCubicSpline, name, value)
2951 __swig_getmethods__ = {}
2953 __getattr__ =
lambda self, name: _swig_getattr(self, ClosedCubicSpline, name)
2954 def __init__(self, *args):
2955 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2956 this = _IMP_core.new_ClosedCubicSpline(*args)
2957 try: self.this.append(this)
2958 except: self.this = this
2959 def get_version_info(self):
2960 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2961 return _IMP_core.ClosedCubicSpline_get_version_info(self)
2963 def do_show(self, *args):
2964 """do_show(ClosedCubicSpline self, _ostream out)"""
2965 return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2968 """__str__(ClosedCubicSpline self) -> std::string"""
2969 return _IMP_core.ClosedCubicSpline___str__(self)
2972 """__repr__(ClosedCubicSpline self) -> std::string"""
2973 return _IMP_core.ClosedCubicSpline___repr__(self)
2976 return _object_cast_to_ClosedCubicSpline(o)
2977 get_from = staticmethod(get_from)
2979 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2980 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2983 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2984 __swig_setmethods__ = {}
2985 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2986 __setattr__ =
lambda self, name, value: _swig_setattr(self, KClosePairsPairScore, name, value)
2987 __swig_getmethods__ = {}
2988 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2989 __getattr__ =
lambda self, name: _swig_getattr(self, KClosePairsPairScore, name)
2990 def __init__(self, *args):
2992 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2993 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2995 this = _IMP_core.new_KClosePairsPairScore(*args)
2996 try: self.this.append(this)
2997 except: self.this = this
2998 def get_close_pairs(self, *args):
2999 """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
3000 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
3002 def create_current_decomposition(self, *args):
3003 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
3004 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
3006 def do_get_inputs(self, *args):
3007 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3008 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, *args)
3010 def get_version_info(self):
3011 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
3012 return _IMP_core.KClosePairsPairScore_get_version_info(self)
3015 """__str__(KClosePairsPairScore self) -> std::string"""
3016 return _IMP_core.KClosePairsPairScore___str__(self)
3019 """__repr__(KClosePairsPairScore self) -> std::string"""
3020 return _IMP_core.KClosePairsPairScore___repr__(self)
3023 return _object_cast_to_KClosePairsPairScore(o)
3024 get_from = staticmethod(get_from)
3026 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
3027 KClosePairsPairScore_swigregister(KClosePairsPairScore)
3030 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
3031 __swig_setmethods__ = {}
3032 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3033 __setattr__ =
lambda self, name, value: _swig_setattr(self, ClosePairsPairScore, name, value)
3034 __swig_getmethods__ = {}
3035 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3036 __getattr__ =
lambda self, name: _swig_getattr(self, ClosePairsPairScore, name)
3037 def __init__(self, *args):
3038 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
3039 this = _IMP_core.new_ClosePairsPairScore(*args)
3040 try: self.this.append(this)
3041 except: self.this = this
3042 def get_close_pairs(self, *args):
3043 """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
3044 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
3046 def create_current_decomposition(self, *args):
3047 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
3048 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
3050 def do_get_inputs(self, *args):
3051 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3052 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, *args)
3054 def get_version_info(self):
3055 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
3056 return _IMP_core.ClosePairsPairScore_get_version_info(self)
3059 """__str__(ClosePairsPairScore self) -> std::string"""
3060 return _IMP_core.ClosePairsPairScore___str__(self)
3063 """__repr__(ClosePairsPairScore self) -> std::string"""
3064 return _IMP_core.ClosePairsPairScore___repr__(self)
3067 return _object_cast_to_ClosePairsPairScore(o)
3068 get_from = staticmethod(get_from)
3070 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3071 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3074 """Proxy of C++ IMP::core::ConjugateGradients class"""
3075 __swig_setmethods__ = {}
3077 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConjugateGradients, name, value)
3078 __swig_getmethods__ = {}
3080 __getattr__ =
lambda self, name: _swig_getattr(self, ConjugateGradients, name)
3081 def __init__(self, *args):
3083 __init__(IMP::core::ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
3084 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3086 this = _IMP_core.new_ConjugateGradients(*args)
3087 try: self.this.append(this)
3088 except: self.this = this
3089 def set_gradient_threshold(self, *args):
3090 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3091 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
3093 def set_threshold(self, *args):
3094 """set_threshold(ConjugateGradients self, IMP::Float t)"""
3095 return _IMP_core.ConjugateGradients_set_threshold(self, *args)
3097 def set_max_change(self, *args):
3098 """set_max_change(ConjugateGradients self, IMP::Float t)"""
3099 return _IMP_core.ConjugateGradients_set_max_change(self, *args)
3101 def do_optimize(self, *args):
3102 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3103 return _IMP_core.ConjugateGradients_do_optimize(self, *args)
3105 def get_version_info(self):
3106 """get_version_info(ConjugateGradients self) -> VersionInfo"""
3107 return _IMP_core.ConjugateGradients_get_version_info(self)
3110 """__str__(ConjugateGradients self) -> std::string"""
3111 return _IMP_core.ConjugateGradients___str__(self)
3114 """__repr__(ConjugateGradients self) -> std::string"""
3115 return _IMP_core.ConjugateGradients___repr__(self)
3118 return _object_cast_to_ConjugateGradients(o)
3119 get_from = staticmethod(get_from)
3121 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3122 ConjugateGradients_swigregister(ConjugateGradients)
3125 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3126 __swig_setmethods__ = {}
3127 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3128 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnectivityRestraint, name, value)
3129 __swig_getmethods__ = {}
3130 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3131 __getattr__ =
lambda self, name: _swig_getattr(self, ConnectivityRestraint, name)
3132 def __init__(self, *args):
3134 __init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint
3135 __init__(IMP::core::ConnectivityRestraint self, Model m, PairScore ps) -> ConnectivityRestraint
3137 this = _IMP_core.new_ConnectivityRestraint(*args)
3138 try: self.this.append(this)
3139 except: self.this = this
3141 """add_particle(ConnectivityRestraint self, Particle p)"""
3142 return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
3145 """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3146 return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
3148 def set_particles(self, *args):
3149 """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3150 return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
3152 def get_connected_pairs(self):
3153 """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
3154 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3156 def get_pair_score(self):
3157 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3158 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3160 def do_create_current_decomposition(self):
3161 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
3162 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3164 def do_get_inputs(self):
3165 """do_get_inputs(ConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3166 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3168 def get_version_info(self):
3169 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3170 return _IMP_core.ConnectivityRestraint_get_version_info(self)
3173 """__str__(ConnectivityRestraint self) -> std::string"""
3174 return _IMP_core.ConnectivityRestraint___str__(self)
3177 """__repr__(ConnectivityRestraint self) -> std::string"""
3178 return _IMP_core.ConnectivityRestraint___repr__(self)
3181 return _object_cast_to_ConnectivityRestraint(o)
3182 get_from = staticmethod(get_from)
3184 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3185 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3188 """Proxy of C++ IMP::core::ConstantRestraint class"""
3189 __swig_setmethods__ = {}
3190 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3191 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantRestraint, name, value)
3192 __swig_getmethods__ = {}
3193 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3194 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantRestraint, name)
3195 def __init__(self, *args):
3196 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
3197 this = _IMP_core.new_ConstantRestraint(*args)
3198 try: self.this.append(this)
3199 except: self.this = this
3200 def do_get_inputs(self):
3201 """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3202 return _IMP_core.ConstantRestraint_do_get_inputs(self)
3204 def get_version_info(self):
3205 """get_version_info(ConstantRestraint self) -> VersionInfo"""
3206 return _IMP_core.ConstantRestraint_get_version_info(self)
3209 """__str__(ConstantRestraint self) -> std::string"""
3210 return _IMP_core.ConstantRestraint___str__(self)
3213 """__repr__(ConstantRestraint self) -> std::string"""
3214 return _IMP_core.ConstantRestraint___repr__(self)
3217 return _object_cast_to_ConstantRestraint(o)
3218 get_from = staticmethod(get_from)
3220 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3221 ConstantRestraint_swigregister(ConstantRestraint)
3224 """Proxy of C++ IMP::core::Cosine class"""
3225 __swig_setmethods__ = {}
3227 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cosine, name, value)
3228 __swig_getmethods__ = {}
3230 __getattr__ =
lambda self, name: _swig_getattr(self, Cosine, name)
3231 def __init__(self, *args):
3232 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3233 this = _IMP_core.new_Cosine(*args)
3234 try: self.this.append(this)
3235 except: self.this = this
3236 def get_version_info(self):
3237 """get_version_info(Cosine self) -> VersionInfo"""
3238 return _IMP_core.Cosine_get_version_info(self)
3240 def do_show(self, *args):
3241 """do_show(Cosine self, _ostream out)"""
3242 return _IMP_core.Cosine_do_show(self, *args)
3245 """__str__(Cosine self) -> std::string"""
3246 return _IMP_core.Cosine___str__(self)
3249 """__repr__(Cosine self) -> std::string"""
3250 return _IMP_core.Cosine___repr__(self)
3253 return _object_cast_to_Cosine(o)
3254 get_from = staticmethod(get_from)
3256 Cosine_swigregister = _IMP_core.Cosine_swigregister
3257 Cosine_swigregister(Cosine)
3260 """Proxy of C++ IMP::core::CoverRefined class"""
3261 __swig_setmethods__ = {}
3263 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoverRefined, name, value)
3264 __swig_getmethods__ = {}
3266 __getattr__ =
lambda self, name: _swig_getattr(self, CoverRefined, name)
3267 def __init__(self, *args):
3269 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3270 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3272 this = _IMP_core.new_CoverRefined(*args)
3273 try: self.this.append(this)
3274 except: self.this = this
3275 def set_slack(self, *args):
3276 """set_slack(CoverRefined self, IMP::Float slack)"""
3277 return _IMP_core.CoverRefined_set_slack(self, *args)
3279 def do_get_inputs(self, *args):
3280 """do_get_inputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3281 return _IMP_core.CoverRefined_do_get_inputs(self, *args)
3283 def do_get_outputs(self, *args):
3284 """do_get_outputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3285 return _IMP_core.CoverRefined_do_get_outputs(self, *args)
3287 def get_version_info(self):
3288 """get_version_info(CoverRefined self) -> VersionInfo"""
3289 return _IMP_core.CoverRefined_get_version_info(self)
3292 """__str__(CoverRefined self) -> std::string"""
3293 return _IMP_core.CoverRefined___str__(self)
3296 """__repr__(CoverRefined self) -> std::string"""
3297 return _IMP_core.CoverRefined___repr__(self)
3300 return _object_cast_to_CoverRefined(o)
3301 get_from = staticmethod(get_from)
3303 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3304 CoverRefined_swigregister(CoverRefined)
3307 """Proxy of C++ IMP::core::Cover class"""
3308 __swig_setmethods__ = {}
3309 for _s
in [XYZR]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3310 __setattr__ =
lambda self, name, value: _swig_setattr(self, Cover, name, value)
3311 __swig_getmethods__ = {}
3312 for _s
in [XYZR]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3313 __getattr__ =
lambda self, name: _swig_getattr(self, Cover, name)
3314 def get_constraint(self):
3315 """get_constraint(Cover self) -> Constraint"""
3316 return _IMP_core.Cover_get_constraint(self)
3318 def __init__(self, *args):
3320 __init__(IMP::core::Cover self) -> Cover
3321 __init__(IMP::core::Cover self, Model m, ::IMP::kernel::ParticleIndex id) -> Cover
3322 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3324 this = _IMP_core.new_Cover(*args)
3325 try: self.this.append(this)
3326 except: self.this = this
3327 def decorate_particle(*args):
3328 """decorate_particle(Particle p) -> Cover"""
3329 return _IMP_core.Cover_decorate_particle(*args)
3331 if _newclass:decorate_particle = staticmethod(decorate_particle)
3332 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3333 def show(self, *args):
3335 show(Cover self, _ostream out=std::cout)
3338 return _IMP_core.Cover_show(self, *args)
3340 def setup_particle(*args):
3342 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3343 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3344 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3345 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3347 return _IMP_core.Cover_setup_particle(*args)
3349 if _newclass:setup_particle = staticmethod(setup_particle)
3350 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3351 def get_is_setup(*args):
3353 get_is_setup(_ParticleAdaptor p) -> bool
3354 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3356 return _IMP_core.Cover_get_is_setup(*args)
3358 if _newclass:get_is_setup = staticmethod(get_is_setup)
3359 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3360 def add_attribute(self, *args):
3362 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3363 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3364 add_attribute(Cover self, IntKey a0, IMP::Int a1)
3365 add_attribute(Cover self, StringKey a0, IMP::String a1)
3366 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3367 add_attribute(Cover self, ObjectKey a0, Object a1)
3369 return _IMP_core.Cover_add_attribute(self, *args)
3371 def get_value(self, *args):
3373 get_value(Cover self, FloatKey a0) -> IMP::Float
3374 get_value(Cover self, IntKey a0) -> IMP::Int
3375 get_value(Cover self, StringKey a0) -> IMP::String
3376 get_value(Cover self, ParticleIndexKey a0) -> Particle
3377 get_value(Cover self, ObjectKey a0) -> Object
3379 return _IMP_core.Cover_get_value(self, *args)
3381 def set_value(self, *args):
3383 set_value(Cover self, FloatKey a0, IMP::Float a1)
3384 set_value(Cover self, IntKey a0, IMP::Int a1)
3385 set_value(Cover self, StringKey a0, IMP::String a1)
3386 set_value(Cover self, ParticleIndexKey a0, Particle a1)
3387 set_value(Cover self, ObjectKey a0, Object a1)
3389 return _IMP_core.Cover_set_value(self, *args)
3391 def remove_attribute(self, *args):
3393 remove_attribute(Cover self, FloatKey a0)
3394 remove_attribute(Cover self, IntKey a0)
3395 remove_attribute(Cover self, StringKey a0)
3396 remove_attribute(Cover self, ParticleIndexKey a0)
3397 remove_attribute(Cover self, ObjectKey a0)
3399 return _IMP_core.Cover_remove_attribute(self, *args)
3401 def has_attribute(self, *args):
3403 has_attribute(Cover self, FloatKey a0) -> bool
3404 has_attribute(Cover self, IntKey a0) -> bool
3405 has_attribute(Cover self, StringKey a0) -> bool
3406 has_attribute(Cover self, ParticleIndexKey a0) -> bool
3407 has_attribute(Cover self, ObjectKey a0) -> bool
3409 return _IMP_core.Cover_has_attribute(self, *args)
3411 def get_derivative(self, *args):
3412 """get_derivative(Cover self, FloatKey a0) -> double"""
3413 return _IMP_core.Cover_get_derivative(self, *args)
3416 """get_name(Cover self) -> std::string"""
3417 return _IMP_core.Cover_get_name(self)
3419 def clear_caches(self):
3420 """clear_caches(Cover self)"""
3421 return _IMP_core.Cover_clear_caches(self)
3423 def set_name(self, *args):
3424 """set_name(Cover self, std::string a0)"""
3425 return _IMP_core.Cover_set_name(self, *args)
3428 """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3429 return _IMP_core.Cover_set_check_level(self, *args)
3431 def add_to_derivative(self, *args):
3432 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3433 return _IMP_core.Cover_add_to_derivative(self, *args)
3435 def set_is_optimized(self, *args):
3436 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3437 return _IMP_core.Cover_set_is_optimized(self, *args)
3439 def get_is_optimized(self, *args):
3440 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3441 return _IMP_core.Cover_get_is_optimized(self, *args)
3444 """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3445 return _IMP_core.Cover_get_check_level(self)
3447 def __eq__(self, *args):
3449 __eq__(Cover self, Cover o) -> bool
3450 __eq__(Cover self, Particle d) -> bool
3452 return _IMP_core.Cover___eq__(self, *args)
3454 def __ne__(self, *args):
3456 __ne__(Cover self, Cover o) -> bool
3457 __ne__(Cover self, Particle d) -> bool
3459 return _IMP_core.Cover___ne__(self, *args)
3461 def __le__(self, *args):
3463 __le__(Cover self, Cover o) -> bool
3464 __le__(Cover self, Particle d) -> bool
3466 return _IMP_core.Cover___le__(self, *args)
3468 def __lt__(self, *args):
3470 __lt__(Cover self, Cover o) -> bool
3471 __lt__(Cover self, Particle d) -> bool
3473 return _IMP_core.Cover___lt__(self, *args)
3475 def __ge__(self, *args):
3477 __ge__(Cover self, Cover o) -> bool
3478 __ge__(Cover self, Particle d) -> bool
3480 return _IMP_core.Cover___ge__(self, *args)
3482 def __gt__(self, *args):
3484 __gt__(Cover self, Cover o) -> bool
3485 __gt__(Cover self, Particle d) -> bool
3487 return _IMP_core.Cover___gt__(self, *args)
3490 """__str__(Cover self) -> std::string"""
3491 return _IMP_core.Cover___str__(self)
3494 """__repr__(Cover self) -> std::string"""
3495 return _IMP_core.Cover___repr__(self)
3497 __swig_destroy__ = _IMP_core.delete_Cover
3498 __del__ =
lambda self :
None;
3499 Cover_swigregister = _IMP_core.Cover_swigregister
3500 Cover_swigregister(Cover)
3502 def Cover_decorate_particle(*args):
3503 """Cover_decorate_particle(Particle p) -> Cover"""
3504 return _IMP_core.Cover_decorate_particle(*args)
3506 def Cover_setup_particle(*args):
3508 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3509 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3510 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3511 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3513 return _IMP_core.Cover_setup_particle(*args)
3515 def Cover_get_is_setup(*args):
3517 get_is_setup(_ParticleAdaptor p) -> bool
3518 Cover_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3520 return _IMP_core.Cover_get_is_setup(*args)
3523 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3524 __swig_setmethods__ = {}
3526 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesFromRefined, name, value)
3527 __swig_getmethods__ = {}
3529 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesFromRefined, name)
3530 def __init__(self, *args):
3532 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3533 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3535 this = _IMP_core.new_DerivativesFromRefined(*args)
3536 try: self.this.append(this)
3537 except: self.this = this
3538 def do_get_inputs(self, *args):
3539 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3540 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, *args)
3542 def do_get_outputs(self, *args):
3543 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3544 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, *args)
3546 def get_version_info(self):
3547 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3548 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3551 """__str__(DerivativesFromRefined self) -> std::string"""
3552 return _IMP_core.DerivativesFromRefined___str__(self)
3555 """__repr__(DerivativesFromRefined self) -> std::string"""
3556 return _IMP_core.DerivativesFromRefined___repr__(self)
3559 return _object_cast_to_DerivativesFromRefined(o)
3560 get_from = staticmethod(get_from)
3562 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3563 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3566 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3567 __swig_setmethods__ = {}
3569 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativesToRefined, name, value)
3570 __swig_getmethods__ = {}
3572 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativesToRefined, name)
3573 def __init__(self, *args):
3575 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3576 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3578 this = _IMP_core.new_DerivativesToRefined(*args)
3579 try: self.this.append(this)
3580 except: self.this = this
3581 def do_get_inputs(self, *args):
3582 """do_get_inputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3583 return _IMP_core.DerivativesToRefined_do_get_inputs(self, *args)
3585 def do_get_outputs(self, *args):
3586 """do_get_outputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3587 return _IMP_core.DerivativesToRefined_do_get_outputs(self, *args)
3589 def get_version_info(self):
3590 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3591 return _IMP_core.DerivativesToRefined_get_version_info(self)
3594 """__str__(DerivativesToRefined self) -> std::string"""
3595 return _IMP_core.DerivativesToRefined___str__(self)
3598 """__repr__(DerivativesToRefined self) -> std::string"""
3599 return _IMP_core.DerivativesToRefined___repr__(self)
3602 return _object_cast_to_DerivativesToRefined(o)
3603 get_from = staticmethod(get_from)
3605 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3606 DerivativesToRefined_swigregister(DerivativesToRefined)
3609 """Proxy of C++ IMP::core::DiameterRestraint class"""
3610 __swig_setmethods__ = {}
3611 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3612 __setattr__ =
lambda self, name, value: _swig_setattr(self, DiameterRestraint, name, value)
3613 __swig_getmethods__ = {}
3614 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3615 __getattr__ =
lambda self, name: _swig_getattr(self, DiameterRestraint, name)
3616 def __init__(self, *args):
3617 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3618 this = _IMP_core.new_DiameterRestraint(*args)
3619 try: self.this.append(this)
3620 except: self.this = this
3621 def do_get_inputs(self):
3622 """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3623 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3625 def get_version_info(self):
3626 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3627 return _IMP_core.DiameterRestraint_get_version_info(self)
3629 def do_create_decomposition(self):
3630 """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3631 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3633 def do_create_current_decomposition(self):
3634 """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3635 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3638 """__str__(DiameterRestraint self) -> std::string"""
3639 return _IMP_core.DiameterRestraint___str__(self)
3642 """__repr__(DiameterRestraint self) -> std::string"""
3643 return _IMP_core.DiameterRestraint___repr__(self)
3646 return _object_cast_to_DiameterRestraint(o)
3647 get_from = staticmethod(get_from)
3649 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3650 DiameterRestraint_swigregister(DiameterRestraint)
3653 """Proxy of C++ IMP::core::Transform class"""
3654 __swig_setmethods__ = {}
3656 __setattr__ =
lambda self, name, value: _swig_setattr(self, Transform, name, value)
3657 __swig_getmethods__ = {}
3659 __getattr__ =
lambda self, name: _swig_getattr(self, Transform, name)
3660 def __init__(self, *args):
3662 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3663 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3665 this = _IMP_core.new_Transform(*args)
3666 try: self.this.append(this)
3667 except: self.this = this
3668 def do_get_inputs(self, *args):
3669 """do_get_inputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3670 return _IMP_core.Transform_do_get_inputs(self, *args)
3672 def do_get_outputs(self, *args):
3673 """do_get_outputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3674 return _IMP_core.Transform_do_get_outputs(self, *args)
3676 def get_version_info(self):
3677 """get_version_info(Transform self) -> VersionInfo"""
3678 return _IMP_core.Transform_get_version_info(self)
3681 """__str__(Transform self) -> std::string"""
3682 return _IMP_core.Transform___str__(self)
3685 """__repr__(Transform self) -> std::string"""
3686 return _IMP_core.Transform___repr__(self)
3689 return _object_cast_to_Transform(o)
3690 get_from = staticmethod(get_from)
3692 Transform_swigregister = _IMP_core.Transform_swigregister
3693 Transform_swigregister(Transform)
3696 """Proxy of C++ IMP::core::Reference class"""
3697 __swig_setmethods__ = {}
3698 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3699 __setattr__ =
lambda self, name, value: _swig_setattr(self, Reference, name, value)
3700 __swig_getmethods__ = {}
3701 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3702 __getattr__ =
lambda self, name: _swig_getattr(self, Reference, name)
3703 def __init__(self, *args):
3705 __init__(IMP::core::Reference self) -> Reference
3706 __init__(IMP::core::Reference self, Model m, ::IMP::kernel::ParticleIndex id) -> Reference
3707 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3709 this = _IMP_core.new_Reference(*args)
3710 try: self.this.append(this)
3711 except: self.this = this
3712 def decorate_particle(*args):
3713 """decorate_particle(Particle p) -> Reference"""
3714 return _IMP_core.Reference_decorate_particle(*args)
3716 if _newclass:decorate_particle = staticmethod(decorate_particle)
3717 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
3718 def show(self, *args):
3720 show(Reference self, _ostream out=std::cout)
3721 show(Reference self)
3723 return _IMP_core.Reference_show(self, *args)
3725 def setup_particle(*args):
3727 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3728 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3730 return _IMP_core.Reference_setup_particle(*args)
3732 if _newclass:setup_particle = staticmethod(setup_particle)
3733 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
3734 def get_reference_particle(self):
3735 """get_reference_particle(Reference self) -> Particle"""
3736 return _IMP_core.Reference_get_reference_particle(self)
3738 def get_is_setup(*args):
3740 get_is_setup(_ParticleAdaptor p) -> bool
3741 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3743 return _IMP_core.Reference_get_is_setup(*args)
3745 if _newclass:get_is_setup = staticmethod(get_is_setup)
3746 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
3747 def get_reference_key():
3748 """get_reference_key() -> ParticleIndexKey"""
3749 return _IMP_core.Reference_get_reference_key()
3751 if _newclass:get_reference_key = staticmethod(get_reference_key)
3752 __swig_getmethods__[
"get_reference_key"] =
lambda x: get_reference_key
3753 def add_attribute(self, *args):
3755 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3756 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3757 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3758 add_attribute(Reference self, StringKey a0, IMP::String a1)
3759 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3760 add_attribute(Reference self, ObjectKey a0, Object a1)
3762 return _IMP_core.Reference_add_attribute(self, *args)
3764 def get_value(self, *args):
3766 get_value(Reference self, FloatKey a0) -> IMP::Float
3767 get_value(Reference self, IntKey a0) -> IMP::Int
3768 get_value(Reference self, StringKey a0) -> IMP::String
3769 get_value(Reference self, ParticleIndexKey a0) -> Particle
3770 get_value(Reference self, ObjectKey a0) -> Object
3772 return _IMP_core.Reference_get_value(self, *args)
3774 def set_value(self, *args):
3776 set_value(Reference self, FloatKey a0, IMP::Float a1)
3777 set_value(Reference self, IntKey a0, IMP::Int a1)
3778 set_value(Reference self, StringKey a0, IMP::String a1)
3779 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3780 set_value(Reference self, ObjectKey a0, Object a1)
3782 return _IMP_core.Reference_set_value(self, *args)
3784 def remove_attribute(self, *args):
3786 remove_attribute(Reference self, FloatKey a0)
3787 remove_attribute(Reference self, IntKey a0)
3788 remove_attribute(Reference self, StringKey a0)
3789 remove_attribute(Reference self, ParticleIndexKey a0)
3790 remove_attribute(Reference self, ObjectKey a0)
3792 return _IMP_core.Reference_remove_attribute(self, *args)
3794 def has_attribute(self, *args):
3796 has_attribute(Reference self, FloatKey a0) -> bool
3797 has_attribute(Reference self, IntKey a0) -> bool
3798 has_attribute(Reference self, StringKey a0) -> bool
3799 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3800 has_attribute(Reference self, ObjectKey a0) -> bool
3802 return _IMP_core.Reference_has_attribute(self, *args)
3804 def get_derivative(self, *args):
3805 """get_derivative(Reference self, FloatKey a0) -> double"""
3806 return _IMP_core.Reference_get_derivative(self, *args)
3809 """get_name(Reference self) -> std::string"""
3810 return _IMP_core.Reference_get_name(self)
3812 def clear_caches(self):
3813 """clear_caches(Reference self)"""
3814 return _IMP_core.Reference_clear_caches(self)
3816 def set_name(self, *args):
3817 """set_name(Reference self, std::string a0)"""
3818 return _IMP_core.Reference_set_name(self, *args)
3821 """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3822 return _IMP_core.Reference_set_check_level(self, *args)
3824 def add_to_derivative(self, *args):
3825 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3826 return _IMP_core.Reference_add_to_derivative(self, *args)
3828 def set_is_optimized(self, *args):
3829 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3830 return _IMP_core.Reference_set_is_optimized(self, *args)
3832 def get_is_optimized(self, *args):
3833 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3834 return _IMP_core.Reference_get_is_optimized(self, *args)
3837 """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3838 return _IMP_core.Reference_get_check_level(self)
3840 def __eq__(self, *args):
3842 __eq__(Reference self, Reference o) -> bool
3843 __eq__(Reference self, Particle d) -> bool
3845 return _IMP_core.Reference___eq__(self, *args)
3847 def __ne__(self, *args):
3849 __ne__(Reference self, Reference o) -> bool
3850 __ne__(Reference self, Particle d) -> bool
3852 return _IMP_core.Reference___ne__(self, *args)
3854 def __le__(self, *args):
3856 __le__(Reference self, Reference o) -> bool
3857 __le__(Reference self, Particle d) -> bool
3859 return _IMP_core.Reference___le__(self, *args)
3861 def __lt__(self, *args):
3863 __lt__(Reference self, Reference o) -> bool
3864 __lt__(Reference self, Particle d) -> bool
3866 return _IMP_core.Reference___lt__(self, *args)
3868 def __ge__(self, *args):
3870 __ge__(Reference self, Reference o) -> bool
3871 __ge__(Reference self, Particle d) -> bool
3873 return _IMP_core.Reference___ge__(self, *args)
3875 def __gt__(self, *args):
3877 __gt__(Reference self, Reference o) -> bool
3878 __gt__(Reference self, Particle d) -> bool
3880 return _IMP_core.Reference___gt__(self, *args)
3883 """__str__(Reference self) -> std::string"""
3884 return _IMP_core.Reference___str__(self)
3887 """__repr__(Reference self) -> std::string"""
3888 return _IMP_core.Reference___repr__(self)
3890 __swig_destroy__ = _IMP_core.delete_Reference
3891 __del__ =
lambda self :
None;
3892 Reference_swigregister = _IMP_core.Reference_swigregister
3893 Reference_swigregister(Reference)
3895 def Reference_decorate_particle(*args):
3896 """Reference_decorate_particle(Particle p) -> Reference"""
3897 return _IMP_core.Reference_decorate_particle(*args)
3899 def Reference_setup_particle(*args):
3901 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3902 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3904 return _IMP_core.Reference_setup_particle(*args)
3906 def Reference_get_is_setup(*args):
3908 get_is_setup(_ParticleAdaptor p) -> bool
3909 Reference_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3911 return _IMP_core.Reference_get_is_setup(*args)
3913 def Reference_get_reference_key():
3914 """Reference_get_reference_key() -> ParticleIndexKey"""
3915 return _IMP_core.Reference_get_reference_key()
3918 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3919 __swig_setmethods__ = {}
3921 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationAndReflectionSymmetry, name, value)
3922 __swig_getmethods__ = {}
3924 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationAndReflectionSymmetry, name)
3925 def __init__(self, *args):
3926 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3927 this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3928 try: self.this.append(this)
3929 except: self.this = this
3930 def do_get_inputs(self, *args):
3931 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3932 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, *args)
3934 def do_get_outputs(self, *args):
3935 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3936 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, *args)
3938 def get_version_info(self):
3939 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3940 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3943 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3944 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3947 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3948 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3951 return _object_cast_to_TransformationAndReflectionSymmetry(o)
3952 get_from = staticmethod(get_from)
3954 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3955 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3958 """Proxy of C++ IMP::core::TransformationSymmetry class"""
3959 __swig_setmethods__ = {}
3961 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformationSymmetry, name, value)
3962 __swig_getmethods__ = {}
3964 __getattr__ =
lambda self, name: _swig_getattr(self, TransformationSymmetry, name)
3965 def __init__(self, *args):
3966 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3967 this = _IMP_core.new_TransformationSymmetry(*args)
3968 try: self.this.append(this)
3969 except: self.this = this
3970 def do_get_inputs(self, *args):
3971 """do_get_inputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3972 return _IMP_core.TransformationSymmetry_do_get_inputs(self, *args)
3974 def do_get_outputs(self, *args):
3975 """do_get_outputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3976 return _IMP_core.TransformationSymmetry_do_get_outputs(self, *args)
3978 def get_version_info(self):
3979 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3980 return _IMP_core.TransformationSymmetry_get_version_info(self)
3983 """__str__(TransformationSymmetry self) -> std::string"""
3984 return _IMP_core.TransformationSymmetry___str__(self)
3987 """__repr__(TransformationSymmetry self) -> std::string"""
3988 return _IMP_core.TransformationSymmetry___repr__(self)
3991 return _object_cast_to_TransformationSymmetry(o)
3992 get_from = staticmethod(get_from)
3994 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
3995 TransformationSymmetry_swigregister(TransformationSymmetry)
3998 """Proxy of C++ IMP::core::DihedralRestraint class"""
3999 __swig_setmethods__ = {}
4000 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4001 __setattr__ =
lambda self, name, value: _swig_setattr(self, DihedralRestraint, name, value)
4002 __swig_getmethods__ = {}
4003 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4004 __getattr__ =
lambda self, name: _swig_getattr(self, DihedralRestraint, name)
4005 def __init__(self, *args):
4006 """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
4007 this = _IMP_core.new_DihedralRestraint(*args)
4008 try: self.this.append(this)
4009 except: self.this = this
4010 def do_get_inputs(self):
4011 """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4012 return _IMP_core.DihedralRestraint_do_get_inputs(self)
4014 def get_version_info(self):
4015 """get_version_info(DihedralRestraint self) -> VersionInfo"""
4016 return _IMP_core.DihedralRestraint_get_version_info(self)
4019 """__str__(DihedralRestraint self) -> std::string"""
4020 return _IMP_core.DihedralRestraint___str__(self)
4023 """__repr__(DihedralRestraint self) -> std::string"""
4024 return _IMP_core.DihedralRestraint___repr__(self)
4027 return _object_cast_to_DihedralRestraint(o)
4028 get_from = staticmethod(get_from)
4030 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4031 DihedralRestraint_swigregister(DihedralRestraint)
4034 """Proxy of C++ IMP::core::DistancePairScore class"""
4035 __swig_setmethods__ = {}
4036 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4037 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistancePairScore, name, value)
4038 __swig_getmethods__ = {}
4039 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4040 __getattr__ =
lambda self, name: _swig_getattr(self, DistancePairScore, name)
4041 def __init__(self, *args):
4043 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
4044 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4046 this = _IMP_core.new_DistancePairScore(*args)
4047 try: self.this.append(this)
4048 except: self.this = this
4049 def do_get_inputs(self, *args):
4050 """do_get_inputs(DistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4051 return _IMP_core.DistancePairScore_do_get_inputs(self, *args)
4053 def get_version_info(self):
4054 """get_version_info(DistancePairScore self) -> VersionInfo"""
4055 return _IMP_core.DistancePairScore_get_version_info(self)
4058 """__str__(DistancePairScore self) -> std::string"""
4059 return _IMP_core.DistancePairScore___str__(self)
4062 """__repr__(DistancePairScore self) -> std::string"""
4063 return _IMP_core.DistancePairScore___repr__(self)
4066 return _object_cast_to_DistancePairScore(o)
4067 get_from = staticmethod(get_from)
4069 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4070 DistancePairScore_swigregister(DistancePairScore)
4073 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4074 __swig_setmethods__ = {}
4075 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4076 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicDistancePairScore, name, value)
4077 __swig_getmethods__ = {}
4078 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4079 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicDistancePairScore, name)
4080 def __init__(self, *args):
4082 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
4083 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4085 this = _IMP_core.new_HarmonicDistancePairScore(*args)
4086 try: self.this.append(this)
4087 except: self.this = this
4088 def do_get_inputs(self, *args):
4089 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4090 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, *args)
4092 def get_version_info(self):
4093 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4094 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4097 """__str__(HarmonicDistancePairScore self) -> std::string"""
4098 return _IMP_core.HarmonicDistancePairScore___str__(self)
4101 """__repr__(HarmonicDistancePairScore self) -> std::string"""
4102 return _IMP_core.HarmonicDistancePairScore___repr__(self)
4105 return _object_cast_to_HarmonicDistancePairScore(o)
4106 get_from = staticmethod(get_from)
4108 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4109 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4112 """Proxy of C++ IMP::core::DistanceRestraint class"""
4113 __swig_setmethods__ = {}
4114 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4115 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceRestraint, name, value)
4116 __swig_getmethods__ = {}
4117 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4118 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceRestraint, name)
4119 def __init__(self, *args):
4120 """__init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint"""
4121 this = _IMP_core.new_DistanceRestraint(*args)
4122 try: self.this.append(this)
4123 except: self.this = this
4124 def get_version_info(self):
4125 """get_version_info(DistanceRestraint self) -> VersionInfo"""
4126 return _IMP_core.DistanceRestraint_get_version_info(self)
4129 """__str__(DistanceRestraint self) -> std::string"""
4130 return _IMP_core.DistanceRestraint___str__(self)
4133 """__repr__(DistanceRestraint self) -> std::string"""
4134 return _IMP_core.DistanceRestraint___repr__(self)
4137 return _object_cast_to_DistanceRestraint(o)
4138 get_from = staticmethod(get_from)
4140 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4141 DistanceRestraint_swigregister(DistanceRestraint)
4144 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4145 __swig_setmethods__ = {}
4147 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistanceToSingletonScore, name, value)
4148 __swig_getmethods__ = {}
4150 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistanceToSingletonScore, name)
4151 def __init__(self, *args):
4152 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4153 this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
4154 try: self.this.append(this)
4155 except: self.this = this
4156 def do_get_inputs(self, *args):
4157 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4158 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, *args)
4160 def get_version_info(self):
4161 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4162 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4165 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4166 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4169 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4170 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4173 return _object_cast_to_SphereDistanceToSingletonScore(o)
4174 get_from = staticmethod(get_from)
4176 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4177 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4180 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4181 __swig_setmethods__ = {}
4182 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4183 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExcludedVolumeRestraint, name, value)
4184 __swig_getmethods__ = {}
4185 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4186 __getattr__ =
lambda self, name: _swig_getattr(self, ExcludedVolumeRestraint, name)
4187 def __init__(self, *args):
4189 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
4190 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4191 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4192 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4194 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4195 try: self.this.append(this)
4196 except: self.this = this
4197 def do_get_inputs(self):
4198 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4199 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4201 def get_version_info(self):
4202 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4203 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4205 def do_create_decomposition(self):
4206 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4207 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4209 def do_create_current_decomposition(self):
4210 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4211 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4214 """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
4215 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4217 def remove_pair_filter(self, *args):
4218 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4219 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
4221 def remove_pair_filters(self, *args):
4222 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
4223 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
4225 def set_pair_filters(self, *args):
4226 """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
4227 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
4229 def set_pair_filters_order(self, *args):
4230 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4231 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
4233 def add_pair_filter(self, *args):
4234 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4235 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
4237 def add_pair_filters(self, *args):
4238 """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4239 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
4241 def clear_pair_filters(self):
4242 """clear_pair_filters(ExcludedVolumeRestraint self)"""
4243 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4245 def get_number_of_pair_filters(self):
4246 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4247 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4249 def get_has_pair_filters(self):
4250 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4251 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4253 def get_pair_filter(self, *args):
4254 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4255 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
4257 def get_pair_filters(self):
4258 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
4259 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4261 def reserve_pair_filters(self, *args):
4262 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4263 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
4266 """__str__(ExcludedVolumeRestraint self) -> std::string"""
4267 return _IMP_core.ExcludedVolumeRestraint___str__(self)
4270 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4271 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4274 return _object_cast_to_ExcludedVolumeRestraint(o)
4275 get_from = staticmethod(get_from)
4277 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4278 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4281 """Proxy of C++ IMP::core::FixedRefiner class"""
4282 __swig_setmethods__ = {}
4283 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4284 __setattr__ =
lambda self, name, value: _swig_setattr(self, FixedRefiner, name, value)
4285 __swig_getmethods__ = {}
4286 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4287 __getattr__ =
lambda self, name: _swig_getattr(self, FixedRefiner, name)
4288 def __init__(self, *args):
4289 """__init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner"""
4290 this = _IMP_core.new_FixedRefiner(*args)
4291 try: self.this.append(this)
4292 except: self.this = this
4293 def do_get_inputs(self, *args):
4294 """do_get_inputs(FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4295 return _IMP_core.FixedRefiner_do_get_inputs(self, *args)
4297 def get_version_info(self):
4298 """get_version_info(FixedRefiner self) -> VersionInfo"""
4299 return _IMP_core.FixedRefiner_get_version_info(self)
4302 """__str__(FixedRefiner self) -> std::string"""
4303 return _IMP_core.FixedRefiner___str__(self)
4306 """__repr__(FixedRefiner self) -> std::string"""
4307 return _IMP_core.FixedRefiner___repr__(self)
4310 return _object_cast_to_FixedRefiner(o)
4311 get_from = staticmethod(get_from)
4313 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4314 FixedRefiner_swigregister(FixedRefiner)
4316 class GridClosePairsFinder(ClosePairsFinder):
4317 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4318 __swig_setmethods__ = {}
4319 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4320 __setattr__ =
lambda self, name, value: _swig_setattr(self, GridClosePairsFinder, name, value)
4321 __swig_getmethods__ = {}
4322 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4323 __getattr__ =
lambda self, name: _swig_getattr(self, GridClosePairsFinder, name)
4325 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4326 this = _IMP_core.new_GridClosePairsFinder()
4327 try: self.this.append(this)
4328 except: self.this = this
4329 def get_close_pairs(self, *args):
4331 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
4332 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
4333 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4334 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4335 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4336 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4338 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4340 def do_get_inputs(self, *args):
4341 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4342 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, *args)
4344 def get_version_info(self):
4345 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4346 return _IMP_core.GridClosePairsFinder_get_version_info(self)
4349 """__str__(GridClosePairsFinder self) -> std::string"""
4350 return _IMP_core.GridClosePairsFinder___str__(self)
4353 """__repr__(GridClosePairsFinder self) -> std::string"""
4354 return _IMP_core.GridClosePairsFinder___repr__(self)
4357 return _object_cast_to_GridClosePairsFinder(o)
4358 get_from = staticmethod(get_from)
4360 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4361 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4364 """Proxy of C++ IMP::core::Harmonic class"""
4365 __swig_setmethods__ = {}
4367 __setattr__ =
lambda self, name, value: _swig_setattr(self, Harmonic, name, value)
4368 __swig_getmethods__ = {}
4370 __getattr__ =
lambda self, name: _swig_getattr(self, Harmonic, name)
4371 def __init__(self, *args):
4372 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4373 this = _IMP_core.new_Harmonic(*args)
4374 try: self.this.append(this)
4375 except: self.this = this
4376 def get_version_info(self):
4377 """get_version_info(Harmonic self) -> VersionInfo"""
4378 return _IMP_core.Harmonic_get_version_info(self)
4381 """get_mean(Harmonic self) -> IMP::Float"""
4382 return _IMP_core.Harmonic_get_mean(self)
4385 """get_k(Harmonic self) -> IMP::Float"""
4386 return _IMP_core.Harmonic_get_k(self)
4388 def set_mean(self, *args):
4389 """set_mean(Harmonic self, IMP::Float mean)"""
4390 return _IMP_core.Harmonic_set_mean(self, *args)
4392 def set_k(self, *args):
4393 """set_k(Harmonic self, IMP::Float k)"""
4394 return _IMP_core.Harmonic_set_k(self, *args)
4396 def get_k_from_standard_deviation(*args):
4398 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4399 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4401 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4403 if _newclass:get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4404 __swig_getmethods__[
"get_k_from_standard_deviation"] =
lambda x: get_k_from_standard_deviation
4406 """__str__(Harmonic self) -> std::string"""
4407 return _IMP_core.Harmonic___str__(self)
4410 """__repr__(Harmonic self) -> std::string"""
4411 return _IMP_core.Harmonic___repr__(self)
4414 return _object_cast_to_Harmonic(o)
4415 get_from = staticmethod(get_from)
4417 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4418 Harmonic_swigregister(Harmonic)
4420 def Harmonic_get_k_from_standard_deviation(*args):
4422 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4423 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4425 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4428 """Proxy of C++ IMP::core::HarmonicWell class"""
4429 __swig_setmethods__ = {}
4431 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicWell, name, value)
4432 __swig_getmethods__ = {}
4434 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicWell, name)
4435 def __init__(self, *args):
4436 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4437 this = _IMP_core.new_HarmonicWell(*args)
4438 try: self.this.append(this)
4439 except: self.this = this
4440 def get_version_info(self):
4441 """get_version_info(HarmonicWell self) -> VersionInfo"""
4442 return _IMP_core.HarmonicWell_get_version_info(self)
4445 """__str__(HarmonicWell self) -> std::string"""
4446 return _IMP_core.HarmonicWell___str__(self)
4449 """__repr__(HarmonicWell self) -> std::string"""
4450 return _IMP_core.HarmonicWell___repr__(self)
4453 return _object_cast_to_HarmonicWell(o)
4454 get_from = staticmethod(get_from)
4456 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4457 HarmonicWell_swigregister(HarmonicWell)
4459 class HarmonicLowerBound(Harmonic):
4460 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4461 __swig_setmethods__ = {}
4462 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4463 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicLowerBound, name, value)
4464 __swig_getmethods__ = {}
4465 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4466 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicLowerBound, name)
4467 def __init__(self, *args):
4468 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4469 this = _IMP_core.new_HarmonicLowerBound(*args)
4470 try: self.this.append(this)
4471 except: self.this = this
4473 """__str__(HarmonicLowerBound self) -> std::string"""
4474 return _IMP_core.HarmonicLowerBound___str__(self)
4477 """__repr__(HarmonicLowerBound self) -> std::string"""
4478 return _IMP_core.HarmonicLowerBound___repr__(self)
4481 return _object_cast_to_HarmonicLowerBound(o)
4482 get_from = staticmethod(get_from)
4484 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4485 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4487 class HarmonicUpperBound(Harmonic):
4488 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4489 __swig_setmethods__ = {}
4490 for _s
in [Harmonic]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4491 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBound, name, value)
4492 __swig_getmethods__ = {}
4493 for _s
in [Harmonic]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4494 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBound, name)
4495 def __init__(self, *args):
4496 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4497 this = _IMP_core.new_HarmonicUpperBound(*args)
4498 try: self.this.append(this)
4499 except: self.this = this
4501 """__str__(HarmonicUpperBound self) -> std::string"""
4502 return _IMP_core.HarmonicUpperBound___str__(self)
4505 """__repr__(HarmonicUpperBound self) -> std::string"""
4506 return _IMP_core.HarmonicUpperBound___repr__(self)
4509 return _object_cast_to_HarmonicUpperBound(o)
4510 get_from = staticmethod(get_from)
4512 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4513 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4516 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4517 __swig_setmethods__ = {}
4518 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4519 __setattr__ =
lambda self, name, value: _swig_setattr(self, MSConnectivityRestraint, name, value)
4520 __swig_getmethods__ = {}
4521 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4522 __getattr__ =
lambda self, name: _swig_getattr(self, MSConnectivityRestraint, name)
4523 def __init__(self, *args):
4525 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4526 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
4528 this = _IMP_core.new_MSConnectivityRestraint(*args)
4529 try: self.this.append(this)
4530 except: self.this = this
4531 def add_type(self, *args):
4532 """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4533 return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4535 def add_composite(self, *args):
4537 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4538 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4540 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4542 def get_connected_pairs(self):
4543 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4544 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4546 def get_pair_score(self):
4547 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4548 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4550 def do_create_current_decomposition(self):
4551 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4552 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4554 def do_get_inputs(self):
4555 """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4556 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4558 def get_version_info(self):
4559 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4560 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4563 """__str__(MSConnectivityRestraint self) -> std::string"""
4564 return _IMP_core.MSConnectivityRestraint___str__(self)
4567 """__repr__(MSConnectivityRestraint self) -> std::string"""
4568 return _IMP_core.MSConnectivityRestraint___repr__(self)
4571 return _object_cast_to_MSConnectivityRestraint(o)
4572 get_from = staticmethod(get_from)
4574 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4575 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4577 class HierarchyTraits(_object):
4578 """Proxy of C++ IMP::core::HierarchyTraits class"""
4579 __swig_setmethods__ = {}
4580 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyTraits, name, value)
4581 __swig_getmethods__ = {}
4582 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyTraits, name)
4583 def __init__(self, *args):
4585 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4586 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4588 this = _IMP_core.new_HierarchyTraits(*args)
4589 try: self.this.append(this)
4590 except: self.this = this
4591 def get_children_key(self):
4592 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4593 return _IMP_core.HierarchyTraits_get_children_key(self)
4595 def get_parent_key(self):
4596 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4597 return _IMP_core.HierarchyTraits_get_parent_key(self)
4599 def __eq__(self, *args):
4600 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4601 return _IMP_core.HierarchyTraits___eq__(self, *args)
4603 def show(self, *args):
4605 show(HierarchyTraits self, _ostream out=std::cout)
4606 show(HierarchyTraits self)
4608 return _IMP_core.HierarchyTraits_show(self, *args)
4611 """__str__(HierarchyTraits self) -> std::string"""
4612 return _IMP_core.HierarchyTraits___str__(self)
4615 """__repr__(HierarchyTraits self) -> std::string"""
4616 return _IMP_core.HierarchyTraits___repr__(self)
4618 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4619 __del__ =
lambda self :
None;
4620 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4621 HierarchyTraits_swigregister(HierarchyTraits)
4624 """Proxy of C++ IMP::core::Hierarchy class"""
4625 __swig_setmethods__ = {}
4626 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4627 __setattr__ =
lambda self, name, value: _swig_setattr(self, Hierarchy, name, value)
4628 __swig_getmethods__ = {}
4629 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4630 __getattr__ =
lambda self, name: _swig_getattr(self, Hierarchy, name)
4631 def get_decorator_traits(self):
4632 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4633 return _IMP_core.Hierarchy_get_decorator_traits(self)
4635 def get_default_decorator_traits():
4636 """get_default_decorator_traits() -> HierarchyTraits"""
4637 return _IMP_core.Hierarchy_get_default_decorator_traits()
4639 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4640 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
4641 def __init__(self, *args):
4643 __init__(IMP::core::Hierarchy self) -> Hierarchy
4644 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4645 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id) -> Hierarchy
4646 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4647 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4649 this = _IMP_core.new_Hierarchy(*args)
4650 try: self.this.append(this)
4651 except: self.this = this
4652 def decorate_particle(*args):
4654 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4655 decorate_particle(Particle p) -> Hierarchy
4657 return _IMP_core.Hierarchy_decorate_particle(*args)
4659 if _newclass:decorate_particle = staticmethod(decorate_particle)
4660 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
4661 def show(self, *args):
4663 show(Hierarchy self, _ostream out=std::cout)
4664 show(Hierarchy self)
4666 return _IMP_core.Hierarchy_show(self, *args)
4668 def setup_particle(*args):
4670 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4671 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4672 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4673 setup_particle(_ParticleAdaptor d) -> Hierarchy
4674 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4675 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4676 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4677 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4678 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4679 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4680 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4681 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4683 return _IMP_core.Hierarchy_setup_particle(*args)
4685 if _newclass:setup_particle = staticmethod(setup_particle)
4686 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
4687 def get_is_setup(*args):
4689 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4690 get_is_setup(_ParticleAdaptor p) -> bool
4691 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4692 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4694 return _IMP_core.Hierarchy_get_is_setup(*args)
4696 if _newclass:get_is_setup = staticmethod(get_is_setup)
4697 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
4698 def get_parent(self):
4699 """get_parent(Hierarchy self) -> Hierarchy"""
4700 return _IMP_core.Hierarchy_get_parent(self)
4702 def get_number_of_children(self):
4703 """get_number_of_children(Hierarchy self) -> unsigned int"""
4704 return _IMP_core.Hierarchy_get_number_of_children(self)
4706 def get_child(self, *args):
4707 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4708 return _IMP_core.Hierarchy_get_child(self, *args)
4710 def get_children_indexes(self):
4711 """get_children_indexes(Hierarchy self) -> IMP::kernel::ParticleIndexes"""
4712 return _IMP_core.Hierarchy_get_children_indexes(self)
4714 def get_children(self):
4715 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4716 return _IMP_core.Hierarchy_get_children(self)
4718 def remove_child(self, *args):
4720 remove_child(Hierarchy self, unsigned int i)
4721 remove_child(Hierarchy self, Hierarchy h)
4723 return _IMP_core.Hierarchy_remove_child(self, *args)
4725 def clear_children(self):
4726 """clear_children(Hierarchy self)"""
4727 return _IMP_core.Hierarchy_clear_children(self)
4729 def add_child(self, *args):
4730 """add_child(Hierarchy self, Hierarchy h)"""
4731 return _IMP_core.Hierarchy_add_child(self, *args)
4733 def add_child_at(self, *args):
4734 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4735 return _IMP_core.Hierarchy_add_child_at(self, *args)
4737 def get_child_index(self, *args):
4739 get_child_index(Hierarchy self, unsigned int i) -> IMP::kernel::ParticleIndex
4740 get_child_index(Hierarchy self) -> int
4742 return _IMP_core.Hierarchy_get_child_index(self, *args)
4744 def get_default_traits():
4745 """get_default_traits() -> HierarchyTraits"""
4746 return _IMP_core.Hierarchy_get_default_traits()
4748 if _newclass:get_default_traits = staticmethod(get_default_traits)
4749 __swig_getmethods__[
"get_default_traits"] =
lambda x: get_default_traits
4750 def get_traits(self):
4751 """get_traits(Hierarchy self) -> HierarchyTraits"""
4752 return _IMP_core.Hierarchy_get_traits(self)
4754 def add_attribute(self, *args):
4756 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4757 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4758 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4759 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4760 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4761 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
4763 return _IMP_core.Hierarchy_add_attribute(self, *args)
4765 def get_value(self, *args):
4767 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4768 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4769 get_value(Hierarchy self, StringKey a0) -> IMP::String
4770 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4771 get_value(Hierarchy self, ObjectKey a0) -> Object
4773 return _IMP_core.Hierarchy_get_value(self, *args)
4775 def set_value(self, *args):
4777 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4778 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4779 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4780 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4781 set_value(Hierarchy self, ObjectKey a0, Object a1)
4783 return _IMP_core.Hierarchy_set_value(self, *args)
4785 def remove_attribute(self, *args):
4787 remove_attribute(Hierarchy self, FloatKey a0)
4788 remove_attribute(Hierarchy self, IntKey a0)
4789 remove_attribute(Hierarchy self, StringKey a0)
4790 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4791 remove_attribute(Hierarchy self, ObjectKey a0)
4793 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4795 def has_attribute(self, *args):
4797 has_attribute(Hierarchy self, FloatKey a0) -> bool
4798 has_attribute(Hierarchy self, IntKey a0) -> bool
4799 has_attribute(Hierarchy self, StringKey a0) -> bool
4800 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4801 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4803 return _IMP_core.Hierarchy_has_attribute(self, *args)
4805 def get_derivative(self, *args):
4806 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4807 return _IMP_core.Hierarchy_get_derivative(self, *args)
4810 """get_name(Hierarchy self) -> std::string"""
4811 return _IMP_core.Hierarchy_get_name(self)
4813 def clear_caches(self):
4814 """clear_caches(Hierarchy self)"""
4815 return _IMP_core.Hierarchy_clear_caches(self)
4817 def set_name(self, *args):
4818 """set_name(Hierarchy self, std::string a0)"""
4819 return _IMP_core.Hierarchy_set_name(self, *args)
4822 """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4823 return _IMP_core.Hierarchy_set_check_level(self, *args)
4825 def add_to_derivative(self, *args):
4826 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4827 return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4829 def set_is_optimized(self, *args):
4830 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4831 return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4833 def get_is_optimized(self, *args):
4834 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4835 return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4838 """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4839 return _IMP_core.Hierarchy_get_check_level(self)
4841 def __eq__(self, *args):
4843 __eq__(Hierarchy self, Hierarchy o) -> bool
4844 __eq__(Hierarchy self, Particle d) -> bool
4846 return _IMP_core.Hierarchy___eq__(self, *args)
4848 def __ne__(self, *args):
4850 __ne__(Hierarchy self, Hierarchy o) -> bool
4851 __ne__(Hierarchy self, Particle d) -> bool
4853 return _IMP_core.Hierarchy___ne__(self, *args)
4855 def __le__(self, *args):
4857 __le__(Hierarchy self, Hierarchy o) -> bool
4858 __le__(Hierarchy self, Particle d) -> bool
4860 return _IMP_core.Hierarchy___le__(self, *args)
4862 def __lt__(self, *args):
4864 __lt__(Hierarchy self, Hierarchy o) -> bool
4865 __lt__(Hierarchy self, Particle d) -> bool
4867 return _IMP_core.Hierarchy___lt__(self, *args)
4869 def __ge__(self, *args):
4871 __ge__(Hierarchy self, Hierarchy o) -> bool
4872 __ge__(Hierarchy self, Particle d) -> bool
4874 return _IMP_core.Hierarchy___ge__(self, *args)
4876 def __gt__(self, *args):
4878 __gt__(Hierarchy self, Hierarchy o) -> bool
4879 __gt__(Hierarchy self, Particle d) -> bool
4881 return _IMP_core.Hierarchy___gt__(self, *args)
4884 """__str__(Hierarchy self) -> std::string"""
4885 return _IMP_core.Hierarchy___str__(self)
4888 """__repr__(Hierarchy self) -> std::string"""
4889 return _IMP_core.Hierarchy___repr__(self)
4891 __swig_destroy__ = _IMP_core.delete_Hierarchy
4892 __del__ =
lambda self :
None;
4893 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4894 Hierarchy_swigregister(Hierarchy)
4896 def Hierarchy_get_default_decorator_traits():
4897 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4898 return _IMP_core.Hierarchy_get_default_decorator_traits()
4900 def Hierarchy_decorate_particle(*args):
4902 decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4903 Hierarchy_decorate_particle(Particle p) -> Hierarchy
4905 return _IMP_core.Hierarchy_decorate_particle(*args)
4907 def Hierarchy_setup_particle(*args):
4909 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4910 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4911 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4912 setup_particle(_ParticleAdaptor d) -> Hierarchy
4913 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4914 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4915 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4916 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4917 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4918 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4919 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4920 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4922 return _IMP_core.Hierarchy_setup_particle(*args)
4924 def Hierarchy_get_is_setup(*args):
4926 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4927 get_is_setup(_ParticleAdaptor p) -> bool
4928 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4929 Hierarchy_get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4931 return _IMP_core.Hierarchy_get_is_setup(*args)
4933 def Hierarchy_get_default_traits():
4934 """Hierarchy_get_default_traits() -> HierarchyTraits"""
4935 return _IMP_core.Hierarchy_get_default_traits()
4937 class HierarchyVisitor(_object):
4938 """Proxy of C++ IMP::core::HierarchyVisitor class"""
4939 __swig_setmethods__ = {}
4940 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyVisitor, name, value)
4941 __swig_getmethods__ = {}
4942 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyVisitor, name)
4943 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
4944 __repr__ = _swig_repr
4945 def __call__(self, *args):
4946 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
4947 return _IMP_core.HierarchyVisitor___call__(self, *args)
4949 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
4950 __del__ =
lambda self :
None;
4951 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
4952 HierarchyVisitor_swigregister(HierarchyVisitor)
4954 class ModifierVisitor(HierarchyVisitor):
4955 """Proxy of C++ IMP::core::ModifierVisitor class"""
4956 __swig_setmethods__ = {}
4957 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4958 __setattr__ =
lambda self, name, value: _swig_setattr(self, ModifierVisitor, name, value)
4959 __swig_getmethods__ = {}
4960 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4961 __getattr__ =
lambda self, name: _swig_getattr(self, ModifierVisitor, name)
4962 __repr__ = _swig_repr
4963 def __init__(self, *args):
4964 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
4965 this = _IMP_core.new_ModifierVisitor(*args)
4966 try: self.this.append(this)
4967 except: self.this = this
4968 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
4969 __del__ =
lambda self :
None;
4970 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
4971 ModifierVisitor_swigregister(ModifierVisitor)
4973 class HierarchyCounter(HierarchyVisitor):
4974 """Proxy of C++ IMP::core::HierarchyCounter class"""
4975 __swig_setmethods__ = {}
4976 for _s
in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4977 __setattr__ =
lambda self, name, value: _swig_setattr(self, HierarchyCounter, name, value)
4978 __swig_getmethods__ = {}
4979 for _s
in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4980 __getattr__ =
lambda self, name: _swig_getattr(self, HierarchyCounter, name)
4982 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
4983 this = _IMP_core.new_HierarchyCounter()
4984 try: self.this.append(this)
4985 except: self.this = this
4986 def get_count(self):
4987 """get_count(HierarchyCounter self) -> unsigned int"""
4988 return _IMP_core.HierarchyCounter_get_count(self)
4990 def show(self, *args):
4992 show(HierarchyCounter self, _ostream out=std::cout)
4993 show(HierarchyCounter self)
4995 return _IMP_core.HierarchyCounter_show(self, *args)
4998 """__str__(HierarchyCounter self) -> std::string"""
4999 return _IMP_core.HierarchyCounter___str__(self)
5002 """__repr__(HierarchyCounter self) -> std::string"""
5003 return _IMP_core.HierarchyCounter___repr__(self)
5005 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5006 __del__ =
lambda self :
None;
5007 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5008 HierarchyCounter_swigregister(HierarchyCounter)
5012 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5013 return _IMP_core.get_leaves(*args)
5016 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5017 return _IMP_core.get_internal(*args)
5020 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5021 return _IMP_core.get_all_descendants(*args)
5024 """get_root(Hierarchy h) -> Hierarchy"""
5025 return _IMP_core.get_root(*args)
5028 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5029 return _IMP_core.visit_breadth_first(*args)
5032 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5033 return _IMP_core.visit_depth_first(*args)
5035 """Proxy of C++ IMP::core::LeavesRefiner class"""
5036 __swig_setmethods__ = {}
5037 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5038 __setattr__ =
lambda self, name, value: _swig_setattr(self, LeavesRefiner, name, value)
5039 __swig_getmethods__ = {}
5040 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5041 __getattr__ =
lambda self, name: _swig_getattr(self, LeavesRefiner, name)
5042 def __init__(self, *args):
5043 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5044 this = _IMP_core.new_LeavesRefiner(*args)
5045 try: self.this.append(this)
5046 except: self.this = this
5047 def do_get_inputs(self, *args):
5048 """do_get_inputs(LeavesRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5049 return _IMP_core.LeavesRefiner_do_get_inputs(self, *args)
5051 def get_version_info(self):
5052 """get_version_info(LeavesRefiner self) -> VersionInfo"""
5053 return _IMP_core.LeavesRefiner_get_version_info(self)
5056 """__str__(LeavesRefiner self) -> std::string"""
5057 return _IMP_core.LeavesRefiner___str__(self)
5060 """__repr__(LeavesRefiner self) -> std::string"""
5061 return _IMP_core.LeavesRefiner___repr__(self)
5064 return _object_cast_to_LeavesRefiner(o)
5065 get_from = staticmethod(get_from)
5067 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5068 LeavesRefiner_swigregister(LeavesRefiner)
5071 """Proxy of C++ IMP::core::Linear class"""
5072 __swig_setmethods__ = {}
5074 __setattr__ =
lambda self, name, value: _swig_setattr(self, Linear, name, value)
5075 __swig_getmethods__ = {}
5077 __getattr__ =
lambda self, name: _swig_getattr(self, Linear, name)
5078 def __init__(self, *args):
5079 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5080 this = _IMP_core.new_Linear(*args)
5081 try: self.this.append(this)
5082 except: self.this = this
5083 def set_slope(self, *args):
5084 """set_slope(Linear self, double f)"""
5085 return _IMP_core.Linear_set_slope(self, *args)
5087 def set_offset(self, *args):
5088 """set_offset(Linear self, double f)"""
5089 return _IMP_core.Linear_set_offset(self, *args)
5091 def get_version_info(self):
5092 """get_version_info(Linear self) -> VersionInfo"""
5093 return _IMP_core.Linear_get_version_info(self)
5096 """__str__(Linear self) -> std::string"""
5097 return _IMP_core.Linear___str__(self)
5100 """__repr__(Linear self) -> std::string"""
5101 return _IMP_core.Linear___repr__(self)
5104 return _object_cast_to_Linear(o)
5105 get_from = staticmethod(get_from)
5107 Linear_swigregister = _IMP_core.Linear_swigregister
5108 Linear_swigregister(Linear)
5111 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5112 __swig_setmethods__ = {}
5114 __setattr__ =
lambda self, name, value: _swig_setattr(self, IncrementalScoringFunction, name, value)
5115 __swig_getmethods__ = {}
5117 __getattr__ =
lambda self, name: _swig_getattr(self, IncrementalScoringFunction, name)
5118 def __init__(self, *args):
5120 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5121 double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
5122 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5123 double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
5124 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5125 double weight=1.0) -> IncrementalScoringFunction
5126 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
5128 this = _IMP_core.new_IncrementalScoringFunction(*args)
5129 try: self.this.append(this)
5130 except: self.this = this
5131 def reset_moved_particles(self):
5132 """reset_moved_particles(IncrementalScoringFunction self)"""
5133 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5135 def set_moved_particles(self, *args):
5136 """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
5137 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
5139 def add_close_pair_score(self, *args):
5141 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
5142 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
5144 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5146 def clear_close_pair_scores(self):
5147 """clear_close_pair_scores(IncrementalScoringFunction self)"""
5148 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5150 def get_movable_indexes(self):
5151 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5152 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5154 def do_add_score_and_derivatives(self, *args):
5155 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
5156 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
5158 def do_get_inputs(self):
5159 """do_get_inputs(IncrementalScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
5160 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5162 def handle_set_has_required_score_states(self, *args):
5163 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5164 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, *args)
5166 def get_version_info(self):
5167 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5168 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5171 """__str__(IncrementalScoringFunction self) -> std::string"""
5172 return _IMP_core.IncrementalScoringFunction___str__(self)
5175 """__repr__(IncrementalScoringFunction self) -> std::string"""
5176 return _IMP_core.IncrementalScoringFunction___repr__(self)
5179 return _object_cast_to_IncrementalScoringFunction(o)
5180 get_from = staticmethod(get_from)
5182 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5183 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5185 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5187 """Proxy of C++ IMP::core::MonteCarlo class"""
5188 __swig_setmethods__ = {}
5189 for _s
in [
IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5190 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarlo, name, value)
5191 __swig_getmethods__ = {}
5192 for _s
in [
IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5193 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarlo, name)
5194 def __init__(self, *args):
5195 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
5196 this = _IMP_core.new_MonteCarlo(*args)
5197 try: self.this.append(this)
5198 except: self.this = this
5199 def get_version_info(self):
5200 """get_version_info(MonteCarlo self) -> VersionInfo"""
5201 return _IMP_core.MonteCarlo_get_version_info(self)
5203 def set_return_best(self, *args):
5204 """set_return_best(MonteCarlo self, bool tf)"""
5205 return _IMP_core.MonteCarlo_set_return_best(self, *args)
5207 def set_kt(self, *args):
5208 """set_kt(MonteCarlo self, IMP::Float t)"""
5209 return _IMP_core.MonteCarlo_set_kt(self, *args)
5212 """get_kt(MonteCarlo self) -> IMP::Float"""
5213 return _IMP_core.MonteCarlo_get_kt(self)
5215 def get_last_accepted_energy(self):
5216 """get_last_accepted_energy(MonteCarlo self) -> double"""
5217 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5219 def get_best_accepted_energy(self):
5220 """get_best_accepted_energy(MonteCarlo self) -> double"""
5221 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5223 def get_number_of_forward_steps(self):
5224 """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
5225 return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
5227 def get_number_of_downward_steps(self):
5228 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
5229 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
5231 def get_number_of_upward_steps(self):
5232 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5233 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5235 def get_number_of_proposed_steps(self):
5236 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5237 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5239 def get_number_of_accepted_steps(self):
5240 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5241 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5243 def reset_statistics(self):
5244 """reset_statistics(MonteCarlo self)"""
5245 return _IMP_core.MonteCarlo_reset_statistics(self)
5247 def set_score_threshold(self, *args):
5248 """set_score_threshold(MonteCarlo self, double s)"""
5249 return _IMP_core.MonteCarlo_set_score_threshold(self, *args)
5251 def get_score_threshold(self):
5252 """get_score_threshold(MonteCarlo self) -> double"""
5253 return _IMP_core.MonteCarlo_get_score_threshold(self)
5255 def set_maximum_difference(self, *args):
5256 """set_maximum_difference(MonteCarlo self, double d)"""
5257 return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
5259 def get_maximum_difference(self):
5260 """get_maximum_difference(MonteCarlo self) -> double"""
5261 return _IMP_core.MonteCarlo_get_maximum_difference(self)
5263 def remove_mover(self, *args):
5264 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5265 return _IMP_core.MonteCarlo_remove_mover(self, *args)
5267 def remove_movers(self, *args):
5268 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5269 return _IMP_core.MonteCarlo_remove_movers(self, *args)
5271 def set_movers(self, *args):
5272 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5273 return _IMP_core.MonteCarlo_set_movers(self, *args)
5275 def set_movers_order(self, *args):
5276 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5277 return _IMP_core.MonteCarlo_set_movers_order(self, *args)
5279 def add_mover(self, *args):
5280 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5281 return _IMP_core.MonteCarlo_add_mover(self, *args)
5283 def add_movers(self, *args):
5284 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5285 return _IMP_core.MonteCarlo_add_movers(self, *args)
5287 def clear_movers(self):
5288 """clear_movers(MonteCarlo self)"""
5289 return _IMP_core.MonteCarlo_clear_movers(self)
5291 def get_number_of_movers(self):
5292 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5293 return _IMP_core.MonteCarlo_get_number_of_movers(self)
5295 def get_has_movers(self):
5296 """get_has_movers(MonteCarlo self) -> bool"""
5297 return _IMP_core.MonteCarlo_get_has_movers(self)
5299 def get_mover(self, *args):
5300 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5301 return _IMP_core.MonteCarlo_get_mover(self, *args)
5303 def get_movers(self):
5304 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5305 return _IMP_core.MonteCarlo_get_movers(self)
5307 def reserve_movers(self, *args):
5308 """reserve_movers(MonteCarlo self, unsigned int sz)"""
5309 return _IMP_core.MonteCarlo_reserve_movers(self, *args)
5311 def set_incremental_scoring_function(self, *args):
5312 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5313 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
5315 def get_use_incremental_scoring_function(self):
5316 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5317 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5319 def get_incremental_scoring_function(self):
5320 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5321 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5324 """__str__(MonteCarlo self) -> std::string"""
5325 return _IMP_core.MonteCarlo___str__(self)
5328 """__repr__(MonteCarlo self) -> std::string"""
5329 return _IMP_core.MonteCarlo___repr__(self)
5332 return _object_cast_to_MonteCarlo(o)
5333 get_from = staticmethod(get_from)
5335 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5336 MonteCarlo_swigregister(MonteCarlo)
5338 class MonteCarloWithLocalOptimization(MonteCarlo):
5339 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5340 __swig_setmethods__ = {}
5341 for _s
in [MonteCarlo]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5342 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithLocalOptimization, name, value)
5343 __swig_getmethods__ = {}
5344 for _s
in [MonteCarlo]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5345 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithLocalOptimization, name)
5346 def __init__(self, *args):
5347 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5348 this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
5349 try: self.this.append(this)
5350 except: self.this = this
5351 def get_number_of_steps(self):
5352 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5353 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5355 def get_local_optimizer(self):
5356 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5357 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5360 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5361 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5364 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5365 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5368 return _object_cast_to_MonteCarloWithLocalOptimization(o)
5369 get_from = staticmethod(get_from)
5371 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5372 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5374 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5375 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5376 __swig_setmethods__ = {}
5377 for _s
in [MonteCarloWithLocalOptimization]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5378 __setattr__ =
lambda self, name, value: _swig_setattr(self, MonteCarloWithBasinHopping, name, value)
5379 __swig_getmethods__ = {}
5380 for _s
in [MonteCarloWithLocalOptimization]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5381 __getattr__ =
lambda self, name: _swig_getattr(self, MonteCarloWithBasinHopping, name)
5382 def __init__(self, *args):
5383 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5384 this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
5385 try: self.this.append(this)
5386 except: self.this = this
5388 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5389 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5392 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5393 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5396 return _object_cast_to_MonteCarloWithBasinHopping(o)
5397 get_from = staticmethod(get_from)
5399 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5400 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5403 """Proxy of C++ IMP::core::NeighborsTable class"""
5404 __swig_setmethods__ = {}
5406 __setattr__ =
lambda self, name, value: _swig_setattr(self, NeighborsTable, name, value)
5407 __swig_getmethods__ = {}
5409 __getattr__ =
lambda self, name: _swig_getattr(self, NeighborsTable, name)
5410 def __init__(self, *args):
5412 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable
5413 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5415 this = _IMP_core.new_NeighborsTable(*args)
5416 try: self.this.append(this)
5417 except: self.this = this
5418 def get_neighbors(self, *args):
5419 """get_neighbors(NeighborsTable self, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes const &"""
5420 return _IMP_core.NeighborsTable_get_neighbors(self, *args)
5422 def get_version_info(self):
5423 """get_version_info(NeighborsTable self) -> VersionInfo"""
5424 return _IMP_core.NeighborsTable_get_version_info(self)
5427 """__str__(NeighborsTable self) -> std::string"""
5428 return _IMP_core.NeighborsTable___str__(self)
5431 """__repr__(NeighborsTable self) -> std::string"""
5432 return _IMP_core.NeighborsTable___repr__(self)
5435 return _object_cast_to_NeighborsTable(o)
5436 get_from = staticmethod(get_from)
5438 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5439 NeighborsTable_swigregister(NeighborsTable)
5441 class NormalMover(MonteCarloMover):
5442 """Proxy of C++ IMP::core::NormalMover class"""
5443 __swig_setmethods__ = {}
5444 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5445 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalMover, name, value)
5446 __swig_getmethods__ = {}
5447 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5448 __getattr__ =
lambda self, name: _swig_getattr(self, NormalMover, name)
5449 def __init__(self, *args):
5451 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
5452 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
5453 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5454 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5456 this = _IMP_core.new_NormalMover(*args)
5457 try: self.this.append(this)
5458 except: self.this = this
5459 def set_sigma(self, *args):
5460 """set_sigma(NormalMover self, IMP::Float sigma)"""
5461 return _IMP_core.NormalMover_set_sigma(self, *args)
5463 def get_sigma(self):
5464 """get_sigma(NormalMover self) -> IMP::Float"""
5465 return _IMP_core.NormalMover_get_sigma(self)
5467 def get_version_info(self):
5468 """get_version_info(NormalMover self) -> VersionInfo"""
5469 return _IMP_core.NormalMover_get_version_info(self)
5472 """__str__(NormalMover self) -> std::string"""
5473 return _IMP_core.NormalMover___str__(self)
5476 """__repr__(NormalMover self) -> std::string"""
5477 return _IMP_core.NormalMover___repr__(self)
5480 return _object_cast_to_NormalMover(o)
5481 get_from = staticmethod(get_from)
5483 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5484 NormalMover_swigregister(NormalMover)
5486 class OpenCubicSpline(_OpenCubicSplineBase):
5487 """Proxy of C++ IMP::core::OpenCubicSpline class"""
5488 __swig_setmethods__ = {}
5489 for _s
in [_OpenCubicSplineBase]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5490 __setattr__ =
lambda self, name, value: _swig_setattr(self, OpenCubicSpline, name, value)
5491 __swig_getmethods__ = {}
5492 for _s
in [_OpenCubicSplineBase]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5493 __getattr__ =
lambda self, name: _swig_getattr(self, OpenCubicSpline, name)
5494 def __init__(self, *args):
5496 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5497 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5499 this = _IMP_core.new_OpenCubicSpline(*args)
5500 try: self.this.append(this)
5501 except: self.this = this
5503 """__str__(OpenCubicSpline self) -> std::string"""
5504 return _IMP_core.OpenCubicSpline___str__(self)
5507 """__repr__(OpenCubicSpline self) -> std::string"""
5508 return _IMP_core.OpenCubicSpline___repr__(self)
5511 return _object_cast_to_OpenCubicSpline(o)
5512 get_from = staticmethod(get_from)
5514 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5515 __del__ =
lambda self :
None;
5516 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5517 OpenCubicSpline_swigregister(OpenCubicSpline)
5519 class QuadraticClosePairsFinder(ClosePairsFinder):
5520 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5521 __swig_setmethods__ = {}
5522 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5523 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadraticClosePairsFinder, name, value)
5524 __swig_getmethods__ = {}
5525 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5526 __getattr__ =
lambda self, name: _swig_getattr(self, QuadraticClosePairsFinder, name)
5528 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5529 this = _IMP_core.new_QuadraticClosePairsFinder()
5530 try: self.this.append(this)
5531 except: self.this = this
5532 def get_are_close(self, *args):
5534 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
5535 get_are_close(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b) -> bool
5537 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5539 def get_close_pairs(self, *args):
5541 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
5542 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
5543 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5544 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5545 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
5546 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
5548 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5550 def do_get_inputs(self, *args):
5551 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5552 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, *args)
5554 def get_version_info(self):
5555 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5556 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5559 """__str__(QuadraticClosePairsFinder self) -> std::string"""
5560 return _IMP_core.QuadraticClosePairsFinder___str__(self)
5563 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5564 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5567 return _object_cast_to_QuadraticClosePairsFinder(o)
5568 get_from = staticmethod(get_from)
5570 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5571 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5574 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5575 __swig_setmethods__ = {}
5576 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5577 __setattr__ =
lambda self, name, value: _swig_setattr(self, RefinedPairsPairScore, name, value)
5578 __swig_getmethods__ = {}
5579 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5580 __getattr__ =
lambda self, name: _swig_getattr(self, RefinedPairsPairScore, name)
5581 def __init__(self, *args):
5582 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5583 this = _IMP_core.new_RefinedPairsPairScore(*args)
5584 try: self.this.append(this)
5585 except: self.this = this
5586 def do_get_inputs(self, *args):
5587 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5588 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, *args)
5590 def get_version_info(self):
5591 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5592 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5595 """__str__(RefinedPairsPairScore self) -> std::string"""
5596 return _IMP_core.RefinedPairsPairScore___str__(self)
5599 """__repr__(RefinedPairsPairScore self) -> std::string"""
5600 return _IMP_core.RefinedPairsPairScore___repr__(self)
5603 return _object_cast_to_RefinedPairsPairScore(o)
5604 get_from = staticmethod(get_from)
5606 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5607 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5609 class RigidBody(XYZ):
5610 """Proxy of C++ IMP::core::RigidBody class"""
5611 __swig_setmethods__ = {}
5612 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5613 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBody, name, value)
5614 __swig_getmethods__ = {}
5615 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5616 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBody, name)
5617 def get_members(self):
5618 """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5619 return _IMP_core.RigidBody_get_members(self)
5621 def get_rigid_members(self):
5622 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
5623 return _IMP_core.RigidBody_get_rigid_members(self)
5625 def get_member_particle_indexes(self):
5626 """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5627 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5629 def get_body_member_particle_indexes(self):
5630 """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5631 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5633 def get_member_indexes(self):
5634 """get_member_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes"""
5635 return _IMP_core.RigidBody_get_member_indexes(self)
5637 def __init__(self, *args):
5639 __init__(IMP::core::RigidBody self) -> RigidBody
5640 __init__(IMP::core::RigidBody self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBody
5641 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5643 this = _IMP_core.new_RigidBody(*args)
5644 try: self.this.append(this)
5645 except: self.this = this
5646 def decorate_particle(*args):
5647 """decorate_particle(Particle p) -> RigidBody"""
5648 return _IMP_core.RigidBody_decorate_particle(*args)
5650 if _newclass:decorate_particle = staticmethod(decorate_particle)
5651 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
5652 def show(self, *args):
5654 show(RigidBody self, _ostream out=std::cout)
5655 show(RigidBody self)
5657 return _IMP_core.RigidBody_show(self, *args)
5659 def setup_particle(*args):
5661 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5662 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5663 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5664 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5666 return _IMP_core.RigidBody_setup_particle(*args)
5668 if _newclass:setup_particle = staticmethod(setup_particle)
5669 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
5670 def teardown_particle(*args):
5671 """teardown_particle(RigidBody rb)"""
5672 return _IMP_core.RigidBody_teardown_particle(*args)
5674 if _newclass:teardown_particle = staticmethod(teardown_particle)
5675 __swig_getmethods__[
"teardown_particle"] =
lambda x: teardown_particle
5676 __swig_destroy__ = _IMP_core.delete_RigidBody
5677 __del__ =
lambda self :
None;
5678 def get_is_setup(*args):
5680 get_is_setup(_ParticleAdaptor p) -> bool
5681 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5683 return _IMP_core.RigidBody_get_is_setup(*args)
5685 if _newclass:get_is_setup = staticmethod(get_is_setup)
5686 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5687 def get_coordinates(self):
5688 """get_coordinates(RigidBody self) -> Vector3D"""
5689 return _IMP_core.RigidBody_get_coordinates(self)
5691 def get_reference_frame(self):
5692 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5693 return _IMP_core.RigidBody_get_reference_frame(self)
5695 def set_reference_frame(self, *args):
5696 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5697 return _IMP_core.RigidBody_set_reference_frame(self, *args)
5699 def set_reference_frame_lazy(self, *args):
5700 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5701 return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5703 def set_reference_frame_from_members(self, *args):
5704 """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5705 return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5707 def add_to_derivatives(self, *args):
5709 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5710 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5711 DerivativeAccumulator da)
5713 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5715 def get_torque(self):
5716 """get_torque(RigidBody self) -> Vector3D"""
5717 return _IMP_core.RigidBody_get_torque(self)
5719 def get_coordinates_are_optimized(self):
5720 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5721 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5723 def set_coordinates_are_optimized(self, *args):
5724 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5725 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5727 def normalize_rotation(self):
5728 """normalize_rotation(RigidBody self)"""
5729 return _IMP_core.RigidBody_normalize_rotation(self)
5731 def update_members(self):
5732 """update_members(RigidBody self)"""
5733 return _IMP_core.RigidBody_update_members(self)
5735 def get_rotational_derivatives(self):
5736 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5737 return _IMP_core.RigidBody_get_rotational_derivatives(self)
5739 def get_number_of_members(self):
5740 """get_number_of_members(RigidBody self) -> unsigned int"""
5741 return _IMP_core.RigidBody_get_number_of_members(self)
5743 def get_member(self, *args):
5744 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5745 return _IMP_core.RigidBody_get_member(self, *args)
5747 def add_member(self, *args):
5748 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
5749 return _IMP_core.RigidBody_add_member(self, *args)
5751 def add_non_rigid_member(self, *args):
5752 """add_non_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi)"""
5753 return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5755 def set_is_rigid_member(self, *args):
5756 """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5757 return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5759 def add_attribute(self, *args):
5761 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5762 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5763 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5764 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5765 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5766 add_attribute(RigidBody self, ObjectKey a0, Object a1)
5768 return _IMP_core.RigidBody_add_attribute(self, *args)
5770 def get_value(self, *args):
5772 get_value(RigidBody self, FloatKey a0) -> IMP::Float
5773 get_value(RigidBody self, IntKey a0) -> IMP::Int
5774 get_value(RigidBody self, StringKey a0) -> IMP::String
5775 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5776 get_value(RigidBody self, ObjectKey a0) -> Object
5778 return _IMP_core.RigidBody_get_value(self, *args)
5780 def set_value(self, *args):
5782 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5783 set_value(RigidBody self, IntKey a0, IMP::Int a1)
5784 set_value(RigidBody self, StringKey a0, IMP::String a1)
5785 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5786 set_value(RigidBody self, ObjectKey a0, Object a1)
5788 return _IMP_core.RigidBody_set_value(self, *args)
5790 def remove_attribute(self, *args):
5792 remove_attribute(RigidBody self, FloatKey a0)
5793 remove_attribute(RigidBody self, IntKey a0)
5794 remove_attribute(RigidBody self, StringKey a0)
5795 remove_attribute(RigidBody self, ParticleIndexKey a0)
5796 remove_attribute(RigidBody self, ObjectKey a0)
5798 return _IMP_core.RigidBody_remove_attribute(self, *args)
5800 def has_attribute(self, *args):
5802 has_attribute(RigidBody self, FloatKey a0) -> bool
5803 has_attribute(RigidBody self, IntKey a0) -> bool
5804 has_attribute(RigidBody self, StringKey a0) -> bool
5805 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5806 has_attribute(RigidBody self, ObjectKey a0) -> bool
5808 return _IMP_core.RigidBody_has_attribute(self, *args)
5810 def get_derivative(self, *args):
5811 """get_derivative(RigidBody self, FloatKey a0) -> double"""
5812 return _IMP_core.RigidBody_get_derivative(self, *args)
5815 """get_name(RigidBody self) -> std::string"""
5816 return _IMP_core.RigidBody_get_name(self)
5818 def clear_caches(self):
5819 """clear_caches(RigidBody self)"""
5820 return _IMP_core.RigidBody_clear_caches(self)
5822 def set_name(self, *args):
5823 """set_name(RigidBody self, std::string a0)"""
5824 return _IMP_core.RigidBody_set_name(self, *args)
5827 """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5828 return _IMP_core.RigidBody_set_check_level(self, *args)
5830 def add_to_derivative(self, *args):
5831 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5832 return _IMP_core.RigidBody_add_to_derivative(self, *args)
5834 def set_is_optimized(self, *args):
5835 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5836 return _IMP_core.RigidBody_set_is_optimized(self, *args)
5838 def get_is_optimized(self, *args):
5839 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5840 return _IMP_core.RigidBody_get_is_optimized(self, *args)
5843 """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5844 return _IMP_core.RigidBody_get_check_level(self)
5846 def __eq__(self, *args):
5848 __eq__(RigidBody self, RigidBody o) -> bool
5849 __eq__(RigidBody self, Particle d) -> bool
5851 return _IMP_core.RigidBody___eq__(self, *args)
5853 def __ne__(self, *args):
5855 __ne__(RigidBody self, RigidBody o) -> bool
5856 __ne__(RigidBody self, Particle d) -> bool
5858 return _IMP_core.RigidBody___ne__(self, *args)
5860 def __le__(self, *args):
5862 __le__(RigidBody self, RigidBody o) -> bool
5863 __le__(RigidBody self, Particle d) -> bool
5865 return _IMP_core.RigidBody___le__(self, *args)
5867 def __lt__(self, *args):
5869 __lt__(RigidBody self, RigidBody o) -> bool
5870 __lt__(RigidBody self, Particle d) -> bool
5872 return _IMP_core.RigidBody___lt__(self, *args)
5874 def __ge__(self, *args):
5876 __ge__(RigidBody self, RigidBody o) -> bool
5877 __ge__(RigidBody self, Particle d) -> bool
5879 return _IMP_core.RigidBody___ge__(self, *args)
5881 def __gt__(self, *args):
5883 __gt__(RigidBody self, RigidBody o) -> bool
5884 __gt__(RigidBody self, Particle d) -> bool
5886 return _IMP_core.RigidBody___gt__(self, *args)
5889 """__str__(RigidBody self) -> std::string"""
5890 return _IMP_core.RigidBody___str__(self)
5893 """__repr__(RigidBody self) -> std::string"""
5894 return _IMP_core.RigidBody___repr__(self)
5896 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5897 RigidBody_swigregister(RigidBody)
5899 def RigidBody_decorate_particle(*args):
5900 """RigidBody_decorate_particle(Particle p) -> RigidBody"""
5901 return _IMP_core.RigidBody_decorate_particle(*args)
5903 def RigidBody_setup_particle(*args):
5905 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5906 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5907 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5908 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5910 return _IMP_core.RigidBody_setup_particle(*args)
5912 def RigidBody_teardown_particle(*args):
5913 """RigidBody_teardown_particle(RigidBody rb)"""
5914 return _IMP_core.RigidBody_teardown_particle(*args)
5916 def RigidBody_get_is_setup(*args):
5918 get_is_setup(_ParticleAdaptor p) -> bool
5919 RigidBody_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5921 return _IMP_core.RigidBody_get_is_setup(*args)
5925 """add_rigid_body_cache_key(ObjectKey k)"""
5926 return _IMP_core.add_rigid_body_cache_key(*args)
5927 class RigidBodyMember(XYZ):
5928 """Proxy of C++ IMP::core::RigidBodyMember class"""
5929 __swig_setmethods__ = {}
5930 for _s
in [XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5931 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMember, name, value)
5932 __swig_getmethods__ = {}
5933 for _s
in [XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5934 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMember, name)
5935 def __init__(self, *args):
5937 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
5938 __init__(IMP::core::RigidBodyMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBodyMember
5939 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
5941 this = _IMP_core.new_RigidBodyMember(*args)
5942 try: self.this.append(this)
5943 except: self.this = this
5944 def decorate_particle(*args):
5945 """decorate_particle(Particle p) -> RigidBodyMember"""
5946 return _IMP_core.RigidBodyMember_decorate_particle(*args)
5948 if _newclass:decorate_particle = staticmethod(decorate_particle)
5949 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
5950 def show(self, *args):
5952 show(RigidBodyMember self, _ostream out=std::cout)
5953 show(RigidBodyMember self)
5955 return _IMP_core.RigidBodyMember_show(self, *args)
5957 def get_rigid_body(self):
5958 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
5959 return _IMP_core.RigidBodyMember_get_rigid_body(self)
5961 def get_internal_coordinates(self):
5962 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
5963 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
5965 def set_internal_coordinates(self, *args):
5966 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
5967 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, *args)
5969 def set_internal_transformation(self, *args):
5970 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
5971 return _IMP_core.RigidBodyMember_set_internal_transformation(self, *args)
5973 def get_internal_transformation(self):
5974 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
5975 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
5977 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
5978 __del__ =
lambda self :
None;
5979 def set_coordinates(self, *args):
5981 set_coordinates(RigidBodyMember self, Vector3D center)
5982 set_coordinates(RigidBodyMember self, Transformation3D tr)
5984 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
5986 def get_is_setup(*args):
5988 get_is_setup(_ParticleAdaptor p) -> bool
5989 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5991 return _IMP_core.RigidBodyMember_get_is_setup(*args)
5993 if _newclass:get_is_setup = staticmethod(get_is_setup)
5994 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
5995 def get_internal_coordinate_keys():
5996 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
5997 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
5999 if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6000 __swig_getmethods__[
"get_internal_coordinate_keys"] =
lambda x: get_internal_coordinate_keys
6001 def add_attribute(self, *args):
6003 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6004 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6005 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6006 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6007 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6008 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
6010 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6012 def get_value(self, *args):
6014 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6015 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6016 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6017 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6018 get_value(RigidBodyMember self, ObjectKey a0) -> Object
6020 return _IMP_core.RigidBodyMember_get_value(self, *args)
6022 def set_value(self, *args):
6024 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6025 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6026 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6027 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6028 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
6030 return _IMP_core.RigidBodyMember_set_value(self, *args)
6032 def remove_attribute(self, *args):
6034 remove_attribute(RigidBodyMember self, FloatKey a0)
6035 remove_attribute(RigidBodyMember self, IntKey a0)
6036 remove_attribute(RigidBodyMember self, StringKey a0)
6037 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6038 remove_attribute(RigidBodyMember self, ObjectKey a0)
6040 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6042 def has_attribute(self, *args):
6044 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6045 has_attribute(RigidBodyMember self, IntKey a0) -> bool
6046 has_attribute(RigidBodyMember self, StringKey a0) -> bool
6047 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6048 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6050 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6052 def get_derivative(self, *args):
6053 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6054 return _IMP_core.RigidBodyMember_get_derivative(self, *args)
6057 """get_name(RigidBodyMember self) -> std::string"""
6058 return _IMP_core.RigidBodyMember_get_name(self)
6060 def clear_caches(self):
6061 """clear_caches(RigidBodyMember self)"""
6062 return _IMP_core.RigidBodyMember_clear_caches(self)
6064 def set_name(self, *args):
6065 """set_name(RigidBodyMember self, std::string a0)"""
6066 return _IMP_core.RigidBodyMember_set_name(self, *args)
6069 """set_check_level(RigidBodyMember self, IMP::base::CheckLevel a0)"""
6070 return _IMP_core.RigidBodyMember_set_check_level(self, *args)
6072 def add_to_derivative(self, *args):
6073 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6074 return _IMP_core.RigidBodyMember_add_to_derivative(self, *args)
6076 def set_is_optimized(self, *args):
6077 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6078 return _IMP_core.RigidBodyMember_set_is_optimized(self, *args)
6080 def get_is_optimized(self, *args):
6081 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6082 return _IMP_core.RigidBodyMember_get_is_optimized(self, *args)
6085 """get_check_level(RigidBodyMember self) -> IMP::base::CheckLevel"""
6086 return _IMP_core.RigidBodyMember_get_check_level(self)
6088 def __eq__(self, *args):
6090 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6091 __eq__(RigidBodyMember self, Particle d) -> bool
6093 return _IMP_core.RigidBodyMember___eq__(self, *args)
6095 def __ne__(self, *args):
6097 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6098 __ne__(RigidBodyMember self, Particle d) -> bool
6100 return _IMP_core.RigidBodyMember___ne__(self, *args)
6102 def __le__(self, *args):
6104 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6105 __le__(RigidBodyMember self, Particle d) -> bool
6107 return _IMP_core.RigidBodyMember___le__(self, *args)
6109 def __lt__(self, *args):
6111 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6112 __lt__(RigidBodyMember self, Particle d) -> bool
6114 return _IMP_core.RigidBodyMember___lt__(self, *args)
6116 def __ge__(self, *args):
6118 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6119 __ge__(RigidBodyMember self, Particle d) -> bool
6121 return _IMP_core.RigidBodyMember___ge__(self, *args)
6123 def __gt__(self, *args):
6125 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6126 __gt__(RigidBodyMember self, Particle d) -> bool
6128 return _IMP_core.RigidBodyMember___gt__(self, *args)
6131 """__str__(RigidBodyMember self) -> std::string"""
6132 return _IMP_core.RigidBodyMember___str__(self)
6135 """__repr__(RigidBodyMember self) -> std::string"""
6136 return _IMP_core.RigidBodyMember___repr__(self)
6138 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6139 RigidBodyMember_swigregister(RigidBodyMember)
6141 def RigidBodyMember_decorate_particle(*args):
6142 """RigidBodyMember_decorate_particle(Particle p) -> RigidBodyMember"""
6143 return _IMP_core.RigidBodyMember_decorate_particle(*args)
6145 def RigidBodyMember_get_is_setup(*args):
6147 get_is_setup(_ParticleAdaptor p) -> bool
6148 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6150 return _IMP_core.RigidBodyMember_get_is_setup(*args)
6152 def RigidBodyMember_get_internal_coordinate_keys():
6153 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6154 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6156 class RigidMember(RigidBodyMember):
6157 """Proxy of C++ IMP::core::RigidMember class"""
6158 __swig_setmethods__ = {}
6159 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6160 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMember, name, value)
6161 __swig_getmethods__ = {}
6162 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6163 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMember, name)
6164 def __init__(self, *args):
6166 __init__(IMP::core::RigidMember self) -> RigidMember
6167 __init__(IMP::core::RigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidMember
6168 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6170 this = _IMP_core.new_RigidMember(*args)
6171 try: self.this.append(this)
6172 except: self.this = this
6173 def decorate_particle(*args):
6174 """decorate_particle(Particle p) -> RigidMember"""
6175 return _IMP_core.RigidMember_decorate_particle(*args)
6177 if _newclass:decorate_particle = staticmethod(decorate_particle)
6178 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6179 def show(self, *args):
6181 show(RigidMember self, _ostream out=std::cout)
6182 show(RigidMember self)
6184 return _IMP_core.RigidMember_show(self, *args)
6186 __swig_destroy__ = _IMP_core.delete_RigidMember
6187 __del__ =
lambda self :
None;
6188 def get_is_setup(*args):
6190 get_is_setup(_ParticleAdaptor p) -> bool
6191 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6193 return _IMP_core.RigidMember_get_is_setup(*args)
6195 if _newclass:get_is_setup = staticmethod(get_is_setup)
6196 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6197 def add_attribute(self, *args):
6199 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6200 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6201 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6202 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6203 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6204 add_attribute(RigidMember self, ObjectKey a0, Object a1)
6206 return _IMP_core.RigidMember_add_attribute(self, *args)
6208 def get_value(self, *args):
6210 get_value(RigidMember self, FloatKey a0) -> IMP::Float
6211 get_value(RigidMember self, IntKey a0) -> IMP::Int
6212 get_value(RigidMember self, StringKey a0) -> IMP::String
6213 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6214 get_value(RigidMember self, ObjectKey a0) -> Object
6216 return _IMP_core.RigidMember_get_value(self, *args)
6218 def set_value(self, *args):
6220 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6221 set_value(RigidMember self, IntKey a0, IMP::Int a1)
6222 set_value(RigidMember self, StringKey a0, IMP::String a1)
6223 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6224 set_value(RigidMember self, ObjectKey a0, Object a1)
6226 return _IMP_core.RigidMember_set_value(self, *args)
6228 def remove_attribute(self, *args):
6230 remove_attribute(RigidMember self, FloatKey a0)
6231 remove_attribute(RigidMember self, IntKey a0)
6232 remove_attribute(RigidMember self, StringKey a0)
6233 remove_attribute(RigidMember self, ParticleIndexKey a0)
6234 remove_attribute(RigidMember self, ObjectKey a0)
6236 return _IMP_core.RigidMember_remove_attribute(self, *args)
6238 def has_attribute(self, *args):
6240 has_attribute(RigidMember self, FloatKey a0) -> bool
6241 has_attribute(RigidMember self, IntKey a0) -> bool
6242 has_attribute(RigidMember self, StringKey a0) -> bool
6243 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6244 has_attribute(RigidMember self, ObjectKey a0) -> bool
6246 return _IMP_core.RigidMember_has_attribute(self, *args)
6248 def get_derivative(self, *args):
6249 """get_derivative(RigidMember self, FloatKey a0) -> double"""
6250 return _IMP_core.RigidMember_get_derivative(self, *args)
6253 """get_name(RigidMember self) -> std::string"""
6254 return _IMP_core.RigidMember_get_name(self)
6256 def clear_caches(self):
6257 """clear_caches(RigidMember self)"""
6258 return _IMP_core.RigidMember_clear_caches(self)
6260 def set_name(self, *args):
6261 """set_name(RigidMember self, std::string a0)"""
6262 return _IMP_core.RigidMember_set_name(self, *args)
6265 """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
6266 return _IMP_core.RigidMember_set_check_level(self, *args)
6268 def add_to_derivative(self, *args):
6269 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6270 return _IMP_core.RigidMember_add_to_derivative(self, *args)
6272 def set_is_optimized(self, *args):
6273 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6274 return _IMP_core.RigidMember_set_is_optimized(self, *args)
6276 def get_is_optimized(self, *args):
6277 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6278 return _IMP_core.RigidMember_get_is_optimized(self, *args)
6281 """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
6282 return _IMP_core.RigidMember_get_check_level(self)
6284 def __eq__(self, *args):
6286 __eq__(RigidMember self, RigidMember o) -> bool
6287 __eq__(RigidMember self, Particle d) -> bool
6289 return _IMP_core.RigidMember___eq__(self, *args)
6291 def __ne__(self, *args):
6293 __ne__(RigidMember self, RigidMember o) -> bool
6294 __ne__(RigidMember self, Particle d) -> bool
6296 return _IMP_core.RigidMember___ne__(self, *args)
6298 def __le__(self, *args):
6300 __le__(RigidMember self, RigidMember o) -> bool
6301 __le__(RigidMember self, Particle d) -> bool
6303 return _IMP_core.RigidMember___le__(self, *args)
6305 def __lt__(self, *args):
6307 __lt__(RigidMember self, RigidMember o) -> bool
6308 __lt__(RigidMember self, Particle d) -> bool
6310 return _IMP_core.RigidMember___lt__(self, *args)
6312 def __ge__(self, *args):
6314 __ge__(RigidMember self, RigidMember o) -> bool
6315 __ge__(RigidMember self, Particle d) -> bool
6317 return _IMP_core.RigidMember___ge__(self, *args)
6319 def __gt__(self, *args):
6321 __gt__(RigidMember self, RigidMember o) -> bool
6322 __gt__(RigidMember self, Particle d) -> bool
6324 return _IMP_core.RigidMember___gt__(self, *args)
6327 """__str__(RigidMember self) -> std::string"""
6328 return _IMP_core.RigidMember___str__(self)
6331 """__repr__(RigidMember self) -> std::string"""
6332 return _IMP_core.RigidMember___repr__(self)
6334 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6335 RigidMember_swigregister(RigidMember)
6337 def RigidMember_decorate_particle(*args):
6338 """RigidMember_decorate_particle(Particle p) -> RigidMember"""
6339 return _IMP_core.RigidMember_decorate_particle(*args)
6341 def RigidMember_get_is_setup(*args):
6343 get_is_setup(_ParticleAdaptor p) -> bool
6344 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6346 return _IMP_core.RigidMember_get_is_setup(*args)
6348 class NonRigidMember(RigidBodyMember):
6349 """Proxy of C++ IMP::core::NonRigidMember class"""
6350 __swig_setmethods__ = {}
6351 for _s
in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6352 __setattr__ =
lambda self, name, value: _swig_setattr(self, NonRigidMember, name, value)
6353 __swig_getmethods__ = {}
6354 for _s
in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6355 __getattr__ =
lambda self, name: _swig_getattr(self, NonRigidMember, name)
6356 def __init__(self, *args):
6358 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6359 __init__(IMP::core::NonRigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> NonRigidMember
6360 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6362 this = _IMP_core.new_NonRigidMember(*args)
6363 try: self.this.append(this)
6364 except: self.this = this
6365 def decorate_particle(*args):
6366 """decorate_particle(Particle p) -> NonRigidMember"""
6367 return _IMP_core.NonRigidMember_decorate_particle(*args)
6369 if _newclass:decorate_particle = staticmethod(decorate_particle)
6370 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6371 def show(self, *args):
6373 show(NonRigidMember self, _ostream out=std::cout)
6374 show(NonRigidMember self)
6376 return _IMP_core.NonRigidMember_show(self, *args)
6378 __swig_destroy__ = _IMP_core.delete_NonRigidMember
6379 __del__ =
lambda self :
None;
6380 def get_is_setup(*args):
6382 get_is_setup(_ParticleAdaptor p) -> bool
6383 get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6385 return _IMP_core.NonRigidMember_get_is_setup(*args)
6387 if _newclass:get_is_setup = staticmethod(get_is_setup)
6388 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6389 def add_attribute(self, *args):
6391 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6392 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6393 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6394 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6395 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6396 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
6398 return _IMP_core.NonRigidMember_add_attribute(self, *args)
6400 def get_value(self, *args):
6402 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6403 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6404 get_value(NonRigidMember self, StringKey a0) -> IMP::String
6405 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6406 get_value(NonRigidMember self, ObjectKey a0) -> Object
6408 return _IMP_core.NonRigidMember_get_value(self, *args)
6410 def set_value(self, *args):
6412 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6413 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6414 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6415 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6416 set_value(NonRigidMember self, ObjectKey a0, Object a1)
6418 return _IMP_core.NonRigidMember_set_value(self, *args)
6420 def remove_attribute(self, *args):
6422 remove_attribute(NonRigidMember self, FloatKey a0)
6423 remove_attribute(NonRigidMember self, IntKey a0)
6424 remove_attribute(NonRigidMember self, StringKey a0)
6425 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6426 remove_attribute(NonRigidMember self, ObjectKey a0)
6428 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6430 def has_attribute(self, *args):
6432 has_attribute(NonRigidMember self, FloatKey a0) -> bool
6433 has_attribute(NonRigidMember self, IntKey a0) -> bool
6434 has_attribute(NonRigidMember self, StringKey a0) -> bool
6435 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6436 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6438 return _IMP_core.NonRigidMember_has_attribute(self, *args)
6440 def get_derivative(self, *args):
6441 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6442 return _IMP_core.NonRigidMember_get_derivative(self, *args)
6445 """get_name(NonRigidMember self) -> std::string"""
6446 return _IMP_core.NonRigidMember_get_name(self)
6448 def clear_caches(self):
6449 """clear_caches(NonRigidMember self)"""
6450 return _IMP_core.NonRigidMember_clear_caches(self)
6452 def set_name(self, *args):
6453 """set_name(NonRigidMember self, std::string a0)"""
6454 return _IMP_core.NonRigidMember_set_name(self, *args)
6457 """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
6458 return _IMP_core.NonRigidMember_set_check_level(self, *args)
6460 def add_to_derivative(self, *args):
6461 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6462 return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
6464 def set_is_optimized(self, *args):
6465 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6466 return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
6468 def get_is_optimized(self, *args):
6469 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6470 return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
6473 """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
6474 return _IMP_core.NonRigidMember_get_check_level(self)
6476 def __eq__(self, *args):
6478 __eq__(NonRigidMember self, NonRigidMember o) -> bool
6479 __eq__(NonRigidMember self, Particle d) -> bool
6481 return _IMP_core.NonRigidMember___eq__(self, *args)
6483 def __ne__(self, *args):
6485 __ne__(NonRigidMember self, NonRigidMember o) -> bool
6486 __ne__(NonRigidMember self, Particle d) -> bool
6488 return _IMP_core.NonRigidMember___ne__(self, *args)
6490 def __le__(self, *args):
6492 __le__(NonRigidMember self, NonRigidMember o) -> bool
6493 __le__(NonRigidMember self, Particle d) -> bool
6495 return _IMP_core.NonRigidMember___le__(self, *args)
6497 def __lt__(self, *args):
6499 __lt__(NonRigidMember self, NonRigidMember o) -> bool
6500 __lt__(NonRigidMember self, Particle d) -> bool
6502 return _IMP_core.NonRigidMember___lt__(self, *args)
6504 def __ge__(self, *args):
6506 __ge__(NonRigidMember self, NonRigidMember o) -> bool
6507 __ge__(NonRigidMember self, Particle d) -> bool
6509 return _IMP_core.NonRigidMember___ge__(self, *args)
6511 def __gt__(self, *args):
6513 __gt__(NonRigidMember self, NonRigidMember o) -> bool
6514 __gt__(NonRigidMember self, Particle d) -> bool
6516 return _IMP_core.NonRigidMember___gt__(self, *args)
6519 """__str__(NonRigidMember self) -> std::string"""
6520 return _IMP_core.NonRigidMember___str__(self)
6523 """__repr__(NonRigidMember self) -> std::string"""
6524 return _IMP_core.NonRigidMember___repr__(self)
6526 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6527 NonRigidMember_swigregister(NonRigidMember)
6529 def NonRigidMember_decorate_particle(*args):
6530 """NonRigidMember_decorate_particle(Particle p) -> NonRigidMember"""
6531 return _IMP_core.NonRigidMember_decorate_particle(*args)
6533 def NonRigidMember_get_is_setup(*args):
6535 get_is_setup(_ParticleAdaptor p) -> bool
6536 NonRigidMember_get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6538 return _IMP_core.NonRigidMember_get_is_setup(*args)
6541 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6542 __swig_setmethods__ = {}
6543 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6544 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidMembersRefiner, name, value)
6545 __swig_getmethods__ = {}
6546 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6547 __getattr__ =
lambda self, name: _swig_getattr(self, RigidMembersRefiner, name)
6548 def __init__(self, name="RigidMembersRefiner%d"):
6550 __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
6551 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6553 this = _IMP_core.new_RigidMembersRefiner(name)
6554 try: self.this.append(this)
6555 except: self.this = this
6556 def do_get_inputs(self, *args):
6557 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6558 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, *args)
6560 def get_version_info(self):
6561 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6562 return _IMP_core.RigidMembersRefiner_get_version_info(self)
6565 """__str__(RigidMembersRefiner self) -> std::string"""
6566 return _IMP_core.RigidMembersRefiner___str__(self)
6569 """__repr__(RigidMembersRefiner self) -> std::string"""
6570 return _IMP_core.RigidMembersRefiner___repr__(self)
6573 return _object_cast_to_RigidMembersRefiner(o)
6574 get_from = staticmethod(get_from)
6576 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6577 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6580 def get_rigid_members_refiner():
6581 """get_rigid_members_refiner() -> RigidMembersRefiner"""
6582 return _IMP_core.get_rigid_members_refiner()
6586 transform(XYZ a, Transformation3D tr)
6587 transform(RigidBody a, Transformation3D tr)
6589 return _IMP_core.transform(*args)
6593 get_initial_reference_frame(Model m, IMP::kernel::ParticleIndexes const & pis) -> ReferenceFrame3D
6594 get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D
6596 return _IMP_core.get_initial_reference_frame(*args)
6600 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
6601 create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
6603 return _IMP_core.create_rigid_bodies(*args)
6607 show_rigid_body_hierarchy(RigidBody rb, TextOutput out=IMP::base::TextOutput(std::cout))
6608 show_rigid_body_hierarchy(RigidBody rb)
6610 return _IMP_core.show_rigid_body_hierarchy(*args)
6613 """get_root_rigid_body(RigidMember m) -> IMP::kernel::ParticleIndex"""
6614 return _IMP_core.get_root_rigid_body(*args)
6616 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6617 __swig_setmethods__ = {}
6619 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyHierarchyGeometry, name, value)
6620 __swig_getmethods__ = {}
6622 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyHierarchyGeometry, name)
6623 def __init__(self, *args):
6624 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6625 this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
6626 try: self.this.append(this)
6627 except: self.this = this
6628 def get_version_info(self):
6629 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6630 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6633 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6634 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6637 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6638 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6641 return _object_cast_to_RigidBodyHierarchyGeometry(o)
6642 get_from = staticmethod(get_from)
6644 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6645 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6648 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6649 __swig_setmethods__ = {}
6651 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativeGeometry, name, value)
6652 __swig_getmethods__ = {}
6654 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativeGeometry, name)
6655 def __init__(self, *args):
6657 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
6658 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
6660 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
6661 try: self.this.append(this)
6662 except: self.this = this
6663 def get_version_info(self):
6664 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
6665 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
6668 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
6669 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6672 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6673 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6676 return _object_cast_to_RigidBodyDerivativeGeometry(o)
6677 get_from = staticmethod(get_from)
6679 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6680 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6683 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6684 __swig_setmethods__ = {}
6686 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDerivativesGeometry, name, value)
6687 __swig_getmethods__ = {}
6689 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDerivativesGeometry, name)
6690 def __init__(self, *args):
6691 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6692 this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6693 try: self.this.append(this)
6694 except: self.this = this
6695 def get_version_info(self):
6696 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6697 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6700 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6701 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6704 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6705 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6708 return _object_cast_to_RigidBodyDerivativesGeometry(o)
6709 get_from = staticmethod(get_from)
6711 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6712 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6715 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6716 __swig_setmethods__ = {}
6718 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFrameGeometry, name, value)
6719 __swig_getmethods__ = {}
6721 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFrameGeometry, name)
6722 def __init__(self, *args):
6724 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6725 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6727 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6728 try: self.this.append(this)
6729 except: self.this = this
6730 def get_version_info(self):
6731 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6732 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6735 """__str__(RigidBodyFrameGeometry self) -> std::string"""
6736 return _IMP_core.RigidBodyFrameGeometry___str__(self)
6739 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6740 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6743 return _object_cast_to_RigidBodyFrameGeometry(o)
6744 get_from = staticmethod(get_from)
6746 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6747 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6750 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6751 __swig_setmethods__ = {}
6753 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyFramesGeometry, name, value)
6754 __swig_getmethods__ = {}
6756 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyFramesGeometry, name)
6757 def __init__(self, *args):
6758 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6759 this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6760 try: self.this.append(this)
6761 except: self.this = this
6762 def get_version_info(self):
6763 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6764 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6767 """__str__(RigidBodyFramesGeometry self) -> std::string"""
6768 return _IMP_core.RigidBodyFramesGeometry___str__(self)
6771 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6772 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6775 return _object_cast_to_RigidBodyFramesGeometry(o)
6776 get_from = staticmethod(get_from)
6778 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6779 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6782 """Proxy of C++ IMP::core::RigidBodyTorque class"""
6783 __swig_setmethods__ = {}
6785 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTorque, name, value)
6786 __swig_getmethods__ = {}
6788 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTorque, name)
6789 def __init__(self, *args):
6790 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6791 this = _IMP_core.new_RigidBodyTorque(*args)
6792 try: self.this.append(this)
6793 except: self.this = this
6795 """__str__(RigidBodyTorque self) -> std::string"""
6796 return _IMP_core.RigidBodyTorque___str__(self)
6799 """__repr__(RigidBodyTorque self) -> std::string"""
6800 return _IMP_core.RigidBodyTorque___repr__(self)
6803 return _object_cast_to_RigidBodyTorque(o)
6804 get_from = staticmethod(get_from)
6806 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6807 __del__ =
lambda self :
None;
6808 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6809 RigidBodyTorque_swigregister(RigidBodyTorque)
6811 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6812 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6813 __swig_setmethods__ = {}
6814 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6815 __setattr__ =
lambda self, name, value: _swig_setattr(self, NearestNeighborsClosePairsFinder, name, value)
6816 __swig_getmethods__ = {}
6817 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6818 __getattr__ =
lambda self, name: _swig_getattr(self, NearestNeighborsClosePairsFinder, name)
6820 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6821 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6822 try: self.this.append(this)
6823 except: self.this = this
6824 def get_close_pairs(self, *args):
6826 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6827 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6828 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6829 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6830 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6831 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6833 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6835 def do_get_inputs(self, *args):
6836 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6837 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, *args)
6839 def get_version_info(self):
6840 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6841 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6844 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6845 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6848 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6849 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6852 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6853 get_from = staticmethod(get_from)
6855 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6856 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6859 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6860 __swig_setmethods__ = {}
6862 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintsScoringFunction, name, value)
6863 __swig_getmethods__ = {}
6865 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintsScoringFunction, name)
6866 def __init__(self, *args):
6868 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6869 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
6870 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
6871 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
6872 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
6874 this = _IMP_core.new_RestraintsScoringFunction(*args)
6875 try: self.this.append(this)
6876 except: self.this = this
6877 def do_add_score_and_derivatives(self, *args):
6878 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
6879 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
6881 def do_get_inputs(self):
6882 """do_get_inputs(RestraintsScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
6883 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
6885 def get_version_info(self):
6886 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
6887 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
6890 """__str__(RestraintsScoringFunction self) -> std::string"""
6891 return _IMP_core.RestraintsScoringFunction___str__(self)
6894 """__repr__(RestraintsScoringFunction self) -> std::string"""
6895 return _IMP_core.RestraintsScoringFunction___repr__(self)
6898 return _object_cast_to_RestraintsScoringFunction(o)
6899 get_from = staticmethod(get_from)
6901 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
6902 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
6904 class RigidClosePairsFinder(ClosePairsFinder):
6905 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
6906 __swig_setmethods__ = {}
6907 for _s
in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6908 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidClosePairsFinder, name, value)
6909 __swig_getmethods__ = {}
6910 for _s
in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6911 __getattr__ =
lambda self, name: _swig_getattr(self, RigidClosePairsFinder, name)
6912 def __init__(self, cpf=None):
6914 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
6915 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
6917 this = _IMP_core.new_RigidClosePairsFinder(cpf)
6918 try: self.this.append(this)
6919 except: self.this = this
6920 def do_get_inputs(self, *args):
6921 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6922 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, *args)
6924 def get_close_pairs(self, *args):
6926 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b, IMP::kernel::ParticleIndexes const & pa,
6927 IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticleIndexPairs
6928 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6929 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6930 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6931 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6932 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6933 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6935 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
6937 def get_version_info(self):
6938 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
6939 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
6942 """__str__(RigidClosePairsFinder self) -> std::string"""
6943 return _IMP_core.RigidClosePairsFinder___str__(self)
6946 """__repr__(RigidClosePairsFinder self) -> std::string"""
6947 return _IMP_core.RigidClosePairsFinder___repr__(self)
6950 return _object_cast_to_RigidClosePairsFinder(o)
6951 get_from = staticmethod(get_from)
6953 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
6954 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
6957 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
6958 __swig_setmethods__ = {}
6959 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6960 __setattr__ =
lambda self, name, value: _swig_setattr(self, SphereDistancePairScore, name, value)
6961 __swig_getmethods__ = {}
6962 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6963 __getattr__ =
lambda self, name: _swig_getattr(self, SphereDistancePairScore, name)
6964 def __init__(self, *args):
6966 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
6967 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
6969 this = _IMP_core.new_SphereDistancePairScore(*args)
6970 try: self.this.append(this)
6971 except: self.this = this
6972 def do_get_inputs(self, *args):
6973 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6974 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, *args)
6976 def get_version_info(self):
6977 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
6978 return _IMP_core.SphereDistancePairScore_get_version_info(self)
6981 """__str__(SphereDistancePairScore self) -> std::string"""
6982 return _IMP_core.SphereDistancePairScore___str__(self)
6985 """__repr__(SphereDistancePairScore self) -> std::string"""
6986 return _IMP_core.SphereDistancePairScore___repr__(self)
6989 return _object_cast_to_SphereDistancePairScore(o)
6990 get_from = staticmethod(get_from)
6992 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
6993 SphereDistancePairScore_swigregister(SphereDistancePairScore)
6996 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
6997 __swig_setmethods__ = {}
6998 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6999 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDistancePairScore, name, value)
7000 __swig_getmethods__ = {}
7001 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7002 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDistancePairScore, name)
7003 def __init__(self, *args):
7005 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
7006 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7008 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7009 try: self.this.append(this)
7010 except: self.this = this
7011 def do_get_inputs(self, *args):
7012 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7013 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, *args)
7015 def get_version_info(self):
7016 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7017 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7020 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7021 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7024 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7025 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7028 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7029 get_from = staticmethod(get_from)
7031 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7032 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7035 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
7036 __swig_setmethods__ = {}
7037 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7038 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDiameterPairScore, name, value)
7039 __swig_getmethods__ = {}
7040 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7041 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDiameterPairScore, name)
7042 def __init__(self, *args):
7043 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7044 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
7045 try: self.this.append(this)
7046 except: self.this = this
7047 def get_rest_length(self):
7048 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7049 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7051 def get_stiffness(self):
7052 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7053 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7055 def do_get_inputs(self, *args):
7056 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7057 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, *args)
7059 def get_version_info(self):
7060 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7061 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7064 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7065 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7068 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7069 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7072 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7073 get_from = staticmethod(get_from)
7075 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7076 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7079 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
7080 __swig_setmethods__ = {}
7081 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7082 __setattr__ =
lambda self, name, value: _swig_setattr(self, HarmonicSphereDistancePairScore, name, value)
7083 __swig_getmethods__ = {}
7084 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7085 __getattr__ =
lambda self, name: _swig_getattr(self, HarmonicSphereDistancePairScore, name)
7086 def __init__(self, *args):
7088 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
7089 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7091 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7092 try: self.this.append(this)
7093 except: self.this = this
7094 def do_get_inputs(self, *args):
7095 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7096 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, *args)
7098 def get_version_info(self):
7099 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7100 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7103 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7104 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7107 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7108 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7111 return _object_cast_to_HarmonicSphereDistancePairScore(o)
7112 get_from = staticmethod(get_from)
7114 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7115 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7118 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7119 __swig_setmethods__ = {}
7120 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7121 __setattr__ =
lambda self, name, value: _swig_setattr(self, NormalizedSphereDistancePairScore, name, value)
7122 __swig_getmethods__ = {}
7123 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7124 __getattr__ =
lambda self, name: _swig_getattr(self, NormalizedSphereDistancePairScore, name)
7125 def __init__(self, *args):
7127 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
7128 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7130 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7131 try: self.this.append(this)
7132 except: self.this = this
7133 def do_get_inputs(self, *args):
7134 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7135 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, *args)
7137 def get_version_info(self):
7138 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7139 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7142 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7143 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7146 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7147 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7150 return _object_cast_to_NormalizedSphereDistancePairScore(o)
7151 get_from = staticmethod(get_from)
7153 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7154 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7157 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7158 __swig_setmethods__ = {}
7159 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7160 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedSphereDistancePairScore, name, value)
7161 __swig_getmethods__ = {}
7162 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7163 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedSphereDistancePairScore, name)
7164 def __init__(self, *args):
7166 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
7167 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7169 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7170 try: self.this.append(this)
7171 except: self.this = this
7172 def do_get_inputs(self, *args):
7173 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7174 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, *args)
7176 def get_version_info(self):
7177 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7178 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7181 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7182 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7185 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7186 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7189 return _object_cast_to_WeightedSphereDistancePairScore(o)
7190 get_from = staticmethod(get_from)
7192 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7193 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7196 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7197 __swig_setmethods__ = {}
7198 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7199 __setattr__ =
lambda self, name, value: _swig_setattr(self, SoftSpherePairScore, name, value)
7200 __swig_getmethods__ = {}
7201 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7202 __getattr__ =
lambda self, name: _swig_getattr(self, SoftSpherePairScore, name)
7203 def __init__(self, *args):
7205 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
7206 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7208 this = _IMP_core.new_SoftSpherePairScore(*args)
7209 try: self.this.append(this)
7210 except: self.this = this
7211 def do_get_inputs(self, *args):
7212 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7213 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, *args)
7215 def get_version_info(self):
7216 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7217 return _IMP_core.SoftSpherePairScore_get_version_info(self)
7220 """__str__(SoftSpherePairScore self) -> std::string"""
7221 return _IMP_core.SoftSpherePairScore___str__(self)
7224 """__repr__(SoftSpherePairScore self) -> std::string"""
7225 return _IMP_core.SoftSpherePairScore___repr__(self)
7228 return _object_cast_to_SoftSpherePairScore(o)
7229 get_from = staticmethod(get_from)
7231 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7232 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7235 """Proxy of C++ IMP::core::SteepestDescent class"""
7236 __swig_setmethods__ = {}
7238 __setattr__ =
lambda self, name, value: _swig_setattr(self, SteepestDescent, name, value)
7239 __swig_getmethods__ = {}
7241 __getattr__ =
lambda self, name: _swig_getattr(self, SteepestDescent, name)
7242 def __init__(self, *args):
7244 __init__(IMP::core::SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent
7245 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
7247 this = _IMP_core.new_SteepestDescent(*args)
7248 try: self.this.append(this)
7249 except: self.this = this
7250 def do_optimize(self, *args):
7251 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7252 return _IMP_core.SteepestDescent_do_optimize(self, *args)
7254 def get_version_info(self):
7255 """get_version_info(SteepestDescent self) -> VersionInfo"""
7256 return _IMP_core.SteepestDescent_get_version_info(self)
7258 def set_threshold(self, *args):
7259 """set_threshold(SteepestDescent self, IMP::Float t)"""
7260 return _IMP_core.SteepestDescent_set_threshold(self, *args)
7262 def set_step_size(self, *args):
7263 """set_step_size(SteepestDescent self, IMP::Float t)"""
7264 return _IMP_core.SteepestDescent_set_step_size(self, *args)
7266 def set_maximum_step_size(self, *args):
7267 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7268 return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
7271 """__str__(SteepestDescent self) -> std::string"""
7272 return _IMP_core.SteepestDescent___str__(self)
7275 """__repr__(SteepestDescent self) -> std::string"""
7276 return _IMP_core.SteepestDescent___repr__(self)
7279 return _object_cast_to_SteepestDescent(o)
7280 get_from = staticmethod(get_from)
7282 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7283 SteepestDescent_swigregister(SteepestDescent)
7286 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7287 __swig_setmethods__ = {}
7288 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7289 __setattr__ =
lambda self, name, value: _swig_setattr(self, TransformedDistancePairScore, name, value)
7290 __swig_getmethods__ = {}
7291 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7292 __getattr__ =
lambda self, name: _swig_getattr(self, TransformedDistancePairScore, name)
7293 def __init__(self, *args):
7294 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7295 this = _IMP_core.new_TransformedDistancePairScore(*args)
7296 try: self.this.append(this)
7297 except: self.this = this
7298 def set_transformation(self, *args):
7299 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7300 return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
7302 def do_get_inputs(self, *args):
7303 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7304 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, *args)
7306 def get_version_info(self):
7307 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7308 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7311 """__str__(TransformedDistancePairScore self) -> std::string"""
7312 return _IMP_core.TransformedDistancePairScore___str__(self)
7315 """__repr__(TransformedDistancePairScore self) -> std::string"""
7316 return _IMP_core.TransformedDistancePairScore___repr__(self)
7319 return _object_cast_to_TransformedDistancePairScore(o)
7320 get_from = staticmethod(get_from)
7322 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
7323 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7326 """Proxy of C++ IMP::core::TypedPairScore class"""
7327 __swig_setmethods__ = {}
7328 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7329 __setattr__ =
lambda self, name, value: _swig_setattr(self, TypedPairScore, name, value)
7330 __swig_getmethods__ = {}
7331 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7332 __getattr__ =
lambda self, name: _swig_getattr(self, TypedPairScore, name)
7333 def __init__(self, *args):
7335 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7336 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7338 this = _IMP_core.new_TypedPairScore(*args)
7339 try: self.this.append(this)
7340 except: self.this = this
7341 def set_particle_type(self, *args):
7342 """set_particle_type(TypedPairScore self, Particle arg2)"""
7343 return _IMP_core.TypedPairScore_set_particle_type(self, *args)
7345 def set_pair_score(self, *args):
7346 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7347 return _IMP_core.TypedPairScore_set_pair_score(self, *args)
7349 def do_get_inputs(self, *args):
7350 """do_get_inputs(TypedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7351 return _IMP_core.TypedPairScore_do_get_inputs(self, *args)
7353 def get_version_info(self):
7354 """get_version_info(TypedPairScore self) -> VersionInfo"""
7355 return _IMP_core.TypedPairScore_get_version_info(self)
7358 """__str__(TypedPairScore self) -> std::string"""
7359 return _IMP_core.TypedPairScore___str__(self)
7362 """__repr__(TypedPairScore self) -> std::string"""
7363 return _IMP_core.TypedPairScore___repr__(self)
7366 return _object_cast_to_TypedPairScore(o)
7367 get_from = staticmethod(get_from)
7369 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7370 TypedPairScore_swigregister(TypedPairScore)
7372 class RigidBodyDistancePairScore(KClosePairsPairScore):
7373 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7374 __swig_setmethods__ = {}
7375 for _s
in [KClosePairsPairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7376 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyDistancePairScore, name, value)
7377 __swig_getmethods__ = {}
7378 for _s
in [KClosePairsPairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7379 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyDistancePairScore, name)
7380 def __init__(self, *args):
7381 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7382 this = _IMP_core.new_RigidBodyDistancePairScore(*args)
7383 try: self.this.append(this)
7384 except: self.this = this
7386 """__str__(RigidBodyDistancePairScore self) -> std::string"""
7387 return _IMP_core.RigidBodyDistancePairScore___str__(self)
7390 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7391 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7394 return _object_cast_to_RigidBodyDistancePairScore(o)
7395 get_from = staticmethod(get_from)
7397 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7398 __del__ =
lambda self :
None;
7399 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7400 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7403 """Proxy of C++ IMP::core::TableRefiner class"""
7404 __swig_setmethods__ = {}
7405 for _s
in [
IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7406 __setattr__ =
lambda self, name, value: _swig_setattr(self, TableRefiner, name, value)
7407 __swig_getmethods__ = {}
7408 for _s
in [
IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7409 __getattr__ =
lambda self, name: _swig_getattr(self, TableRefiner, name)
7411 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7412 this = _IMP_core.new_TableRefiner()
7413 try: self.this.append(this)
7414 except: self.this = this
7416 """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7417 return _IMP_core.TableRefiner_add_particle(self, *args)
7419 def remove_particle(self, *args):
7420 """remove_particle(TableRefiner self, Particle p)"""
7421 return _IMP_core.TableRefiner_remove_particle(self, *args)
7423 def set_particle(self, *args):
7424 """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7425 return _IMP_core.TableRefiner_set_particle(self, *args)
7427 def do_get_inputs(self, *args):
7428 """do_get_inputs(TableRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7429 return _IMP_core.TableRefiner_do_get_inputs(self, *args)
7431 def get_version_info(self):
7432 """get_version_info(TableRefiner self) -> VersionInfo"""
7433 return _IMP_core.TableRefiner_get_version_info(self)
7436 """__str__(TableRefiner self) -> std::string"""
7437 return _IMP_core.TableRefiner___str__(self)
7440 """__repr__(TableRefiner self) -> std::string"""
7441 return _IMP_core.TableRefiner___repr__(self)
7444 return _object_cast_to_TableRefiner(o)
7445 get_from = staticmethod(get_from)
7447 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7448 TableRefiner_swigregister(TableRefiner)
7450 LOWER = _IMP_core.LOWER
7451 BOTH = _IMP_core.BOTH
7452 UPPER = _IMP_core.UPPER
7454 """Proxy of C++ IMP::core::MCCGSampler class"""
7455 __swig_setmethods__ = {}
7456 for _s
in [
IMP.kernel.Sampler]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7457 __setattr__ =
lambda self, name, value: _swig_setattr(self, MCCGSampler, name, value)
7458 __swig_getmethods__ = {}
7459 for _s
in [
IMP.kernel.Sampler]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7460 __getattr__ =
lambda self, name: _swig_getattr(self, MCCGSampler, name)
7461 def __init__(self, *args):
7463 __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
7464 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7466 this = _IMP_core.new_MCCGSampler(*args)
7467 try: self.this.append(this)
7468 except: self.this = this
7469 def set_bounding_box(self, *args):
7470 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7471 return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
7473 def set_number_of_attempts(self, *args):
7474 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7475 return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
7477 def set_number_of_monte_carlo_steps(self, *args):
7478 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7479 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
7481 def set_number_of_conjugate_gradient_steps(self, *args):
7482 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7483 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
7485 def set_max_monte_carlo_step_size(self, *args):
7487 set_max_monte_carlo_step_size(MCCGSampler self, double d)
7488 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7490 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7492 def set_is_refining(self, *args):
7493 """set_is_refining(MCCGSampler self, bool tf)"""
7494 return _IMP_core.MCCGSampler_set_is_refining(self, *args)
7496 def set_local_optimizer(self, *args):
7497 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7498 return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
7500 def set_save_rejected_configurations(self, *args):
7501 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7502 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
7504 def get_rejected_configurations(self):
7505 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7506 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7508 def remove_optimizer_state(self, *args):
7509 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7510 return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
7512 def remove_optimizer_states(self, *args):
7513 """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
7514 return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
7516 def set_optimizer_states(self, *args):
7517 """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
7518 return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
7520 def set_optimizer_states_order(self, *args):
7521 """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7522 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
7524 def add_optimizer_state(self, *args):
7525 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7526 return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
7528 def add_optimizer_states(self, *args):
7529 """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7530 return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
7532 def clear_optimizer_states(self):
7533 """clear_optimizer_states(MCCGSampler self)"""
7534 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7536 def get_number_of_optimizer_states(self):
7537 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7538 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7540 def get_has_optimizer_states(self):
7541 """get_has_optimizer_states(MCCGSampler self) -> bool"""
7542 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7544 def get_optimizer_state(self, *args):
7545 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7546 return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
7548 def get_optimizer_states(self):
7549 """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
7550 return _IMP_core.MCCGSampler_get_optimizer_states(self)
7552 def reserve_optimizer_states(self, *args):
7553 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
7554 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
7556 def do_sample(self):
7557 """do_sample(MCCGSampler self) -> ConfigurationSet"""
7558 return _IMP_core.MCCGSampler_do_sample(self)
7560 def get_version_info(self):
7561 """get_version_info(MCCGSampler self) -> VersionInfo"""
7562 return _IMP_core.MCCGSampler_get_version_info(self)
7565 """__str__(MCCGSampler self) -> std::string"""
7566 return _IMP_core.MCCGSampler___str__(self)
7569 """__repr__(MCCGSampler self) -> std::string"""
7570 return _IMP_core.MCCGSampler___repr__(self)
7573 return _object_cast_to_MCCGSampler(o)
7574 get_from = staticmethod(get_from)
7576 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
7577 MCCGSampler_swigregister(MCCGSampler)
7580 """Proxy of C++ IMP::core::MinimumRestraint class"""
7581 __swig_setmethods__ = {}
7582 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7583 __setattr__ =
lambda self, name, value: _swig_setattr(self, MinimumRestraint, name, value)
7584 __swig_getmethods__ = {}
7585 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7586 __getattr__ =
lambda self, name: _swig_getattr(self, MinimumRestraint, name)
7587 def __init__(self, *args):
7589 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
7590 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
7591 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
7593 this = _IMP_core.new_MinimumRestraint(*args)
7594 try: self.this.append(this)
7595 except: self.this = this
7596 def do_get_inputs(self):
7597 """do_get_inputs(MinimumRestraint self) -> IMP::kernel::ModelObjectsTemp"""
7598 return _IMP_core.MinimumRestraint_do_get_inputs(self)
7600 def get_version_info(self):
7601 """get_version_info(MinimumRestraint self) -> VersionInfo"""
7602 return _IMP_core.MinimumRestraint_get_version_info(self)
7604 def remove_restraint(self, *args):
7605 """remove_restraint(MinimumRestraint self, Restraint d)"""
7606 return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
7608 def remove_restraints(self, *args):
7609 """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
7610 return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
7612 def set_restraints(self, *args):
7613 """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
7614 return _IMP_core.MinimumRestraint_set_restraints(self, *args)
7616 def set_restraints_order(self, *args):
7617 """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7618 return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
7621 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
7622 return _IMP_core.MinimumRestraint_add_restraint(self, *args)
7625 """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7626 return _IMP_core.MinimumRestraint_add_restraints(self, *args)
7628 def clear_restraints(self):
7629 """clear_restraints(MinimumRestraint self)"""
7630 return _IMP_core.MinimumRestraint_clear_restraints(self)
7632 def get_number_of_restraints(self):
7633 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
7634 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
7636 def get_has_restraints(self):
7637 """get_has_restraints(MinimumRestraint self) -> bool"""
7638 return _IMP_core.MinimumRestraint_get_has_restraints(self)
7640 def get_restraint(self, *args):
7641 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
7642 return _IMP_core.MinimumRestraint_get_restraint(self, *args)
7645 """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
7646 return _IMP_core.MinimumRestraint_get_restraints(self)
7648 def reserve_restraints(self, *args):
7649 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
7650 return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
7653 """__str__(MinimumRestraint self) -> std::string"""
7654 return _IMP_core.MinimumRestraint___str__(self)
7657 """__repr__(MinimumRestraint self) -> std::string"""
7658 return _IMP_core.MinimumRestraint___repr__(self)
7661 return _object_cast_to_MinimumRestraint(o)
7662 get_from = staticmethod(get_from)
7664 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
7665 MinimumRestraint_swigregister(MinimumRestraint)
7668 """Proxy of C++ IMP::core::PairRestraint class"""
7669 __swig_setmethods__ = {}
7670 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7671 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairRestraint, name, value)
7672 __swig_getmethods__ = {}
7673 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7674 __getattr__ =
lambda self, name: _swig_getattr(self, PairRestraint, name)
7675 def __init__(self, *args):
7677 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7678 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7679 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7680 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt) -> PairRestraint
7682 this = _IMP_core.new_PairRestraint(*args)
7683 try: self.this.append(this)
7684 except: self.this = this
7685 def get_version_info(self):
7686 """get_version_info(PairRestraint self) -> VersionInfo"""
7687 return _IMP_core.PairRestraint_get_version_info(self)
7690 """__str__(PairRestraint self) -> std::string"""
7691 return _IMP_core.PairRestraint___str__(self)
7694 """__repr__(PairRestraint self) -> std::string"""
7695 return _IMP_core.PairRestraint___repr__(self)
7698 return _object_cast_to_PairRestraint(o)
7699 get_from = staticmethod(get_from)
7701 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7702 PairRestraint_swigregister(PairRestraint)
7705 """Proxy of C++ IMP::core::SingletonRestraint class"""
7706 __swig_setmethods__ = {}
7707 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7708 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonRestraint, name, value)
7709 __swig_getmethods__ = {}
7710 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7711 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonRestraint, name)
7712 def __init__(self, *args):
7714 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7715 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7716 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7717 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt) -> SingletonRestraint
7719 this = _IMP_core.new_SingletonRestraint(*args)
7720 try: self.this.append(this)
7721 except: self.this = this
7722 def get_version_info(self):
7723 """get_version_info(SingletonRestraint self) -> VersionInfo"""
7724 return _IMP_core.SingletonRestraint_get_version_info(self)
7727 """__str__(SingletonRestraint self) -> std::string"""
7728 return _IMP_core.SingletonRestraint___str__(self)
7731 """__repr__(SingletonRestraint self) -> std::string"""
7732 return _IMP_core.SingletonRestraint___repr__(self)
7735 return _object_cast_to_SingletonRestraint(o)
7736 get_from = staticmethod(get_from)
7738 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7739 SingletonRestraint_swigregister(SingletonRestraint)
7742 """Proxy of C++ IMP::core::TripletRestraint class"""
7743 __swig_setmethods__ = {}
7744 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7745 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletRestraint, name, value)
7746 __swig_getmethods__ = {}
7747 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7748 __getattr__ =
lambda self, name: _swig_getattr(self, TripletRestraint, name)
7749 def __init__(self, *args):
7751 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7752 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7753 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7754 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletRestraint
7756 this = _IMP_core.new_TripletRestraint(*args)
7757 try: self.this.append(this)
7758 except: self.this = this
7759 def get_version_info(self):
7760 """get_version_info(TripletRestraint self) -> VersionInfo"""
7761 return _IMP_core.TripletRestraint_get_version_info(self)
7764 """__str__(TripletRestraint self) -> std::string"""
7765 return _IMP_core.TripletRestraint___str__(self)
7768 """__repr__(TripletRestraint self) -> std::string"""
7769 return _IMP_core.TripletRestraint___repr__(self)
7772 return _object_cast_to_TripletRestraint(o)
7773 get_from = staticmethod(get_from)
7775 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7776 TripletRestraint_swigregister(TripletRestraint)
7779 """Proxy of C++ IMP::core::QuadRestraint class"""
7780 __swig_setmethods__ = {}
7781 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
7782 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadRestraint, name, value)
7783 __swig_getmethods__ = {}
7784 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
7785 __getattr__ =
lambda self, name: _swig_getattr(self, QuadRestraint, name)
7786 def __init__(self, *args):
7788 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7789 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7790 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7791 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt) -> QuadRestraint
7793 this = _IMP_core.new_QuadRestraint(*args)
7794 try: self.this.append(this)
7795 except: self.this = this
7796 def get_version_info(self):
7797 """get_version_info(QuadRestraint self) -> VersionInfo"""
7798 return _IMP_core.QuadRestraint_get_version_info(self)
7801 """__str__(QuadRestraint self) -> std::string"""
7802 return _IMP_core.QuadRestraint___str__(self)
7805 """__repr__(QuadRestraint self) -> std::string"""
7806 return _IMP_core.QuadRestraint___repr__(self)
7809 return _object_cast_to_QuadRestraint(o)
7810 get_from = staticmethod(get_from)
7812 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7813 QuadRestraint_swigregister(QuadRestraint)
7816 """Proxy of C++ IMP::core::SingletonConstraint class"""
7817 __swig_setmethods__ = {}
7819 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonConstraint, name, value)
7820 __swig_getmethods__ = {}
7822 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonConstraint, name)
7823 def __init__(self, *args):
7825 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7826 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7827 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt,
7828 std::string name="SingletonConstraint %1%") -> SingletonConstraint
7829 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt) -> SingletonConstraint
7831 this = _IMP_core.new_SingletonConstraint(*args)
7832 try: self.this.append(this)
7833 except: self.this = this
7834 def get_version_info(self):
7835 """get_version_info(SingletonConstraint self) -> VersionInfo"""
7836 return _IMP_core.SingletonConstraint_get_version_info(self)
7839 """__str__(SingletonConstraint self) -> std::string"""
7840 return _IMP_core.SingletonConstraint___str__(self)
7843 """__repr__(SingletonConstraint self) -> std::string"""
7844 return _IMP_core.SingletonConstraint___repr__(self)
7847 return _object_cast_to_SingletonConstraint(o)
7848 get_from = staticmethod(get_from)
7850 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
7851 SingletonConstraint_swigregister(SingletonConstraint)
7854 """Proxy of C++ IMP::core::PairConstraint class"""
7855 __swig_setmethods__ = {}
7857 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairConstraint, name, value)
7858 __swig_getmethods__ = {}
7860 __getattr__ =
lambda self, name: _swig_getattr(self, PairConstraint, name)
7861 def __init__(self, *args):
7863 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
7864 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
7865 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt,
7866 std::string name="PairConstraint %1%") -> PairConstraint
7867 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt) -> PairConstraint
7869 this = _IMP_core.new_PairConstraint(*args)
7870 try: self.this.append(this)
7871 except: self.this = this
7872 def get_version_info(self):
7873 """get_version_info(PairConstraint self) -> VersionInfo"""
7874 return _IMP_core.PairConstraint_get_version_info(self)
7877 """__str__(PairConstraint self) -> std::string"""
7878 return _IMP_core.PairConstraint___str__(self)
7881 """__repr__(PairConstraint self) -> std::string"""
7882 return _IMP_core.PairConstraint___repr__(self)
7885 return _object_cast_to_PairConstraint(o)
7886 get_from = staticmethod(get_from)
7888 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
7889 PairConstraint_swigregister(PairConstraint)
7892 """Proxy of C++ IMP::core::TripletConstraint class"""
7893 __swig_setmethods__ = {}
7895 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletConstraint, name, value)
7896 __swig_getmethods__ = {}
7898 __getattr__ =
lambda self, name: _swig_getattr(self, TripletConstraint, name)
7899 def __init__(self, *args):
7901 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
7902 std::string name="TripletConstraint %1%") -> TripletConstraint
7903 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
7904 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt,
7905 std::string name="TripletConstraint %1%") -> TripletConstraint
7906 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletConstraint
7908 this = _IMP_core.new_TripletConstraint(*args)
7909 try: self.this.append(this)
7910 except: self.this = this
7911 def get_version_info(self):
7912 """get_version_info(TripletConstraint self) -> VersionInfo"""
7913 return _IMP_core.TripletConstraint_get_version_info(self)
7916 """__str__(TripletConstraint self) -> std::string"""
7917 return _IMP_core.TripletConstraint___str__(self)
7920 """__repr__(TripletConstraint self) -> std::string"""
7921 return _IMP_core.TripletConstraint___repr__(self)
7924 return _object_cast_to_TripletConstraint(o)
7925 get_from = staticmethod(get_from)
7927 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
7928 TripletConstraint_swigregister(TripletConstraint)
7931 """Proxy of C++ IMP::core::QuadConstraint class"""
7932 __swig_setmethods__ = {}
7934 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadConstraint, name, value)
7935 __swig_getmethods__ = {}
7937 __getattr__ =
lambda self, name: _swig_getattr(self, QuadConstraint, name)
7938 def __init__(self, *args):
7940 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
7941 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
7942 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt,
7943 std::string name="QuadConstraint %1%") -> QuadConstraint
7944 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> QuadConstraint
7946 this = _IMP_core.new_QuadConstraint(*args)
7947 try: self.this.append(this)
7948 except: self.this = this
7949 def get_version_info(self):
7950 """get_version_info(QuadConstraint self) -> VersionInfo"""
7951 return _IMP_core.QuadConstraint_get_version_info(self)
7954 """__str__(QuadConstraint self) -> std::string"""
7955 return _IMP_core.QuadConstraint___str__(self)
7958 """__repr__(QuadConstraint self) -> std::string"""
7959 return _IMP_core.QuadConstraint___repr__(self)
7962 return _object_cast_to_QuadConstraint(o)
7963 get_from = staticmethod(get_from)
7965 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
7966 QuadConstraint_swigregister(QuadConstraint)
7969 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
7970 __swig_setmethods__ = {}
7972 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantSingletonPredicate, name, value)
7973 __swig_getmethods__ = {}
7975 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantSingletonPredicate, name)
7976 def __init__(self, *args):
7978 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
7979 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
7981 this = _IMP_core.new_ConstantSingletonPredicate(*args)
7982 try: self.this.append(this)
7983 except: self.this = this
7984 def do_get_inputs(self, *args):
7985 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7986 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, *args)
7988 def get_value(self, *args):
7990 get_value(ConstantSingletonPredicate self, Particle a) -> int
7991 get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7993 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
7995 def get_value_index(self, *args):
7997 get_value_index(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
7998 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8000 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
8002 def get_version_info(self):
8003 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
8004 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
8007 """__str__(ConstantSingletonPredicate self) -> std::string"""
8008 return _IMP_core.ConstantSingletonPredicate___str__(self)
8011 """__repr__(ConstantSingletonPredicate self) -> std::string"""
8012 return _IMP_core.ConstantSingletonPredicate___repr__(self)
8015 return _object_cast_to_ConstantSingletonPredicate(o)
8016 get_from = staticmethod(get_from)
8018 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
8019 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
8022 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
8023 __swig_setmethods__ = {}
8025 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeSingletonPredicate, name, value)
8026 __swig_getmethods__ = {}
8028 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeSingletonPredicate, name)
8029 def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
8031 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
8032 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
8034 this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
8035 try: self.this.append(this)
8036 except: self.this = this
8037 def do_get_inputs(self, *args):
8038 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8039 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, *args)
8041 def get_value(self, *args):
8043 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
8044 get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8046 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
8048 def get_value_index(self, *args):
8050 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8051 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8053 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
8055 def get_version_info(self):
8056 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
8057 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
8060 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
8061 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
8064 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
8065 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
8068 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
8069 get_from = staticmethod(get_from)
8071 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8072 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8075 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8076 __swig_setmethods__ = {}
8078 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeSingletonPredicate, name, value)
8079 __swig_getmethods__ = {}
8081 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeSingletonPredicate, name)
8082 def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
8084 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
8085 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8087 this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
8088 try: self.this.append(this)
8089 except: self.this = this
8090 def do_get_inputs(self, *args):
8091 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8092 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, *args)
8094 def get_value(self, *args):
8096 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8097 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8098 get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8100 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8102 def get_value_index(self, *args):
8104 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8105 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8107 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8109 def get_version_info(self):
8110 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8111 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8114 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8115 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8118 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8119 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8122 return _object_cast_to_OrderedTypeSingletonPredicate(o)
8123 get_from = staticmethod(get_from)
8125 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8126 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8129 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8130 __swig_setmethods__ = {}
8132 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameSingletonPredicate, name, value)
8133 __swig_getmethods__ = {}
8135 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameSingletonPredicate, name)
8136 def __init__(self, name="AllSameSingletonPredicate%1%"):
8138 __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
8139 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8141 this = _IMP_core.new_AllSameSingletonPredicate(name)
8142 try: self.this.append(this)
8143 except: self.this = this
8144 def do_get_inputs(self, *args):
8145 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8146 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, *args)
8148 def get_value(self, *args):
8150 get_value(AllSameSingletonPredicate self, Particle a) -> int
8151 get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8153 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8155 def get_value_index(self, *args):
8157 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8158 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8160 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8162 def get_version_info(self):
8163 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8164 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8167 """__str__(AllSameSingletonPredicate self) -> std::string"""
8168 return _IMP_core.AllSameSingletonPredicate___str__(self)
8171 """__repr__(AllSameSingletonPredicate self) -> std::string"""
8172 return _IMP_core.AllSameSingletonPredicate___repr__(self)
8175 return _object_cast_to_AllSameSingletonPredicate(o)
8176 get_from = staticmethod(get_from)
8178 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8179 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8182 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8183 __swig_setmethods__ = {}
8185 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipSingletonPredicate, name, value)
8186 __swig_getmethods__ = {}
8188 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipSingletonPredicate, name)
8189 def __init__(self, *args):
8191 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
8192 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8194 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8195 try: self.this.append(this)
8196 except: self.this = this
8197 def do_get_inputs(self, *args):
8198 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8199 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, *args)
8201 def get_value(self, *args):
8203 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8204 get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8206 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8208 def get_value_index(self, *args):
8210 get_value_index(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8211 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8213 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8215 def get_version_info(self):
8216 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8217 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
8220 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
8221 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
8224 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
8225 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
8228 return _object_cast_to_CoinFlipSingletonPredicate(o)
8229 get_from = staticmethod(get_from)
8231 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
8232 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
8235 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
8236 __swig_setmethods__ = {}
8238 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantPairPredicate, name, value)
8239 __swig_getmethods__ = {}
8241 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantPairPredicate, name)
8242 def __init__(self, *args):
8244 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
8245 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
8247 this = _IMP_core.new_ConstantPairPredicate(*args)
8248 try: self.this.append(this)
8249 except: self.this = this
8250 def do_get_inputs(self, *args):
8251 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8252 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, *args)
8254 def get_value(self, *args):
8256 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8257 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8259 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
8261 def get_value_index(self, *args):
8263 get_value_index(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8264 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8266 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
8268 def get_version_info(self):
8269 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
8270 return _IMP_core.ConstantPairPredicate_get_version_info(self)
8273 """__str__(ConstantPairPredicate self) -> std::string"""
8274 return _IMP_core.ConstantPairPredicate___str__(self)
8277 """__repr__(ConstantPairPredicate self) -> std::string"""
8278 return _IMP_core.ConstantPairPredicate___repr__(self)
8281 return _object_cast_to_ConstantPairPredicate(o)
8282 get_from = staticmethod(get_from)
8284 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
8285 ConstantPairPredicate_swigregister(ConstantPairPredicate)
8288 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
8289 __swig_setmethods__ = {}
8291 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypePairPredicate, name, value)
8292 __swig_getmethods__ = {}
8294 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypePairPredicate, name)
8295 def __init__(self, name="UnorderedTypePairPredicate%1%"):
8297 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
8298 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
8300 this = _IMP_core.new_UnorderedTypePairPredicate(name)
8301 try: self.this.append(this)
8302 except: self.this = this
8303 def do_get_inputs(self, *args):
8304 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8305 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, *args)
8307 def get_value(self, *args):
8309 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8310 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8312 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
8314 def get_value_index(self, *args):
8316 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8317 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8319 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
8321 def get_version_info(self):
8322 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
8323 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
8326 """__str__(UnorderedTypePairPredicate self) -> std::string"""
8327 return _IMP_core.UnorderedTypePairPredicate___str__(self)
8330 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
8331 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
8334 return _object_cast_to_UnorderedTypePairPredicate(o)
8335 get_from = staticmethod(get_from)
8337 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
8338 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
8341 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
8342 __swig_setmethods__ = {}
8344 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypePairPredicate, name, value)
8345 __swig_getmethods__ = {}
8347 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypePairPredicate, name)
8348 def __init__(self, name="OrderedTypePairPredicate%1%"):
8350 __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
8351 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
8353 this = _IMP_core.new_OrderedTypePairPredicate(name)
8354 try: self.this.append(this)
8355 except: self.this = this
8356 def do_get_inputs(self, *args):
8357 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8358 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, *args)
8360 def get_value(self, *args):
8362 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
8363 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8364 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8366 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
8368 def get_value_index(self, *args):
8370 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8371 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8373 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
8375 def get_version_info(self):
8376 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
8377 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
8380 """__str__(OrderedTypePairPredicate self) -> std::string"""
8381 return _IMP_core.OrderedTypePairPredicate___str__(self)
8384 """__repr__(OrderedTypePairPredicate self) -> std::string"""
8385 return _IMP_core.OrderedTypePairPredicate___repr__(self)
8388 return _object_cast_to_OrderedTypePairPredicate(o)
8389 get_from = staticmethod(get_from)
8391 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
8392 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
8395 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
8396 __swig_setmethods__ = {}
8398 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSamePairPredicate, name, value)
8399 __swig_getmethods__ = {}
8401 __getattr__ =
lambda self, name: _swig_getattr(self, AllSamePairPredicate, name)
8402 def __init__(self, name="AllSamePairPredicate%1%"):
8404 __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
8405 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
8407 this = _IMP_core.new_AllSamePairPredicate(name)
8408 try: self.this.append(this)
8409 except: self.this = this
8410 def do_get_inputs(self, *args):
8411 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8412 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, *args)
8414 def get_value(self, *args):
8416 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8417 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8419 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
8421 def get_value_index(self, *args):
8423 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8424 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8426 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
8428 def get_version_info(self):
8429 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
8430 return _IMP_core.AllSamePairPredicate_get_version_info(self)
8433 """__str__(AllSamePairPredicate self) -> std::string"""
8434 return _IMP_core.AllSamePairPredicate___str__(self)
8437 """__repr__(AllSamePairPredicate self) -> std::string"""
8438 return _IMP_core.AllSamePairPredicate___repr__(self)
8441 return _object_cast_to_AllSamePairPredicate(o)
8442 get_from = staticmethod(get_from)
8444 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
8445 AllSamePairPredicate_swigregister(AllSamePairPredicate)
8448 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
8449 __swig_setmethods__ = {}
8451 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipPairPredicate, name, value)
8452 __swig_getmethods__ = {}
8454 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipPairPredicate, name)
8455 def __init__(self, *args):
8457 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
8458 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
8460 this = _IMP_core.new_CoinFlipPairPredicate(*args)
8461 try: self.this.append(this)
8462 except: self.this = this
8463 def do_get_inputs(self, *args):
8464 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8465 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, *args)
8467 def get_value(self, *args):
8469 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8470 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8472 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
8474 def get_value_index(self, *args):
8476 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8477 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8479 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
8481 def get_version_info(self):
8482 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
8483 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
8486 """__str__(CoinFlipPairPredicate self) -> std::string"""
8487 return _IMP_core.CoinFlipPairPredicate___str__(self)
8490 """__repr__(CoinFlipPairPredicate self) -> std::string"""
8491 return _IMP_core.CoinFlipPairPredicate___repr__(self)
8494 return _object_cast_to_CoinFlipPairPredicate(o)
8495 get_from = staticmethod(get_from)
8497 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
8498 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
8501 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
8502 __swig_setmethods__ = {}
8504 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantTripletPredicate, name, value)
8505 __swig_getmethods__ = {}
8507 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantTripletPredicate, name)
8508 def __init__(self, *args):
8510 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
8511 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
8513 this = _IMP_core.new_ConstantTripletPredicate(*args)
8514 try: self.this.append(this)
8515 except: self.this = this
8516 def do_get_inputs(self, *args):
8517 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8518 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, *args)
8520 def get_value(self, *args):
8522 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8523 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8525 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
8527 def get_value_index(self, *args):
8529 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8530 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8532 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
8534 def get_version_info(self):
8535 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
8536 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
8539 """__str__(ConstantTripletPredicate self) -> std::string"""
8540 return _IMP_core.ConstantTripletPredicate___str__(self)
8543 """__repr__(ConstantTripletPredicate self) -> std::string"""
8544 return _IMP_core.ConstantTripletPredicate___repr__(self)
8547 return _object_cast_to_ConstantTripletPredicate(o)
8548 get_from = staticmethod(get_from)
8550 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
8551 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
8554 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
8555 __swig_setmethods__ = {}
8557 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeTripletPredicate, name, value)
8558 __swig_getmethods__ = {}
8560 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeTripletPredicate, name)
8561 def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
8563 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
8564 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
8566 this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
8567 try: self.this.append(this)
8568 except: self.this = this
8569 def do_get_inputs(self, *args):
8570 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8571 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, *args)
8573 def get_value(self, *args):
8575 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8576 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8578 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
8580 def get_value_index(self, *args):
8582 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8583 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8585 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
8587 def get_version_info(self):
8588 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
8589 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
8592 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
8593 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
8596 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
8597 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
8600 return _object_cast_to_UnorderedTypeTripletPredicate(o)
8601 get_from = staticmethod(get_from)
8603 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
8604 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
8607 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
8608 __swig_setmethods__ = {}
8610 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeTripletPredicate, name, value)
8611 __swig_getmethods__ = {}
8613 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeTripletPredicate, name)
8614 def __init__(self, name="OrderedTypeTripletPredicate%1%"):
8616 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
8617 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
8619 this = _IMP_core.new_OrderedTypeTripletPredicate(name)
8620 try: self.this.append(this)
8621 except: self.this = this
8622 def do_get_inputs(self, *args):
8623 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8624 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, *args)
8626 def get_value(self, *args):
8628 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
8629 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8630 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8632 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8634 def get_value_index(self, *args):
8636 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8637 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8639 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8641 def get_version_info(self):
8642 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8643 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8646 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8647 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8650 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8651 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8654 return _object_cast_to_OrderedTypeTripletPredicate(o)
8655 get_from = staticmethod(get_from)
8657 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8658 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8661 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8662 __swig_setmethods__ = {}
8664 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameTripletPredicate, name, value)
8665 __swig_getmethods__ = {}
8667 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameTripletPredicate, name)
8668 def __init__(self, name="AllSameTripletPredicate%1%"):
8670 __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8671 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8673 this = _IMP_core.new_AllSameTripletPredicate(name)
8674 try: self.this.append(this)
8675 except: self.this = this
8676 def do_get_inputs(self, *args):
8677 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8678 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, *args)
8680 def get_value(self, *args):
8682 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8683 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8685 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8687 def get_value_index(self, *args):
8689 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8690 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8692 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8694 def get_version_info(self):
8695 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8696 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8699 """__str__(AllSameTripletPredicate self) -> std::string"""
8700 return _IMP_core.AllSameTripletPredicate___str__(self)
8703 """__repr__(AllSameTripletPredicate self) -> std::string"""
8704 return _IMP_core.AllSameTripletPredicate___repr__(self)
8707 return _object_cast_to_AllSameTripletPredicate(o)
8708 get_from = staticmethod(get_from)
8710 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8711 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8714 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8715 __swig_setmethods__ = {}
8717 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipTripletPredicate, name, value)
8718 __swig_getmethods__ = {}
8720 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipTripletPredicate, name)
8721 def __init__(self, *args):
8723 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8724 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8726 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8727 try: self.this.append(this)
8728 except: self.this = this
8729 def do_get_inputs(self, *args):
8730 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8731 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, *args)
8733 def get_value(self, *args):
8735 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8736 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8738 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8740 def get_value_index(self, *args):
8742 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8743 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8745 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8747 def get_version_info(self):
8748 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8749 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8752 """__str__(CoinFlipTripletPredicate self) -> std::string"""
8753 return _IMP_core.CoinFlipTripletPredicate___str__(self)
8756 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8757 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8760 return _object_cast_to_CoinFlipTripletPredicate(o)
8761 get_from = staticmethod(get_from)
8763 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8764 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8767 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8768 __swig_setmethods__ = {}
8770 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConstantQuadPredicate, name, value)
8771 __swig_getmethods__ = {}
8773 __getattr__ =
lambda self, name: _swig_getattr(self, ConstantQuadPredicate, name)
8774 def __init__(self, *args):
8776 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8777 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8779 this = _IMP_core.new_ConstantQuadPredicate(*args)
8780 try: self.this.append(this)
8781 except: self.this = this
8782 def do_get_inputs(self, *args):
8783 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8784 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, *args)
8786 def get_value(self, *args):
8788 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8789 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8791 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8793 def get_value_index(self, *args):
8795 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8796 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8798 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8800 def get_version_info(self):
8801 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
8802 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
8805 """__str__(ConstantQuadPredicate self) -> std::string"""
8806 return _IMP_core.ConstantQuadPredicate___str__(self)
8809 """__repr__(ConstantQuadPredicate self) -> std::string"""
8810 return _IMP_core.ConstantQuadPredicate___repr__(self)
8813 return _object_cast_to_ConstantQuadPredicate(o)
8814 get_from = staticmethod(get_from)
8816 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
8817 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
8820 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
8821 __swig_setmethods__ = {}
8823 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnorderedTypeQuadPredicate, name, value)
8824 __swig_getmethods__ = {}
8826 __getattr__ =
lambda self, name: _swig_getattr(self, UnorderedTypeQuadPredicate, name)
8827 def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
8829 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
8830 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
8832 this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
8833 try: self.this.append(this)
8834 except: self.this = this
8835 def do_get_inputs(self, *args):
8836 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8837 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, *args)
8839 def get_value(self, *args):
8841 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8842 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8844 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
8846 def get_value_index(self, *args):
8848 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8849 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8851 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
8853 def get_version_info(self):
8854 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
8855 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
8858 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
8859 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
8862 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
8863 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
8866 return _object_cast_to_UnorderedTypeQuadPredicate(o)
8867 get_from = staticmethod(get_from)
8869 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
8870 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
8873 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
8874 __swig_setmethods__ = {}
8876 __setattr__ =
lambda self, name, value: _swig_setattr(self, OrderedTypeQuadPredicate, name, value)
8877 __swig_getmethods__ = {}
8879 __getattr__ =
lambda self, name: _swig_getattr(self, OrderedTypeQuadPredicate, name)
8880 def __init__(self, name="OrderedTypeQuadPredicate%1%"):
8882 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
8883 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
8885 this = _IMP_core.new_OrderedTypeQuadPredicate(name)
8886 try: self.this.append(this)
8887 except: self.this = this
8888 def do_get_inputs(self, *args):
8889 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8890 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, *args)
8892 def get_value(self, *args):
8894 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
8895 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8896 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8898 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
8900 def get_value_index(self, *args):
8902 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8903 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8905 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
8907 def get_version_info(self):
8908 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
8909 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
8912 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
8913 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
8916 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
8917 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
8920 return _object_cast_to_OrderedTypeQuadPredicate(o)
8921 get_from = staticmethod(get_from)
8923 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
8924 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
8927 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
8928 __swig_setmethods__ = {}
8930 __setattr__ =
lambda self, name, value: _swig_setattr(self, AllSameQuadPredicate, name, value)
8931 __swig_getmethods__ = {}
8933 __getattr__ =
lambda self, name: _swig_getattr(self, AllSameQuadPredicate, name)
8934 def __init__(self, name="AllSameQuadPredicate%1%"):
8936 __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
8937 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
8939 this = _IMP_core.new_AllSameQuadPredicate(name)
8940 try: self.this.append(this)
8941 except: self.this = this
8942 def do_get_inputs(self, *args):
8943 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8944 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, *args)
8946 def get_value(self, *args):
8948 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8949 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8951 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
8953 def get_value_index(self, *args):
8955 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8956 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8958 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
8960 def get_version_info(self):
8961 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
8962 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
8965 """__str__(AllSameQuadPredicate self) -> std::string"""
8966 return _IMP_core.AllSameQuadPredicate___str__(self)
8969 """__repr__(AllSameQuadPredicate self) -> std::string"""
8970 return _IMP_core.AllSameQuadPredicate___repr__(self)
8973 return _object_cast_to_AllSameQuadPredicate(o)
8974 get_from = staticmethod(get_from)
8976 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
8977 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
8980 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
8981 __swig_setmethods__ = {}
8983 __setattr__ =
lambda self, name, value: _swig_setattr(self, CoinFlipQuadPredicate, name, value)
8984 __swig_getmethods__ = {}
8986 __getattr__ =
lambda self, name: _swig_getattr(self, CoinFlipQuadPredicate, name)
8987 def __init__(self, *args):
8989 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
8990 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
8992 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
8993 try: self.this.append(this)
8994 except: self.this = this
8995 def do_get_inputs(self, *args):
8996 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8997 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, *args)
8999 def get_value(self, *args):
9001 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9002 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9004 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
9006 def get_value_index(self, *args):
9008 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
9009 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9011 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
9013 def get_version_info(self):
9014 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
9015 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
9018 """__str__(CoinFlipQuadPredicate self) -> std::string"""
9019 return _IMP_core.CoinFlipQuadPredicate___str__(self)
9022 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
9023 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
9026 return _object_cast_to_CoinFlipQuadPredicate(o)
9027 get_from = staticmethod(get_from)
9029 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
9030 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
9033 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
9034 __swig_setmethods__ = {}
9036 __setattr__ =
lambda self, name, value: _swig_setattr(self, InBoundingBox3DSingletonPredicate, name, value)
9037 __swig_getmethods__ = {}
9039 __getattr__ =
lambda self, name: _swig_getattr(self, InBoundingBox3DSingletonPredicate, name)
9040 def __init__(self, *args):
9042 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate
9043 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
9045 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
9046 try: self.this.append(this)
9047 except: self.this = this
9048 def do_get_inputs(self, *args):
9049 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9050 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, *args)
9052 def get_value(self, *args):
9054 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
9055 get_value(InBoundingBox3DSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9057 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
9059 def get_value_index(self, *args):
9061 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9062 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9064 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
9066 def get_version_info(self):
9067 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
9068 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
9071 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9072 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
9075 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9076 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
9079 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
9080 get_from = staticmethod(get_from)
9082 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
9083 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
9086 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
9087 __swig_setmethods__ = {}
9089 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonPredicate, name, value)
9090 __swig_getmethods__ = {}
9092 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonPredicate, name)
9093 def __init__(self, *args):
9095 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate
9096 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
9098 this = _IMP_core.new_AttributeSingletonPredicate(*args)
9099 try: self.this.append(this)
9100 except: self.this = this
9101 def do_get_inputs(self, *args):
9102 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9103 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, *args)
9105 def get_value(self, *args):
9107 get_value(AttributeSingletonPredicate self, Particle a) -> int
9108 get_value(AttributeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9110 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
9112 def get_value_index(self, *args):
9114 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9115 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9117 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
9119 def get_version_info(self):
9120 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
9121 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
9124 """__str__(AttributeSingletonPredicate self) -> std::string"""
9125 return _IMP_core.AttributeSingletonPredicate___str__(self)
9128 """__repr__(AttributeSingletonPredicate self) -> std::string"""
9129 return _IMP_core.AttributeSingletonPredicate___repr__(self)
9132 return _object_cast_to_AttributeSingletonPredicate(o)
9133 get_from = staticmethod(get_from)
9135 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
9136 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
9139 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
9140 __swig_setmethods__ = {}
9142 __setattr__ =
lambda self, name, value: _swig_setattr(self, IsCollisionPairPredicate, name, value)
9143 __swig_getmethods__ = {}
9145 __getattr__ =
lambda self, name: _swig_getattr(self, IsCollisionPairPredicate, name)
9146 def __init__(self, name="CollisionPairPredicate%1%"):
9148 __init__(IMP::core::IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate
9149 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
9151 this = _IMP_core.new_IsCollisionPairPredicate(name)
9152 try: self.this.append(this)
9153 except: self.this = this
9154 def do_get_inputs(self, *args):
9155 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9156 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, *args)
9158 def get_value(self, *args):
9160 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
9161 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
9163 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
9165 def get_value_index(self, *args):
9167 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
9168 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
9170 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
9172 def get_version_info(self):
9173 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
9174 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
9177 """__str__(IsCollisionPairPredicate self) -> std::string"""
9178 return _IMP_core.IsCollisionPairPredicate___str__(self)
9181 """__repr__(IsCollisionPairPredicate self) -> std::string"""
9182 return _IMP_core.IsCollisionPairPredicate___repr__(self)
9185 return _object_cast_to_IsCollisionPairPredicate(o)
9186 get_from = staticmethod(get_from)
9188 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
9189 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
9191 class AngleRestraint(TripletRestraint):
9192 """Proxy of C++ IMP::core::AngleRestraint class"""
9193 __swig_setmethods__ = {}
9194 for _s
in [TripletRestraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9195 __setattr__ =
lambda self, name, value: _swig_setattr(self, AngleRestraint, name, value)
9196 __swig_getmethods__ = {}
9197 for _s
in [TripletRestraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9198 __getattr__ =
lambda self, name: _swig_getattr(self, AngleRestraint, name)
9199 def __init__(self, *args):
9201 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
9202 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
9204 this = _IMP_core.new_AngleRestraint(*args)
9205 try: self.this.append(this)
9206 except: self.this = this
9208 """__str__(AngleRestraint self) -> std::string"""
9209 return _IMP_core.AngleRestraint___str__(self)
9212 """__repr__(AngleRestraint self) -> std::string"""
9213 return _IMP_core.AngleRestraint___repr__(self)
9216 return _object_cast_to_AngleRestraint(o)
9217 get_from = staticmethod(get_from)
9219 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
9220 AngleRestraint_swigregister(AngleRestraint)
9222 class RigidBodyMover(MonteCarloMover):
9223 """Proxy of C++ IMP::core::RigidBodyMover class"""
9224 __swig_setmethods__ = {}
9225 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9226 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyMover, name, value)
9227 __swig_getmethods__ = {}
9228 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9229 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyMover, name)
9230 def __init__(self, *args):
9232 __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9233 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9235 this = _IMP_core.new_RigidBodyMover(*args)
9236 try: self.this.append(this)
9237 except: self.this = this
9238 def set_maximum_translation(self, *args):
9239 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
9240 return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
9242 def set_maximum_rotation(self, *args):
9243 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
9244 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
9246 def get_maximum_translation(self):
9247 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
9248 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
9250 def get_maximum_rotation(self):
9251 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
9252 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
9254 def get_version_info(self):
9255 """get_version_info(RigidBodyMover self) -> VersionInfo"""
9256 return _IMP_core.RigidBodyMover_get_version_info(self)
9259 """__str__(RigidBodyMover self) -> std::string"""
9260 return _IMP_core.RigidBodyMover___str__(self)
9263 """__repr__(RigidBodyMover self) -> std::string"""
9264 return _IMP_core.RigidBodyMover___repr__(self)
9267 return _object_cast_to_RigidBodyMover(o)
9268 get_from = staticmethod(get_from)
9270 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
9271 RigidBodyMover_swigregister(RigidBodyMover)
9273 class RigidBodyTunneler(MonteCarloMover):
9274 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
9275 __swig_setmethods__ = {}
9276 for _s
in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9277 __setattr__ =
lambda self, name, value: _swig_setattr(self, RigidBodyTunneler, name, value)
9278 __swig_getmethods__ = {}
9279 for _s
in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9280 __getattr__ =
lambda self, name: _swig_getattr(self, RigidBodyTunneler, name)
9281 def __init__(self, *args):
9283 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, double move_probability=1.) -> RigidBodyTunneler
9284 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref) -> RigidBodyTunneler
9286 this = _IMP_core.new_RigidBodyTunneler(*args)
9287 try: self.this.append(this)
9288 except: self.this = this
9289 def add_entry_point(self, *args):
9290 """add_entry_point(RigidBodyTunneler self, double x, double y, double z)"""
9291 return _IMP_core.RigidBodyTunneler_add_entry_point(self, *args)
9293 def get_reduced_coordinates(*args):
9295 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
9296 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
9298 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
9300 if _newclass:get_reduced_coordinates = staticmethod(get_reduced_coordinates)
9301 __swig_getmethods__[
"get_reduced_coordinates"] =
lambda x: get_reduced_coordinates
9302 def get_version_info(self):
9303 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
9304 return _IMP_core.RigidBodyTunneler_get_version_info(self)
9307 """__str__(RigidBodyTunneler self) -> std::string"""
9308 return _IMP_core.RigidBodyTunneler___str__(self)
9311 """__repr__(RigidBodyTunneler self) -> std::string"""
9312 return _IMP_core.RigidBodyTunneler___repr__(self)
9315 return _object_cast_to_RigidBodyTunneler(o)
9316 get_from = staticmethod(get_from)
9318 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
9319 RigidBodyTunneler_swigregister(RigidBodyTunneler)
9321 def RigidBodyTunneler_get_reduced_coordinates(*args):
9323 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
9324 RigidBodyTunneler_get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
9326 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
9329 """Proxy of C++ IMP::core::VolumeRestraint class"""
9330 __swig_setmethods__ = {}
9331 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9332 __setattr__ =
lambda self, name, value: _swig_setattr(self, VolumeRestraint, name, value)
9333 __swig_getmethods__ = {}
9334 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9335 __getattr__ =
lambda self, name: _swig_getattr(self, VolumeRestraint, name)
9336 def __init__(self, *args):
9337 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
9338 this = _IMP_core.new_VolumeRestraint(*args)
9339 try: self.this.append(this)
9340 except: self.this = this
9341 def do_get_inputs(self):
9342 """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
9343 return _IMP_core.VolumeRestraint_do_get_inputs(self)
9345 def get_version_info(self):
9346 """get_version_info(VolumeRestraint self) -> VersionInfo"""
9347 return _IMP_core.VolumeRestraint_get_version_info(self)
9350 """__str__(VolumeRestraint self) -> std::string"""
9351 return _IMP_core.VolumeRestraint___str__(self)
9354 """__repr__(VolumeRestraint self) -> std::string"""
9355 return _IMP_core.VolumeRestraint___repr__(self)
9358 return _object_cast_to_VolumeRestraint(o)
9359 get_from = staticmethod(get_from)
9361 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
9362 VolumeRestraint_swigregister(VolumeRestraint)
9366 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
9367 return _IMP_core.get_centroid(*args)
9370 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
9371 return _IMP_core.get_bounding_box(*args)
9373 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
9374 __swig_setmethods__ = {}
9376 __setattr__ =
lambda self, name, value: _swig_setattr(self, MoveStatisticsScoreState, name, value)
9377 __swig_getmethods__ = {}
9379 __getattr__ =
lambda self, name: _swig_getattr(self, MoveStatisticsScoreState, name)
9380 def __init__(self, *args):
9381 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
9382 this = _IMP_core.new_MoveStatisticsScoreState(*args)
9383 try: self.this.append(this)
9384 except: self.this = this
9385 def show_statistics(self, *args):
9387 show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
9388 show_statistics(MoveStatisticsScoreState self)
9390 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
9393 """reset(MoveStatisticsScoreState self)"""
9394 return _IMP_core.MoveStatisticsScoreState_reset(self)
9396 def do_before_evaluate(self):
9397 """do_before_evaluate(MoveStatisticsScoreState self)"""
9398 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
9400 def do_after_evaluate(self, *args):
9401 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
9402 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, *args)
9404 def do_get_inputs(self):
9405 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9406 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
9408 def do_get_outputs(self):
9409 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9410 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
9412 def get_version_info(self):
9413 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
9414 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
9417 """__str__(MoveStatisticsScoreState self) -> std::string"""
9418 return _IMP_core.MoveStatisticsScoreState___str__(self)
9421 """__repr__(MoveStatisticsScoreState self) -> std::string"""
9422 return _IMP_core.MoveStatisticsScoreState___repr__(self)
9425 return _object_cast_to_MoveStatisticsScoreState(o)
9426 get_from = staticmethod(get_from)
9428 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
9429 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
9431 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
9433 """Proxy of C++ IMP::core::Typed class"""
9434 __swig_setmethods__ = {}
9435 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9436 __setattr__ =
lambda self, name, value: _swig_setattr(self, Typed, name, value)
9437 __swig_getmethods__ = {}
9438 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9439 __getattr__ =
lambda self, name: _swig_getattr(self, Typed, name)
9441 """get_type_key() -> IntKey"""
9442 return _IMP_core.Typed_get_type_key()
9444 if _newclass:get_type_key = staticmethod(get_type_key)
9445 __swig_getmethods__[
"get_type_key"] =
lambda x: get_type_key
9446 def __init__(self, *args):
9448 __init__(IMP::core::Typed self) -> Typed
9449 __init__(IMP::core::Typed self, Model m, ::IMP::kernel::ParticleIndex id) -> Typed
9450 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
9452 this = _IMP_core.new_Typed(*args)
9453 try: self.this.append(this)
9454 except: self.this = this
9455 def decorate_particle(*args):
9456 """decorate_particle(Particle p) -> Typed"""
9457 return _IMP_core.Typed_decorate_particle(*args)
9459 if _newclass:decorate_particle = staticmethod(decorate_particle)
9460 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
9461 def show(self, *args):
9463 show(Typed self, _ostream out=std::cout)
9466 return _IMP_core.Typed_show(self, *args)
9468 def setup_particle(*args):
9470 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9471 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9473 return _IMP_core.Typed_setup_particle(*args)
9475 if _newclass:setup_particle = staticmethod(setup_particle)
9476 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
9477 def get_is_setup(*args):
9479 get_is_setup(_ParticleAdaptor p) -> bool
9480 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9482 return _IMP_core.Typed_get_is_setup(*args)
9484 if _newclass:get_is_setup = staticmethod(get_is_setup)
9485 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
9487 """get_type(Typed self) -> ParticleType"""
9488 return _IMP_core.Typed_get_type(self)
9490 def add_attribute(self, *args):
9492 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
9493 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
9494 add_attribute(Typed self, IntKey a0, IMP::Int a1)
9495 add_attribute(Typed self, StringKey a0, IMP::String a1)
9496 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
9497 add_attribute(Typed self, ObjectKey a0, Object a1)
9499 return _IMP_core.Typed_add_attribute(self, *args)
9501 def get_value(self, *args):
9503 get_value(Typed self, FloatKey a0) -> IMP::Float
9504 get_value(Typed self, IntKey a0) -> IMP::Int
9505 get_value(Typed self, StringKey a0) -> IMP::String
9506 get_value(Typed self, ParticleIndexKey a0) -> Particle
9507 get_value(Typed self, ObjectKey a0) -> Object
9509 return _IMP_core.Typed_get_value(self, *args)
9511 def set_value(self, *args):
9513 set_value(Typed self, FloatKey a0, IMP::Float a1)
9514 set_value(Typed self, IntKey a0, IMP::Int a1)
9515 set_value(Typed self, StringKey a0, IMP::String a1)
9516 set_value(Typed self, ParticleIndexKey a0, Particle a1)
9517 set_value(Typed self, ObjectKey a0, Object a1)
9519 return _IMP_core.Typed_set_value(self, *args)
9521 def remove_attribute(self, *args):
9523 remove_attribute(Typed self, FloatKey a0)
9524 remove_attribute(Typed self, IntKey a0)
9525 remove_attribute(Typed self, StringKey a0)
9526 remove_attribute(Typed self, ParticleIndexKey a0)
9527 remove_attribute(Typed self, ObjectKey a0)
9529 return _IMP_core.Typed_remove_attribute(self, *args)
9531 def has_attribute(self, *args):
9533 has_attribute(Typed self, FloatKey a0) -> bool
9534 has_attribute(Typed self, IntKey a0) -> bool
9535 has_attribute(Typed self, StringKey a0) -> bool
9536 has_attribute(Typed self, ParticleIndexKey a0) -> bool
9537 has_attribute(Typed self, ObjectKey a0) -> bool
9539 return _IMP_core.Typed_has_attribute(self, *args)
9541 def get_derivative(self, *args):
9542 """get_derivative(Typed self, FloatKey a0) -> double"""
9543 return _IMP_core.Typed_get_derivative(self, *args)
9546 """get_name(Typed self) -> std::string"""
9547 return _IMP_core.Typed_get_name(self)
9549 def clear_caches(self):
9550 """clear_caches(Typed self)"""
9551 return _IMP_core.Typed_clear_caches(self)
9553 def set_name(self, *args):
9554 """set_name(Typed self, std::string a0)"""
9555 return _IMP_core.Typed_set_name(self, *args)
9558 """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
9559 return _IMP_core.Typed_set_check_level(self, *args)
9561 def add_to_derivative(self, *args):
9562 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9563 return _IMP_core.Typed_add_to_derivative(self, *args)
9565 def set_is_optimized(self, *args):
9566 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
9567 return _IMP_core.Typed_set_is_optimized(self, *args)
9569 def get_is_optimized(self, *args):
9570 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
9571 return _IMP_core.Typed_get_is_optimized(self, *args)
9574 """get_check_level(Typed self) -> IMP::base::CheckLevel"""
9575 return _IMP_core.Typed_get_check_level(self)
9577 def __eq__(self, *args):
9579 __eq__(Typed self, Typed o) -> bool
9580 __eq__(Typed self, Particle d) -> bool
9582 return _IMP_core.Typed___eq__(self, *args)
9584 def __ne__(self, *args):
9586 __ne__(Typed self, Typed o) -> bool
9587 __ne__(Typed self, Particle d) -> bool
9589 return _IMP_core.Typed___ne__(self, *args)
9591 def __le__(self, *args):
9593 __le__(Typed self, Typed o) -> bool
9594 __le__(Typed self, Particle d) -> bool
9596 return _IMP_core.Typed___le__(self, *args)
9598 def __lt__(self, *args):
9600 __lt__(Typed self, Typed o) -> bool
9601 __lt__(Typed self, Particle d) -> bool
9603 return _IMP_core.Typed___lt__(self, *args)
9605 def __ge__(self, *args):
9607 __ge__(Typed self, Typed o) -> bool
9608 __ge__(Typed self, Particle d) -> bool
9610 return _IMP_core.Typed___ge__(self, *args)
9612 def __gt__(self, *args):
9614 __gt__(Typed self, Typed o) -> bool
9615 __gt__(Typed self, Particle d) -> bool
9617 return _IMP_core.Typed___gt__(self, *args)
9620 """__str__(Typed self) -> std::string"""
9621 return _IMP_core.Typed___str__(self)
9624 """__repr__(Typed self) -> std::string"""
9625 return _IMP_core.Typed___repr__(self)
9627 __swig_destroy__ = _IMP_core.delete_Typed
9628 __del__ =
lambda self :
None;
9629 Typed_swigregister = _IMP_core.Typed_swigregister
9630 Typed_swigregister(Typed)
9632 def Typed_get_type_key():
9633 """Typed_get_type_key() -> IntKey"""
9634 return _IMP_core.Typed_get_type_key()
9636 def Typed_decorate_particle(*args):
9637 """Typed_decorate_particle(Particle p) -> Typed"""
9638 return _IMP_core.Typed_decorate_particle(*args)
9640 def Typed_setup_particle(*args):
9642 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9643 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9645 return _IMP_core.Typed_setup_particle(*args)
9647 def Typed_get_is_setup(*args):
9649 get_is_setup(_ParticleAdaptor p) -> bool
9650 Typed_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9652 return _IMP_core.Typed_get_is_setup(*args)
9655 def __lshift__(*args):
9657 __lshift__(_ostream out, XYZ n) -> _ostream
9658 __lshift__(_ostream out, XYZR n) -> _ostream
9659 __lshift__(_ostream out, Gaussian n) -> _ostream
9660 __lshift__(_ostream out, Centroid n) -> _ostream
9661 __lshift__(_ostream out, Cover n) -> _ostream
9662 __lshift__(_ostream out, Reference n) -> _ostream
9663 __lshift__(_ostream out, RigidMember n) -> _ostream
9664 __lshift__(_ostream out, RigidBody n) -> _ostream
9665 __lshift__(_ostream out, Typed n) -> _ostream
9667 return _IMP_core.__lshift__(*args)
9669 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9670 __swig_setmethods__ = {}
9672 __setattr__ =
lambda self, name, value: _swig_setattr(self, WriteRestraintScoresOptimizerState, name, value)
9673 __swig_getmethods__ = {}
9675 __getattr__ =
lambda self, name: _swig_getattr(self, WriteRestraintScoresOptimizerState, name)
9676 def __init__(self, *args):
9677 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9678 this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9679 try: self.this.append(this)
9680 except: self.this = this
9681 def get_version_info(self):
9682 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9683 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9686 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9687 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9690 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9691 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9694 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9695 get_from = staticmethod(get_from)
9697 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9698 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9702 """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9703 return _IMP_core.assign_blame(*args)
9707 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9708 std::string name=std::string()) -> IMP::display::Geometries
9709 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9710 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9712 return _IMP_core.create_blame_geometries(*args)
9716 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9717 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9718 get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9720 return _IMP_core.get_transformation_aligning_first_to_second(*args)
9723 """create_restraint(PairScore ps, IMP::kernel::ParticlePair pp) -> Restraint"""
9724 return _IMP_core.create_restraint(*args)
9726 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9727 __swig_setmethods__ = {}
9729 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicLowerBound, name, value)
9730 __swig_getmethods__ = {}
9732 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicLowerBound, name)
9733 def __init__(self, *args):
9735 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9736 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9738 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9739 try: self.this.append(this)
9740 except: self.this = this
9741 def get_version_info(self):
9742 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9743 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9746 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9747 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9750 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9751 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9754 return _object_cast_to_TruncatedHarmonic(o)
9755 get_from = staticmethod(get_from)
9757 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9758 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9761 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9762 __swig_setmethods__ = {}
9764 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicUpperBound, name, value)
9765 __swig_getmethods__ = {}
9767 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicUpperBound, name)
9768 def __init__(self, *args):
9770 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9771 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9773 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9774 try: self.this.append(this)
9775 except: self.this = this
9776 def get_version_info(self):
9777 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9778 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9781 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9782 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9785 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9786 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9789 return _object_cast_to_TruncatedHarmonic(o)
9790 get_from = staticmethod(get_from)
9792 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9793 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9796 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9797 __swig_setmethods__ = {}
9799 __setattr__ =
lambda self, name, value: _swig_setattr(self, TruncatedHarmonicBound, name, value)
9800 __swig_getmethods__ = {}
9802 __getattr__ =
lambda self, name: _swig_getattr(self, TruncatedHarmonicBound, name)
9803 def __init__(self, *args):
9805 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9806 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9808 this = _IMP_core.new_TruncatedHarmonicBound(*args)
9809 try: self.this.append(this)
9810 except: self.this = this
9811 def get_version_info(self):
9812 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9813 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
9816 """__str__(TruncatedHarmonicBound self) -> std::string"""
9817 return _IMP_core.TruncatedHarmonicBound___str__(self)
9820 """__repr__(TruncatedHarmonicBound self) -> std::string"""
9821 return _IMP_core.TruncatedHarmonicBound___repr__(self)
9824 return _object_cast_to_TruncatedHarmonic(o)
9825 get_from = staticmethod(get_from)
9827 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
9828 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
9831 """Proxy of C++ IMP::Key<(34897493,true)> class"""
9832 __swig_setmethods__ = {}
9833 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
9834 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleType, name, value)
9835 __swig_getmethods__ = {}
9836 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
9837 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleType, name)
9838 def __init__(self, *args):
9840 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
9841 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
9842 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
9844 this = _IMP_core.new_ParticleType(*args)
9845 try: self.this.append(this)
9846 except: self.this = this
9848 """add_key(std::string sc) -> unsigned int"""
9849 return _IMP_core.ParticleType_add_key(*args)
9851 if _newclass:add_key = staticmethod(add_key)
9852 __swig_getmethods__[
"add_key"] =
lambda x: add_key
9853 def get_key_exists(*args):
9854 """get_key_exists(std::string sc) -> bool"""
9855 return _IMP_core.ParticleType_get_key_exists(*args)
9857 if _newclass:get_key_exists = staticmethod(get_key_exists)
9858 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
9859 def get_string(self):
9860 """get_string(ParticleType self) -> std::string const"""
9861 return _IMP_core.ParticleType_get_string(self)
9863 def __eq__(self, *args):
9864 """__eq__(ParticleType self, ParticleType o) -> bool"""
9865 return _IMP_core.ParticleType___eq__(self, *args)
9867 def __ne__(self, *args):
9868 """__ne__(ParticleType self, ParticleType o) -> bool"""
9869 return _IMP_core.ParticleType___ne__(self, *args)
9871 def __lt__(self, *args):
9872 """__lt__(ParticleType self, ParticleType o) -> bool"""
9873 return _IMP_core.ParticleType___lt__(self, *args)
9875 def __gt__(self, *args):
9876 """__gt__(ParticleType self, ParticleType o) -> bool"""
9877 return _IMP_core.ParticleType___gt__(self, *args)
9879 def __ge__(self, *args):
9880 """__ge__(ParticleType self, ParticleType o) -> bool"""
9881 return _IMP_core.ParticleType___ge__(self, *args)
9883 def __le__(self, *args):
9884 """__le__(ParticleType self, ParticleType o) -> bool"""
9885 return _IMP_core.ParticleType___le__(self, *args)
9888 """__hash__(ParticleType self) -> std::size_t"""
9889 return _IMP_core.ParticleType___hash__(self)
9891 def show(self, *args):
9893 show(ParticleType self, _ostream out=std::cout)
9894 show(ParticleType self)
9896 return _IMP_core.ParticleType_show(self, *args)
9898 def add_alias(*args):
9899 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9900 return _IMP_core.ParticleType_add_alias(*args)
9902 if _newclass:add_alias = staticmethod(add_alias)
9903 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
9905 """get_index(ParticleType self) -> unsigned int"""
9906 return _IMP_core.ParticleType_get_index(self)
9908 def show_all(*args):
9909 """show_all(_ostream out)"""
9910 return _IMP_core.ParticleType_show_all(*args)
9912 if _newclass:show_all = staticmethod(show_all)
9913 __swig_getmethods__[
"show_all"] =
lambda x: show_all
9914 def get_all_strings():
9915 """get_all_strings() -> IMP::base::Vector< std::string >"""
9916 return _IMP_core.ParticleType_get_all_strings()
9918 if _newclass:get_all_strings = staticmethod(get_all_strings)
9919 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
9920 def get_number_unique():
9921 """get_number_unique() -> unsigned int"""
9922 return _IMP_core.ParticleType_get_number_unique()
9924 if _newclass:get_number_unique = staticmethod(get_number_unique)
9925 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
9927 """__str__(ParticleType self) -> std::string"""
9928 return _IMP_core.ParticleType___str__(self)
9931 """__repr__(ParticleType self) -> std::string"""
9932 return _IMP_core.ParticleType___repr__(self)
9934 __swig_destroy__ = _IMP_core.delete_ParticleType
9935 __del__ =
lambda self :
None;
9936 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
9937 ParticleType_swigregister(ParticleType)
9939 def ParticleType_add_key(*args):
9940 """ParticleType_add_key(std::string sc) -> unsigned int"""
9941 return _IMP_core.ParticleType_add_key(*args)
9943 def ParticleType_get_key_exists(*args):
9944 """ParticleType_get_key_exists(std::string sc) -> bool"""
9945 return _IMP_core.ParticleType_get_key_exists(*args)
9947 def ParticleType_add_alias(*args):
9948 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9949 return _IMP_core.ParticleType_add_alias(*args)
9951 def ParticleType_show_all(*args):
9952 """ParticleType_show_all(_ostream out)"""
9953 return _IMP_core.ParticleType_show_all(*args)
9955 def ParticleType_get_all_strings():
9956 """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
9957 return _IMP_core.ParticleType_get_all_strings()
9959 def ParticleType_get_number_unique():
9960 """ParticleType_get_number_unique() -> unsigned int"""
9961 return _IMP_core.ParticleType_get_number_unique()
9964 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
9965 __swig_setmethods__ = {}
9967 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeSingletonScore, name, value)
9968 __swig_getmethods__ = {}
9970 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeSingletonScore, name)
9971 __repr__ = _swig_repr
9972 def __init__(self, *args):
9973 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
9974 this = _IMP_core.new_AttributeSingletonScore(*args)
9975 try: self.this.append(this)
9976 except: self.this = this
9977 def do_get_inputs(self, *args):
9978 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9979 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, *args)
9981 def get_version_info(self):
9982 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
9983 return _IMP_core.AttributeSingletonScore_get_version_info(self)
9985 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
9986 AttributeSingletonScore_swigregister(AttributeSingletonScore)
9990 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
9991 return _IMP_core.create_attribute_singleton_score(*args)
9993 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
9994 __swig_setmethods__ = {}
9996 __setattr__ =
lambda self, name, value: _swig_setattr(self, BoundingBox3DSingletonScore, name, value)
9997 __swig_getmethods__ = {}
9999 __getattr__ =
lambda self, name: _swig_getattr(self, BoundingBox3DSingletonScore, name)
10000 __repr__ = _swig_repr
10001 def __init__(self, *args):
10002 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10003 this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
10004 try: self.this.append(this)
10005 except: self.this = this
10006 def do_get_inputs(self, *args):
10007 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10008 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, *args)
10010 def get_version_info(self):
10011 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
10012 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
10014 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
10015 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
10018 def create_bounding_box_3d_singleton_score(*args):
10019 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10020 return _IMP_core.create_bounding_box_3d_singleton_score(*args)
10022 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
10023 __swig_setmethods__ = {}
10025 __setattr__ =
lambda self, name, value: _swig_setattr(self, DistanceToSingletonScore, name, value)
10026 __swig_getmethods__ = {}
10028 __getattr__ =
lambda self, name: _swig_getattr(self, DistanceToSingletonScore, name)
10029 __repr__ = _swig_repr
10030 def __init__(self, *args):
10031 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10032 this = _IMP_core.new_DistanceToSingletonScore(*args)
10033 try: self.this.append(this)
10034 except: self.this = this
10035 def do_get_inputs(self, *args):
10036 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10037 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, *args)
10039 def get_version_info(self):
10040 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
10041 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
10043 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
10044 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
10047 def create_distance_to_singleton_score(*args):
10048 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10049 return _IMP_core.create_distance_to_singleton_score(*args)
10051 def get_module_version():
10052 """get_module_version() -> std::string const"""
10053 return _IMP_core.get_module_version()
10055 def get_example_path(*args):
10056 """get_example_path(std::string fname) -> std::string"""
10057 return _IMP_core.get_example_path(*args)
10059 def get_data_path(*args):
10060 """get_data_path(std::string fname) -> std::string"""
10061 return _IMP_core.get_data_path(*args)
10062 import _version_check
10063 _version_check.check_version(get_module_version())
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
Hierarchies get_leaves(Hierarchy h)
ParticleIndexes get_indexes(const ParticlesTemp &ps)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
A base class for geometry contained in particles.
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
algebra::ReferenceFrame3D get_initial_reference_frame(kernel::Model *m, const kernel::ParticleIndexes &pis)
See IMP.base for more information.
Abstract predicate function.
IMP_Eigen::Matrix3d get_covariance(const Gaussian3D &g)
void add_rigid_body_cache_key(ObjectKey k)
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
Abstract single variable functor class for score functions.
ScoreStates maintian invariants in the Model.
See IMP.score_functor for more information.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
A base class for modifiers of kernel::ParticlesTemp.
Abstract predicate function.
void assign_blame(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, FloatKey attribute)
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
display::Geometries create_blame_geometries(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
F visit_depth_first(HD d, F f)
Apply functor F to each particle, traversing the hierarchy depth first.
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
See IMP.kernel for more information.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
A restraint is a term in an IMP ScoringFunction.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
void set_vector_geometry(C &g, const E &v)
Abstract predicate function.
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Common base class for heavy weight IMP objects.
Base class for all optimizers.
Abstract predicate function.
Base class for optimizers that act on individual attributes.
Key< 34897493, true > ParticleType
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Base class for all samplers.
void show_rigid_body_hierarchy(RigidBody rb, base::TextOutput out=base::TextOutput(std::cout))
kernel::ParticlesTemp create_rigid_bodies(kernel::Model *m, unsigned int n, bool no_members=false)
kernel::ParticleIndex get_root_rigid_body(RigidMember m)
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Implement a constraint on the Model.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
Abstract class to implement hierarchical methods.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
kernel::Restraint * create_restraint(Score *s, Container *c, std::string name=std::string())
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
A specialization for the lower bound.
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)