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:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_CORE_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
98 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
102 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
103 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
105 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
109 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
110 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
112 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
120 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, *args)
123 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
124 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
127 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
128 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
131 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
132 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
135 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
136 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
140 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
144 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
148 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
152 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
156 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
160 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
165 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
171 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
178 IMP_DEBUG = _IMP_core.IMP_DEBUG
179 IMP_RELEASE = _IMP_core.IMP_RELEASE
180 IMP_SILENT = _IMP_core.IMP_SILENT
181 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
182 IMP_TERSE = _IMP_core.IMP_TERSE
183 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
184 IMP_MEMORY = _IMP_core.IMP_MEMORY
185 IMP_NONE = _IMP_core.IMP_NONE
186 IMP_USAGE = _IMP_core.IMP_USAGE
187 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_core.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_core.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_core.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_core.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_core._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_core._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_core.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_core.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_core.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_core.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
279 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
280 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
281 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
282 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
283 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
284 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
285 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
286 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
287 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
289 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
291 __repr__ = _swig_repr
292 def __init__(self, *args):
294 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
295 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
297 this = _IMP_core.new__OpenCubicSplineBase(*args)
298 try: self.this.append(this)
299 except: self.this = this
300 def get_version_info(self):
301 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
302 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
304 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
305 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
307 _object_types.append(
"MonteCarloMover")
310 def _object_cast_to_MonteCarloMover(*args):
311 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
312 return _IMP_core._object_cast_to_MonteCarloMover(*args)
313 MonteCarloMoverResults=list
314 _plural_types.append(
"MonteCarloMoverResults")
315 _value_types.append(
"MonteCarloMoverResult")
317 _object_types.append(
"AngleRestraint")
320 def _object_cast_to_AngleRestraint(*args):
321 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
322 return _IMP_core._object_cast_to_AngleRestraint(*args)
323 _object_types.append(
"AngleTripletScore")
326 def _object_cast_to_AngleTripletScore(*args):
327 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
328 return _IMP_core._object_cast_to_AngleTripletScore(*args)
329 _object_types.append(
"AttributeSingletonScore")
332 def _object_cast_to_AttributeSingletonScore(*args):
333 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
334 return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
335 _object_types.append(
"BallMover")
338 def _object_cast_to_BallMover(*args):
339 """_object_cast_to_BallMover(Object o) -> BallMover"""
340 return _IMP_core._object_cast_to_BallMover(*args)
341 _object_types.append(
"SerialMover")
344 def _object_cast_to_SerialMover(*args):
345 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
346 return _IMP_core._object_cast_to_SerialMover(*args)
347 _object_types.append(
"BoundingBox3DSingletonScore")
350 def _object_cast_to_BoundingBox3DSingletonScore(*args):
351 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
352 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
353 _object_types.append(
"BoxSweepClosePairsFinder")
356 def _object_cast_to_BoxSweepClosePairsFinder(*args):
357 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
358 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
359 _object_types.append(
"NearestNeighborsClosePairsFinder")
362 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
363 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
364 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
365 _object_types.append(
"CentroidOfRefined")
368 def _object_cast_to_CentroidOfRefined(*args):
369 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
370 return _IMP_core._object_cast_to_CentroidOfRefined(*args)
371 _object_types.append(
"ChecksScoreState")
374 def _object_cast_to_ChecksScoreState(*args):
375 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
376 return _IMP_core._object_cast_to_ChecksScoreState(*args)
377 _object_types.append(
"ChildrenRefiner")
380 def _object_cast_to_ChildrenRefiner(*args):
381 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
382 return _IMP_core._object_cast_to_ChildrenRefiner(*args)
383 _object_types.append(
"ClosePairsFinder")
386 def _object_cast_to_ClosePairsFinder(*args):
387 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
388 return _IMP_core._object_cast_to_ClosePairsFinder(*args)
389 _object_types.append(
"ClosePairsPairScore")
392 def _object_cast_to_ClosePairsPairScore(*args):
393 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
394 return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
395 _object_types.append(
"ClosedCubicSpline")
398 def _object_cast_to_ClosedCubicSpline(*args):
399 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
400 return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
401 _object_types.append(
"ConjugateGradients")
404 def _object_cast_to_ConjugateGradients(*args):
405 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
406 return _IMP_core._object_cast_to_ConjugateGradients(*args)
407 _object_types.append(
"ConnectivityRestraint")
410 def _object_cast_to_ConnectivityRestraint(*args):
411 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
412 return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
413 _object_types.append(
"ConstantRestraint")
416 def _object_cast_to_ConstantRestraint(*args):
417 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
418 return _IMP_core._object_cast_to_ConstantRestraint(*args)
419 _object_types.append(
"Cosine")
422 def _object_cast_to_Cosine(*args):
423 """_object_cast_to_Cosine(Object o) -> Cosine"""
424 return _IMP_core._object_cast_to_Cosine(*args)
425 _object_types.append(
"CoverRefined")
428 def _object_cast_to_CoverRefined(*args):
429 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
430 return _IMP_core._object_cast_to_CoverRefined(*args)
431 _object_types.append(
"DerivativesFromRefined")
434 def _object_cast_to_DerivativesFromRefined(*args):
435 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
436 return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
437 _object_types.append(
"DerivativesToRefined")
440 def _object_cast_to_DerivativesToRefined(*args):
441 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
442 return _IMP_core._object_cast_to_DerivativesToRefined(*args)
443 _object_types.append(
"WeightedDerivativesToRefined")
446 def _object_cast_to_WeightedDerivativesToRefined(*args):
447 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
448 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(*args)
449 _object_types.append(
"DiameterRestraint")
452 def _object_cast_to_DiameterRestraint(*args):
453 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
454 return _IMP_core._object_cast_to_DiameterRestraint(*args)
455 _object_types.append(
"DihedralRestraint")
458 def _object_cast_to_DihedralRestraint(*args):
459 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
460 return _IMP_core._object_cast_to_DihedralRestraint(*args)
461 _object_types.append(
"DistanceRestraint")
464 def _object_cast_to_DistanceRestraint(*args):
465 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
466 return _IMP_core._object_cast_to_DistanceRestraint(*args)
467 _object_types.append(
"DistanceToSingletonScore")
470 def _object_cast_to_DistanceToSingletonScore(*args):
471 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
472 return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
473 _object_types.append(
"ExcludedVolumeRestraint")
476 def _object_cast_to_ExcludedVolumeRestraint(*args):
477 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
478 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
479 _object_types.append(
"FixedRefiner")
482 def _object_cast_to_FixedRefiner(*args):
483 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
484 return _IMP_core._object_cast_to_FixedRefiner(*args)
485 _object_types.append(
"GridClosePairsFinder")
488 def _object_cast_to_GridClosePairsFinder(*args):
489 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
490 return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
491 _object_types.append(
"Harmonic")
494 def _object_cast_to_Harmonic(*args):
495 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
496 return _IMP_core._object_cast_to_Harmonic(*args)
497 _object_types.append(
"HarmonicWell")
500 def _object_cast_to_HarmonicWell(*args):
501 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
502 return _IMP_core._object_cast_to_HarmonicWell(*args)
503 _object_types.append(
"HarmonicLowerBound")
506 def _object_cast_to_HarmonicLowerBound(*args):
507 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
508 return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
509 _object_types.append(
"HarmonicUpperBound")
512 def _object_cast_to_HarmonicUpperBound(*args):
513 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
514 return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
515 _object_types.append(
"HarmonicSphereDistancePairScore")
518 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
519 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
520 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
521 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
524 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
525 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
526 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
527 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
530 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
531 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
532 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
533 _object_types.append(
"IncrementalScoringFunction")
536 def _object_cast_to_IncrementalScoringFunction(*args):
537 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
538 return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
539 _object_types.append(
"KClosePairsPairScore")
542 def _object_cast_to_KClosePairsPairScore(*args):
543 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
544 return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
545 _object_types.append(
"LeavesRefiner")
548 def _object_cast_to_LeavesRefiner(*args):
549 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
550 return _IMP_core._object_cast_to_LeavesRefiner(*args)
551 _object_types.append(
"Linear")
554 def _object_cast_to_Linear(*args):
555 """_object_cast_to_Linear(Object o) -> Linear"""
556 return _IMP_core._object_cast_to_Linear(*args)
557 _object_types.append(
"MCCGSampler")
560 def _object_cast_to_MCCGSampler(*args):
561 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
562 return _IMP_core._object_cast_to_MCCGSampler(*args)
563 _object_types.append(
"MonteCarlo")
566 def _object_cast_to_MonteCarlo(*args):
567 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
568 return _IMP_core._object_cast_to_MonteCarlo(*args)
569 _object_types.append(
"MonteCarloWithLocalOptimization")
572 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
573 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
574 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
575 _object_types.append(
"MonteCarloWithBasinHopping")
578 def _object_cast_to_MonteCarloWithBasinHopping(*args):
579 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
580 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
581 _object_types.append(
"MSConnectivityRestraint")
584 def _object_cast_to_MSConnectivityRestraint(*args):
585 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
586 return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
587 _object_types.append(
"NeighborsTable")
590 def _object_cast_to_NeighborsTable(*args):
591 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
592 return _IMP_core._object_cast_to_NeighborsTable(*args)
593 _object_types.append(
"NormalMover")
596 def _object_cast_to_NormalMover(*args):
597 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
598 return _IMP_core._object_cast_to_NormalMover(*args)
599 _object_types.append(
"NormalizedSphereDistancePairScore")
602 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
603 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
604 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
605 _object_types.append(
"OpenCubicSpline")
608 def _object_cast_to_OpenCubicSpline(*args):
609 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
610 return _IMP_core._object_cast_to_OpenCubicSpline(*args)
611 _object_types.append(
"PairConstraint")
614 def _object_cast_to_PairConstraint(*args):
615 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
616 return _IMP_core._object_cast_to_PairConstraint(*args)
617 _object_types.append(
"PairRestraint")
620 def _object_cast_to_PairRestraint(*args):
621 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
622 return _IMP_core._object_cast_to_PairRestraint(*args)
623 _object_types.append(
"QuadConstraint")
626 def _object_cast_to_QuadConstraint(*args):
627 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
628 return _IMP_core._object_cast_to_QuadConstraint(*args)
629 _object_types.append(
"QuadRestraint")
632 def _object_cast_to_QuadRestraint(*args):
633 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
634 return _IMP_core._object_cast_to_QuadRestraint(*args)
635 _object_types.append(
"QuadraticClosePairsFinder")
638 def _object_cast_to_QuadraticClosePairsFinder(*args):
639 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
640 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
641 _object_types.append(
"RefinedPairsPairScore")
644 def _object_cast_to_RefinedPairsPairScore(*args):
645 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
646 return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
647 _object_types.append(
"RestraintsScoringFunction")
650 def _object_cast_to_RestraintsScoringFunction(*args):
651 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
652 return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
653 _object_types.append(
"RigidBodyDistancePairScore")
656 def _object_cast_to_RigidBodyDistancePairScore(*args):
657 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
658 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
659 _object_types.append(
"RigidBodyMover")
662 def _object_cast_to_RigidBodyMover(*args):
663 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
664 return _IMP_core._object_cast_to_RigidBodyMover(*args)
665 _object_types.append(
"RigidBodyTunneler")
668 def _object_cast_to_RigidBodyTunneler(*args):
669 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
670 return _IMP_core._object_cast_to_RigidBodyTunneler(*args)
671 _object_types.append(
"RigidBodyUmbrella")
674 def _object_cast_to_RigidBodyUmbrella(*args):
675 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
676 return _IMP_core._object_cast_to_RigidBodyUmbrella(*args)
677 _object_types.append(
"RigidClosePairsFinder")
680 def _object_cast_to_RigidClosePairsFinder(*args):
681 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
682 return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
683 _object_types.append(
"RigidMembersRefiner")
686 def _object_cast_to_RigidMembersRefiner(*args):
687 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
688 return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
689 _object_types.append(
"SingletonConstraint")
692 def _object_cast_to_SingletonConstraint(*args):
693 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
694 return _IMP_core._object_cast_to_SingletonConstraint(*args)
695 _object_types.append(
"SingletonRestraint")
698 def _object_cast_to_SingletonRestraint(*args):
699 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
700 return _IMP_core._object_cast_to_SingletonRestraint(*args)
701 _object_types.append(
"SoftSpherePairScore")
704 def _object_cast_to_SoftSpherePairScore(*args):
705 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
706 return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
707 _object_types.append(
"SphereDistancePairScore")
710 def _object_cast_to_SphereDistancePairScore(*args):
711 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
712 return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
713 _object_types.append(
"SphereDistanceToSingletonScore")
716 def _object_cast_to_SphereDistanceToSingletonScore(*args):
717 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
718 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
719 _object_types.append(
"SteepestDescent")
722 def _object_cast_to_SteepestDescent(*args):
723 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
724 return _IMP_core._object_cast_to_SteepestDescent(*args)
725 _object_types.append(
"TableRefiner")
728 def _object_cast_to_TableRefiner(*args):
729 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
730 return _IMP_core._object_cast_to_TableRefiner(*args)
731 _object_types.append(
"Transform")
734 def _object_cast_to_Transform(*args):
735 """_object_cast_to_Transform(Object o) -> Transform"""
736 return _IMP_core._object_cast_to_Transform(*args)
737 _object_types.append(
"TransformationAndReflectionSymmetry")
740 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
741 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
742 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
743 _object_types.append(
"TransformationSymmetry")
746 def _object_cast_to_TransformationSymmetry(*args):
747 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
748 return _IMP_core._object_cast_to_TransformationSymmetry(*args)
749 _object_types.append(
"TransformedDistancePairScore")
752 def _object_cast_to_TransformedDistancePairScore(*args):
753 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
754 return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
755 _object_types.append(
"TripletConstraint")
758 def _object_cast_to_TripletConstraint(*args):
759 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
760 return _IMP_core._object_cast_to_TripletConstraint(*args)
761 _object_types.append(
"TripletRestraint")
764 def _object_cast_to_TripletRestraint(*args):
765 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
766 return _IMP_core._object_cast_to_TripletRestraint(*args)
767 _object_types.append(
"TypedPairScore")
770 def _object_cast_to_TypedPairScore(*args):
771 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
772 return _IMP_core._object_cast_to_TypedPairScore(*args)
773 _object_types.append(
"VolumeRestraint")
776 def _object_cast_to_VolumeRestraint(*args):
777 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
778 return _IMP_core._object_cast_to_VolumeRestraint(*args)
779 _object_types.append(
"WeightedSphereDistancePairScore")
782 def _object_cast_to_WeightedSphereDistancePairScore(*args):
783 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
784 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
785 _object_types.append(
"MoveStatisticsScoreState")
788 def _object_cast_to_MoveStatisticsScoreState(*args):
789 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
790 return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
791 _object_types.append(
"MinimumRestraint")
794 def _object_cast_to_MinimumRestraint(*args):
795 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
796 return _IMP_core._object_cast_to_MinimumRestraint(*args)
797 _object_types.append(
"WriteRestraintScoresOptimizerState")
800 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
801 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
802 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
803 _object_types.append(
"ConstantSingletonPredicate")
806 def _object_cast_to_ConstantSingletonPredicate(*args):
807 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
808 return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
809 _object_types.append(
"ConstantPairPredicate")
812 def _object_cast_to_ConstantPairPredicate(*args):
813 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
814 return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
815 _object_types.append(
"ConstantTripletPredicate")
818 def _object_cast_to_ConstantTripletPredicate(*args):
819 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
820 return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
821 _object_types.append(
"ConstantQuadPredicate")
824 def _object_cast_to_ConstantQuadPredicate(*args):
825 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
826 return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
827 _object_types.append(
"CoinFlipSingletonPredicate")
830 def _object_cast_to_CoinFlipSingletonPredicate(*args):
831 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
832 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
833 _object_types.append(
"CoinFlipPairPredicate")
836 def _object_cast_to_CoinFlipPairPredicate(*args):
837 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
838 return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
839 _object_types.append(
"CoinFlipTripletPredicate")
842 def _object_cast_to_CoinFlipTripletPredicate(*args):
843 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
844 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
845 _object_types.append(
"CoinFlipQuadPredicate")
848 def _object_cast_to_CoinFlipQuadPredicate(*args):
849 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
850 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
851 _object_types.append(
"UnorderedTypeSingletonPredicate")
854 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
855 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
856 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
857 _object_types.append(
"UnorderedTypePairPredicate")
860 def _object_cast_to_UnorderedTypePairPredicate(*args):
861 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
862 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
863 _object_types.append(
"UnorderedTypeTripletPredicate")
866 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
867 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
868 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
869 _object_types.append(
"UnorderedTypeQuadPredicate")
872 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
873 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
874 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
875 _object_types.append(
"OrderedTypeSingletonPredicate")
878 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
879 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
880 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
881 _object_types.append(
"OrderedTypePairPredicate")
884 def _object_cast_to_OrderedTypePairPredicate(*args):
885 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
886 return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
887 _object_types.append(
"OrderedTypeTripletPredicate")
890 def _object_cast_to_OrderedTypeTripletPredicate(*args):
891 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
892 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
893 _object_types.append(
"OrderedTypeQuadPredicate")
896 def _object_cast_to_OrderedTypeQuadPredicate(*args):
897 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
898 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
899 _object_types.append(
"AllSameSingletonPredicate")
902 def _object_cast_to_AllSameSingletonPredicate(*args):
903 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
904 return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
905 _object_types.append(
"AllSamePairPredicate")
908 def _object_cast_to_AllSamePairPredicate(*args):
909 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
910 return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
911 _object_types.append(
"AllSameTripletPredicate")
914 def _object_cast_to_AllSameTripletPredicate(*args):
915 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
916 return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
917 _object_types.append(
"AllSameQuadPredicate")
920 def _object_cast_to_AllSameQuadPredicate(*args):
921 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
922 return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
924 return [XYZ(x)
for x
in l]
925 _plural_types.append(
"XYZs")
927 _value_types.append(
"XYZ")
930 return [XYZR(x)
for x
in l]
931 _plural_types.append(
"XYZRs")
933 _value_types.append(
"XYZR")
935 def RigidBodies(l=[]):
936 return [RigidBody(x)
for x
in l]
937 _plural_types.append(
"RigidBodies")
939 _value_types.append(
"RigidBody")
941 def RigidBodyMembers(l=[]):
942 return [RigidBodyMember(x)
for x
in l]
943 _plural_types.append(
"RigidBodyMembers")
945 _value_types.append(
"RigidBodyMember")
947 def RigidMembers(l=[]):
948 return [RigidMember(x)
for x
in l]
949 _plural_types.append(
"RigidMembers")
951 _value_types.append(
"RigidMember")
953 def NonRigidMembers(l=[]):
954 return [NonRigidMember(x)
for x
in l]
955 _plural_types.append(
"NonRigidMembers")
957 _value_types.append(
"NonRigidMember")
960 return [Centroid(x)
for x
in l]
961 _plural_types.append(
"Centroids")
963 _value_types.append(
"Centroid")
966 return [Cover(x)
for x
in l]
967 _plural_types.append(
"Covers")
969 _value_types.append(
"Cover")
971 def References(l=[]):
972 return [Reference(x)
for x
in l]
973 _plural_types.append(
"References")
975 _value_types.append(
"Reference")
978 _plural_types.append(
"ParticleTypes")
979 _value_types.append(
"ParticleType")
982 return [Typed(x)
for x
in l]
983 _plural_types.append(
"Typeds")
985 _value_types.append(
"Typed")
987 def GenericHierarchies(l=[]):
988 return [Hierarchy(x)
for x
in l]
989 _plural_types.append(
"GenericHierarchies")
991 _value_types.append(
"Hierarchy")
994 return [Gaussian(x)
for x
in l]
995 _plural_types.append(
"Gaussians")
997 _value_types.append(
"Gaussian")
999 HierarchyCounters=list
1000 _plural_types.append(
"HierarchyCounters")
1001 _value_types.append(
"HierarchyCounter")
1003 HierarchyTraitsList=list
1004 _plural_types.append(
"HierarchyTraitsList")
1005 _value_types.append(
"HierarchyTraits")
1007 _object_types.append(
"TruncatedHarmonicBound")
1010 def _object_cast_to_TruncatedHarmonicBound(*args):
1011 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1012 return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
1013 _object_types.append(
"TruncatedHarmonicLowerBound")
1016 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1017 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1018 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1019 _object_types.append(
"TruncatedHarmonicUpperBound")
1022 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1023 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1024 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1025 _object_types.append(
"HarmonicDistancePairScore")
1028 def _object_cast_to_HarmonicDistancePairScore(*args):
1029 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1030 return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1031 _object_types.append(
"DistancePairScore")
1034 def _object_cast_to_DistancePairScore(*args):
1035 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1036 return _IMP_core._object_cast_to_DistancePairScore(*args)
1037 _object_types.append(
"XYZRGeometry")
1040 def _object_cast_to_XYZRGeometry(*args):
1041 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1042 return _IMP_core._object_cast_to_XYZRGeometry(*args)
1043 _object_types.append(
"XYZRsGeometry")
1046 def _object_cast_to_XYZRsGeometry(*args):
1047 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1048 return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1049 _object_types.append(
"XYZDerivativeGeometry")
1052 def _object_cast_to_XYZDerivativeGeometry(*args):
1053 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1054 return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1055 _object_types.append(
"XYZDerivativesGeometry")
1058 def _object_cast_to_XYZDerivativesGeometry(*args):
1059 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1060 return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1061 _object_types.append(
"RigidBodyDerivativeGeometry")
1064 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1065 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1066 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1067 _object_types.append(
"RigidBodyDerivativesGeometry")
1070 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1071 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1072 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1073 _object_types.append(
"RigidBodyHierarchyGeometry")
1076 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1077 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1078 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1079 _object_types.append(
"RigidBodyFrameGeometry")
1082 def _object_cast_to_RigidBodyFrameGeometry(*args):
1083 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1084 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1085 _object_types.append(
"RigidBodyFramesGeometry")
1088 def _object_cast_to_RigidBodyFramesGeometry(*args):
1089 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1090 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1091 _object_types.append(
"RigidBodyTorque")
1094 def _object_cast_to_RigidBodyTorque(*args):
1095 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1096 return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1097 _object_types.append(
"EdgePairGeometry")
1100 def _object_cast_to_EdgePairGeometry(*args):
1101 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1102 return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1103 _object_types.append(
"EdgePairsGeometry")
1106 def _object_cast_to_EdgePairsGeometry(*args):
1107 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1108 return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1109 _object_types.append(
"AttributeSingletonPredicate")
1112 def _object_cast_to_AttributeSingletonPredicate(*args):
1113 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1114 return _IMP_core._object_cast_to_AttributeSingletonPredicate(*args)
1115 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1118 def _object_cast_to_InBoundingBox3DSingletonPredicate(*args):
1119 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1120 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(*args)
1121 _object_types.append(
"IsCollisionPairPredicate")
1124 def _object_cast_to_IsCollisionPairPredicate(*args):
1125 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1126 return _IMP_core._object_cast_to_IsCollisionPairPredicate(*args)
1128 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1130 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
1131 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1132 __del__ =
lambda self :
None;
1133 def get_close_pairs(self, *args):
1135 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1136 get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1137 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
1138 get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
1139 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1140 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1142 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1144 def set_distance(self, *args):
1145 """set_distance(ClosePairsFinder self, double d)"""
1146 return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1149 """get_distance(ClosePairsFinder self) -> double"""
1150 return _IMP_core.ClosePairsFinder_get_distance(self)
1152 def remove_pair_filter(self, *args):
1153 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1154 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1156 def remove_pair_filters(self, *args):
1157 """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1158 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1160 def set_pair_filters(self, *args):
1161 """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1162 return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1164 def set_pair_filters_order(self, *args):
1165 """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1166 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1168 def add_pair_filter(self, *args):
1169 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1170 return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1172 def add_pair_filters(self, *args):
1173 """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1174 return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1176 def clear_pair_filters(self):
1177 """clear_pair_filters(ClosePairsFinder self)"""
1178 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1180 def get_number_of_pair_filters(self):
1181 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1182 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1184 def get_has_pair_filters(self):
1185 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1186 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1188 def get_pair_filter(self, *args):
1189 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1190 return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1192 def get_pair_filters(self):
1193 """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1194 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1196 def reserve_pair_filters(self, *args):
1197 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1198 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1201 """__str__(ClosePairsFinder self) -> std::string"""
1202 return _IMP_core.ClosePairsFinder___str__(self)
1205 """__repr__(ClosePairsFinder self) -> std::string"""
1206 return _IMP_core.ClosePairsFinder___repr__(self)
1209 return _object_cast_to_ClosePairsFinder(o)
1210 get_from = staticmethod(get_from)
1212 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1213 ClosePairsFinder_swigregister(ClosePairsFinder)
1215 class MonteCarloMoverResult(IMP.base._Value):
1216 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1217 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1218 def __init__(self, *args):
1220 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1221 __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1222 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1224 this = _IMP_core.new_MonteCarloMoverResult(*args)
1225 try: self.this.append(this)
1226 except: self.this = this
1228 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1229 return _IMP_core.MonteCarloMoverResult___hash__(self)
1231 def show(self, *args):
1233 show(MonteCarloMoverResult self, _ostream out=std::cout)
1234 show(MonteCarloMoverResult self)
1236 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1238 def __cmp__(self, *args):
1239 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1240 return _IMP_core.MonteCarloMoverResult___cmp__(self, *args)
1242 def __eq__(self, *args):
1243 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1244 return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1246 def __ne__(self, *args):
1247 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1248 return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1250 def __lt__(self, *args):
1251 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1252 return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1254 def __gt__(self, *args):
1255 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1256 return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1258 def __ge__(self, *args):
1259 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1260 return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1262 def __le__(self, *args):
1263 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1264 return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1266 def get_moved_particles(self):
1267 """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1268 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1270 def set_moved_particles(self, *args):
1271 """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1272 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1274 def get_proposal_ratio(self):
1275 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1276 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1278 def set_proposal_ratio(self, *args):
1279 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1280 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1283 """__str__(MonteCarloMoverResult self) -> std::string"""
1284 return _IMP_core.MonteCarloMoverResult___str__(self)
1287 """__repr__(MonteCarloMoverResult self) -> std::string"""
1288 return _IMP_core.MonteCarloMoverResult___repr__(self)
1290 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1291 __del__ =
lambda self :
None;
1292 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1293 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1296 """Proxy of C++ IMP::core::MonteCarloMover class"""
1297 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1298 def __init__(self, *args):
1299 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1300 if self.__class__ == MonteCarloMover:
1304 this = _IMP_core.new_MonteCarloMover(_self, *args)
1305 try: self.this.append(this)
1306 except: self.this = this
1307 if self.__class__ != MonteCarloMover:
1309 IMP.base._director_objects.register(self)
1314 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1315 return _IMP_core.MonteCarloMover_propose(self)
1318 """reject(MonteCarloMover self)"""
1319 return _IMP_core.MonteCarloMover_reject(self)
1322 """accept(MonteCarloMover self)"""
1323 return _IMP_core.MonteCarloMover_accept(self)
1325 def get_number_of_proposed(self):
1326 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1327 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1329 def get_number_of_accepted(self):
1330 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1331 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1333 def reset_statistics(self):
1334 """reset_statistics(MonteCarloMover self)"""
1335 return _IMP_core.MonteCarloMover_reset_statistics(self)
1337 def do_propose(self):
1338 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1339 return _IMP_core.MonteCarloMover_do_propose(self)
1341 def do_reject(self):
1342 """do_reject(MonteCarloMover self)"""
1343 return _IMP_core.MonteCarloMover_do_reject(self)
1345 def do_accept(self):
1346 """do_accept(MonteCarloMover self)"""
1347 return _IMP_core.MonteCarloMover_do_accept(self)
1349 def do_get_outputs(self):
1350 """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1351 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1354 """__str__(MonteCarloMover self) -> std::string"""
1355 return _IMP_core.MonteCarloMover___str__(self)
1358 """__repr__(MonteCarloMover self) -> std::string"""
1359 return _IMP_core.MonteCarloMover___repr__(self)
1362 return _object_cast_to_MonteCarloMover(o)
1363 get_from = staticmethod(get_from)
1365 def get_type_name(self):
1366 return self.__class__.__name__
1367 def do_show(self, out):
1369 def get_version_info(self):
1370 if"IMP::core" ==
"IMP":
1371 return VersionInfo(
"python",
"0")
1373 return IMP.VersionInfo(
"python",
"0")
1375 return _object_cast_to_MonteCarloMover(o)
1376 get_from = staticmethod(get_from)
1378 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1379 __del__ =
lambda self :
None;
1380 def __disown__(self):
1382 _IMP_core.disown_MonteCarloMover(self)
1383 return weakref_proxy(self)
1384 def do_destroy(self):
1385 """do_destroy(MonteCarloMover self)"""
1386 return _IMP_core.MonteCarloMover_do_destroy(self)
1388 def handle_set_has_required_score_states(self, *args):
1389 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1390 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, *args)
1392 def do_get_inputs(self):
1393 """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1394 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1396 def do_get_interactions(self):
1397 """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1398 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1400 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1401 MonteCarloMover_swigregister(MonteCarloMover)
1404 """Proxy of C++ IMP::core::XYZ class"""
1405 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1406 def get_coordinate_key(*args):
1407 """get_coordinate_key(unsigned int i) -> FloatKey"""
1408 return _IMP_core.XYZ_get_coordinate_key(*args)
1410 get_coordinate_key = staticmethod(get_coordinate_key)
1411 def __init__(self, *args):
1413 __init__(IMP::core::XYZ self) -> XYZ
1414 __init__(IMP::core::XYZ self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZ
1415 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1417 this = _IMP_core.new_XYZ(*args)
1418 try: self.this.append(this)
1419 except: self.this = this
1420 def show(self, *args):
1422 show(XYZ self, _ostream out=std::cout)
1425 return _IMP_core.XYZ_show(self, *args)
1427 def setup_particle(*args):
1429 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1430 setup_particle(_ParticleAdaptor decorator) -> XYZ
1431 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1432 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1434 return _IMP_core.XYZ_setup_particle(*args)
1436 setup_particle = staticmethod(setup_particle)
1438 """get_x(XYZ self) -> IMP::Float"""
1439 return _IMP_core.XYZ_get_x(self)
1441 def set_x(self, *args):
1442 """set_x(XYZ self, IMP::Float t)"""
1443 return _IMP_core.XYZ_set_x(self, *args)
1446 """get_y(XYZ self) -> IMP::Float"""
1447 return _IMP_core.XYZ_get_y(self)
1449 def set_y(self, *args):
1450 """set_y(XYZ self, IMP::Float t)"""
1451 return _IMP_core.XYZ_set_y(self, *args)
1454 """get_z(XYZ self) -> IMP::Float"""
1455 return _IMP_core.XYZ_get_z(self)
1457 def set_z(self, *args):
1458 """set_z(XYZ self, IMP::Float t)"""
1459 return _IMP_core.XYZ_set_z(self, *args)
1461 def set_coordinate(self, *args):
1462 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1463 return _IMP_core.XYZ_set_coordinate(self, *args)
1465 def set_coordinates(self, *args):
1466 """set_coordinates(XYZ self, Vector3D v)"""
1467 return _IMP_core.XYZ_set_coordinates(self, *args)
1469 def get_coordinate(self, *args):
1470 """get_coordinate(XYZ self, int i) -> IMP::Float"""
1471 return _IMP_core.XYZ_get_coordinate(self, *args)
1473 def add_to_derivatives(self, *args):
1474 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1475 return _IMP_core.XYZ_add_to_derivatives(self, *args)
1477 def get_coordinates_are_optimized(self):
1478 """get_coordinates_are_optimized(XYZ self) -> bool"""
1479 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1481 def set_coordinates_are_optimized(self, *args):
1482 """set_coordinates_are_optimized(XYZ self, bool tf)"""
1483 return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1485 def get_vector_to(self, *args):
1486 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1487 return _IMP_core.XYZ_get_vector_to(self, *args)
1489 def get_coordinates(self):
1490 """get_coordinates(XYZ self) -> Vector3D"""
1491 return _IMP_core.XYZ_get_coordinates(self)
1493 def get_derivatives(self):
1494 """get_derivatives(XYZ self) -> Vector3D"""
1495 return _IMP_core.XYZ_get_derivatives(self)
1497 def get_is_setup(*args):
1499 get_is_setup(_ParticleAdaptor p) -> bool
1500 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1502 return _IMP_core.XYZ_get_is_setup(*args)
1504 get_is_setup = staticmethod(get_is_setup)
1506 """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1507 return _IMP_core.XYZ_get_xyz_keys()
1509 get_xyz_keys = staticmethod(get_xyz_keys)
1510 def add_attribute(self, *args):
1512 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1513 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1514 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1515 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1516 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1517 add_attribute(XYZ self, ObjectKey a0, Object a1)
1519 return _IMP_core.XYZ_add_attribute(self, *args)
1521 def get_value(self, *args):
1523 get_value(XYZ self, FloatKey a0) -> IMP::Float
1524 get_value(XYZ self, IntKey a0) -> IMP::Int
1525 get_value(XYZ self, StringKey a0) -> IMP::String
1526 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1527 get_value(XYZ self, ObjectKey a0) -> Object
1529 return _IMP_core.XYZ_get_value(self, *args)
1531 def set_value(self, *args):
1533 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1534 set_value(XYZ self, IntKey a0, IMP::Int a1)
1535 set_value(XYZ self, StringKey a0, IMP::String a1)
1536 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1537 set_value(XYZ self, ObjectKey a0, Object a1)
1539 return _IMP_core.XYZ_set_value(self, *args)
1541 def remove_attribute(self, *args):
1543 remove_attribute(XYZ self, FloatKey a0)
1544 remove_attribute(XYZ self, IntKey a0)
1545 remove_attribute(XYZ self, StringKey a0)
1546 remove_attribute(XYZ self, ParticleIndexKey a0)
1547 remove_attribute(XYZ self, ObjectKey a0)
1549 return _IMP_core.XYZ_remove_attribute(self, *args)
1551 def has_attribute(self, *args):
1553 has_attribute(XYZ self, FloatKey a0) -> bool
1554 has_attribute(XYZ self, IntKey a0) -> bool
1555 has_attribute(XYZ self, StringKey a0) -> bool
1556 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1557 has_attribute(XYZ self, ObjectKey a0) -> bool
1559 return _IMP_core.XYZ_has_attribute(self, *args)
1561 def get_derivative(self, *args):
1563 get_derivative(XYZ self, int i) -> IMP::Float
1564 get_derivative(XYZ self, FloatKey a0) -> double
1566 return _IMP_core.XYZ_get_derivative(self, *args)
1569 """get_name(XYZ self) -> std::string"""
1570 return _IMP_core.XYZ_get_name(self)
1572 def clear_caches(self):
1573 """clear_caches(XYZ self)"""
1574 return _IMP_core.XYZ_clear_caches(self)
1576 def set_name(self, *args):
1577 """set_name(XYZ self, std::string a0)"""
1578 return _IMP_core.XYZ_set_name(self, *args)
1581 """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1582 return _IMP_core.XYZ_set_check_level(self, *args)
1584 def add_to_derivative(self, *args):
1586 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1587 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1589 return _IMP_core.XYZ_add_to_derivative(self, *args)
1591 def set_is_optimized(self, *args):
1592 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1593 return _IMP_core.XYZ_set_is_optimized(self, *args)
1595 def get_is_optimized(self, *args):
1596 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1597 return _IMP_core.XYZ_get_is_optimized(self, *args)
1600 """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1601 return _IMP_core.XYZ_get_check_level(self)
1603 def __eq__(self, *args):
1605 __eq__(XYZ self, XYZ o) -> bool
1606 __eq__(XYZ self, Particle d) -> bool
1608 return _IMP_core.XYZ___eq__(self, *args)
1610 def __ne__(self, *args):
1612 __ne__(XYZ self, XYZ o) -> bool
1613 __ne__(XYZ self, Particle d) -> bool
1615 return _IMP_core.XYZ___ne__(self, *args)
1617 def __le__(self, *args):
1619 __le__(XYZ self, XYZ o) -> bool
1620 __le__(XYZ self, Particle d) -> bool
1622 return _IMP_core.XYZ___le__(self, *args)
1624 def __lt__(self, *args):
1626 __lt__(XYZ self, XYZ o) -> bool
1627 __lt__(XYZ self, Particle d) -> bool
1629 return _IMP_core.XYZ___lt__(self, *args)
1631 def __ge__(self, *args):
1633 __ge__(XYZ self, XYZ o) -> bool
1634 __ge__(XYZ self, Particle d) -> bool
1636 return _IMP_core.XYZ___ge__(self, *args)
1638 def __gt__(self, *args):
1640 __gt__(XYZ self, XYZ o) -> bool
1641 __gt__(XYZ self, Particle d) -> bool
1643 return _IMP_core.XYZ___gt__(self, *args)
1646 """__hash__(XYZ self) -> std::size_t"""
1647 return _IMP_core.XYZ___hash__(self)
1650 """__str__(XYZ self) -> std::string"""
1651 return _IMP_core.XYZ___str__(self)
1654 """__repr__(XYZ self) -> std::string"""
1655 return _IMP_core.XYZ___repr__(self)
1657 __swig_destroy__ = _IMP_core.delete_XYZ
1658 __del__ =
lambda self :
None;
1659 XYZ_swigregister = _IMP_core.XYZ_swigregister
1660 XYZ_swigregister(XYZ)
1662 def XYZ_get_coordinate_key(*args):
1663 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1664 return _IMP_core.XYZ_get_coordinate_key(*args)
1666 def XYZ_setup_particle(*args):
1668 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1669 setup_particle(_ParticleAdaptor decorator) -> XYZ
1670 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1671 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1673 return _IMP_core.XYZ_setup_particle(*args)
1675 def XYZ_get_is_setup(*args):
1677 get_is_setup(_ParticleAdaptor p) -> bool
1678 XYZ_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1680 return _IMP_core.XYZ_get_is_setup(*args)
1682 def XYZ_get_xyz_keys():
1683 """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1684 return _IMP_core.XYZ_get_xyz_keys()
1688 """set_vector_geometry(XYZ d, Vector3D v)"""
1689 return _IMP_core.set_vector_geometry(*args)
1691 def get_vector_geometry(*args):
1692 """get_vector_geometry(XYZ d) -> Vector3D"""
1693 return _IMP_core.get_vector_geometry(*args)
1696 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1697 return _IMP_core.get_dihedral(*args)
1699 """Proxy of C++ IMP::core::XYZR class"""
1700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1701 def __init__(self, *args):
1703 __init__(IMP::core::XYZR self) -> XYZR
1704 __init__(IMP::core::XYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZR
1705 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1707 this = _IMP_core.new_XYZR(*args)
1708 try: self.this.append(this)
1709 except: self.this = this
1710 def show(self, *args):
1712 show(XYZR self, _ostream out=std::cout)
1715 return _IMP_core.XYZR_show(self, *args)
1717 def setup_particle(*args):
1719 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1720 setup_particle(_ParticleAdaptor decorator) -> XYZR
1721 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1722 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1723 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1724 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1726 return _IMP_core.XYZR_setup_particle(*args)
1728 setup_particle = staticmethod(setup_particle)
1729 def get_is_setup(*args):
1731 get_is_setup(_ParticleAdaptor p) -> bool
1732 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1734 return _IMP_core.XYZR_get_is_setup(*args)
1736 get_is_setup = staticmethod(get_is_setup)
1737 def get_radius(self):
1738 """get_radius(XYZR self) -> double"""
1739 return _IMP_core.XYZR_get_radius(self)
1741 def set_radius(self, *args):
1742 """set_radius(XYZR self, double r)"""
1743 return _IMP_core.XYZR_set_radius(self, *args)
1745 def get_sphere(self):
1746 """get_sphere(XYZR self) -> Sphere3D"""
1747 return _IMP_core.XYZR_get_sphere(self)
1749 def set_sphere(self, *args):
1750 """set_sphere(XYZR self, Sphere3D s)"""
1751 return _IMP_core.XYZR_set_sphere(self, *args)
1753 def get_radius_key():
1754 """get_radius_key() -> FloatKey"""
1755 return _IMP_core.XYZR_get_radius_key()
1757 get_radius_key = staticmethod(get_radius_key)
1758 def add_to_radius_derivative(self, *args):
1759 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1760 return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1762 def add_attribute(self, *args):
1764 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1765 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1766 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1767 add_attribute(XYZR self, StringKey a0, IMP::String a1)
1768 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1769 add_attribute(XYZR self, ObjectKey a0, Object a1)
1771 return _IMP_core.XYZR_add_attribute(self, *args)
1773 def get_value(self, *args):
1775 get_value(XYZR self, FloatKey a0) -> IMP::Float
1776 get_value(XYZR self, IntKey a0) -> IMP::Int
1777 get_value(XYZR self, StringKey a0) -> IMP::String
1778 get_value(XYZR self, ParticleIndexKey a0) -> Particle
1779 get_value(XYZR self, ObjectKey a0) -> Object
1781 return _IMP_core.XYZR_get_value(self, *args)
1783 def set_value(self, *args):
1785 set_value(XYZR self, FloatKey a0, IMP::Float a1)
1786 set_value(XYZR self, IntKey a0, IMP::Int a1)
1787 set_value(XYZR self, StringKey a0, IMP::String a1)
1788 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1789 set_value(XYZR self, ObjectKey a0, Object a1)
1791 return _IMP_core.XYZR_set_value(self, *args)
1793 def remove_attribute(self, *args):
1795 remove_attribute(XYZR self, FloatKey a0)
1796 remove_attribute(XYZR self, IntKey a0)
1797 remove_attribute(XYZR self, StringKey a0)
1798 remove_attribute(XYZR self, ParticleIndexKey a0)
1799 remove_attribute(XYZR self, ObjectKey a0)
1801 return _IMP_core.XYZR_remove_attribute(self, *args)
1803 def has_attribute(self, *args):
1805 has_attribute(XYZR self, FloatKey a0) -> bool
1806 has_attribute(XYZR self, IntKey a0) -> bool
1807 has_attribute(XYZR self, StringKey a0) -> bool
1808 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1809 has_attribute(XYZR self, ObjectKey a0) -> bool
1811 return _IMP_core.XYZR_has_attribute(self, *args)
1813 def get_derivative(self, *args):
1814 """get_derivative(XYZR self, FloatKey a0) -> double"""
1815 return _IMP_core.XYZR_get_derivative(self, *args)
1818 """get_name(XYZR self) -> std::string"""
1819 return _IMP_core.XYZR_get_name(self)
1821 def clear_caches(self):
1822 """clear_caches(XYZR self)"""
1823 return _IMP_core.XYZR_clear_caches(self)
1825 def set_name(self, *args):
1826 """set_name(XYZR self, std::string a0)"""
1827 return _IMP_core.XYZR_set_name(self, *args)
1830 """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1831 return _IMP_core.XYZR_set_check_level(self, *args)
1833 def add_to_derivative(self, *args):
1834 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1835 return _IMP_core.XYZR_add_to_derivative(self, *args)
1837 def set_is_optimized(self, *args):
1838 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1839 return _IMP_core.XYZR_set_is_optimized(self, *args)
1841 def get_is_optimized(self, *args):
1842 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1843 return _IMP_core.XYZR_get_is_optimized(self, *args)
1846 """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1847 return _IMP_core.XYZR_get_check_level(self)
1849 def __eq__(self, *args):
1851 __eq__(XYZR self, XYZR o) -> bool
1852 __eq__(XYZR self, Particle d) -> bool
1854 return _IMP_core.XYZR___eq__(self, *args)
1856 def __ne__(self, *args):
1858 __ne__(XYZR self, XYZR o) -> bool
1859 __ne__(XYZR self, Particle d) -> bool
1861 return _IMP_core.XYZR___ne__(self, *args)
1863 def __le__(self, *args):
1865 __le__(XYZR self, XYZR o) -> bool
1866 __le__(XYZR self, Particle d) -> bool
1868 return _IMP_core.XYZR___le__(self, *args)
1870 def __lt__(self, *args):
1872 __lt__(XYZR self, XYZR o) -> bool
1873 __lt__(XYZR self, Particle d) -> bool
1875 return _IMP_core.XYZR___lt__(self, *args)
1877 def __ge__(self, *args):
1879 __ge__(XYZR self, XYZR o) -> bool
1880 __ge__(XYZR self, Particle d) -> bool
1882 return _IMP_core.XYZR___ge__(self, *args)
1884 def __gt__(self, *args):
1886 __gt__(XYZR self, XYZR o) -> bool
1887 __gt__(XYZR self, Particle d) -> bool
1889 return _IMP_core.XYZR___gt__(self, *args)
1892 """__hash__(XYZR self) -> std::size_t"""
1893 return _IMP_core.XYZR___hash__(self)
1896 """__str__(XYZR self) -> std::string"""
1897 return _IMP_core.XYZR___str__(self)
1900 """__repr__(XYZR self) -> std::string"""
1901 return _IMP_core.XYZR___repr__(self)
1903 __swig_destroy__ = _IMP_core.delete_XYZR
1904 __del__ =
lambda self :
None;
1905 XYZR_swigregister = _IMP_core.XYZR_swigregister
1906 XYZR_swigregister(XYZR)
1908 def XYZR_setup_particle(*args):
1910 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1911 setup_particle(_ParticleAdaptor decorator) -> XYZR
1912 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1913 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1914 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1915 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1917 return _IMP_core.XYZR_setup_particle(*args)
1919 def XYZR_get_is_setup(*args):
1921 get_is_setup(_ParticleAdaptor p) -> bool
1922 XYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1924 return _IMP_core.XYZR_get_is_setup(*args)
1926 def XYZR_get_radius_key():
1927 """XYZR_get_radius_key() -> FloatKey"""
1928 return _IMP_core.XYZR_get_radius_key()
1933 get_distance(XYZ a, XYZ b) -> double
1934 get_distance(XYZR a, XYZR b) -> double
1936 return _IMP_core.get_distance(*args)
1940 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
1941 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
1943 return _IMP_core.set_enclosing_sphere(*args)
1946 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
1947 return _IMP_core.set_enclosing_radius(*args)
1950 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
1951 return _IMP_core.get_enclosing_sphere(*args)
1955 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
1956 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
1958 return _IMP_core.create_xyzr_particles(*args)
1960 """Proxy of C++ IMP::core::XYZRGeometry class"""
1961 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1962 def __init__(self, *args):
1964 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
1965 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
1967 this = _IMP_core.new_XYZRGeometry(*args)
1968 try: self.this.append(this)
1969 except: self.this = this
1970 def get_version_info(self):
1971 """get_version_info(XYZRGeometry self) -> VersionInfo"""
1972 return _IMP_core.XYZRGeometry_get_version_info(self)
1975 """__str__(XYZRGeometry self) -> std::string"""
1976 return _IMP_core.XYZRGeometry___str__(self)
1979 """__repr__(XYZRGeometry self) -> std::string"""
1980 return _IMP_core.XYZRGeometry___repr__(self)
1983 return _object_cast_to_XYZRGeometry(o)
1984 get_from = staticmethod(get_from)
1986 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
1987 XYZRGeometry_swigregister(XYZRGeometry)
1990 """Proxy of C++ IMP::core::XYZRsGeometry class"""
1991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1992 def __init__(self, *args):
1993 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
1994 this = _IMP_core.new_XYZRsGeometry(*args)
1995 try: self.this.append(this)
1996 except: self.this = this
1997 def get_version_info(self):
1998 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
1999 return _IMP_core.XYZRsGeometry_get_version_info(self)
2002 """__str__(XYZRsGeometry self) -> std::string"""
2003 return _IMP_core.XYZRsGeometry___str__(self)
2006 """__repr__(XYZRsGeometry self) -> std::string"""
2007 return _IMP_core.XYZRsGeometry___repr__(self)
2010 return _object_cast_to_XYZRsGeometry(o)
2011 get_from = staticmethod(get_from)
2013 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2014 XYZRsGeometry_swigregister(XYZRsGeometry)
2017 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2018 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2019 def __init__(self, *args):
2021 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2022 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2024 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2025 try: self.this.append(this)
2026 except: self.this = this
2027 def get_version_info(self):
2028 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2029 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2032 """__str__(XYZDerivativeGeometry self) -> std::string"""
2033 return _IMP_core.XYZDerivativeGeometry___str__(self)
2036 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2037 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2040 return _object_cast_to_XYZDerivativeGeometry(o)
2041 get_from = staticmethod(get_from)
2043 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2044 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2047 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2049 def __init__(self, *args):
2050 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2051 this = _IMP_core.new_XYZDerivativesGeometry(*args)
2052 try: self.this.append(this)
2053 except: self.this = this
2054 def get_version_info(self):
2055 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2056 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2059 """__str__(XYZDerivativesGeometry self) -> std::string"""
2060 return _IMP_core.XYZDerivativesGeometry___str__(self)
2063 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2064 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2067 return _object_cast_to_XYZDerivativesGeometry(o)
2068 get_from = staticmethod(get_from)
2070 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2071 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2074 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2075 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2076 def __init__(self, *args):
2077 """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2078 this = _IMP_core.new_EdgePairGeometry(*args)
2079 try: self.this.append(this)
2080 except: self.this = this
2081 def get_version_info(self):
2082 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2083 return _IMP_core.EdgePairGeometry_get_version_info(self)
2086 """__str__(EdgePairGeometry self) -> std::string"""
2087 return _IMP_core.EdgePairGeometry___str__(self)
2090 """__repr__(EdgePairGeometry self) -> std::string"""
2091 return _IMP_core.EdgePairGeometry___repr__(self)
2094 return _object_cast_to_EdgePairGeometry(o)
2095 get_from = staticmethod(get_from)
2097 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2098 EdgePairGeometry_swigregister(EdgePairGeometry)
2101 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2103 def __init__(self, *args):
2104 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2105 this = _IMP_core.new_EdgePairsGeometry(*args)
2106 try: self.this.append(this)
2107 except: self.this = this
2108 def get_version_info(self):
2109 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2110 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2113 """__str__(EdgePairsGeometry self) -> std::string"""
2114 return _IMP_core.EdgePairsGeometry___str__(self)
2117 """__repr__(EdgePairsGeometry self) -> std::string"""
2118 return _IMP_core.EdgePairsGeometry___repr__(self)
2121 return _object_cast_to_EdgePairsGeometry(o)
2122 get_from = staticmethod(get_from)
2124 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2125 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2128 """Proxy of C++ IMP::core::AngleTripletScore class"""
2129 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2130 def __init__(self, *args):
2131 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2132 this = _IMP_core.new_AngleTripletScore(*args)
2133 try: self.this.append(this)
2134 except: self.this = this
2135 def do_get_inputs(self, *args):
2136 """do_get_inputs(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2137 return _IMP_core.AngleTripletScore_do_get_inputs(self, *args)
2139 def get_version_info(self):
2140 """get_version_info(AngleTripletScore self) -> VersionInfo"""
2141 return _IMP_core.AngleTripletScore_get_version_info(self)
2144 """__str__(AngleTripletScore self) -> std::string"""
2145 return _IMP_core.AngleTripletScore___str__(self)
2148 """__repr__(AngleTripletScore self) -> std::string"""
2149 return _IMP_core.AngleTripletScore___repr__(self)
2152 return _object_cast_to_AngleTripletScore(o)
2153 get_from = staticmethod(get_from)
2155 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2156 AngleTripletScore_swigregister(AngleTripletScore)
2158 class BallMover(MonteCarloMover):
2159 """Proxy of C++ IMP::core::BallMover class"""
2160 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2161 def __init__(self, *args):
2163 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2164 __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2165 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2166 __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2168 this = _IMP_core.new_BallMover(*args)
2169 try: self.this.append(this)
2170 except: self.this = this
2171 def set_radius(self, *args):
2172 """set_radius(BallMover self, IMP::Float radius)"""
2173 return _IMP_core.BallMover_set_radius(self, *args)
2175 def get_radius(self):
2176 """get_radius(BallMover self) -> IMP::Float"""
2177 return _IMP_core.BallMover_get_radius(self)
2179 def get_version_info(self):
2180 """get_version_info(BallMover self) -> VersionInfo"""
2181 return _IMP_core.BallMover_get_version_info(self)
2184 """__str__(BallMover self) -> std::string"""
2185 return _IMP_core.BallMover___str__(self)
2188 """__repr__(BallMover self) -> std::string"""
2189 return _IMP_core.BallMover___repr__(self)
2192 return _object_cast_to_BallMover(o)
2193 get_from = staticmethod(get_from)
2195 BallMover_swigregister = _IMP_core.BallMover_swigregister
2196 BallMover_swigregister(BallMover)
2198 class SerialMover(MonteCarloMover):
2199 """Proxy of C++ IMP::core::SerialMover class"""
2200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2201 def __init__(self, *args):
2202 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2203 this = _IMP_core.new_SerialMover(*args)
2204 try: self.this.append(this)
2205 except: self.this = this
2206 def get_movers(self):
2207 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2208 return _IMP_core.SerialMover_get_movers(self)
2210 def get_version_info(self):
2211 """get_version_info(SerialMover self) -> VersionInfo"""
2212 return _IMP_core.SerialMover_get_version_info(self)
2215 """__str__(SerialMover self) -> std::string"""
2216 return _IMP_core.SerialMover___str__(self)
2219 """__repr__(SerialMover self) -> std::string"""
2220 return _IMP_core.SerialMover___repr__(self)
2223 return _object_cast_to_SerialMover(o)
2224 get_from = staticmethod(get_from)
2226 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2227 SerialMover_swigregister(SerialMover)
2229 class BoxSweepClosePairsFinder(ClosePairsFinder):
2230 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2233 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2234 this = _IMP_core.new_BoxSweepClosePairsFinder()
2235 try: self.this.append(this)
2236 except: self.this = this
2237 def get_close_pairs(self, *args):
2239 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
2240 get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
2241 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2242 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2243 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
2244 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
2246 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2248 def do_get_inputs(self, *args):
2249 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2250 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, *args)
2252 def get_version_info(self):
2253 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2254 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2257 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2258 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2261 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2262 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2265 return _object_cast_to_BoxSweepClosePairsFinder(o)
2266 get_from = staticmethod(get_from)
2268 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2269 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2272 """Proxy of C++ IMP::core::CentroidOfRefined class"""
2273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2274 def __init__(self, *args):
2276 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2277 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2278 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2280 this = _IMP_core.new_CentroidOfRefined(*args)
2281 try: self.this.append(this)
2282 except: self.this = this
2283 def do_get_inputs(self, *args):
2284 """do_get_inputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2285 return _IMP_core.CentroidOfRefined_do_get_inputs(self, *args)
2287 def do_get_outputs(self, *args):
2288 """do_get_outputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2289 return _IMP_core.CentroidOfRefined_do_get_outputs(self, *args)
2291 def get_version_info(self):
2292 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2293 return _IMP_core.CentroidOfRefined_get_version_info(self)
2296 """__str__(CentroidOfRefined self) -> std::string"""
2297 return _IMP_core.CentroidOfRefined___str__(self)
2300 """__repr__(CentroidOfRefined self) -> std::string"""
2301 return _IMP_core.CentroidOfRefined___repr__(self)
2304 return _object_cast_to_CentroidOfRefined(o)
2305 get_from = staticmethod(get_from)
2307 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2308 CentroidOfRefined_swigregister(CentroidOfRefined)
2310 class Centroid(XYZ):
2311 """Proxy of C++ IMP::core::Centroid class"""
2312 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2313 def get_constraint(self):
2314 """get_constraint(Centroid self) -> Constraint"""
2315 return _IMP_core.Centroid_get_constraint(self)
2317 def __init__(self, *args):
2319 __init__(IMP::core::Centroid self) -> Centroid
2320 __init__(IMP::core::Centroid self, Model m, ::IMP::kernel::ParticleIndex id) -> Centroid
2321 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2323 this = _IMP_core.new_Centroid(*args)
2324 try: self.this.append(this)
2325 except: self.this = this
2326 def show(self, *args):
2328 show(Centroid self, _ostream out=std::cout)
2331 return _IMP_core.Centroid_show(self, *args)
2333 def setup_particle(*args):
2335 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2336 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2337 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2338 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2340 return _IMP_core.Centroid_setup_particle(*args)
2342 setup_particle = staticmethod(setup_particle)
2343 def get_is_setup(*args):
2345 get_is_setup(_ParticleAdaptor p) -> bool
2346 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2348 return _IMP_core.Centroid_get_is_setup(*args)
2350 get_is_setup = staticmethod(get_is_setup)
2351 def add_attribute(self, *args):
2353 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2354 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2355 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2356 add_attribute(Centroid self, StringKey a0, IMP::String a1)
2357 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2358 add_attribute(Centroid self, ObjectKey a0, Object a1)
2360 return _IMP_core.Centroid_add_attribute(self, *args)
2362 def get_value(self, *args):
2364 get_value(Centroid self, FloatKey a0) -> IMP::Float
2365 get_value(Centroid self, IntKey a0) -> IMP::Int
2366 get_value(Centroid self, StringKey a0) -> IMP::String
2367 get_value(Centroid self, ParticleIndexKey a0) -> Particle
2368 get_value(Centroid self, ObjectKey a0) -> Object
2370 return _IMP_core.Centroid_get_value(self, *args)
2372 def set_value(self, *args):
2374 set_value(Centroid self, FloatKey a0, IMP::Float a1)
2375 set_value(Centroid self, IntKey a0, IMP::Int a1)
2376 set_value(Centroid self, StringKey a0, IMP::String a1)
2377 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2378 set_value(Centroid self, ObjectKey a0, Object a1)
2380 return _IMP_core.Centroid_set_value(self, *args)
2382 def remove_attribute(self, *args):
2384 remove_attribute(Centroid self, FloatKey a0)
2385 remove_attribute(Centroid self, IntKey a0)
2386 remove_attribute(Centroid self, StringKey a0)
2387 remove_attribute(Centroid self, ParticleIndexKey a0)
2388 remove_attribute(Centroid self, ObjectKey a0)
2390 return _IMP_core.Centroid_remove_attribute(self, *args)
2392 def has_attribute(self, *args):
2394 has_attribute(Centroid self, FloatKey a0) -> bool
2395 has_attribute(Centroid self, IntKey a0) -> bool
2396 has_attribute(Centroid self, StringKey a0) -> bool
2397 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2398 has_attribute(Centroid self, ObjectKey a0) -> bool
2400 return _IMP_core.Centroid_has_attribute(self, *args)
2402 def get_derivative(self, *args):
2403 """get_derivative(Centroid self, FloatKey a0) -> double"""
2404 return _IMP_core.Centroid_get_derivative(self, *args)
2407 """get_name(Centroid self) -> std::string"""
2408 return _IMP_core.Centroid_get_name(self)
2410 def clear_caches(self):
2411 """clear_caches(Centroid self)"""
2412 return _IMP_core.Centroid_clear_caches(self)
2414 def set_name(self, *args):
2415 """set_name(Centroid self, std::string a0)"""
2416 return _IMP_core.Centroid_set_name(self, *args)
2419 """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2420 return _IMP_core.Centroid_set_check_level(self, *args)
2422 def add_to_derivative(self, *args):
2423 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2424 return _IMP_core.Centroid_add_to_derivative(self, *args)
2426 def set_is_optimized(self, *args):
2427 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2428 return _IMP_core.Centroid_set_is_optimized(self, *args)
2430 def get_is_optimized(self, *args):
2431 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2432 return _IMP_core.Centroid_get_is_optimized(self, *args)
2435 """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2436 return _IMP_core.Centroid_get_check_level(self)
2438 def __eq__(self, *args):
2440 __eq__(Centroid self, Centroid o) -> bool
2441 __eq__(Centroid self, Particle d) -> bool
2443 return _IMP_core.Centroid___eq__(self, *args)
2445 def __ne__(self, *args):
2447 __ne__(Centroid self, Centroid o) -> bool
2448 __ne__(Centroid self, Particle d) -> bool
2450 return _IMP_core.Centroid___ne__(self, *args)
2452 def __le__(self, *args):
2454 __le__(Centroid self, Centroid o) -> bool
2455 __le__(Centroid self, Particle d) -> bool
2457 return _IMP_core.Centroid___le__(self, *args)
2459 def __lt__(self, *args):
2461 __lt__(Centroid self, Centroid o) -> bool
2462 __lt__(Centroid self, Particle d) -> bool
2464 return _IMP_core.Centroid___lt__(self, *args)
2466 def __ge__(self, *args):
2468 __ge__(Centroid self, Centroid o) -> bool
2469 __ge__(Centroid self, Particle d) -> bool
2471 return _IMP_core.Centroid___ge__(self, *args)
2473 def __gt__(self, *args):
2475 __gt__(Centroid self, Centroid o) -> bool
2476 __gt__(Centroid self, Particle d) -> bool
2478 return _IMP_core.Centroid___gt__(self, *args)
2481 """__hash__(Centroid self) -> std::size_t"""
2482 return _IMP_core.Centroid___hash__(self)
2485 """__str__(Centroid self) -> std::string"""
2486 return _IMP_core.Centroid___str__(self)
2489 """__repr__(Centroid self) -> std::string"""
2490 return _IMP_core.Centroid___repr__(self)
2492 __swig_destroy__ = _IMP_core.delete_Centroid
2493 __del__ =
lambda self :
None;
2494 Centroid_swigregister = _IMP_core.Centroid_swigregister
2495 Centroid_swigregister(Centroid)
2497 def Centroid_setup_particle(*args):
2499 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2500 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2501 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2502 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2504 return _IMP_core.Centroid_setup_particle(*args)
2506 def Centroid_get_is_setup(*args):
2508 get_is_setup(_ParticleAdaptor p) -> bool
2509 Centroid_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2511 return _IMP_core.Centroid_get_is_setup(*args)
2514 """Proxy of C++ IMP::core::ChecksScoreState class"""
2515 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2516 def __init__(self, *args):
2517 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
2518 this = _IMP_core.new_ChecksScoreState(*args)
2519 try: self.this.append(this)
2520 except: self.this = this
2521 def get_number_of_checked(self):
2522 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2523 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2525 def do_before_evaluate(self):
2526 """do_before_evaluate(ChecksScoreState self)"""
2527 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2529 def do_after_evaluate(self, *args):
2530 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2531 return _IMP_core.ChecksScoreState_do_after_evaluate(self, *args)
2533 def do_get_outputs(self):
2534 """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2535 return _IMP_core.ChecksScoreState_do_get_outputs(self)
2537 def do_get_inputs(self):
2538 """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2539 return _IMP_core.ChecksScoreState_do_get_inputs(self)
2541 def get_version_info(self):
2542 """get_version_info(ChecksScoreState self) -> VersionInfo"""
2543 return _IMP_core.ChecksScoreState_get_version_info(self)
2546 """__str__(ChecksScoreState self) -> std::string"""
2547 return _IMP_core.ChecksScoreState___str__(self)
2550 """__repr__(ChecksScoreState self) -> std::string"""
2551 return _IMP_core.ChecksScoreState___repr__(self)
2554 return _object_cast_to_ChecksScoreState(o)
2555 get_from = staticmethod(get_from)
2557 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2558 ChecksScoreState_swigregister(ChecksScoreState)
2561 """Proxy of C++ IMP::core::ChildrenRefiner class"""
2562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2563 def __init__(self, *args):
2564 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2565 this = _IMP_core.new_ChildrenRefiner(*args)
2566 try: self.this.append(this)
2567 except: self.this = this
2568 def do_get_inputs(self, *args):
2569 """do_get_inputs(ChildrenRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2570 return _IMP_core.ChildrenRefiner_do_get_inputs(self, *args)
2572 def get_version_info(self):
2573 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2574 return _IMP_core.ChildrenRefiner_get_version_info(self)
2577 """__str__(ChildrenRefiner self) -> std::string"""
2578 return _IMP_core.ChildrenRefiner___str__(self)
2581 """__repr__(ChildrenRefiner self) -> std::string"""
2582 return _IMP_core.ChildrenRefiner___repr__(self)
2585 return _object_cast_to_ChildrenRefiner(o)
2586 get_from = staticmethod(get_from)
2588 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2589 ChildrenRefiner_swigregister(ChildrenRefiner)
2592 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2593 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2594 def __init__(self, *args):
2595 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2596 this = _IMP_core.new_ClosedCubicSpline(*args)
2597 try: self.this.append(this)
2598 except: self.this = this
2599 def get_version_info(self):
2600 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2601 return _IMP_core.ClosedCubicSpline_get_version_info(self)
2603 def do_show(self, *args):
2604 """do_show(ClosedCubicSpline self, _ostream out)"""
2605 return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2608 """__str__(ClosedCubicSpline self) -> std::string"""
2609 return _IMP_core.ClosedCubicSpline___str__(self)
2612 """__repr__(ClosedCubicSpline self) -> std::string"""
2613 return _IMP_core.ClosedCubicSpline___repr__(self)
2616 return _object_cast_to_ClosedCubicSpline(o)
2617 get_from = staticmethod(get_from)
2619 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2620 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2623 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2625 def __init__(self, *args):
2627 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2628 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2630 this = _IMP_core.new_KClosePairsPairScore(*args)
2631 try: self.this.append(this)
2632 except: self.this = this
2633 def get_close_pairs(self, *args):
2634 """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2635 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
2637 def create_current_decomposition(self, *args):
2638 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2639 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
2641 def do_get_inputs(self, *args):
2642 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2643 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, *args)
2645 def get_version_info(self):
2646 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
2647 return _IMP_core.KClosePairsPairScore_get_version_info(self)
2650 """__str__(KClosePairsPairScore self) -> std::string"""
2651 return _IMP_core.KClosePairsPairScore___str__(self)
2654 """__repr__(KClosePairsPairScore self) -> std::string"""
2655 return _IMP_core.KClosePairsPairScore___repr__(self)
2658 return _object_cast_to_KClosePairsPairScore(o)
2659 get_from = staticmethod(get_from)
2661 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
2662 KClosePairsPairScore_swigregister(KClosePairsPairScore)
2665 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
2666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2667 def __init__(self, *args):
2668 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
2669 this = _IMP_core.new_ClosePairsPairScore(*args)
2670 try: self.this.append(this)
2671 except: self.this = this
2672 def get_close_pairs(self, *args):
2673 """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2674 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
2676 def create_current_decomposition(self, *args):
2677 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2678 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
2680 def do_get_inputs(self, *args):
2681 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2682 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, *args)
2684 def get_version_info(self):
2685 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
2686 return _IMP_core.ClosePairsPairScore_get_version_info(self)
2689 """__str__(ClosePairsPairScore self) -> std::string"""
2690 return _IMP_core.ClosePairsPairScore___str__(self)
2693 """__repr__(ClosePairsPairScore self) -> std::string"""
2694 return _IMP_core.ClosePairsPairScore___repr__(self)
2697 return _object_cast_to_ClosePairsPairScore(o)
2698 get_from = staticmethod(get_from)
2700 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
2701 ClosePairsPairScore_swigregister(ClosePairsPairScore)
2704 """Proxy of C++ IMP::core::ConjugateGradients class"""
2705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2706 def __init__(self, *args):
2708 __init__(IMP::core::ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
2709 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
2711 this = _IMP_core.new_ConjugateGradients(*args)
2712 try: self.this.append(this)
2713 except: self.this = this
2714 def set_gradient_threshold(self, *args):
2715 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
2716 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
2718 def set_threshold(self, *args):
2719 """set_threshold(ConjugateGradients self, IMP::Float t)"""
2720 return _IMP_core.ConjugateGradients_set_threshold(self, *args)
2722 def set_max_change(self, *args):
2723 """set_max_change(ConjugateGradients self, IMP::Float t)"""
2724 return _IMP_core.ConjugateGradients_set_max_change(self, *args)
2726 def do_optimize(self, *args):
2727 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
2728 return _IMP_core.ConjugateGradients_do_optimize(self, *args)
2730 def get_version_info(self):
2731 """get_version_info(ConjugateGradients self) -> VersionInfo"""
2732 return _IMP_core.ConjugateGradients_get_version_info(self)
2735 """__str__(ConjugateGradients self) -> std::string"""
2736 return _IMP_core.ConjugateGradients___str__(self)
2739 """__repr__(ConjugateGradients self) -> std::string"""
2740 return _IMP_core.ConjugateGradients___repr__(self)
2743 return _object_cast_to_ConjugateGradients(o)
2744 get_from = staticmethod(get_from)
2746 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
2747 ConjugateGradients_swigregister(ConjugateGradients)
2750 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
2751 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2752 def __init__(self, *args):
2754 __init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint
2755 __init__(IMP::core::ConnectivityRestraint self, Model m, PairScore ps) -> ConnectivityRestraint
2757 this = _IMP_core.new_ConnectivityRestraint(*args)
2758 try: self.this.append(this)
2759 except: self.this = this
2761 """add_particle(ConnectivityRestraint self, Particle p)"""
2762 return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
2765 """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
2766 return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
2768 def set_particles(self, *args):
2769 """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
2770 return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
2772 def get_connected_pairs(self):
2773 """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
2774 return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
2776 def get_pair_score(self):
2777 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
2778 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
2780 def do_create_current_decomposition(self):
2781 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
2782 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
2784 def do_get_inputs(self):
2785 """do_get_inputs(ConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2786 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
2788 def get_version_info(self):
2789 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
2790 return _IMP_core.ConnectivityRestraint_get_version_info(self)
2793 """__str__(ConnectivityRestraint self) -> std::string"""
2794 return _IMP_core.ConnectivityRestraint___str__(self)
2797 """__repr__(ConnectivityRestraint self) -> std::string"""
2798 return _IMP_core.ConnectivityRestraint___repr__(self)
2801 return _object_cast_to_ConnectivityRestraint(o)
2802 get_from = staticmethod(get_from)
2804 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
2805 ConnectivityRestraint_swigregister(ConnectivityRestraint)
2808 """Proxy of C++ IMP::core::ConstantRestraint class"""
2809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2810 def __init__(self, *args):
2811 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
2812 this = _IMP_core.new_ConstantRestraint(*args)
2813 try: self.this.append(this)
2814 except: self.this = this
2815 def do_get_inputs(self):
2816 """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2817 return _IMP_core.ConstantRestraint_do_get_inputs(self)
2819 def get_version_info(self):
2820 """get_version_info(ConstantRestraint self) -> VersionInfo"""
2821 return _IMP_core.ConstantRestraint_get_version_info(self)
2824 """__str__(ConstantRestraint self) -> std::string"""
2825 return _IMP_core.ConstantRestraint___str__(self)
2828 """__repr__(ConstantRestraint self) -> std::string"""
2829 return _IMP_core.ConstantRestraint___repr__(self)
2832 return _object_cast_to_ConstantRestraint(o)
2833 get_from = staticmethod(get_from)
2835 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
2836 ConstantRestraint_swigregister(ConstantRestraint)
2839 """Proxy of C++ IMP::core::Cosine class"""
2840 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2841 def __init__(self, *args):
2842 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
2843 this = _IMP_core.new_Cosine(*args)
2844 try: self.this.append(this)
2845 except: self.this = this
2846 def get_version_info(self):
2847 """get_version_info(Cosine self) -> VersionInfo"""
2848 return _IMP_core.Cosine_get_version_info(self)
2850 def do_show(self, *args):
2851 """do_show(Cosine self, _ostream out)"""
2852 return _IMP_core.Cosine_do_show(self, *args)
2855 """__str__(Cosine self) -> std::string"""
2856 return _IMP_core.Cosine___str__(self)
2859 """__repr__(Cosine self) -> std::string"""
2860 return _IMP_core.Cosine___repr__(self)
2863 return _object_cast_to_Cosine(o)
2864 get_from = staticmethod(get_from)
2866 Cosine_swigregister = _IMP_core.Cosine_swigregister
2867 Cosine_swigregister(Cosine)
2870 """Proxy of C++ IMP::core::CoverRefined class"""
2871 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2872 def __init__(self, *args):
2874 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
2875 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
2877 this = _IMP_core.new_CoverRefined(*args)
2878 try: self.this.append(this)
2879 except: self.this = this
2880 def set_slack(self, *args):
2881 """set_slack(CoverRefined self, IMP::Float slack)"""
2882 return _IMP_core.CoverRefined_set_slack(self, *args)
2884 def do_get_inputs(self, *args):
2885 """do_get_inputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2886 return _IMP_core.CoverRefined_do_get_inputs(self, *args)
2888 def do_get_outputs(self, *args):
2889 """do_get_outputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2890 return _IMP_core.CoverRefined_do_get_outputs(self, *args)
2892 def get_version_info(self):
2893 """get_version_info(CoverRefined self) -> VersionInfo"""
2894 return _IMP_core.CoverRefined_get_version_info(self)
2897 """__str__(CoverRefined self) -> std::string"""
2898 return _IMP_core.CoverRefined___str__(self)
2901 """__repr__(CoverRefined self) -> std::string"""
2902 return _IMP_core.CoverRefined___repr__(self)
2905 return _object_cast_to_CoverRefined(o)
2906 get_from = staticmethod(get_from)
2908 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
2909 CoverRefined_swigregister(CoverRefined)
2912 """Proxy of C++ IMP::core::Cover class"""
2913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2914 def get_constraint(self):
2915 """get_constraint(Cover self) -> Constraint"""
2916 return _IMP_core.Cover_get_constraint(self)
2918 def __init__(self, *args):
2920 __init__(IMP::core::Cover self) -> Cover
2921 __init__(IMP::core::Cover self, Model m, ::IMP::kernel::ParticleIndex id) -> Cover
2922 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
2924 this = _IMP_core.new_Cover(*args)
2925 try: self.this.append(this)
2926 except: self.this = this
2927 def show(self, *args):
2929 show(Cover self, _ostream out=std::cout)
2932 return _IMP_core.Cover_show(self, *args)
2934 def setup_particle(*args):
2936 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
2937 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
2938 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
2939 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
2941 return _IMP_core.Cover_setup_particle(*args)
2943 setup_particle = staticmethod(setup_particle)
2944 def get_is_setup(*args):
2946 get_is_setup(_ParticleAdaptor p) -> bool
2947 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2949 return _IMP_core.Cover_get_is_setup(*args)
2951 get_is_setup = staticmethod(get_is_setup)
2952 def add_attribute(self, *args):
2954 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
2955 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
2956 add_attribute(Cover self, IntKey a0, IMP::Int a1)
2957 add_attribute(Cover self, StringKey a0, IMP::String a1)
2958 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
2959 add_attribute(Cover self, ObjectKey a0, Object a1)
2961 return _IMP_core.Cover_add_attribute(self, *args)
2963 def get_value(self, *args):
2965 get_value(Cover self, FloatKey a0) -> IMP::Float
2966 get_value(Cover self, IntKey a0) -> IMP::Int
2967 get_value(Cover self, StringKey a0) -> IMP::String
2968 get_value(Cover self, ParticleIndexKey a0) -> Particle
2969 get_value(Cover self, ObjectKey a0) -> Object
2971 return _IMP_core.Cover_get_value(self, *args)
2973 def set_value(self, *args):
2975 set_value(Cover self, FloatKey a0, IMP::Float a1)
2976 set_value(Cover self, IntKey a0, IMP::Int a1)
2977 set_value(Cover self, StringKey a0, IMP::String a1)
2978 set_value(Cover self, ParticleIndexKey a0, Particle a1)
2979 set_value(Cover self, ObjectKey a0, Object a1)
2981 return _IMP_core.Cover_set_value(self, *args)
2983 def remove_attribute(self, *args):
2985 remove_attribute(Cover self, FloatKey a0)
2986 remove_attribute(Cover self, IntKey a0)
2987 remove_attribute(Cover self, StringKey a0)
2988 remove_attribute(Cover self, ParticleIndexKey a0)
2989 remove_attribute(Cover self, ObjectKey a0)
2991 return _IMP_core.Cover_remove_attribute(self, *args)
2993 def has_attribute(self, *args):
2995 has_attribute(Cover self, FloatKey a0) -> bool
2996 has_attribute(Cover self, IntKey a0) -> bool
2997 has_attribute(Cover self, StringKey a0) -> bool
2998 has_attribute(Cover self, ParticleIndexKey a0) -> bool
2999 has_attribute(Cover self, ObjectKey a0) -> bool
3001 return _IMP_core.Cover_has_attribute(self, *args)
3003 def get_derivative(self, *args):
3004 """get_derivative(Cover self, FloatKey a0) -> double"""
3005 return _IMP_core.Cover_get_derivative(self, *args)
3008 """get_name(Cover self) -> std::string"""
3009 return _IMP_core.Cover_get_name(self)
3011 def clear_caches(self):
3012 """clear_caches(Cover self)"""
3013 return _IMP_core.Cover_clear_caches(self)
3015 def set_name(self, *args):
3016 """set_name(Cover self, std::string a0)"""
3017 return _IMP_core.Cover_set_name(self, *args)
3020 """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3021 return _IMP_core.Cover_set_check_level(self, *args)
3023 def add_to_derivative(self, *args):
3024 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3025 return _IMP_core.Cover_add_to_derivative(self, *args)
3027 def set_is_optimized(self, *args):
3028 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3029 return _IMP_core.Cover_set_is_optimized(self, *args)
3031 def get_is_optimized(self, *args):
3032 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3033 return _IMP_core.Cover_get_is_optimized(self, *args)
3036 """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3037 return _IMP_core.Cover_get_check_level(self)
3039 def __eq__(self, *args):
3041 __eq__(Cover self, Cover o) -> bool
3042 __eq__(Cover self, Particle d) -> bool
3044 return _IMP_core.Cover___eq__(self, *args)
3046 def __ne__(self, *args):
3048 __ne__(Cover self, Cover o) -> bool
3049 __ne__(Cover self, Particle d) -> bool
3051 return _IMP_core.Cover___ne__(self, *args)
3053 def __le__(self, *args):
3055 __le__(Cover self, Cover o) -> bool
3056 __le__(Cover self, Particle d) -> bool
3058 return _IMP_core.Cover___le__(self, *args)
3060 def __lt__(self, *args):
3062 __lt__(Cover self, Cover o) -> bool
3063 __lt__(Cover self, Particle d) -> bool
3065 return _IMP_core.Cover___lt__(self, *args)
3067 def __ge__(self, *args):
3069 __ge__(Cover self, Cover o) -> bool
3070 __ge__(Cover self, Particle d) -> bool
3072 return _IMP_core.Cover___ge__(self, *args)
3074 def __gt__(self, *args):
3076 __gt__(Cover self, Cover o) -> bool
3077 __gt__(Cover self, Particle d) -> bool
3079 return _IMP_core.Cover___gt__(self, *args)
3082 """__hash__(Cover self) -> std::size_t"""
3083 return _IMP_core.Cover___hash__(self)
3086 """__str__(Cover self) -> std::string"""
3087 return _IMP_core.Cover___str__(self)
3090 """__repr__(Cover self) -> std::string"""
3091 return _IMP_core.Cover___repr__(self)
3093 __swig_destroy__ = _IMP_core.delete_Cover
3094 __del__ =
lambda self :
None;
3095 Cover_swigregister = _IMP_core.Cover_swigregister
3096 Cover_swigregister(Cover)
3098 def Cover_setup_particle(*args):
3100 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3101 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3102 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3103 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3105 return _IMP_core.Cover_setup_particle(*args)
3107 def Cover_get_is_setup(*args):
3109 get_is_setup(_ParticleAdaptor p) -> bool
3110 Cover_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3112 return _IMP_core.Cover_get_is_setup(*args)
3115 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3117 def __init__(self, *args):
3119 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3120 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3122 this = _IMP_core.new_DerivativesFromRefined(*args)
3123 try: self.this.append(this)
3124 except: self.this = this
3125 def do_get_inputs(self, *args):
3126 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3127 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, *args)
3129 def do_get_outputs(self, *args):
3130 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3131 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, *args)
3133 def get_version_info(self):
3134 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3135 return _IMP_core.DerivativesFromRefined_get_version_info(self)
3138 """__str__(DerivativesFromRefined self) -> std::string"""
3139 return _IMP_core.DerivativesFromRefined___str__(self)
3142 """__repr__(DerivativesFromRefined self) -> std::string"""
3143 return _IMP_core.DerivativesFromRefined___repr__(self)
3146 return _object_cast_to_DerivativesFromRefined(o)
3147 get_from = staticmethod(get_from)
3149 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3150 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3153 """Proxy of C++ IMP::core::DerivativesToRefined class"""
3154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3155 def __init__(self, *args):
3157 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3158 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3160 this = _IMP_core.new_DerivativesToRefined(*args)
3161 try: self.this.append(this)
3162 except: self.this = this
3163 def do_get_inputs(self, *args):
3164 """do_get_inputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3165 return _IMP_core.DerivativesToRefined_do_get_inputs(self, *args)
3167 def do_get_outputs(self, *args):
3168 """do_get_outputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3169 return _IMP_core.DerivativesToRefined_do_get_outputs(self, *args)
3171 def get_version_info(self):
3172 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3173 return _IMP_core.DerivativesToRefined_get_version_info(self)
3176 """__str__(DerivativesToRefined self) -> std::string"""
3177 return _IMP_core.DerivativesToRefined___str__(self)
3180 """__repr__(DerivativesToRefined self) -> std::string"""
3181 return _IMP_core.DerivativesToRefined___repr__(self)
3184 return _object_cast_to_DerivativesToRefined(o)
3185 get_from = staticmethod(get_from)
3187 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3188 DerivativesToRefined_swigregister(DerivativesToRefined)
3191 """Proxy of C++ IMP::core::DiameterRestraint class"""
3192 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3193 def __init__(self, *args):
3194 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3195 this = _IMP_core.new_DiameterRestraint(*args)
3196 try: self.this.append(this)
3197 except: self.this = this
3198 def do_get_inputs(self):
3199 """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3200 return _IMP_core.DiameterRestraint_do_get_inputs(self)
3202 def get_version_info(self):
3203 """get_version_info(DiameterRestraint self) -> VersionInfo"""
3204 return _IMP_core.DiameterRestraint_get_version_info(self)
3206 def do_create_decomposition(self):
3207 """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3208 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3210 def do_create_current_decomposition(self):
3211 """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3212 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3215 """__str__(DiameterRestraint self) -> std::string"""
3216 return _IMP_core.DiameterRestraint___str__(self)
3219 """__repr__(DiameterRestraint self) -> std::string"""
3220 return _IMP_core.DiameterRestraint___repr__(self)
3223 return _object_cast_to_DiameterRestraint(o)
3224 get_from = staticmethod(get_from)
3226 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3227 DiameterRestraint_swigregister(DiameterRestraint)
3230 """Proxy of C++ IMP::core::Transform class"""
3231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3232 def __init__(self, *args):
3234 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3235 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3237 this = _IMP_core.new_Transform(*args)
3238 try: self.this.append(this)
3239 except: self.this = this
3240 def do_get_inputs(self, *args):
3241 """do_get_inputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3242 return _IMP_core.Transform_do_get_inputs(self, *args)
3244 def do_get_outputs(self, *args):
3245 """do_get_outputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3246 return _IMP_core.Transform_do_get_outputs(self, *args)
3248 def get_version_info(self):
3249 """get_version_info(Transform self) -> VersionInfo"""
3250 return _IMP_core.Transform_get_version_info(self)
3253 """__str__(Transform self) -> std::string"""
3254 return _IMP_core.Transform___str__(self)
3257 """__repr__(Transform self) -> std::string"""
3258 return _IMP_core.Transform___repr__(self)
3261 return _object_cast_to_Transform(o)
3262 get_from = staticmethod(get_from)
3264 Transform_swigregister = _IMP_core.Transform_swigregister
3265 Transform_swigregister(Transform)
3268 """Proxy of C++ IMP::core::Reference class"""
3269 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3270 def __init__(self, *args):
3272 __init__(IMP::core::Reference self) -> Reference
3273 __init__(IMP::core::Reference self, Model m, ::IMP::kernel::ParticleIndex id) -> Reference
3274 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3276 this = _IMP_core.new_Reference(*args)
3277 try: self.this.append(this)
3278 except: self.this = this
3279 def show(self, *args):
3281 show(Reference self, _ostream out=std::cout)
3282 show(Reference self)
3284 return _IMP_core.Reference_show(self, *args)
3286 def setup_particle(*args):
3288 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3289 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3291 return _IMP_core.Reference_setup_particle(*args)
3293 setup_particle = staticmethod(setup_particle)
3294 def get_reference_particle(self):
3295 """get_reference_particle(Reference self) -> Particle"""
3296 return _IMP_core.Reference_get_reference_particle(self)
3298 def get_is_setup(*args):
3300 get_is_setup(_ParticleAdaptor p) -> bool
3301 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3303 return _IMP_core.Reference_get_is_setup(*args)
3305 get_is_setup = staticmethod(get_is_setup)
3306 def get_reference_key():
3307 """get_reference_key() -> ParticleIndexKey"""
3308 return _IMP_core.Reference_get_reference_key()
3310 get_reference_key = staticmethod(get_reference_key)
3311 def add_attribute(self, *args):
3313 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3314 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3315 add_attribute(Reference self, IntKey a0, IMP::Int a1)
3316 add_attribute(Reference self, StringKey a0, IMP::String a1)
3317 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3318 add_attribute(Reference self, ObjectKey a0, Object a1)
3320 return _IMP_core.Reference_add_attribute(self, *args)
3322 def get_value(self, *args):
3324 get_value(Reference self, FloatKey a0) -> IMP::Float
3325 get_value(Reference self, IntKey a0) -> IMP::Int
3326 get_value(Reference self, StringKey a0) -> IMP::String
3327 get_value(Reference self, ParticleIndexKey a0) -> Particle
3328 get_value(Reference self, ObjectKey a0) -> Object
3330 return _IMP_core.Reference_get_value(self, *args)
3332 def set_value(self, *args):
3334 set_value(Reference self, FloatKey a0, IMP::Float a1)
3335 set_value(Reference self, IntKey a0, IMP::Int a1)
3336 set_value(Reference self, StringKey a0, IMP::String a1)
3337 set_value(Reference self, ParticleIndexKey a0, Particle a1)
3338 set_value(Reference self, ObjectKey a0, Object a1)
3340 return _IMP_core.Reference_set_value(self, *args)
3342 def remove_attribute(self, *args):
3344 remove_attribute(Reference self, FloatKey a0)
3345 remove_attribute(Reference self, IntKey a0)
3346 remove_attribute(Reference self, StringKey a0)
3347 remove_attribute(Reference self, ParticleIndexKey a0)
3348 remove_attribute(Reference self, ObjectKey a0)
3350 return _IMP_core.Reference_remove_attribute(self, *args)
3352 def has_attribute(self, *args):
3354 has_attribute(Reference self, FloatKey a0) -> bool
3355 has_attribute(Reference self, IntKey a0) -> bool
3356 has_attribute(Reference self, StringKey a0) -> bool
3357 has_attribute(Reference self, ParticleIndexKey a0) -> bool
3358 has_attribute(Reference self, ObjectKey a0) -> bool
3360 return _IMP_core.Reference_has_attribute(self, *args)
3362 def get_derivative(self, *args):
3363 """get_derivative(Reference self, FloatKey a0) -> double"""
3364 return _IMP_core.Reference_get_derivative(self, *args)
3367 """get_name(Reference self) -> std::string"""
3368 return _IMP_core.Reference_get_name(self)
3370 def clear_caches(self):
3371 """clear_caches(Reference self)"""
3372 return _IMP_core.Reference_clear_caches(self)
3374 def set_name(self, *args):
3375 """set_name(Reference self, std::string a0)"""
3376 return _IMP_core.Reference_set_name(self, *args)
3379 """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3380 return _IMP_core.Reference_set_check_level(self, *args)
3382 def add_to_derivative(self, *args):
3383 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3384 return _IMP_core.Reference_add_to_derivative(self, *args)
3386 def set_is_optimized(self, *args):
3387 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3388 return _IMP_core.Reference_set_is_optimized(self, *args)
3390 def get_is_optimized(self, *args):
3391 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3392 return _IMP_core.Reference_get_is_optimized(self, *args)
3395 """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3396 return _IMP_core.Reference_get_check_level(self)
3398 def __eq__(self, *args):
3400 __eq__(Reference self, Reference o) -> bool
3401 __eq__(Reference self, Particle d) -> bool
3403 return _IMP_core.Reference___eq__(self, *args)
3405 def __ne__(self, *args):
3407 __ne__(Reference self, Reference o) -> bool
3408 __ne__(Reference self, Particle d) -> bool
3410 return _IMP_core.Reference___ne__(self, *args)
3412 def __le__(self, *args):
3414 __le__(Reference self, Reference o) -> bool
3415 __le__(Reference self, Particle d) -> bool
3417 return _IMP_core.Reference___le__(self, *args)
3419 def __lt__(self, *args):
3421 __lt__(Reference self, Reference o) -> bool
3422 __lt__(Reference self, Particle d) -> bool
3424 return _IMP_core.Reference___lt__(self, *args)
3426 def __ge__(self, *args):
3428 __ge__(Reference self, Reference o) -> bool
3429 __ge__(Reference self, Particle d) -> bool
3431 return _IMP_core.Reference___ge__(self, *args)
3433 def __gt__(self, *args):
3435 __gt__(Reference self, Reference o) -> bool
3436 __gt__(Reference self, Particle d) -> bool
3438 return _IMP_core.Reference___gt__(self, *args)
3441 """__hash__(Reference self) -> std::size_t"""
3442 return _IMP_core.Reference___hash__(self)
3445 """__str__(Reference self) -> std::string"""
3446 return _IMP_core.Reference___str__(self)
3449 """__repr__(Reference self) -> std::string"""
3450 return _IMP_core.Reference___repr__(self)
3452 __swig_destroy__ = _IMP_core.delete_Reference
3453 __del__ =
lambda self :
None;
3454 Reference_swigregister = _IMP_core.Reference_swigregister
3455 Reference_swigregister(Reference)
3457 def Reference_setup_particle(*args):
3459 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3460 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3462 return _IMP_core.Reference_setup_particle(*args)
3464 def Reference_get_is_setup(*args):
3466 get_is_setup(_ParticleAdaptor p) -> bool
3467 Reference_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3469 return _IMP_core.Reference_get_is_setup(*args)
3471 def Reference_get_reference_key():
3472 """Reference_get_reference_key() -> ParticleIndexKey"""
3473 return _IMP_core.Reference_get_reference_key()
3476 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3478 def __init__(self, *args):
3479 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3480 this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3481 try: self.this.append(this)
3482 except: self.this = this
3483 def do_get_inputs(self, *args):
3484 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3485 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, *args)
3487 def do_get_outputs(self, *args):
3488 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3489 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, *args)
3491 def get_version_info(self):
3492 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3493 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3496 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3497 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3500 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3501 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3504 return _object_cast_to_TransformationAndReflectionSymmetry(o)
3505 get_from = staticmethod(get_from)
3507 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3508 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3511 """Proxy of C++ IMP::core::TransformationSymmetry class"""
3512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3513 def __init__(self, *args):
3514 """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3515 this = _IMP_core.new_TransformationSymmetry(*args)
3516 try: self.this.append(this)
3517 except: self.this = this
3518 def do_get_inputs(self, *args):
3519 """do_get_inputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3520 return _IMP_core.TransformationSymmetry_do_get_inputs(self, *args)
3522 def do_get_outputs(self, *args):
3523 """do_get_outputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3524 return _IMP_core.TransformationSymmetry_do_get_outputs(self, *args)
3526 def get_version_info(self):
3527 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3528 return _IMP_core.TransformationSymmetry_get_version_info(self)
3531 """__str__(TransformationSymmetry self) -> std::string"""
3532 return _IMP_core.TransformationSymmetry___str__(self)
3535 """__repr__(TransformationSymmetry self) -> std::string"""
3536 return _IMP_core.TransformationSymmetry___repr__(self)
3539 return _object_cast_to_TransformationSymmetry(o)
3540 get_from = staticmethod(get_from)
3542 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
3543 TransformationSymmetry_swigregister(TransformationSymmetry)
3546 """Proxy of C++ IMP::core::DihedralRestraint class"""
3547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3548 def __init__(self, *args):
3549 """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
3550 this = _IMP_core.new_DihedralRestraint(*args)
3551 try: self.this.append(this)
3552 except: self.this = this
3553 def do_get_inputs(self):
3554 """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3555 return _IMP_core.DihedralRestraint_do_get_inputs(self)
3557 def get_version_info(self):
3558 """get_version_info(DihedralRestraint self) -> VersionInfo"""
3559 return _IMP_core.DihedralRestraint_get_version_info(self)
3562 """__str__(DihedralRestraint self) -> std::string"""
3563 return _IMP_core.DihedralRestraint___str__(self)
3566 """__repr__(DihedralRestraint self) -> std::string"""
3567 return _IMP_core.DihedralRestraint___repr__(self)
3570 return _object_cast_to_DihedralRestraint(o)
3571 get_from = staticmethod(get_from)
3573 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
3574 DihedralRestraint_swigregister(DihedralRestraint)
3577 """Proxy of C++ IMP::core::DistancePairScore class"""
3578 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3579 def __init__(self, *args):
3581 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
3582 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
3584 this = _IMP_core.new_DistancePairScore(*args)
3585 try: self.this.append(this)
3586 except: self.this = this
3587 def do_get_inputs(self, *args):
3588 """do_get_inputs(DistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3589 return _IMP_core.DistancePairScore_do_get_inputs(self, *args)
3591 def get_version_info(self):
3592 """get_version_info(DistancePairScore self) -> VersionInfo"""
3593 return _IMP_core.DistancePairScore_get_version_info(self)
3596 """__str__(DistancePairScore self) -> std::string"""
3597 return _IMP_core.DistancePairScore___str__(self)
3600 """__repr__(DistancePairScore self) -> std::string"""
3601 return _IMP_core.DistancePairScore___repr__(self)
3604 return _object_cast_to_DistancePairScore(o)
3605 get_from = staticmethod(get_from)
3607 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
3608 DistancePairScore_swigregister(DistancePairScore)
3611 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
3612 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3613 def __init__(self, *args):
3615 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
3616 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
3618 this = _IMP_core.new_HarmonicDistancePairScore(*args)
3619 try: self.this.append(this)
3620 except: self.this = this
3621 def do_get_inputs(self, *args):
3622 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3623 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, *args)
3625 def get_version_info(self):
3626 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
3627 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
3630 """__str__(HarmonicDistancePairScore self) -> std::string"""
3631 return _IMP_core.HarmonicDistancePairScore___str__(self)
3634 """__repr__(HarmonicDistancePairScore self) -> std::string"""
3635 return _IMP_core.HarmonicDistancePairScore___repr__(self)
3638 return _object_cast_to_HarmonicDistancePairScore(o)
3639 get_from = staticmethod(get_from)
3641 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
3642 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
3645 """Proxy of C++ IMP::core::DistanceRestraint class"""
3646 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3647 def __init__(self, *args):
3649 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b, std::string name="DistanceRestraint %1%") -> DistanceRestraint
3650 __init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint
3652 this = _IMP_core.new_DistanceRestraint(*args)
3653 try: self.this.append(this)
3654 except: self.this = this
3655 def get_version_info(self):
3656 """get_version_info(DistanceRestraint self) -> VersionInfo"""
3657 return _IMP_core.DistanceRestraint_get_version_info(self)
3660 """__str__(DistanceRestraint self) -> std::string"""
3661 return _IMP_core.DistanceRestraint___str__(self)
3664 """__repr__(DistanceRestraint self) -> std::string"""
3665 return _IMP_core.DistanceRestraint___repr__(self)
3668 return _object_cast_to_DistanceRestraint(o)
3669 get_from = staticmethod(get_from)
3671 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
3672 DistanceRestraint_swigregister(DistanceRestraint)
3675 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
3676 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3677 def __init__(self, *args):
3678 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
3679 this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
3680 try: self.this.append(this)
3681 except: self.this = this
3682 def do_get_inputs(self, *args):
3683 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3684 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, *args)
3686 def get_version_info(self):
3687 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
3688 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
3691 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
3692 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
3695 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
3696 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
3699 return _object_cast_to_SphereDistanceToSingletonScore(o)
3700 get_from = staticmethod(get_from)
3702 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
3703 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
3706 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
3707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3708 def __init__(self, *args):
3710 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
3711 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
3712 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
3713 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
3715 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
3716 try: self.this.append(this)
3717 except: self.this = this
3718 def do_get_inputs(self):
3719 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3720 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
3722 def get_version_info(self):
3723 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
3724 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
3726 def do_create_decomposition(self):
3727 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
3728 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
3730 def do_create_current_decomposition(self):
3731 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
3732 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
3735 """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
3736 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
3738 def remove_pair_filter(self, *args):
3739 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
3740 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
3742 def remove_pair_filters(self, *args):
3743 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
3744 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
3746 def set_pair_filters(self, *args):
3747 """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
3748 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
3750 def set_pair_filters_order(self, *args):
3751 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
3752 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
3754 def add_pair_filter(self, *args):
3755 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
3756 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
3758 def add_pair_filters(self, *args):
3759 """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
3760 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
3762 def clear_pair_filters(self):
3763 """clear_pair_filters(ExcludedVolumeRestraint self)"""
3764 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
3766 def get_number_of_pair_filters(self):
3767 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
3768 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
3770 def get_has_pair_filters(self):
3771 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
3772 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
3774 def get_pair_filter(self, *args):
3775 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
3776 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
3778 def get_pair_filters(self):
3779 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
3780 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
3782 def reserve_pair_filters(self, *args):
3783 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
3784 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
3787 """__str__(ExcludedVolumeRestraint self) -> std::string"""
3788 return _IMP_core.ExcludedVolumeRestraint___str__(self)
3791 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
3792 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
3795 return _object_cast_to_ExcludedVolumeRestraint(o)
3796 get_from = staticmethod(get_from)
3798 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
3799 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
3802 """Proxy of C++ IMP::core::FixedRefiner class"""
3803 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3804 def __init__(self, *args):
3806 __init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner
3807 __init__(IMP::core::FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> FixedRefiner
3809 this = _IMP_core.new_FixedRefiner(*args)
3810 try: self.this.append(this)
3811 except: self.this = this
3812 def do_get_inputs(self, *args):
3813 """do_get_inputs(FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3814 return _IMP_core.FixedRefiner_do_get_inputs(self, *args)
3816 def get_version_info(self):
3817 """get_version_info(FixedRefiner self) -> VersionInfo"""
3818 return _IMP_core.FixedRefiner_get_version_info(self)
3821 """__str__(FixedRefiner self) -> std::string"""
3822 return _IMP_core.FixedRefiner___str__(self)
3825 """__repr__(FixedRefiner self) -> std::string"""
3826 return _IMP_core.FixedRefiner___repr__(self)
3829 return _object_cast_to_FixedRefiner(o)
3830 get_from = staticmethod(get_from)
3832 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
3833 FixedRefiner_swigregister(FixedRefiner)
3835 class GridClosePairsFinder(ClosePairsFinder):
3836 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
3837 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3839 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
3840 this = _IMP_core.new_GridClosePairsFinder()
3841 try: self.this.append(this)
3842 except: self.this = this
3843 def get_close_pairs(self, *args):
3845 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
3846 get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
3847 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3848 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3849 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
3850 get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
3852 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
3854 def do_get_inputs(self, *args):
3855 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3856 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, *args)
3858 def get_version_info(self):
3859 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
3860 return _IMP_core.GridClosePairsFinder_get_version_info(self)
3863 """__str__(GridClosePairsFinder self) -> std::string"""
3864 return _IMP_core.GridClosePairsFinder___str__(self)
3867 """__repr__(GridClosePairsFinder self) -> std::string"""
3868 return _IMP_core.GridClosePairsFinder___repr__(self)
3871 return _object_cast_to_GridClosePairsFinder(o)
3872 get_from = staticmethod(get_from)
3874 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
3875 GridClosePairsFinder_swigregister(GridClosePairsFinder)
3878 """Proxy of C++ IMP::core::Harmonic class"""
3879 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3880 def __init__(self, *args):
3881 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
3882 this = _IMP_core.new_Harmonic(*args)
3883 try: self.this.append(this)
3884 except: self.this = this
3885 def get_version_info(self):
3886 """get_version_info(Harmonic self) -> VersionInfo"""
3887 return _IMP_core.Harmonic_get_version_info(self)
3890 """get_mean(Harmonic self) -> IMP::Float"""
3891 return _IMP_core.Harmonic_get_mean(self)
3894 """get_k(Harmonic self) -> IMP::Float"""
3895 return _IMP_core.Harmonic_get_k(self)
3897 def set_mean(self, *args):
3898 """set_mean(Harmonic self, IMP::Float mean)"""
3899 return _IMP_core.Harmonic_set_mean(self, *args)
3901 def set_k(self, *args):
3902 """set_k(Harmonic self, IMP::Float k)"""
3903 return _IMP_core.Harmonic_set_k(self, *args)
3905 def get_k_from_standard_deviation(*args):
3907 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
3908 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
3910 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
3912 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
3914 """__str__(Harmonic self) -> std::string"""
3915 return _IMP_core.Harmonic___str__(self)
3918 """__repr__(Harmonic self) -> std::string"""
3919 return _IMP_core.Harmonic___repr__(self)
3922 return _object_cast_to_Harmonic(o)
3923 get_from = staticmethod(get_from)
3925 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
3926 Harmonic_swigregister(Harmonic)
3928 def Harmonic_get_k_from_standard_deviation(*args):
3930 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
3931 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
3933 return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
3936 """Proxy of C++ IMP::core::HarmonicWell class"""
3937 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3938 def __init__(self, *args):
3939 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
3940 this = _IMP_core.new_HarmonicWell(*args)
3941 try: self.this.append(this)
3942 except: self.this = this
3943 def get_version_info(self):
3944 """get_version_info(HarmonicWell self) -> VersionInfo"""
3945 return _IMP_core.HarmonicWell_get_version_info(self)
3948 """__str__(HarmonicWell self) -> std::string"""
3949 return _IMP_core.HarmonicWell___str__(self)
3952 """__repr__(HarmonicWell self) -> std::string"""
3953 return _IMP_core.HarmonicWell___repr__(self)
3956 return _object_cast_to_HarmonicWell(o)
3957 get_from = staticmethod(get_from)
3959 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
3960 HarmonicWell_swigregister(HarmonicWell)
3962 class HarmonicLowerBound(Harmonic):
3963 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
3964 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3965 def __init__(self, *args):
3966 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
3967 this = _IMP_core.new_HarmonicLowerBound(*args)
3968 try: self.this.append(this)
3969 except: self.this = this
3971 """__str__(HarmonicLowerBound self) -> std::string"""
3972 return _IMP_core.HarmonicLowerBound___str__(self)
3975 """__repr__(HarmonicLowerBound self) -> std::string"""
3976 return _IMP_core.HarmonicLowerBound___repr__(self)
3979 return _object_cast_to_HarmonicLowerBound(o)
3980 get_from = staticmethod(get_from)
3982 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
3983 HarmonicLowerBound_swigregister(HarmonicLowerBound)
3985 class HarmonicUpperBound(Harmonic):
3986 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
3987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3988 def __init__(self, *args):
3989 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
3990 this = _IMP_core.new_HarmonicUpperBound(*args)
3991 try: self.this.append(this)
3992 except: self.this = this
3994 """__str__(HarmonicUpperBound self) -> std::string"""
3995 return _IMP_core.HarmonicUpperBound___str__(self)
3998 """__repr__(HarmonicUpperBound self) -> std::string"""
3999 return _IMP_core.HarmonicUpperBound___repr__(self)
4002 return _object_cast_to_HarmonicUpperBound(o)
4003 get_from = staticmethod(get_from)
4005 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4006 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4009 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4010 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4011 def __init__(self, *args):
4013 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4014 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
4016 this = _IMP_core.new_MSConnectivityRestraint(*args)
4017 try: self.this.append(this)
4018 except: self.this = this
4019 def add_type(self, *args):
4020 """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4021 return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4023 def add_composite(self, *args):
4025 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4026 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4028 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4030 def get_connected_pairs(self):
4031 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4032 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4034 def get_pair_score(self):
4035 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4036 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4038 def do_create_current_decomposition(self):
4039 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4040 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4042 def do_get_inputs(self):
4043 """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4044 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4046 def get_version_info(self):
4047 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4048 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4051 """__str__(MSConnectivityRestraint self) -> std::string"""
4052 return _IMP_core.MSConnectivityRestraint___str__(self)
4055 """__repr__(MSConnectivityRestraint self) -> std::string"""
4056 return _IMP_core.MSConnectivityRestraint___repr__(self)
4059 return _object_cast_to_MSConnectivityRestraint(o)
4060 get_from = staticmethod(get_from)
4062 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4063 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4065 class HierarchyTraits(object):
4066 """Proxy of C++ IMP::core::HierarchyTraits class"""
4067 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4068 def __init__(self, *args):
4070 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4071 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4073 this = _IMP_core.new_HierarchyTraits(*args)
4074 try: self.this.append(this)
4075 except: self.this = this
4076 def get_children_key(self):
4077 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4078 return _IMP_core.HierarchyTraits_get_children_key(self)
4080 def get_parent_key(self):
4081 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4082 return _IMP_core.HierarchyTraits_get_parent_key(self)
4084 def __eq__(self, *args):
4085 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4086 return _IMP_core.HierarchyTraits___eq__(self, *args)
4088 def show(self, *args):
4090 show(HierarchyTraits self, _ostream out=std::cout)
4091 show(HierarchyTraits self)
4093 return _IMP_core.HierarchyTraits_show(self, *args)
4096 """__str__(HierarchyTraits self) -> std::string"""
4097 return _IMP_core.HierarchyTraits___str__(self)
4100 """__repr__(HierarchyTraits self) -> std::string"""
4101 return _IMP_core.HierarchyTraits___repr__(self)
4103 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4104 __del__ =
lambda self :
None;
4105 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4106 HierarchyTraits_swigregister(HierarchyTraits)
4109 """Proxy of C++ IMP::core::Hierarchy class"""
4110 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4111 def get_decorator_traits(self):
4112 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4113 return _IMP_core.Hierarchy_get_decorator_traits(self)
4115 def get_default_decorator_traits():
4116 """get_default_decorator_traits() -> HierarchyTraits"""
4117 return _IMP_core.Hierarchy_get_default_decorator_traits()
4119 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4120 def __init__(self, *args):
4122 __init__(IMP::core::Hierarchy self) -> Hierarchy
4123 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4124 __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id) -> Hierarchy
4125 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4126 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4128 this = _IMP_core.new_Hierarchy(*args)
4129 try: self.this.append(this)
4130 except: self.this = this
4131 def show(self, *args):
4133 show(Hierarchy self, _ostream out=std::cout)
4134 show(Hierarchy self)
4136 return _IMP_core.Hierarchy_show(self, *args)
4138 def setup_particle(*args):
4140 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4141 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4142 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4143 setup_particle(_ParticleAdaptor d) -> Hierarchy
4144 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4145 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4146 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4147 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4148 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4149 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4150 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4151 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4153 return _IMP_core.Hierarchy_setup_particle(*args)
4155 setup_particle = staticmethod(setup_particle)
4156 def get_is_setup(*args):
4158 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4159 get_is_setup(_ParticleAdaptor p) -> bool
4160 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4161 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4163 return _IMP_core.Hierarchy_get_is_setup(*args)
4165 get_is_setup = staticmethod(get_is_setup)
4166 def get_parent(self):
4167 """get_parent(Hierarchy self) -> Hierarchy"""
4168 return _IMP_core.Hierarchy_get_parent(self)
4170 def get_number_of_children(self):
4171 """get_number_of_children(Hierarchy self) -> unsigned int"""
4172 return _IMP_core.Hierarchy_get_number_of_children(self)
4174 def get_child(self, *args):
4175 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4176 return _IMP_core.Hierarchy_get_child(self, *args)
4178 def get_children_indexes(self):
4179 """get_children_indexes(Hierarchy self) -> IMP::kernel::ParticleIndexes"""
4180 return _IMP_core.Hierarchy_get_children_indexes(self)
4182 def get_children(self):
4183 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4184 return _IMP_core.Hierarchy_get_children(self)
4186 def remove_child(self, *args):
4188 remove_child(Hierarchy self, unsigned int i)
4189 remove_child(Hierarchy self, Hierarchy h)
4191 return _IMP_core.Hierarchy_remove_child(self, *args)
4193 def clear_children(self):
4194 """clear_children(Hierarchy self)"""
4195 return _IMP_core.Hierarchy_clear_children(self)
4197 def add_child(self, *args):
4198 """add_child(Hierarchy self, Hierarchy h)"""
4199 return _IMP_core.Hierarchy_add_child(self, *args)
4201 def add_child_at(self, *args):
4202 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4203 return _IMP_core.Hierarchy_add_child_at(self, *args)
4205 def get_child_index(self, *args):
4207 get_child_index(Hierarchy self, unsigned int i) -> IMP::kernel::ParticleIndex
4208 get_child_index(Hierarchy self) -> int
4210 return _IMP_core.Hierarchy_get_child_index(self, *args)
4212 def get_default_traits():
4213 """get_default_traits() -> HierarchyTraits"""
4214 return _IMP_core.Hierarchy_get_default_traits()
4216 get_default_traits = staticmethod(get_default_traits)
4217 def get_traits(self):
4218 """get_traits(Hierarchy self) -> HierarchyTraits"""
4219 return _IMP_core.Hierarchy_get_traits(self)
4221 def add_attribute(self, *args):
4223 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4224 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4225 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4226 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4227 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4228 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
4230 return _IMP_core.Hierarchy_add_attribute(self, *args)
4232 def get_value(self, *args):
4234 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4235 get_value(Hierarchy self, IntKey a0) -> IMP::Int
4236 get_value(Hierarchy self, StringKey a0) -> IMP::String
4237 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4238 get_value(Hierarchy self, ObjectKey a0) -> Object
4240 return _IMP_core.Hierarchy_get_value(self, *args)
4242 def set_value(self, *args):
4244 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4245 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4246 set_value(Hierarchy self, StringKey a0, IMP::String a1)
4247 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4248 set_value(Hierarchy self, ObjectKey a0, Object a1)
4250 return _IMP_core.Hierarchy_set_value(self, *args)
4252 def remove_attribute(self, *args):
4254 remove_attribute(Hierarchy self, FloatKey a0)
4255 remove_attribute(Hierarchy self, IntKey a0)
4256 remove_attribute(Hierarchy self, StringKey a0)
4257 remove_attribute(Hierarchy self, ParticleIndexKey a0)
4258 remove_attribute(Hierarchy self, ObjectKey a0)
4260 return _IMP_core.Hierarchy_remove_attribute(self, *args)
4262 def has_attribute(self, *args):
4264 has_attribute(Hierarchy self, FloatKey a0) -> bool
4265 has_attribute(Hierarchy self, IntKey a0) -> bool
4266 has_attribute(Hierarchy self, StringKey a0) -> bool
4267 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4268 has_attribute(Hierarchy self, ObjectKey a0) -> bool
4270 return _IMP_core.Hierarchy_has_attribute(self, *args)
4272 def get_derivative(self, *args):
4273 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4274 return _IMP_core.Hierarchy_get_derivative(self, *args)
4277 """get_name(Hierarchy self) -> std::string"""
4278 return _IMP_core.Hierarchy_get_name(self)
4280 def clear_caches(self):
4281 """clear_caches(Hierarchy self)"""
4282 return _IMP_core.Hierarchy_clear_caches(self)
4284 def set_name(self, *args):
4285 """set_name(Hierarchy self, std::string a0)"""
4286 return _IMP_core.Hierarchy_set_name(self, *args)
4289 """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4290 return _IMP_core.Hierarchy_set_check_level(self, *args)
4292 def add_to_derivative(self, *args):
4293 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4294 return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4296 def set_is_optimized(self, *args):
4297 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4298 return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4300 def get_is_optimized(self, *args):
4301 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4302 return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4305 """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4306 return _IMP_core.Hierarchy_get_check_level(self)
4308 def __eq__(self, *args):
4310 __eq__(Hierarchy self, Hierarchy o) -> bool
4311 __eq__(Hierarchy self, Particle d) -> bool
4313 return _IMP_core.Hierarchy___eq__(self, *args)
4315 def __ne__(self, *args):
4317 __ne__(Hierarchy self, Hierarchy o) -> bool
4318 __ne__(Hierarchy self, Particle d) -> bool
4320 return _IMP_core.Hierarchy___ne__(self, *args)
4322 def __le__(self, *args):
4324 __le__(Hierarchy self, Hierarchy o) -> bool
4325 __le__(Hierarchy self, Particle d) -> bool
4327 return _IMP_core.Hierarchy___le__(self, *args)
4329 def __lt__(self, *args):
4331 __lt__(Hierarchy self, Hierarchy o) -> bool
4332 __lt__(Hierarchy self, Particle d) -> bool
4334 return _IMP_core.Hierarchy___lt__(self, *args)
4336 def __ge__(self, *args):
4338 __ge__(Hierarchy self, Hierarchy o) -> bool
4339 __ge__(Hierarchy self, Particle d) -> bool
4341 return _IMP_core.Hierarchy___ge__(self, *args)
4343 def __gt__(self, *args):
4345 __gt__(Hierarchy self, Hierarchy o) -> bool
4346 __gt__(Hierarchy self, Particle d) -> bool
4348 return _IMP_core.Hierarchy___gt__(self, *args)
4351 """__hash__(Hierarchy self) -> std::size_t"""
4352 return _IMP_core.Hierarchy___hash__(self)
4355 """__str__(Hierarchy self) -> std::string"""
4356 return _IMP_core.Hierarchy___str__(self)
4359 """__repr__(Hierarchy self) -> std::string"""
4360 return _IMP_core.Hierarchy___repr__(self)
4362 __swig_destroy__ = _IMP_core.delete_Hierarchy
4363 __del__ =
lambda self :
None;
4364 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4365 Hierarchy_swigregister(Hierarchy)
4367 def Hierarchy_get_default_decorator_traits():
4368 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4369 return _IMP_core.Hierarchy_get_default_decorator_traits()
4371 def Hierarchy_setup_particle(*args):
4373 setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4374 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4375 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4376 setup_particle(_ParticleAdaptor d) -> Hierarchy
4377 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4378 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4379 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4380 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4381 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4382 setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4383 setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4384 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4386 return _IMP_core.Hierarchy_setup_particle(*args)
4388 def Hierarchy_get_is_setup(*args):
4390 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4391 get_is_setup(_ParticleAdaptor p) -> bool
4392 get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4393 Hierarchy_get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4395 return _IMP_core.Hierarchy_get_is_setup(*args)
4397 def Hierarchy_get_default_traits():
4398 """Hierarchy_get_default_traits() -> HierarchyTraits"""
4399 return _IMP_core.Hierarchy_get_default_traits()
4401 class HierarchyVisitor(object):
4402 """Proxy of C++ IMP::core::HierarchyVisitor class"""
4403 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4404 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
4405 __repr__ = _swig_repr
4406 def __call__(self, *args):
4407 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
4408 return _IMP_core.HierarchyVisitor___call__(self, *args)
4410 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
4411 __del__ =
lambda self :
None;
4412 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
4413 HierarchyVisitor_swigregister(HierarchyVisitor)
4415 class ModifierVisitor(HierarchyVisitor):
4416 """Proxy of C++ IMP::core::ModifierVisitor class"""
4417 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4418 __repr__ = _swig_repr
4419 def __init__(self, *args):
4420 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
4421 this = _IMP_core.new_ModifierVisitor(*args)
4422 try: self.this.append(this)
4423 except: self.this = this
4424 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
4425 __del__ =
lambda self :
None;
4426 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
4427 ModifierVisitor_swigregister(ModifierVisitor)
4429 class HierarchyCounter(HierarchyVisitor):
4430 """Proxy of C++ IMP::core::HierarchyCounter class"""
4431 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4433 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
4434 this = _IMP_core.new_HierarchyCounter()
4435 try: self.this.append(this)
4436 except: self.this = this
4437 def get_count(self):
4438 """get_count(HierarchyCounter self) -> unsigned int"""
4439 return _IMP_core.HierarchyCounter_get_count(self)
4441 def show(self, *args):
4443 show(HierarchyCounter self, _ostream out=std::cout)
4444 show(HierarchyCounter self)
4446 return _IMP_core.HierarchyCounter_show(self, *args)
4449 """__str__(HierarchyCounter self) -> std::string"""
4450 return _IMP_core.HierarchyCounter___str__(self)
4453 """__repr__(HierarchyCounter self) -> std::string"""
4454 return _IMP_core.HierarchyCounter___repr__(self)
4456 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
4457 __del__ =
lambda self :
None;
4458 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
4459 HierarchyCounter_swigregister(HierarchyCounter)
4463 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4464 return _IMP_core.get_leaves(*args)
4467 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4468 return _IMP_core.get_internal(*args)
4471 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
4472 return _IMP_core.get_all_descendants(*args)
4475 """get_root(Hierarchy h) -> Hierarchy"""
4476 return _IMP_core.get_root(*args)
4479 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
4480 return _IMP_core.visit_breadth_first(*args)
4483 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
4484 return _IMP_core.visit_depth_first(*args)
4486 """Proxy of C++ IMP::core::LeavesRefiner class"""
4487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4488 def __init__(self, *args):
4489 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
4490 this = _IMP_core.new_LeavesRefiner(*args)
4491 try: self.this.append(this)
4492 except: self.this = this
4493 def do_get_inputs(self, *args):
4494 """do_get_inputs(LeavesRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4495 return _IMP_core.LeavesRefiner_do_get_inputs(self, *args)
4497 def get_version_info(self):
4498 """get_version_info(LeavesRefiner self) -> VersionInfo"""
4499 return _IMP_core.LeavesRefiner_get_version_info(self)
4502 """__str__(LeavesRefiner self) -> std::string"""
4503 return _IMP_core.LeavesRefiner___str__(self)
4506 """__repr__(LeavesRefiner self) -> std::string"""
4507 return _IMP_core.LeavesRefiner___repr__(self)
4510 return _object_cast_to_LeavesRefiner(o)
4511 get_from = staticmethod(get_from)
4513 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
4514 LeavesRefiner_swigregister(LeavesRefiner)
4517 """Proxy of C++ IMP::core::Linear class"""
4518 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4519 def __init__(self, *args):
4520 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
4521 this = _IMP_core.new_Linear(*args)
4522 try: self.this.append(this)
4523 except: self.this = this
4524 def set_slope(self, *args):
4525 """set_slope(Linear self, double f)"""
4526 return _IMP_core.Linear_set_slope(self, *args)
4528 def set_offset(self, *args):
4529 """set_offset(Linear self, double f)"""
4530 return _IMP_core.Linear_set_offset(self, *args)
4532 def get_version_info(self):
4533 """get_version_info(Linear self) -> VersionInfo"""
4534 return _IMP_core.Linear_get_version_info(self)
4537 """__str__(Linear self) -> std::string"""
4538 return _IMP_core.Linear___str__(self)
4541 """__repr__(Linear self) -> std::string"""
4542 return _IMP_core.Linear___repr__(self)
4545 return _object_cast_to_Linear(o)
4546 get_from = staticmethod(get_from)
4548 Linear_swigregister = _IMP_core.Linear_swigregister
4549 Linear_swigregister(Linear)
4552 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
4553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4554 def __init__(self, *args):
4556 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4557 double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
4558 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4559 double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
4560 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
4561 double weight=1.0) -> IncrementalScoringFunction
4562 __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
4564 this = _IMP_core.new_IncrementalScoringFunction(*args)
4565 try: self.this.append(this)
4566 except: self.this = this
4567 def reset_moved_particles(self):
4568 """reset_moved_particles(IncrementalScoringFunction self)"""
4569 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
4571 def set_moved_particles(self, *args):
4572 """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
4573 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
4575 def add_close_pair_score(self, *args):
4577 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
4578 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
4580 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
4582 def clear_close_pair_scores(self):
4583 """clear_close_pair_scores(IncrementalScoringFunction self)"""
4584 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
4586 def get_movable_indexes(self):
4587 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
4588 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
4590 def do_add_score_and_derivatives(self, *args):
4591 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
4592 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
4594 def do_get_inputs(self):
4595 """do_get_inputs(IncrementalScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
4596 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
4598 def handle_set_has_required_score_states(self, *args):
4599 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
4600 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, *args)
4602 def get_version_info(self):
4603 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
4604 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
4607 """__str__(IncrementalScoringFunction self) -> std::string"""
4608 return _IMP_core.IncrementalScoringFunction___str__(self)
4611 """__repr__(IncrementalScoringFunction self) -> std::string"""
4612 return _IMP_core.IncrementalScoringFunction___repr__(self)
4615 return _object_cast_to_IncrementalScoringFunction(o)
4616 get_from = staticmethod(get_from)
4618 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
4619 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
4621 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
4623 """Proxy of C++ IMP::core::MonteCarlo class"""
4624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4625 def __init__(self, *args):
4626 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
4627 this = _IMP_core.new_MonteCarlo(*args)
4628 try: self.this.append(this)
4629 except: self.this = this
4630 def get_version_info(self):
4631 """get_version_info(MonteCarlo self) -> VersionInfo"""
4632 return _IMP_core.MonteCarlo_get_version_info(self)
4634 def set_return_best(self, *args):
4635 """set_return_best(MonteCarlo self, bool tf)"""
4636 return _IMP_core.MonteCarlo_set_return_best(self, *args)
4638 def set_kt(self, *args):
4639 """set_kt(MonteCarlo self, IMP::Float t)"""
4640 return _IMP_core.MonteCarlo_set_kt(self, *args)
4643 """get_kt(MonteCarlo self) -> IMP::Float"""
4644 return _IMP_core.MonteCarlo_get_kt(self)
4646 def get_last_accepted_energy(self):
4647 """get_last_accepted_energy(MonteCarlo self) -> double"""
4648 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
4650 def get_best_accepted_energy(self):
4651 """get_best_accepted_energy(MonteCarlo self) -> double"""
4652 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
4654 def get_number_of_forward_steps(self):
4655 """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
4656 return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
4658 def get_number_of_downward_steps(self):
4659 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
4660 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
4662 def get_number_of_upward_steps(self):
4663 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
4664 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
4666 def get_number_of_proposed_steps(self):
4667 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
4668 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
4670 def get_number_of_accepted_steps(self):
4671 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
4672 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
4674 def reset_statistics(self):
4675 """reset_statistics(MonteCarlo self)"""
4676 return _IMP_core.MonteCarlo_reset_statistics(self)
4678 def set_score_threshold(self, *args):
4679 """set_score_threshold(MonteCarlo self, double s)"""
4680 return _IMP_core.MonteCarlo_set_score_threshold(self, *args)
4682 def get_score_threshold(self):
4683 """get_score_threshold(MonteCarlo self) -> double"""
4684 return _IMP_core.MonteCarlo_get_score_threshold(self)
4686 def set_maximum_difference(self, *args):
4687 """set_maximum_difference(MonteCarlo self, double d)"""
4688 return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
4690 def get_maximum_difference(self):
4691 """get_maximum_difference(MonteCarlo self) -> double"""
4692 return _IMP_core.MonteCarlo_get_maximum_difference(self)
4694 def remove_mover(self, *args):
4695 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
4696 return _IMP_core.MonteCarlo_remove_mover(self, *args)
4698 def remove_movers(self, *args):
4699 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
4700 return _IMP_core.MonteCarlo_remove_movers(self, *args)
4702 def set_movers(self, *args):
4703 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
4704 return _IMP_core.MonteCarlo_set_movers(self, *args)
4706 def set_movers_order(self, *args):
4707 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
4708 return _IMP_core.MonteCarlo_set_movers_order(self, *args)
4710 def add_mover(self, *args):
4711 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
4712 return _IMP_core.MonteCarlo_add_mover(self, *args)
4714 def add_movers(self, *args):
4715 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
4716 return _IMP_core.MonteCarlo_add_movers(self, *args)
4718 def clear_movers(self):
4719 """clear_movers(MonteCarlo self)"""
4720 return _IMP_core.MonteCarlo_clear_movers(self)
4722 def get_number_of_movers(self):
4723 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
4724 return _IMP_core.MonteCarlo_get_number_of_movers(self)
4726 def get_has_movers(self):
4727 """get_has_movers(MonteCarlo self) -> bool"""
4728 return _IMP_core.MonteCarlo_get_has_movers(self)
4730 def get_mover(self, *args):
4731 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
4732 return _IMP_core.MonteCarlo_get_mover(self, *args)
4734 def get_movers(self):
4735 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
4736 return _IMP_core.MonteCarlo_get_movers(self)
4738 def reserve_movers(self, *args):
4739 """reserve_movers(MonteCarlo self, unsigned int sz)"""
4740 return _IMP_core.MonteCarlo_reserve_movers(self, *args)
4742 def set_incremental_scoring_function(self, *args):
4743 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
4744 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
4746 def get_use_incremental_scoring_function(self):
4747 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
4748 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
4750 def get_incremental_scoring_function(self):
4751 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
4752 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
4755 """__str__(MonteCarlo self) -> std::string"""
4756 return _IMP_core.MonteCarlo___str__(self)
4759 """__repr__(MonteCarlo self) -> std::string"""
4760 return _IMP_core.MonteCarlo___repr__(self)
4763 return _object_cast_to_MonteCarlo(o)
4764 get_from = staticmethod(get_from)
4766 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
4767 MonteCarlo_swigregister(MonteCarlo)
4769 class MonteCarloWithLocalOptimization(MonteCarlo):
4770 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
4771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4772 def __init__(self, *args):
4773 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
4774 this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
4775 try: self.this.append(this)
4776 except: self.this = this
4777 def get_number_of_steps(self):
4778 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
4779 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
4781 def get_local_optimizer(self):
4782 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
4783 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
4786 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
4787 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
4790 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
4791 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
4794 return _object_cast_to_MonteCarloWithLocalOptimization(o)
4795 get_from = staticmethod(get_from)
4797 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
4798 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
4800 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
4801 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
4802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4803 def __init__(self, *args):
4804 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
4805 this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
4806 try: self.this.append(this)
4807 except: self.this = this
4809 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
4810 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
4813 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
4814 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
4817 return _object_cast_to_MonteCarloWithBasinHopping(o)
4818 get_from = staticmethod(get_from)
4820 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
4821 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
4824 """Proxy of C++ IMP::core::NeighborsTable class"""
4825 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4826 def __init__(self, *args):
4828 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable
4829 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
4831 this = _IMP_core.new_NeighborsTable(*args)
4832 try: self.this.append(this)
4833 except: self.this = this
4834 def get_neighbors(self, *args):
4835 """get_neighbors(NeighborsTable self, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes const &"""
4836 return _IMP_core.NeighborsTable_get_neighbors(self, *args)
4838 def get_version_info(self):
4839 """get_version_info(NeighborsTable self) -> VersionInfo"""
4840 return _IMP_core.NeighborsTable_get_version_info(self)
4843 """__str__(NeighborsTable self) -> std::string"""
4844 return _IMP_core.NeighborsTable___str__(self)
4847 """__repr__(NeighborsTable self) -> std::string"""
4848 return _IMP_core.NeighborsTable___repr__(self)
4851 return _object_cast_to_NeighborsTable(o)
4852 get_from = staticmethod(get_from)
4854 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
4855 NeighborsTable_swigregister(NeighborsTable)
4857 class NormalMover(MonteCarloMover):
4858 """Proxy of C++ IMP::core::NormalMover class"""
4859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4860 def __init__(self, *args):
4862 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
4863 __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
4864 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
4865 __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
4867 this = _IMP_core.new_NormalMover(*args)
4868 try: self.this.append(this)
4869 except: self.this = this
4870 def set_sigma(self, *args):
4871 """set_sigma(NormalMover self, IMP::Float sigma)"""
4872 return _IMP_core.NormalMover_set_sigma(self, *args)
4874 def get_sigma(self):
4875 """get_sigma(NormalMover self) -> IMP::Float"""
4876 return _IMP_core.NormalMover_get_sigma(self)
4878 def get_version_info(self):
4879 """get_version_info(NormalMover self) -> VersionInfo"""
4880 return _IMP_core.NormalMover_get_version_info(self)
4883 """__str__(NormalMover self) -> std::string"""
4884 return _IMP_core.NormalMover___str__(self)
4887 """__repr__(NormalMover self) -> std::string"""
4888 return _IMP_core.NormalMover___repr__(self)
4891 return _object_cast_to_NormalMover(o)
4892 get_from = staticmethod(get_from)
4894 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
4895 NormalMover_swigregister(NormalMover)
4897 class OpenCubicSpline(_OpenCubicSplineBase):
4898 """Proxy of C++ IMP::core::OpenCubicSpline class"""
4899 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4900 def __init__(self, *args):
4902 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
4903 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
4905 this = _IMP_core.new_OpenCubicSpline(*args)
4906 try: self.this.append(this)
4907 except: self.this = this
4909 """__str__(OpenCubicSpline self) -> std::string"""
4910 return _IMP_core.OpenCubicSpline___str__(self)
4913 """__repr__(OpenCubicSpline self) -> std::string"""
4914 return _IMP_core.OpenCubicSpline___repr__(self)
4917 return _object_cast_to_OpenCubicSpline(o)
4918 get_from = staticmethod(get_from)
4920 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
4921 __del__ =
lambda self :
None;
4922 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
4923 OpenCubicSpline_swigregister(OpenCubicSpline)
4925 class QuadraticClosePairsFinder(ClosePairsFinder):
4926 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
4927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4929 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
4930 this = _IMP_core.new_QuadraticClosePairsFinder()
4931 try: self.this.append(this)
4932 except: self.this = this
4933 def get_are_close(self, *args):
4935 get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
4936 get_are_close(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b) -> bool
4938 return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
4940 def get_close_pairs(self, *args):
4942 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
4943 get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
4944 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4945 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4946 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4947 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4949 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
4951 def do_get_inputs(self, *args):
4952 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4953 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, *args)
4955 def get_version_info(self):
4956 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
4957 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
4960 """__str__(QuadraticClosePairsFinder self) -> std::string"""
4961 return _IMP_core.QuadraticClosePairsFinder___str__(self)
4964 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
4965 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
4968 return _object_cast_to_QuadraticClosePairsFinder(o)
4969 get_from = staticmethod(get_from)
4971 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
4972 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
4975 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
4976 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4977 def __init__(self, *args):
4978 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
4979 this = _IMP_core.new_RefinedPairsPairScore(*args)
4980 try: self.this.append(this)
4981 except: self.this = this
4982 def do_get_inputs(self, *args):
4983 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4984 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, *args)
4986 def get_version_info(self):
4987 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
4988 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
4991 """__str__(RefinedPairsPairScore self) -> std::string"""
4992 return _IMP_core.RefinedPairsPairScore___str__(self)
4995 """__repr__(RefinedPairsPairScore self) -> std::string"""
4996 return _IMP_core.RefinedPairsPairScore___repr__(self)
4999 return _object_cast_to_RefinedPairsPairScore(o)
5000 get_from = staticmethod(get_from)
5002 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5003 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5005 class RigidBody(XYZ):
5006 """Proxy of C++ IMP::core::RigidBody class"""
5007 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5008 def get_members(self):
5009 """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5010 return _IMP_core.RigidBody_get_members(self)
5012 def get_rigid_members(self):
5013 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
5014 return _IMP_core.RigidBody_get_rigid_members(self)
5016 def get_member_particle_indexes(self):
5017 """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5018 return _IMP_core.RigidBody_get_member_particle_indexes(self)
5020 def get_body_member_particle_indexes(self):
5021 """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5022 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5024 def get_member_indexes(self):
5025 """get_member_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes"""
5026 return _IMP_core.RigidBody_get_member_indexes(self)
5028 def __init__(self, *args):
5030 __init__(IMP::core::RigidBody self) -> RigidBody
5031 __init__(IMP::core::RigidBody self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBody
5032 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5034 this = _IMP_core.new_RigidBody(*args)
5035 try: self.this.append(this)
5036 except: self.this = this
5037 def show(self, *args):
5039 show(RigidBody self, _ostream out=std::cout)
5040 show(RigidBody self)
5042 return _IMP_core.RigidBody_show(self, *args)
5044 def setup_particle(*args):
5046 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5047 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5048 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5049 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5051 return _IMP_core.RigidBody_setup_particle(*args)
5053 setup_particle = staticmethod(setup_particle)
5054 def teardown_particle(*args):
5055 """teardown_particle(RigidBody rb)"""
5056 return _IMP_core.RigidBody_teardown_particle(*args)
5058 teardown_particle = staticmethod(teardown_particle)
5059 __swig_destroy__ = _IMP_core.delete_RigidBody
5060 __del__ =
lambda self :
None;
5061 def get_is_setup(*args):
5063 get_is_setup(_ParticleAdaptor p) -> bool
5064 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5066 return _IMP_core.RigidBody_get_is_setup(*args)
5068 get_is_setup = staticmethod(get_is_setup)
5069 def get_coordinates(self):
5070 """get_coordinates(RigidBody self) -> Vector3D"""
5071 return _IMP_core.RigidBody_get_coordinates(self)
5073 def get_reference_frame(self):
5074 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5075 return _IMP_core.RigidBody_get_reference_frame(self)
5077 def set_reference_frame(self, *args):
5078 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5079 return _IMP_core.RigidBody_set_reference_frame(self, *args)
5081 def set_reference_frame_lazy(self, *args):
5082 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5083 return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5085 def set_reference_frame_from_members(self, *args):
5086 """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5087 return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5089 def add_to_derivatives(self, *args):
5091 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5092 add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5093 DerivativeAccumulator da)
5095 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5097 def get_torque(self):
5098 """get_torque(RigidBody self) -> Vector3D"""
5099 return _IMP_core.RigidBody_get_torque(self)
5101 def get_coordinates_are_optimized(self):
5102 """get_coordinates_are_optimized(RigidBody self) -> bool"""
5103 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5105 def set_coordinates_are_optimized(self, *args):
5106 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5107 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5109 def normalize_rotation(self):
5110 """normalize_rotation(RigidBody self)"""
5111 return _IMP_core.RigidBody_normalize_rotation(self)
5113 def update_members(self):
5114 """update_members(RigidBody self)"""
5115 return _IMP_core.RigidBody_update_members(self)
5117 def get_rotational_derivatives(self):
5118 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5119 return _IMP_core.RigidBody_get_rotational_derivatives(self)
5121 def get_number_of_members(self):
5122 """get_number_of_members(RigidBody self) -> unsigned int"""
5123 return _IMP_core.RigidBody_get_number_of_members(self)
5125 def get_member(self, *args):
5126 """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5127 return _IMP_core.RigidBody_get_member(self, *args)
5129 def add_member(self, *args):
5130 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
5131 return _IMP_core.RigidBody_add_member(self, *args)
5133 def add_non_rigid_member(self, *args):
5134 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
5135 return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5137 def set_is_rigid_member(self, *args):
5138 """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5139 return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5141 def add_attribute(self, *args):
5143 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5144 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5145 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5146 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5147 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5148 add_attribute(RigidBody self, ObjectKey a0, Object a1)
5150 return _IMP_core.RigidBody_add_attribute(self, *args)
5152 def get_value(self, *args):
5154 get_value(RigidBody self, FloatKey a0) -> IMP::Float
5155 get_value(RigidBody self, IntKey a0) -> IMP::Int
5156 get_value(RigidBody self, StringKey a0) -> IMP::String
5157 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5158 get_value(RigidBody self, ObjectKey a0) -> Object
5160 return _IMP_core.RigidBody_get_value(self, *args)
5162 def set_value(self, *args):
5164 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5165 set_value(RigidBody self, IntKey a0, IMP::Int a1)
5166 set_value(RigidBody self, StringKey a0, IMP::String a1)
5167 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5168 set_value(RigidBody self, ObjectKey a0, Object a1)
5170 return _IMP_core.RigidBody_set_value(self, *args)
5172 def remove_attribute(self, *args):
5174 remove_attribute(RigidBody self, FloatKey a0)
5175 remove_attribute(RigidBody self, IntKey a0)
5176 remove_attribute(RigidBody self, StringKey a0)
5177 remove_attribute(RigidBody self, ParticleIndexKey a0)
5178 remove_attribute(RigidBody self, ObjectKey a0)
5180 return _IMP_core.RigidBody_remove_attribute(self, *args)
5182 def has_attribute(self, *args):
5184 has_attribute(RigidBody self, FloatKey a0) -> bool
5185 has_attribute(RigidBody self, IntKey a0) -> bool
5186 has_attribute(RigidBody self, StringKey a0) -> bool
5187 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5188 has_attribute(RigidBody self, ObjectKey a0) -> bool
5190 return _IMP_core.RigidBody_has_attribute(self, *args)
5192 def get_derivative(self, *args):
5193 """get_derivative(RigidBody self, FloatKey a0) -> double"""
5194 return _IMP_core.RigidBody_get_derivative(self, *args)
5197 """get_name(RigidBody self) -> std::string"""
5198 return _IMP_core.RigidBody_get_name(self)
5200 def clear_caches(self):
5201 """clear_caches(RigidBody self)"""
5202 return _IMP_core.RigidBody_clear_caches(self)
5204 def set_name(self, *args):
5205 """set_name(RigidBody self, std::string a0)"""
5206 return _IMP_core.RigidBody_set_name(self, *args)
5209 """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5210 return _IMP_core.RigidBody_set_check_level(self, *args)
5212 def add_to_derivative(self, *args):
5213 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5214 return _IMP_core.RigidBody_add_to_derivative(self, *args)
5216 def set_is_optimized(self, *args):
5217 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5218 return _IMP_core.RigidBody_set_is_optimized(self, *args)
5220 def get_is_optimized(self, *args):
5221 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5222 return _IMP_core.RigidBody_get_is_optimized(self, *args)
5225 """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5226 return _IMP_core.RigidBody_get_check_level(self)
5228 def __eq__(self, *args):
5230 __eq__(RigidBody self, RigidBody o) -> bool
5231 __eq__(RigidBody self, Particle d) -> bool
5233 return _IMP_core.RigidBody___eq__(self, *args)
5235 def __ne__(self, *args):
5237 __ne__(RigidBody self, RigidBody o) -> bool
5238 __ne__(RigidBody self, Particle d) -> bool
5240 return _IMP_core.RigidBody___ne__(self, *args)
5242 def __le__(self, *args):
5244 __le__(RigidBody self, RigidBody o) -> bool
5245 __le__(RigidBody self, Particle d) -> bool
5247 return _IMP_core.RigidBody___le__(self, *args)
5249 def __lt__(self, *args):
5251 __lt__(RigidBody self, RigidBody o) -> bool
5252 __lt__(RigidBody self, Particle d) -> bool
5254 return _IMP_core.RigidBody___lt__(self, *args)
5256 def __ge__(self, *args):
5258 __ge__(RigidBody self, RigidBody o) -> bool
5259 __ge__(RigidBody self, Particle d) -> bool
5261 return _IMP_core.RigidBody___ge__(self, *args)
5263 def __gt__(self, *args):
5265 __gt__(RigidBody self, RigidBody o) -> bool
5266 __gt__(RigidBody self, Particle d) -> bool
5268 return _IMP_core.RigidBody___gt__(self, *args)
5271 """__hash__(RigidBody self) -> std::size_t"""
5272 return _IMP_core.RigidBody___hash__(self)
5275 """__str__(RigidBody self) -> std::string"""
5276 return _IMP_core.RigidBody___str__(self)
5279 """__repr__(RigidBody self) -> std::string"""
5280 return _IMP_core.RigidBody___repr__(self)
5282 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5283 RigidBody_swigregister(RigidBody)
5285 def RigidBody_setup_particle(*args):
5287 setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5288 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5289 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5290 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5292 return _IMP_core.RigidBody_setup_particle(*args)
5294 def RigidBody_teardown_particle(*args):
5295 """RigidBody_teardown_particle(RigidBody rb)"""
5296 return _IMP_core.RigidBody_teardown_particle(*args)
5298 def RigidBody_get_is_setup(*args):
5300 get_is_setup(_ParticleAdaptor p) -> bool
5301 RigidBody_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5303 return _IMP_core.RigidBody_get_is_setup(*args)
5307 """add_rigid_body_cache_key(ObjectKey k)"""
5308 return _IMP_core.add_rigid_body_cache_key(*args)
5309 class RigidBodyMember(XYZ):
5310 """Proxy of C++ IMP::core::RigidBodyMember class"""
5311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5312 def __init__(self, *args):
5314 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
5315 __init__(IMP::core::RigidBodyMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBodyMember
5316 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
5318 this = _IMP_core.new_RigidBodyMember(*args)
5319 try: self.this.append(this)
5320 except: self.this = this
5321 def show(self, *args):
5323 show(RigidBodyMember self, _ostream out=std::cout)
5324 show(RigidBodyMember self)
5326 return _IMP_core.RigidBodyMember_show(self, *args)
5328 def get_rigid_body(self):
5329 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
5330 return _IMP_core.RigidBodyMember_get_rigid_body(self)
5332 def get_internal_coordinates(self):
5333 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
5334 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
5336 def set_internal_coordinates(self, *args):
5337 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
5338 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, *args)
5340 def set_internal_transformation(self, *args):
5341 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
5342 return _IMP_core.RigidBodyMember_set_internal_transformation(self, *args)
5344 def get_internal_transformation(self):
5345 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
5346 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
5348 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
5349 __del__ =
lambda self :
None;
5350 def set_coordinates(self, *args):
5352 set_coordinates(RigidBodyMember self, Vector3D center)
5353 set_coordinates(RigidBodyMember self, Transformation3D tr)
5355 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
5357 def get_is_setup(*args):
5359 get_is_setup(_ParticleAdaptor p) -> bool
5360 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5362 return _IMP_core.RigidBodyMember_get_is_setup(*args)
5364 get_is_setup = staticmethod(get_is_setup)
5365 def get_internal_coordinate_keys():
5366 """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
5367 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
5369 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
5370 def add_attribute(self, *args):
5372 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
5373 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
5374 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
5375 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
5376 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
5377 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
5379 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
5381 def get_value(self, *args):
5383 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
5384 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
5385 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
5386 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
5387 get_value(RigidBodyMember self, ObjectKey a0) -> Object
5389 return _IMP_core.RigidBodyMember_get_value(self, *args)
5391 def set_value(self, *args):
5393 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
5394 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
5395 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
5396 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
5397 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
5399 return _IMP_core.RigidBodyMember_set_value(self, *args)
5401 def remove_attribute(self, *args):
5403 remove_attribute(RigidBodyMember self, FloatKey a0)
5404 remove_attribute(RigidBodyMember self, IntKey a0)
5405 remove_attribute(RigidBodyMember self, StringKey a0)
5406 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
5407 remove_attribute(RigidBodyMember self, ObjectKey a0)
5409 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
5411 def has_attribute(self, *args):
5413 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
5414 has_attribute(RigidBodyMember self, IntKey a0) -> bool
5415 has_attribute(RigidBodyMember self, StringKey a0) -> bool
5416 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
5417 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
5419 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
5421 def get_derivative(self, *args):
5422 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
5423 return _IMP_core.RigidBodyMember_get_derivative(self, *args)
5426 """get_name(RigidBodyMember self) -> std::string"""
5427 return _IMP_core.RigidBodyMember_get_name(self)
5429 def clear_caches(self):
5430 """clear_caches(RigidBodyMember self)"""
5431 return _IMP_core.RigidBodyMember_clear_caches(self)
5433 def set_name(self, *args):
5434 """set_name(RigidBodyMember self, std::string a0)"""
5435 return _IMP_core.RigidBodyMember_set_name(self, *args)
5438 """set_check_level(RigidBodyMember self, IMP::base::CheckLevel a0)"""
5439 return _IMP_core.RigidBodyMember_set_check_level(self, *args)
5441 def add_to_derivative(self, *args):
5442 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5443 return _IMP_core.RigidBodyMember_add_to_derivative(self, *args)
5445 def set_is_optimized(self, *args):
5446 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
5447 return _IMP_core.RigidBodyMember_set_is_optimized(self, *args)
5449 def get_is_optimized(self, *args):
5450 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
5451 return _IMP_core.RigidBodyMember_get_is_optimized(self, *args)
5454 """get_check_level(RigidBodyMember self) -> IMP::base::CheckLevel"""
5455 return _IMP_core.RigidBodyMember_get_check_level(self)
5457 def __eq__(self, *args):
5459 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
5460 __eq__(RigidBodyMember self, Particle d) -> bool
5462 return _IMP_core.RigidBodyMember___eq__(self, *args)
5464 def __ne__(self, *args):
5466 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
5467 __ne__(RigidBodyMember self, Particle d) -> bool
5469 return _IMP_core.RigidBodyMember___ne__(self, *args)
5471 def __le__(self, *args):
5473 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
5474 __le__(RigidBodyMember self, Particle d) -> bool
5476 return _IMP_core.RigidBodyMember___le__(self, *args)
5478 def __lt__(self, *args):
5480 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
5481 __lt__(RigidBodyMember self, Particle d) -> bool
5483 return _IMP_core.RigidBodyMember___lt__(self, *args)
5485 def __ge__(self, *args):
5487 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
5488 __ge__(RigidBodyMember self, Particle d) -> bool
5490 return _IMP_core.RigidBodyMember___ge__(self, *args)
5492 def __gt__(self, *args):
5494 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
5495 __gt__(RigidBodyMember self, Particle d) -> bool
5497 return _IMP_core.RigidBodyMember___gt__(self, *args)
5500 """__hash__(RigidBodyMember self) -> std::size_t"""
5501 return _IMP_core.RigidBodyMember___hash__(self)
5504 """__str__(RigidBodyMember self) -> std::string"""
5505 return _IMP_core.RigidBodyMember___str__(self)
5508 """__repr__(RigidBodyMember self) -> std::string"""
5509 return _IMP_core.RigidBodyMember___repr__(self)
5511 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
5512 RigidBodyMember_swigregister(RigidBodyMember)
5514 def RigidBodyMember_get_is_setup(*args):
5516 get_is_setup(_ParticleAdaptor p) -> bool
5517 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5519 return _IMP_core.RigidBodyMember_get_is_setup(*args)
5521 def RigidBodyMember_get_internal_coordinate_keys():
5522 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
5523 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
5525 class RigidMember(RigidBodyMember):
5526 """Proxy of C++ IMP::core::RigidMember class"""
5527 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5528 def __init__(self, *args):
5530 __init__(IMP::core::RigidMember self) -> RigidMember
5531 __init__(IMP::core::RigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidMember
5532 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
5534 this = _IMP_core.new_RigidMember(*args)
5535 try: self.this.append(this)
5536 except: self.this = this
5537 def show(self, *args):
5539 show(RigidMember self, _ostream out=std::cout)
5540 show(RigidMember self)
5542 return _IMP_core.RigidMember_show(self, *args)
5544 __swig_destroy__ = _IMP_core.delete_RigidMember
5545 __del__ =
lambda self :
None;
5546 def get_is_setup(*args):
5548 get_is_setup(_ParticleAdaptor p) -> bool
5549 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5551 return _IMP_core.RigidMember_get_is_setup(*args)
5553 get_is_setup = staticmethod(get_is_setup)
5554 def add_attribute(self, *args):
5556 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
5557 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
5558 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
5559 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
5560 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
5561 add_attribute(RigidMember self, ObjectKey a0, Object a1)
5563 return _IMP_core.RigidMember_add_attribute(self, *args)
5565 def get_value(self, *args):
5567 get_value(RigidMember self, FloatKey a0) -> IMP::Float
5568 get_value(RigidMember self, IntKey a0) -> IMP::Int
5569 get_value(RigidMember self, StringKey a0) -> IMP::String
5570 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
5571 get_value(RigidMember self, ObjectKey a0) -> Object
5573 return _IMP_core.RigidMember_get_value(self, *args)
5575 def set_value(self, *args):
5577 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
5578 set_value(RigidMember self, IntKey a0, IMP::Int a1)
5579 set_value(RigidMember self, StringKey a0, IMP::String a1)
5580 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
5581 set_value(RigidMember self, ObjectKey a0, Object a1)
5583 return _IMP_core.RigidMember_set_value(self, *args)
5585 def remove_attribute(self, *args):
5587 remove_attribute(RigidMember self, FloatKey a0)
5588 remove_attribute(RigidMember self, IntKey a0)
5589 remove_attribute(RigidMember self, StringKey a0)
5590 remove_attribute(RigidMember self, ParticleIndexKey a0)
5591 remove_attribute(RigidMember self, ObjectKey a0)
5593 return _IMP_core.RigidMember_remove_attribute(self, *args)
5595 def has_attribute(self, *args):
5597 has_attribute(RigidMember self, FloatKey a0) -> bool
5598 has_attribute(RigidMember self, IntKey a0) -> bool
5599 has_attribute(RigidMember self, StringKey a0) -> bool
5600 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
5601 has_attribute(RigidMember self, ObjectKey a0) -> bool
5603 return _IMP_core.RigidMember_has_attribute(self, *args)
5605 def get_derivative(self, *args):
5606 """get_derivative(RigidMember self, FloatKey a0) -> double"""
5607 return _IMP_core.RigidMember_get_derivative(self, *args)
5610 """get_name(RigidMember self) -> std::string"""
5611 return _IMP_core.RigidMember_get_name(self)
5613 def clear_caches(self):
5614 """clear_caches(RigidMember self)"""
5615 return _IMP_core.RigidMember_clear_caches(self)
5617 def set_name(self, *args):
5618 """set_name(RigidMember self, std::string a0)"""
5619 return _IMP_core.RigidMember_set_name(self, *args)
5622 """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
5623 return _IMP_core.RigidMember_set_check_level(self, *args)
5625 def add_to_derivative(self, *args):
5626 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5627 return _IMP_core.RigidMember_add_to_derivative(self, *args)
5629 def set_is_optimized(self, *args):
5630 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
5631 return _IMP_core.RigidMember_set_is_optimized(self, *args)
5633 def get_is_optimized(self, *args):
5634 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
5635 return _IMP_core.RigidMember_get_is_optimized(self, *args)
5638 """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
5639 return _IMP_core.RigidMember_get_check_level(self)
5641 def __eq__(self, *args):
5643 __eq__(RigidMember self, RigidMember o) -> bool
5644 __eq__(RigidMember self, Particle d) -> bool
5646 return _IMP_core.RigidMember___eq__(self, *args)
5648 def __ne__(self, *args):
5650 __ne__(RigidMember self, RigidMember o) -> bool
5651 __ne__(RigidMember self, Particle d) -> bool
5653 return _IMP_core.RigidMember___ne__(self, *args)
5655 def __le__(self, *args):
5657 __le__(RigidMember self, RigidMember o) -> bool
5658 __le__(RigidMember self, Particle d) -> bool
5660 return _IMP_core.RigidMember___le__(self, *args)
5662 def __lt__(self, *args):
5664 __lt__(RigidMember self, RigidMember o) -> bool
5665 __lt__(RigidMember self, Particle d) -> bool
5667 return _IMP_core.RigidMember___lt__(self, *args)
5669 def __ge__(self, *args):
5671 __ge__(RigidMember self, RigidMember o) -> bool
5672 __ge__(RigidMember self, Particle d) -> bool
5674 return _IMP_core.RigidMember___ge__(self, *args)
5676 def __gt__(self, *args):
5678 __gt__(RigidMember self, RigidMember o) -> bool
5679 __gt__(RigidMember self, Particle d) -> bool
5681 return _IMP_core.RigidMember___gt__(self, *args)
5684 """__hash__(RigidMember self) -> std::size_t"""
5685 return _IMP_core.RigidMember___hash__(self)
5688 """__str__(RigidMember self) -> std::string"""
5689 return _IMP_core.RigidMember___str__(self)
5692 """__repr__(RigidMember self) -> std::string"""
5693 return _IMP_core.RigidMember___repr__(self)
5695 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
5696 RigidMember_swigregister(RigidMember)
5698 def RigidMember_get_is_setup(*args):
5700 get_is_setup(_ParticleAdaptor p) -> bool
5701 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
5703 return _IMP_core.RigidMember_get_is_setup(*args)
5705 class NonRigidMember(RigidBodyMember):
5706 """Proxy of C++ IMP::core::NonRigidMember class"""
5707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5708 def __init__(self, *args):
5710 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
5711 __init__(IMP::core::NonRigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> NonRigidMember
5712 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
5714 this = _IMP_core.new_NonRigidMember(*args)
5715 try: self.this.append(this)
5716 except: self.this = this
5717 def show(self, *args):
5719 show(NonRigidMember self, _ostream out=std::cout)
5720 show(NonRigidMember self)
5722 return _IMP_core.NonRigidMember_show(self, *args)
5724 __swig_destroy__ = _IMP_core.delete_NonRigidMember
5725 __del__ =
lambda self :
None;
5726 def get_is_setup(*args):
5728 get_is_setup(_ParticleAdaptor p) -> bool
5729 get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
5731 return _IMP_core.NonRigidMember_get_is_setup(*args)
5733 get_is_setup = staticmethod(get_is_setup)
5734 def add_attribute(self, *args):
5736 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
5737 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
5738 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
5739 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
5740 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
5741 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
5743 return _IMP_core.NonRigidMember_add_attribute(self, *args)
5745 def get_value(self, *args):
5747 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
5748 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
5749 get_value(NonRigidMember self, StringKey a0) -> IMP::String
5750 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
5751 get_value(NonRigidMember self, ObjectKey a0) -> Object
5753 return _IMP_core.NonRigidMember_get_value(self, *args)
5755 def set_value(self, *args):
5757 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
5758 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
5759 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
5760 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
5761 set_value(NonRigidMember self, ObjectKey a0, Object a1)
5763 return _IMP_core.NonRigidMember_set_value(self, *args)
5765 def remove_attribute(self, *args):
5767 remove_attribute(NonRigidMember self, FloatKey a0)
5768 remove_attribute(NonRigidMember self, IntKey a0)
5769 remove_attribute(NonRigidMember self, StringKey a0)
5770 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
5771 remove_attribute(NonRigidMember self, ObjectKey a0)
5773 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
5775 def has_attribute(self, *args):
5777 has_attribute(NonRigidMember self, FloatKey a0) -> bool
5778 has_attribute(NonRigidMember self, IntKey a0) -> bool
5779 has_attribute(NonRigidMember self, StringKey a0) -> bool
5780 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
5781 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
5783 return _IMP_core.NonRigidMember_has_attribute(self, *args)
5785 def get_derivative(self, *args):
5786 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
5787 return _IMP_core.NonRigidMember_get_derivative(self, *args)
5790 """get_name(NonRigidMember self) -> std::string"""
5791 return _IMP_core.NonRigidMember_get_name(self)
5793 def clear_caches(self):
5794 """clear_caches(NonRigidMember self)"""
5795 return _IMP_core.NonRigidMember_clear_caches(self)
5797 def set_name(self, *args):
5798 """set_name(NonRigidMember self, std::string a0)"""
5799 return _IMP_core.NonRigidMember_set_name(self, *args)
5802 """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
5803 return _IMP_core.NonRigidMember_set_check_level(self, *args)
5805 def add_to_derivative(self, *args):
5806 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5807 return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
5809 def set_is_optimized(self, *args):
5810 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
5811 return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
5813 def get_is_optimized(self, *args):
5814 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
5815 return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
5818 """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
5819 return _IMP_core.NonRigidMember_get_check_level(self)
5821 def __eq__(self, *args):
5823 __eq__(NonRigidMember self, NonRigidMember o) -> bool
5824 __eq__(NonRigidMember self, Particle d) -> bool
5826 return _IMP_core.NonRigidMember___eq__(self, *args)
5828 def __ne__(self, *args):
5830 __ne__(NonRigidMember self, NonRigidMember o) -> bool
5831 __ne__(NonRigidMember self, Particle d) -> bool
5833 return _IMP_core.NonRigidMember___ne__(self, *args)
5835 def __le__(self, *args):
5837 __le__(NonRigidMember self, NonRigidMember o) -> bool
5838 __le__(NonRigidMember self, Particle d) -> bool
5840 return _IMP_core.NonRigidMember___le__(self, *args)
5842 def __lt__(self, *args):
5844 __lt__(NonRigidMember self, NonRigidMember o) -> bool
5845 __lt__(NonRigidMember self, Particle d) -> bool
5847 return _IMP_core.NonRigidMember___lt__(self, *args)
5849 def __ge__(self, *args):
5851 __ge__(NonRigidMember self, NonRigidMember o) -> bool
5852 __ge__(NonRigidMember self, Particle d) -> bool
5854 return _IMP_core.NonRigidMember___ge__(self, *args)
5856 def __gt__(self, *args):
5858 __gt__(NonRigidMember self, NonRigidMember o) -> bool
5859 __gt__(NonRigidMember self, Particle d) -> bool
5861 return _IMP_core.NonRigidMember___gt__(self, *args)
5864 """__hash__(NonRigidMember self) -> std::size_t"""
5865 return _IMP_core.NonRigidMember___hash__(self)
5868 """__str__(NonRigidMember self) -> std::string"""
5869 return _IMP_core.NonRigidMember___str__(self)
5872 """__repr__(NonRigidMember self) -> std::string"""
5873 return _IMP_core.NonRigidMember___repr__(self)
5875 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
5876 NonRigidMember_swigregister(NonRigidMember)
5878 def NonRigidMember_get_is_setup(*args):
5880 get_is_setup(_ParticleAdaptor p) -> bool
5881 NonRigidMember_get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
5883 return _IMP_core.NonRigidMember_get_is_setup(*args)
5886 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
5887 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5888 def __init__(self, name="RigidMembersRefiner%d"):
5890 __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
5891 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
5893 this = _IMP_core.new_RigidMembersRefiner(name)
5894 try: self.this.append(this)
5895 except: self.this = this
5896 def do_get_inputs(self, *args):
5897 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5898 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, *args)
5900 def get_version_info(self):
5901 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
5902 return _IMP_core.RigidMembersRefiner_get_version_info(self)
5905 """__str__(RigidMembersRefiner self) -> std::string"""
5906 return _IMP_core.RigidMembersRefiner___str__(self)
5909 """__repr__(RigidMembersRefiner self) -> std::string"""
5910 return _IMP_core.RigidMembersRefiner___repr__(self)
5913 return _object_cast_to_RigidMembersRefiner(o)
5914 get_from = staticmethod(get_from)
5916 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
5917 RigidMembersRefiner_swigregister(RigidMembersRefiner)
5920 def get_rigid_members_refiner():
5921 """get_rigid_members_refiner() -> RigidMembersRefiner"""
5922 return _IMP_core.get_rigid_members_refiner()
5926 transform(XYZ a, Transformation3D tr)
5927 transform(RigidBody a, Transformation3D tr)
5929 return _IMP_core.transform(*args)
5933 get_initial_reference_frame(Model m, IMP::kernel::ParticleIndexes const & pis) -> ReferenceFrame3D
5934 get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D
5936 return _IMP_core.get_initial_reference_frame(*args)
5940 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
5941 create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
5943 return _IMP_core.create_rigid_bodies(*args)
5947 show_rigid_body_hierarchy(RigidBody rb, TextOutput out=IMP::base::TextOutput(std::cout))
5948 show_rigid_body_hierarchy(RigidBody rb)
5950 return _IMP_core.show_rigid_body_hierarchy(*args)
5953 """get_root_rigid_body(RigidMember m) -> IMP::kernel::ParticleIndex"""
5954 return _IMP_core.get_root_rigid_body(*args)
5956 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
5957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5958 def __init__(self, *args):
5959 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
5960 this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
5961 try: self.this.append(this)
5962 except: self.this = this
5963 def get_version_info(self):
5964 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
5965 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
5968 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
5969 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
5972 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
5973 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
5976 return _object_cast_to_RigidBodyHierarchyGeometry(o)
5977 get_from = staticmethod(get_from)
5979 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
5980 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
5983 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
5984 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5985 def __init__(self, *args):
5987 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
5988 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
5990 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
5991 try: self.this.append(this)
5992 except: self.this = this
5993 def get_version_info(self):
5994 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
5995 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
5998 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
5999 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6002 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6003 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6006 return _object_cast_to_RigidBodyDerivativeGeometry(o)
6007 get_from = staticmethod(get_from)
6009 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6010 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6013 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6015 def __init__(self, *args):
6016 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6017 this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6018 try: self.this.append(this)
6019 except: self.this = this
6020 def get_version_info(self):
6021 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6022 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6025 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6026 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6029 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6030 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6033 return _object_cast_to_RigidBodyDerivativesGeometry(o)
6034 get_from = staticmethod(get_from)
6036 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6037 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6040 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6041 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6042 def __init__(self, *args):
6044 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6045 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6047 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6048 try: self.this.append(this)
6049 except: self.this = this
6050 def get_version_info(self):
6051 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6052 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6055 """__str__(RigidBodyFrameGeometry self) -> std::string"""
6056 return _IMP_core.RigidBodyFrameGeometry___str__(self)
6059 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6060 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6063 return _object_cast_to_RigidBodyFrameGeometry(o)
6064 get_from = staticmethod(get_from)
6066 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6067 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6070 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6071 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6072 def __init__(self, *args):
6073 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6074 this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6075 try: self.this.append(this)
6076 except: self.this = this
6077 def get_version_info(self):
6078 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6079 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6082 """__str__(RigidBodyFramesGeometry self) -> std::string"""
6083 return _IMP_core.RigidBodyFramesGeometry___str__(self)
6086 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6087 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6090 return _object_cast_to_RigidBodyFramesGeometry(o)
6091 get_from = staticmethod(get_from)
6093 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6094 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6097 """Proxy of C++ IMP::core::RigidBodyTorque class"""
6098 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6099 def __init__(self, *args):
6100 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6101 this = _IMP_core.new_RigidBodyTorque(*args)
6102 try: self.this.append(this)
6103 except: self.this = this
6105 """__str__(RigidBodyTorque self) -> std::string"""
6106 return _IMP_core.RigidBodyTorque___str__(self)
6109 """__repr__(RigidBodyTorque self) -> std::string"""
6110 return _IMP_core.RigidBodyTorque___repr__(self)
6113 return _object_cast_to_RigidBodyTorque(o)
6114 get_from = staticmethod(get_from)
6116 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6117 __del__ =
lambda self :
None;
6118 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6119 RigidBodyTorque_swigregister(RigidBodyTorque)
6121 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6122 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6125 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6126 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6127 try: self.this.append(this)
6128 except: self.this = this
6129 def get_close_pairs(self, *args):
6131 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6132 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6133 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6134 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6135 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6136 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6138 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6140 def do_get_inputs(self, *args):
6141 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6142 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, *args)
6144 def get_version_info(self):
6145 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6146 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6149 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6150 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6153 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6154 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6157 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6158 get_from = staticmethod(get_from)
6160 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6161 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6164 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6166 def __init__(self, *args):
6168 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6169 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
6170 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
6171 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
6172 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
6174 this = _IMP_core.new_RestraintsScoringFunction(*args)
6175 try: self.this.append(this)
6176 except: self.this = this
6177 def do_add_score_and_derivatives(self, *args):
6178 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
6179 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
6181 def do_get_inputs(self):
6182 """do_get_inputs(RestraintsScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
6183 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
6185 def get_version_info(self):
6186 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
6187 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
6190 """__str__(RestraintsScoringFunction self) -> std::string"""
6191 return _IMP_core.RestraintsScoringFunction___str__(self)
6194 """__repr__(RestraintsScoringFunction self) -> std::string"""
6195 return _IMP_core.RestraintsScoringFunction___repr__(self)
6198 return _object_cast_to_RestraintsScoringFunction(o)
6199 get_from = staticmethod(get_from)
6201 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
6202 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
6204 class RigidClosePairsFinder(ClosePairsFinder):
6205 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
6206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6207 def __init__(self, cpf=None):
6209 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
6210 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
6212 this = _IMP_core.new_RigidClosePairsFinder(cpf)
6213 try: self.this.append(this)
6214 except: self.this = this
6215 def do_get_inputs(self, *args):
6216 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6217 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, *args)
6219 def get_close_pairs(self, *args):
6221 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b, IMP::kernel::ParticleIndexes const & pa,
6222 IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticleIndexPairs
6223 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6224 get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6225 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6226 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6227 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6228 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6230 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
6232 def get_version_info(self):
6233 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
6234 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
6237 """__str__(RigidClosePairsFinder self) -> std::string"""
6238 return _IMP_core.RigidClosePairsFinder___str__(self)
6241 """__repr__(RigidClosePairsFinder self) -> std::string"""
6242 return _IMP_core.RigidClosePairsFinder___repr__(self)
6245 return _object_cast_to_RigidClosePairsFinder(o)
6246 get_from = staticmethod(get_from)
6248 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
6249 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
6252 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
6253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6254 def __init__(self, *args):
6256 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
6257 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
6259 this = _IMP_core.new_SphereDistancePairScore(*args)
6260 try: self.this.append(this)
6261 except: self.this = this
6262 def do_get_inputs(self, *args):
6263 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6264 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, *args)
6266 def get_version_info(self):
6267 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
6268 return _IMP_core.SphereDistancePairScore_get_version_info(self)
6271 """__str__(SphereDistancePairScore self) -> std::string"""
6272 return _IMP_core.SphereDistancePairScore___str__(self)
6275 """__repr__(SphereDistancePairScore self) -> std::string"""
6276 return _IMP_core.SphereDistancePairScore___repr__(self)
6279 return _object_cast_to_SphereDistancePairScore(o)
6280 get_from = staticmethod(get_from)
6282 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
6283 SphereDistancePairScore_swigregister(SphereDistancePairScore)
6286 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
6287 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6288 def __init__(self, *args):
6290 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
6291 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
6293 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
6294 try: self.this.append(this)
6295 except: self.this = this
6296 def do_get_inputs(self, *args):
6297 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6298 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, *args)
6300 def get_version_info(self):
6301 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
6302 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
6305 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6306 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
6309 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
6310 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
6313 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
6314 get_from = staticmethod(get_from)
6316 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
6317 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
6320 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
6321 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6322 def __init__(self, *args):
6323 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
6324 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
6325 try: self.this.append(this)
6326 except: self.this = this
6327 def get_rest_length(self):
6328 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6329 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
6331 def get_stiffness(self):
6332 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
6333 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
6335 def do_get_inputs(self, *args):
6336 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6337 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, *args)
6339 def get_version_info(self):
6340 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
6341 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
6344 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6345 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
6348 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
6349 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
6352 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
6353 get_from = staticmethod(get_from)
6355 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
6356 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
6359 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
6360 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6361 def __init__(self, *args):
6363 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
6364 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
6366 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
6367 try: self.this.append(this)
6368 except: self.this = this
6369 def do_get_inputs(self, *args):
6370 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6371 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, *args)
6373 def get_version_info(self):
6374 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
6375 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
6378 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
6379 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
6382 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
6383 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
6386 return _object_cast_to_HarmonicSphereDistancePairScore(o)
6387 get_from = staticmethod(get_from)
6389 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
6390 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
6393 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
6394 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6395 def __init__(self, *args):
6397 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
6398 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
6400 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
6401 try: self.this.append(this)
6402 except: self.this = this
6403 def do_get_inputs(self, *args):
6404 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6405 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, *args)
6407 def get_version_info(self):
6408 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
6409 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
6412 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
6413 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
6416 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
6417 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
6420 return _object_cast_to_NormalizedSphereDistancePairScore(o)
6421 get_from = staticmethod(get_from)
6423 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
6424 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
6427 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
6428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6429 def __init__(self, *args):
6431 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
6432 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
6434 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
6435 try: self.this.append(this)
6436 except: self.this = this
6437 def do_get_inputs(self, *args):
6438 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6439 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, *args)
6441 def get_version_info(self):
6442 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
6443 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
6446 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
6447 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
6450 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
6451 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
6454 return _object_cast_to_WeightedSphereDistancePairScore(o)
6455 get_from = staticmethod(get_from)
6457 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
6458 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
6461 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
6462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6463 def __init__(self, *args):
6465 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
6466 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
6468 this = _IMP_core.new_SoftSpherePairScore(*args)
6469 try: self.this.append(this)
6470 except: self.this = this
6471 def do_get_inputs(self, *args):
6472 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6473 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, *args)
6475 def get_version_info(self):
6476 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
6477 return _IMP_core.SoftSpherePairScore_get_version_info(self)
6480 """__str__(SoftSpherePairScore self) -> std::string"""
6481 return _IMP_core.SoftSpherePairScore___str__(self)
6484 """__repr__(SoftSpherePairScore self) -> std::string"""
6485 return _IMP_core.SoftSpherePairScore___repr__(self)
6488 return _object_cast_to_SoftSpherePairScore(o)
6489 get_from = staticmethod(get_from)
6491 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
6492 SoftSpherePairScore_swigregister(SoftSpherePairScore)
6495 """Proxy of C++ IMP::core::SteepestDescent class"""
6496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6497 def __init__(self, *args):
6499 __init__(IMP::core::SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent
6500 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
6502 this = _IMP_core.new_SteepestDescent(*args)
6503 try: self.this.append(this)
6504 except: self.this = this
6505 def do_optimize(self, *args):
6506 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
6507 return _IMP_core.SteepestDescent_do_optimize(self, *args)
6509 def get_version_info(self):
6510 """get_version_info(SteepestDescent self) -> VersionInfo"""
6511 return _IMP_core.SteepestDescent_get_version_info(self)
6513 def set_threshold(self, *args):
6514 """set_threshold(SteepestDescent self, IMP::Float t)"""
6515 return _IMP_core.SteepestDescent_set_threshold(self, *args)
6517 def set_step_size(self, *args):
6518 """set_step_size(SteepestDescent self, IMP::Float t)"""
6519 return _IMP_core.SteepestDescent_set_step_size(self, *args)
6521 def set_maximum_step_size(self, *args):
6522 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
6523 return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
6526 """__str__(SteepestDescent self) -> std::string"""
6527 return _IMP_core.SteepestDescent___str__(self)
6530 """__repr__(SteepestDescent self) -> std::string"""
6531 return _IMP_core.SteepestDescent___repr__(self)
6534 return _object_cast_to_SteepestDescent(o)
6535 get_from = staticmethod(get_from)
6537 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
6538 SteepestDescent_swigregister(SteepestDescent)
6541 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
6542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6543 def __init__(self, *args):
6544 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
6545 this = _IMP_core.new_TransformedDistancePairScore(*args)
6546 try: self.this.append(this)
6547 except: self.this = this
6548 def set_transformation(self, *args):
6549 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
6550 return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
6552 def do_get_inputs(self, *args):
6553 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6554 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, *args)
6556 def get_version_info(self):
6557 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
6558 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
6561 """__str__(TransformedDistancePairScore self) -> std::string"""
6562 return _IMP_core.TransformedDistancePairScore___str__(self)
6565 """__repr__(TransformedDistancePairScore self) -> std::string"""
6566 return _IMP_core.TransformedDistancePairScore___repr__(self)
6569 return _object_cast_to_TransformedDistancePairScore(o)
6570 get_from = staticmethod(get_from)
6572 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
6573 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
6576 """Proxy of C++ IMP::core::TypedPairScore class"""
6577 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6578 def __init__(self, *args):
6580 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
6581 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
6583 this = _IMP_core.new_TypedPairScore(*args)
6584 try: self.this.append(this)
6585 except: self.this = this
6586 def set_particle_type(self, *args):
6587 """set_particle_type(TypedPairScore self, Particle arg2)"""
6588 return _IMP_core.TypedPairScore_set_particle_type(self, *args)
6590 def set_pair_score(self, *args):
6591 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
6592 return _IMP_core.TypedPairScore_set_pair_score(self, *args)
6594 def do_get_inputs(self, *args):
6595 """do_get_inputs(TypedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6596 return _IMP_core.TypedPairScore_do_get_inputs(self, *args)
6598 def get_version_info(self):
6599 """get_version_info(TypedPairScore self) -> VersionInfo"""
6600 return _IMP_core.TypedPairScore_get_version_info(self)
6603 """__str__(TypedPairScore self) -> std::string"""
6604 return _IMP_core.TypedPairScore___str__(self)
6607 """__repr__(TypedPairScore self) -> std::string"""
6608 return _IMP_core.TypedPairScore___repr__(self)
6611 return _object_cast_to_TypedPairScore(o)
6612 get_from = staticmethod(get_from)
6614 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
6615 TypedPairScore_swigregister(TypedPairScore)
6617 class RigidBodyDistancePairScore(KClosePairsPairScore):
6618 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
6619 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6620 def __init__(self, *args):
6621 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
6622 this = _IMP_core.new_RigidBodyDistancePairScore(*args)
6623 try: self.this.append(this)
6624 except: self.this = this
6626 """__str__(RigidBodyDistancePairScore self) -> std::string"""
6627 return _IMP_core.RigidBodyDistancePairScore___str__(self)
6630 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
6631 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
6634 return _object_cast_to_RigidBodyDistancePairScore(o)
6635 get_from = staticmethod(get_from)
6637 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
6638 __del__ =
lambda self :
None;
6639 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
6640 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
6643 """Proxy of C++ IMP::core::TableRefiner class"""
6644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6646 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
6647 this = _IMP_core.new_TableRefiner()
6648 try: self.this.append(this)
6649 except: self.this = this
6651 """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
6652 return _IMP_core.TableRefiner_add_particle(self, *args)
6654 def remove_particle(self, *args):
6655 """remove_particle(TableRefiner self, Particle p)"""
6656 return _IMP_core.TableRefiner_remove_particle(self, *args)
6658 def set_particle(self, *args):
6659 """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
6660 return _IMP_core.TableRefiner_set_particle(self, *args)
6662 def do_get_inputs(self, *args):
6663 """do_get_inputs(TableRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6664 return _IMP_core.TableRefiner_do_get_inputs(self, *args)
6666 def get_version_info(self):
6667 """get_version_info(TableRefiner self) -> VersionInfo"""
6668 return _IMP_core.TableRefiner_get_version_info(self)
6671 """__str__(TableRefiner self) -> std::string"""
6672 return _IMP_core.TableRefiner___str__(self)
6675 """__repr__(TableRefiner self) -> std::string"""
6676 return _IMP_core.TableRefiner___repr__(self)
6679 return _object_cast_to_TableRefiner(o)
6680 get_from = staticmethod(get_from)
6682 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
6683 TableRefiner_swigregister(TableRefiner)
6685 LOWER = _IMP_core.LOWER
6686 BOTH = _IMP_core.BOTH
6687 UPPER = _IMP_core.UPPER
6689 """Proxy of C++ IMP::core::MCCGSampler class"""
6690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6691 def __init__(self, *args):
6693 __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
6694 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
6696 this = _IMP_core.new_MCCGSampler(*args)
6697 try: self.this.append(this)
6698 except: self.this = this
6699 def set_bounding_box(self, *args):
6700 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
6701 return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
6703 def set_number_of_attempts(self, *args):
6704 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
6705 return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
6707 def set_number_of_monte_carlo_steps(self, *args):
6708 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
6709 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
6711 def set_number_of_conjugate_gradient_steps(self, *args):
6712 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
6713 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
6715 def set_max_monte_carlo_step_size(self, *args):
6717 set_max_monte_carlo_step_size(MCCGSampler self, double d)
6718 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
6720 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
6722 def set_is_refining(self, *args):
6723 """set_is_refining(MCCGSampler self, bool tf)"""
6724 return _IMP_core.MCCGSampler_set_is_refining(self, *args)
6726 def set_local_optimizer(self, *args):
6727 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
6728 return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
6730 def set_save_rejected_configurations(self, *args):
6731 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
6732 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
6734 def get_rejected_configurations(self):
6735 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
6736 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
6738 def remove_optimizer_state(self, *args):
6739 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
6740 return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
6742 def remove_optimizer_states(self, *args):
6743 """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
6744 return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
6746 def set_optimizer_states(self, *args):
6747 """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
6748 return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
6750 def set_optimizer_states_order(self, *args):
6751 """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
6752 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
6754 def add_optimizer_state(self, *args):
6755 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
6756 return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
6758 def add_optimizer_states(self, *args):
6759 """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
6760 return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
6762 def clear_optimizer_states(self):
6763 """clear_optimizer_states(MCCGSampler self)"""
6764 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
6766 def get_number_of_optimizer_states(self):
6767 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
6768 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
6770 def get_has_optimizer_states(self):
6771 """get_has_optimizer_states(MCCGSampler self) -> bool"""
6772 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
6774 def get_optimizer_state(self, *args):
6775 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
6776 return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
6778 def get_optimizer_states(self):
6779 """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
6780 return _IMP_core.MCCGSampler_get_optimizer_states(self)
6782 def reserve_optimizer_states(self, *args):
6783 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
6784 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
6786 def do_sample(self):
6787 """do_sample(MCCGSampler self) -> ConfigurationSet"""
6788 return _IMP_core.MCCGSampler_do_sample(self)
6790 def get_version_info(self):
6791 """get_version_info(MCCGSampler self) -> VersionInfo"""
6792 return _IMP_core.MCCGSampler_get_version_info(self)
6795 """__str__(MCCGSampler self) -> std::string"""
6796 return _IMP_core.MCCGSampler___str__(self)
6799 """__repr__(MCCGSampler self) -> std::string"""
6800 return _IMP_core.MCCGSampler___repr__(self)
6803 return _object_cast_to_MCCGSampler(o)
6804 get_from = staticmethod(get_from)
6806 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
6807 MCCGSampler_swigregister(MCCGSampler)
6810 """Proxy of C++ IMP::core::MinimumRestraint class"""
6811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6812 def __init__(self, *args):
6814 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
6815 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
6816 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
6818 this = _IMP_core.new_MinimumRestraint(*args)
6819 try: self.this.append(this)
6820 except: self.this = this
6821 def do_get_inputs(self):
6822 """do_get_inputs(MinimumRestraint self) -> IMP::kernel::ModelObjectsTemp"""
6823 return _IMP_core.MinimumRestraint_do_get_inputs(self)
6825 def get_version_info(self):
6826 """get_version_info(MinimumRestraint self) -> VersionInfo"""
6827 return _IMP_core.MinimumRestraint_get_version_info(self)
6829 def remove_restraint(self, *args):
6830 """remove_restraint(MinimumRestraint self, Restraint d)"""
6831 return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
6833 def remove_restraints(self, *args):
6834 """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
6835 return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
6837 def set_restraints(self, *args):
6838 """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
6839 return _IMP_core.MinimumRestraint_set_restraints(self, *args)
6841 def set_restraints_order(self, *args):
6842 """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
6843 return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
6846 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
6847 return _IMP_core.MinimumRestraint_add_restraint(self, *args)
6850 """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
6851 return _IMP_core.MinimumRestraint_add_restraints(self, *args)
6853 def clear_restraints(self):
6854 """clear_restraints(MinimumRestraint self)"""
6855 return _IMP_core.MinimumRestraint_clear_restraints(self)
6857 def get_number_of_restraints(self):
6858 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
6859 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
6861 def get_has_restraints(self):
6862 """get_has_restraints(MinimumRestraint self) -> bool"""
6863 return _IMP_core.MinimumRestraint_get_has_restraints(self)
6865 def get_restraint(self, *args):
6866 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
6867 return _IMP_core.MinimumRestraint_get_restraint(self, *args)
6870 """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
6871 return _IMP_core.MinimumRestraint_get_restraints(self)
6873 def reserve_restraints(self, *args):
6874 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
6875 return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
6878 """__str__(MinimumRestraint self) -> std::string"""
6879 return _IMP_core.MinimumRestraint___str__(self)
6882 """__repr__(MinimumRestraint self) -> std::string"""
6883 return _IMP_core.MinimumRestraint___repr__(self)
6886 return _object_cast_to_MinimumRestraint(o)
6887 get_from = staticmethod(get_from)
6889 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
6890 MinimumRestraint_swigregister(MinimumRestraint)
6892 class Gaussian(RigidBody):
6893 """Proxy of C++ IMP::core::Gaussian class"""
6894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6895 def __init__(self, *args):
6897 __init__(IMP::core::Gaussian self) -> Gaussian
6898 __init__(IMP::core::Gaussian self, Model m, ::IMP::kernel::ParticleIndex id) -> Gaussian
6899 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
6901 this = _IMP_core.new_Gaussian(*args)
6902 try: self.this.append(this)
6903 except: self.this = this
6904 def show(self, *args):
6906 show(Gaussian self, _ostream out=std::cout)
6909 return _IMP_core.Gaussian_show(self, *args)
6911 def setup_particle(*args):
6913 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
6914 setup_particle(_ParticleAdaptor decorator) -> Gaussian
6915 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
6916 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
6918 return _IMP_core.Gaussian_setup_particle(*args)
6920 setup_particle = staticmethod(setup_particle)
6921 def get_local_covariance_key():
6922 """get_local_covariance_key() -> ObjectKey"""
6923 return _IMP_core.Gaussian_get_local_covariance_key()
6925 get_local_covariance_key = staticmethod(get_local_covariance_key)
6926 def get_global_covariance_key():
6927 """get_global_covariance_key() -> ObjectKey"""
6928 return _IMP_core.Gaussian_get_global_covariance_key()
6930 get_global_covariance_key = staticmethod(get_global_covariance_key)
6931 def get_is_setup(*args):
6933 get_is_setup(_ParticleAdaptor p) -> bool
6934 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6936 return _IMP_core.Gaussian_get_is_setup(*args)
6938 get_is_setup = staticmethod(get_is_setup)
6939 def get_local_covariance(self):
6940 """get_local_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
6941 return _IMP_core.Gaussian_get_local_covariance(self)
6943 def get_variances(self):
6944 """get_variances(Gaussian self) -> Vector3D"""
6945 return _IMP_core.Gaussian_get_variances(self)
6947 def get_global_covariance(self):
6948 """get_global_covariance(Gaussian self) -> IMP_Eigen::Matrix3d"""
6949 return _IMP_core.Gaussian_get_global_covariance(self)
6951 def get_gaussian(self):
6952 """get_gaussian(Gaussian self) -> Gaussian3D"""
6953 return _IMP_core.Gaussian_get_gaussian(self)
6955 def set_local_covariance(self, *args):
6956 """set_local_covariance(Gaussian self, IMP_Eigen::Vector3d const covar)"""
6957 return _IMP_core.Gaussian_set_local_covariance(self, *args)
6959 def set_variances(self, *args):
6960 """set_variances(Gaussian self, Vector3D v)"""
6961 return _IMP_core.Gaussian_set_variances(self, *args)
6963 def set_global_covariance(self, *args):
6964 """set_global_covariance(Gaussian self, IMP_Eigen::Matrix3d covar)"""
6965 return _IMP_core.Gaussian_set_global_covariance(self, *args)
6967 def update_global_covariance(self):
6968 """update_global_covariance(Gaussian self)"""
6969 return _IMP_core.Gaussian_update_global_covariance(self)
6971 def add_attribute(self, *args):
6973 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
6974 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
6975 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
6976 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
6977 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
6978 add_attribute(Gaussian self, ObjectKey a0, Object a1)
6980 return _IMP_core.Gaussian_add_attribute(self, *args)
6982 def get_value(self, *args):
6984 get_value(Gaussian self, FloatKey a0) -> IMP::Float
6985 get_value(Gaussian self, IntKey a0) -> IMP::Int
6986 get_value(Gaussian self, StringKey a0) -> IMP::String
6987 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
6988 get_value(Gaussian self, ObjectKey a0) -> Object
6990 return _IMP_core.Gaussian_get_value(self, *args)
6992 def set_value(self, *args):
6994 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
6995 set_value(Gaussian self, IntKey a0, IMP::Int a1)
6996 set_value(Gaussian self, StringKey a0, IMP::String a1)
6997 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
6998 set_value(Gaussian self, ObjectKey a0, Object a1)
7000 return _IMP_core.Gaussian_set_value(self, *args)
7002 def remove_attribute(self, *args):
7004 remove_attribute(Gaussian self, FloatKey a0)
7005 remove_attribute(Gaussian self, IntKey a0)
7006 remove_attribute(Gaussian self, StringKey a0)
7007 remove_attribute(Gaussian self, ParticleIndexKey a0)
7008 remove_attribute(Gaussian self, ObjectKey a0)
7010 return _IMP_core.Gaussian_remove_attribute(self, *args)
7012 def has_attribute(self, *args):
7014 has_attribute(Gaussian self, FloatKey a0) -> bool
7015 has_attribute(Gaussian self, IntKey a0) -> bool
7016 has_attribute(Gaussian self, StringKey a0) -> bool
7017 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
7018 has_attribute(Gaussian self, ObjectKey a0) -> bool
7020 return _IMP_core.Gaussian_has_attribute(self, *args)
7022 def get_derivative(self, *args):
7023 """get_derivative(Gaussian self, FloatKey a0) -> double"""
7024 return _IMP_core.Gaussian_get_derivative(self, *args)
7027 """get_name(Gaussian self) -> std::string"""
7028 return _IMP_core.Gaussian_get_name(self)
7030 def clear_caches(self):
7031 """clear_caches(Gaussian self)"""
7032 return _IMP_core.Gaussian_clear_caches(self)
7034 def set_name(self, *args):
7035 """set_name(Gaussian self, std::string a0)"""
7036 return _IMP_core.Gaussian_set_name(self, *args)
7039 """set_check_level(Gaussian self, IMP::base::CheckLevel a0)"""
7040 return _IMP_core.Gaussian_set_check_level(self, *args)
7042 def add_to_derivative(self, *args):
7043 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7044 return _IMP_core.Gaussian_add_to_derivative(self, *args)
7046 def set_is_optimized(self, *args):
7047 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
7048 return _IMP_core.Gaussian_set_is_optimized(self, *args)
7050 def get_is_optimized(self, *args):
7051 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
7052 return _IMP_core.Gaussian_get_is_optimized(self, *args)
7055 """get_check_level(Gaussian self) -> IMP::base::CheckLevel"""
7056 return _IMP_core.Gaussian_get_check_level(self)
7058 def __eq__(self, *args):
7060 __eq__(Gaussian self, Gaussian o) -> bool
7061 __eq__(Gaussian self, Particle d) -> bool
7063 return _IMP_core.Gaussian___eq__(self, *args)
7065 def __ne__(self, *args):
7067 __ne__(Gaussian self, Gaussian o) -> bool
7068 __ne__(Gaussian self, Particle d) -> bool
7070 return _IMP_core.Gaussian___ne__(self, *args)
7072 def __le__(self, *args):
7074 __le__(Gaussian self, Gaussian o) -> bool
7075 __le__(Gaussian self, Particle d) -> bool
7077 return _IMP_core.Gaussian___le__(self, *args)
7079 def __lt__(self, *args):
7081 __lt__(Gaussian self, Gaussian o) -> bool
7082 __lt__(Gaussian self, Particle d) -> bool
7084 return _IMP_core.Gaussian___lt__(self, *args)
7086 def __ge__(self, *args):
7088 __ge__(Gaussian self, Gaussian o) -> bool
7089 __ge__(Gaussian self, Particle d) -> bool
7091 return _IMP_core.Gaussian___ge__(self, *args)
7093 def __gt__(self, *args):
7095 __gt__(Gaussian self, Gaussian o) -> bool
7096 __gt__(Gaussian self, Particle d) -> bool
7098 return _IMP_core.Gaussian___gt__(self, *args)
7101 """__hash__(Gaussian self) -> std::size_t"""
7102 return _IMP_core.Gaussian___hash__(self)
7105 """__str__(Gaussian self) -> std::string"""
7106 return _IMP_core.Gaussian___str__(self)
7109 """__repr__(Gaussian self) -> std::string"""
7110 return _IMP_core.Gaussian___repr__(self)
7112 __swig_destroy__ = _IMP_core.delete_Gaussian
7113 __del__ =
lambda self :
None;
7114 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
7115 Gaussian_swigregister(Gaussian)
7117 def Gaussian_setup_particle(*args):
7119 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Gaussian
7120 setup_particle(_ParticleAdaptor decorator) -> Gaussian
7121 setup_particle(Model m, IMP::kernel::ParticleIndex pi, Gaussian3D g) -> Gaussian
7122 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
7124 return _IMP_core.Gaussian_setup_particle(*args)
7126 def Gaussian_get_local_covariance_key():
7127 """Gaussian_get_local_covariance_key() -> ObjectKey"""
7128 return _IMP_core.Gaussian_get_local_covariance_key()
7130 def Gaussian_get_global_covariance_key():
7131 """Gaussian_get_global_covariance_key() -> ObjectKey"""
7132 return _IMP_core.Gaussian_get_global_covariance_key()
7134 def Gaussian_get_is_setup(*args):
7136 get_is_setup(_ParticleAdaptor p) -> bool
7137 Gaussian_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
7139 return _IMP_core.Gaussian_get_is_setup(*args)
7142 """Proxy of C++ IMP::core::PairRestraint class"""
7143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7144 def __init__(self, *args):
7146 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7147 __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7148 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7149 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::kernel::ParticleIndexPair const & vt) -> PairRestraint
7151 this = _IMP_core.new_PairRestraint(*args)
7152 try: self.this.append(this)
7153 except: self.this = this
7154 def get_version_info(self):
7155 """get_version_info(PairRestraint self) -> VersionInfo"""
7156 return _IMP_core.PairRestraint_get_version_info(self)
7159 """__str__(PairRestraint self) -> std::string"""
7160 return _IMP_core.PairRestraint___str__(self)
7163 """__repr__(PairRestraint self) -> std::string"""
7164 return _IMP_core.PairRestraint___repr__(self)
7167 return _object_cast_to_PairRestraint(o)
7168 get_from = staticmethod(get_from)
7170 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7171 PairRestraint_swigregister(PairRestraint)
7174 """Proxy of C++ IMP::core::SingletonRestraint class"""
7175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7176 def __init__(self, *args):
7178 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7179 __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7180 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7181 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, IMP::kernel::ParticleIndex vt) -> SingletonRestraint
7183 this = _IMP_core.new_SingletonRestraint(*args)
7184 try: self.this.append(this)
7185 except: self.this = this
7186 def get_version_info(self):
7187 """get_version_info(SingletonRestraint self) -> VersionInfo"""
7188 return _IMP_core.SingletonRestraint_get_version_info(self)
7191 """__str__(SingletonRestraint self) -> std::string"""
7192 return _IMP_core.SingletonRestraint___str__(self)
7195 """__repr__(SingletonRestraint self) -> std::string"""
7196 return _IMP_core.SingletonRestraint___repr__(self)
7199 return _object_cast_to_SingletonRestraint(o)
7200 get_from = staticmethod(get_from)
7202 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7203 SingletonRestraint_swigregister(SingletonRestraint)
7206 """Proxy of C++ IMP::core::TripletRestraint class"""
7207 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7208 def __init__(self, *args):
7210 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7211 __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7212 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7213 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletRestraint
7215 this = _IMP_core.new_TripletRestraint(*args)
7216 try: self.this.append(this)
7217 except: self.this = this
7218 def get_version_info(self):
7219 """get_version_info(TripletRestraint self) -> VersionInfo"""
7220 return _IMP_core.TripletRestraint_get_version_info(self)
7223 """__str__(TripletRestraint self) -> std::string"""
7224 return _IMP_core.TripletRestraint___str__(self)
7227 """__repr__(TripletRestraint self) -> std::string"""
7228 return _IMP_core.TripletRestraint___repr__(self)
7231 return _object_cast_to_TripletRestraint(o)
7232 get_from = staticmethod(get_from)
7234 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7235 TripletRestraint_swigregister(TripletRestraint)
7238 """Proxy of C++ IMP::core::QuadRestraint class"""
7239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7240 def __init__(self, *args):
7242 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7243 __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7244 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7245 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::kernel::ParticleIndexQuad const & vt) -> QuadRestraint
7247 this = _IMP_core.new_QuadRestraint(*args)
7248 try: self.this.append(this)
7249 except: self.this = this
7250 def get_version_info(self):
7251 """get_version_info(QuadRestraint self) -> VersionInfo"""
7252 return _IMP_core.QuadRestraint_get_version_info(self)
7255 """__str__(QuadRestraint self) -> std::string"""
7256 return _IMP_core.QuadRestraint___str__(self)
7259 """__repr__(QuadRestraint self) -> std::string"""
7260 return _IMP_core.QuadRestraint___repr__(self)
7263 return _object_cast_to_QuadRestraint(o)
7264 get_from = staticmethod(get_from)
7266 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7267 QuadRestraint_swigregister(QuadRestraint)
7270 """Proxy of C++ IMP::core::SingletonConstraint class"""
7271 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7272 def __init__(self, *args):
7274 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7275 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7276 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt,
7277 std::string name="SingletonConstraint %1%") -> SingletonConstraint
7278 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt) -> SingletonConstraint
7280 this = _IMP_core.new_SingletonConstraint(*args)
7281 try: self.this.append(this)
7282 except: self.this = this
7283 def get_version_info(self):
7284 """get_version_info(SingletonConstraint self) -> VersionInfo"""
7285 return _IMP_core.SingletonConstraint_get_version_info(self)
7288 """__str__(SingletonConstraint self) -> std::string"""
7289 return _IMP_core.SingletonConstraint___str__(self)
7292 """__repr__(SingletonConstraint self) -> std::string"""
7293 return _IMP_core.SingletonConstraint___repr__(self)
7296 return _object_cast_to_SingletonConstraint(o)
7297 get_from = staticmethod(get_from)
7299 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
7300 SingletonConstraint_swigregister(SingletonConstraint)
7303 """Proxy of C++ IMP::core::PairConstraint class"""
7304 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7305 def __init__(self, *args):
7307 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
7308 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
7309 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt,
7310 std::string name="PairConstraint %1%") -> PairConstraint
7311 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt) -> PairConstraint
7313 this = _IMP_core.new_PairConstraint(*args)
7314 try: self.this.append(this)
7315 except: self.this = this
7316 def get_version_info(self):
7317 """get_version_info(PairConstraint self) -> VersionInfo"""
7318 return _IMP_core.PairConstraint_get_version_info(self)
7321 """__str__(PairConstraint self) -> std::string"""
7322 return _IMP_core.PairConstraint___str__(self)
7325 """__repr__(PairConstraint self) -> std::string"""
7326 return _IMP_core.PairConstraint___repr__(self)
7329 return _object_cast_to_PairConstraint(o)
7330 get_from = staticmethod(get_from)
7332 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
7333 PairConstraint_swigregister(PairConstraint)
7336 """Proxy of C++ IMP::core::TripletConstraint class"""
7337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7338 def __init__(self, *args):
7340 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
7341 std::string name="TripletConstraint %1%") -> TripletConstraint
7342 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
7343 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt,
7344 std::string name="TripletConstraint %1%") -> TripletConstraint
7345 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletConstraint
7347 this = _IMP_core.new_TripletConstraint(*args)
7348 try: self.this.append(this)
7349 except: self.this = this
7350 def get_version_info(self):
7351 """get_version_info(TripletConstraint self) -> VersionInfo"""
7352 return _IMP_core.TripletConstraint_get_version_info(self)
7355 """__str__(TripletConstraint self) -> std::string"""
7356 return _IMP_core.TripletConstraint___str__(self)
7359 """__repr__(TripletConstraint self) -> std::string"""
7360 return _IMP_core.TripletConstraint___repr__(self)
7363 return _object_cast_to_TripletConstraint(o)
7364 get_from = staticmethod(get_from)
7366 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
7367 TripletConstraint_swigregister(TripletConstraint)
7370 """Proxy of C++ IMP::core::QuadConstraint class"""
7371 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7372 def __init__(self, *args):
7374 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
7375 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
7376 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt,
7377 std::string name="QuadConstraint %1%") -> QuadConstraint
7378 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> QuadConstraint
7380 this = _IMP_core.new_QuadConstraint(*args)
7381 try: self.this.append(this)
7382 except: self.this = this
7383 def get_version_info(self):
7384 """get_version_info(QuadConstraint self) -> VersionInfo"""
7385 return _IMP_core.QuadConstraint_get_version_info(self)
7388 """__str__(QuadConstraint self) -> std::string"""
7389 return _IMP_core.QuadConstraint___str__(self)
7392 """__repr__(QuadConstraint self) -> std::string"""
7393 return _IMP_core.QuadConstraint___repr__(self)
7396 return _object_cast_to_QuadConstraint(o)
7397 get_from = staticmethod(get_from)
7399 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
7400 QuadConstraint_swigregister(QuadConstraint)
7403 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
7404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7405 def __init__(self, *args):
7407 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
7408 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
7410 this = _IMP_core.new_ConstantSingletonPredicate(*args)
7411 try: self.this.append(this)
7412 except: self.this = this
7413 def do_get_inputs(self, *args):
7414 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7415 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, *args)
7417 def get_value(self, *args):
7419 get_value(ConstantSingletonPredicate self, Particle a) -> int
7420 get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7422 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
7424 def get_value_index(self, *args):
7426 get_value_index(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
7427 get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7429 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
7431 def get_version_info(self):
7432 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
7433 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
7436 """__str__(ConstantSingletonPredicate self) -> std::string"""
7437 return _IMP_core.ConstantSingletonPredicate___str__(self)
7440 """__repr__(ConstantSingletonPredicate self) -> std::string"""
7441 return _IMP_core.ConstantSingletonPredicate___repr__(self)
7444 return _object_cast_to_ConstantSingletonPredicate(o)
7445 get_from = staticmethod(get_from)
7447 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
7448 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
7451 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
7452 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7453 def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
7455 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
7456 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
7458 this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
7459 try: self.this.append(this)
7460 except: self.this = this
7461 def do_get_inputs(self, *args):
7462 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7463 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, *args)
7465 def get_value(self, *args):
7467 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
7468 get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7470 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
7472 def get_value_index(self, *args):
7474 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
7475 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7477 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
7479 def get_version_info(self):
7480 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
7481 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
7484 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
7485 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
7488 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
7489 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
7492 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
7493 get_from = staticmethod(get_from)
7495 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
7496 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
7499 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
7500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7501 def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
7503 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
7504 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
7506 this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
7507 try: self.this.append(this)
7508 except: self.this = this
7509 def do_get_inputs(self, *args):
7510 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7511 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, *args)
7513 def get_value(self, *args):
7515 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
7516 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
7517 get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7519 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
7521 def get_value_index(self, *args):
7523 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
7524 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7526 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
7528 def get_version_info(self):
7529 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
7530 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
7533 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
7534 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
7537 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
7538 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
7541 return _object_cast_to_OrderedTypeSingletonPredicate(o)
7542 get_from = staticmethod(get_from)
7544 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
7545 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
7548 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
7549 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7550 def __init__(self, name="AllSameSingletonPredicate%1%"):
7552 __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
7553 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
7555 this = _IMP_core.new_AllSameSingletonPredicate(name)
7556 try: self.this.append(this)
7557 except: self.this = this
7558 def do_get_inputs(self, *args):
7559 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7560 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, *args)
7562 def get_value(self, *args):
7564 get_value(AllSameSingletonPredicate self, Particle a) -> int
7565 get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7567 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
7569 def get_value_index(self, *args):
7571 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
7572 get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7574 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
7576 def get_version_info(self):
7577 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
7578 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
7581 """__str__(AllSameSingletonPredicate self) -> std::string"""
7582 return _IMP_core.AllSameSingletonPredicate___str__(self)
7585 """__repr__(AllSameSingletonPredicate self) -> std::string"""
7586 return _IMP_core.AllSameSingletonPredicate___repr__(self)
7589 return _object_cast_to_AllSameSingletonPredicate(o)
7590 get_from = staticmethod(get_from)
7592 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
7593 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
7596 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
7597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7598 def __init__(self, *args):
7600 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
7601 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
7603 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
7604 try: self.this.append(this)
7605 except: self.this = this
7606 def do_get_inputs(self, *args):
7607 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7608 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, *args)
7610 def get_value(self, *args):
7612 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
7613 get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
7615 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
7617 def get_value_index(self, *args):
7619 get_value_index(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
7620 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
7622 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
7624 def get_version_info(self):
7625 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
7626 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
7629 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
7630 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
7633 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
7634 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
7637 return _object_cast_to_CoinFlipSingletonPredicate(o)
7638 get_from = staticmethod(get_from)
7640 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
7641 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
7644 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
7645 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7646 def __init__(self, *args):
7648 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
7649 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
7651 this = _IMP_core.new_ConstantPairPredicate(*args)
7652 try: self.this.append(this)
7653 except: self.this = this
7654 def do_get_inputs(self, *args):
7655 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7656 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, *args)
7658 def get_value(self, *args):
7660 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
7661 get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
7663 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
7665 def get_value_index(self, *args):
7667 get_value_index(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
7668 get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
7670 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
7672 def get_version_info(self):
7673 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
7674 return _IMP_core.ConstantPairPredicate_get_version_info(self)
7677 """__str__(ConstantPairPredicate self) -> std::string"""
7678 return _IMP_core.ConstantPairPredicate___str__(self)
7681 """__repr__(ConstantPairPredicate self) -> std::string"""
7682 return _IMP_core.ConstantPairPredicate___repr__(self)
7685 return _object_cast_to_ConstantPairPredicate(o)
7686 get_from = staticmethod(get_from)
7688 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
7689 ConstantPairPredicate_swigregister(ConstantPairPredicate)
7692 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
7693 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7694 def __init__(self, name="UnorderedTypePairPredicate%1%"):
7696 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
7697 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
7699 this = _IMP_core.new_UnorderedTypePairPredicate(name)
7700 try: self.this.append(this)
7701 except: self.this = this
7702 def do_get_inputs(self, *args):
7703 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7704 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, *args)
7706 def get_value(self, *args):
7708 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
7709 get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
7711 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
7713 def get_value_index(self, *args):
7715 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
7716 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
7718 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
7720 def get_version_info(self):
7721 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
7722 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
7725 """__str__(UnorderedTypePairPredicate self) -> std::string"""
7726 return _IMP_core.UnorderedTypePairPredicate___str__(self)
7729 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
7730 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
7733 return _object_cast_to_UnorderedTypePairPredicate(o)
7734 get_from = staticmethod(get_from)
7736 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
7737 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
7740 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
7741 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7742 def __init__(self, name="OrderedTypePairPredicate%1%"):
7744 __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
7745 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
7747 this = _IMP_core.new_OrderedTypePairPredicate(name)
7748 try: self.this.append(this)
7749 except: self.this = this
7750 def do_get_inputs(self, *args):
7751 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7752 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, *args)
7754 def get_value(self, *args):
7756 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
7757 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
7758 get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
7760 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
7762 def get_value_index(self, *args):
7764 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
7765 get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
7767 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
7769 def get_version_info(self):
7770 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
7771 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
7774 """__str__(OrderedTypePairPredicate self) -> std::string"""
7775 return _IMP_core.OrderedTypePairPredicate___str__(self)
7778 """__repr__(OrderedTypePairPredicate self) -> std::string"""
7779 return _IMP_core.OrderedTypePairPredicate___repr__(self)
7782 return _object_cast_to_OrderedTypePairPredicate(o)
7783 get_from = staticmethod(get_from)
7785 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
7786 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
7789 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
7790 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7791 def __init__(self, name="AllSamePairPredicate%1%"):
7793 __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
7794 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
7796 this = _IMP_core.new_AllSamePairPredicate(name)
7797 try: self.this.append(this)
7798 except: self.this = this
7799 def do_get_inputs(self, *args):
7800 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7801 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, *args)
7803 def get_value(self, *args):
7805 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
7806 get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
7808 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
7810 def get_value_index(self, *args):
7812 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
7813 get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
7815 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
7817 def get_version_info(self):
7818 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
7819 return _IMP_core.AllSamePairPredicate_get_version_info(self)
7822 """__str__(AllSamePairPredicate self) -> std::string"""
7823 return _IMP_core.AllSamePairPredicate___str__(self)
7826 """__repr__(AllSamePairPredicate self) -> std::string"""
7827 return _IMP_core.AllSamePairPredicate___repr__(self)
7830 return _object_cast_to_AllSamePairPredicate(o)
7831 get_from = staticmethod(get_from)
7833 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
7834 AllSamePairPredicate_swigregister(AllSamePairPredicate)
7837 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
7838 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7839 def __init__(self, *args):
7841 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
7842 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
7844 this = _IMP_core.new_CoinFlipPairPredicate(*args)
7845 try: self.this.append(this)
7846 except: self.this = this
7847 def do_get_inputs(self, *args):
7848 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7849 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, *args)
7851 def get_value(self, *args):
7853 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
7854 get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
7856 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
7858 def get_value_index(self, *args):
7860 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
7861 get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
7863 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
7865 def get_version_info(self):
7866 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
7867 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
7870 """__str__(CoinFlipPairPredicate self) -> std::string"""
7871 return _IMP_core.CoinFlipPairPredicate___str__(self)
7874 """__repr__(CoinFlipPairPredicate self) -> std::string"""
7875 return _IMP_core.CoinFlipPairPredicate___repr__(self)
7878 return _object_cast_to_CoinFlipPairPredicate(o)
7879 get_from = staticmethod(get_from)
7881 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
7882 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
7885 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
7886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7887 def __init__(self, *args):
7889 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
7890 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
7892 this = _IMP_core.new_ConstantTripletPredicate(*args)
7893 try: self.this.append(this)
7894 except: self.this = this
7895 def do_get_inputs(self, *args):
7896 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
7897 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, *args)
7899 def get_value(self, *args):
7901 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
7902 get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
7904 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
7906 def get_value_index(self, *args):
7908 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
7909 get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
7911 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
7913 def get_version_info(self):
7914 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
7915 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
7918 """__str__(ConstantTripletPredicate self) -> std::string"""
7919 return _IMP_core.ConstantTripletPredicate___str__(self)
7922 """__repr__(ConstantTripletPredicate self) -> std::string"""
7923 return _IMP_core.ConstantTripletPredicate___repr__(self)
7926 return _object_cast_to_ConstantTripletPredicate(o)
7927 get_from = staticmethod(get_from)
7929 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
7930 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
7933 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
7934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7935 def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
7937 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
7938 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
7940 this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
7941 try: self.this.append(this)
7942 except: self.this = this
7943 def do_get_inputs(self, *args):
7944 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7945 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, *args)
7947 def get_value(self, *args):
7949 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
7950 get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
7952 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
7954 def get_value_index(self, *args):
7956 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
7957 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
7959 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
7961 def get_version_info(self):
7962 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
7963 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
7966 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
7967 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
7970 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
7971 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
7974 return _object_cast_to_UnorderedTypeTripletPredicate(o)
7975 get_from = staticmethod(get_from)
7977 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
7978 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
7981 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
7982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7983 def __init__(self, name="OrderedTypeTripletPredicate%1%"):
7985 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
7986 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
7988 this = _IMP_core.new_OrderedTypeTripletPredicate(name)
7989 try: self.this.append(this)
7990 except: self.this = this
7991 def do_get_inputs(self, *args):
7992 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7993 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, *args)
7995 def get_value(self, *args):
7997 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
7998 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
7999 get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8001 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8003 def get_value_index(self, *args):
8005 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8006 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8008 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8010 def get_version_info(self):
8011 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8012 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8015 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8016 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8019 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8020 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8023 return _object_cast_to_OrderedTypeTripletPredicate(o)
8024 get_from = staticmethod(get_from)
8026 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8027 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8030 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8031 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8032 def __init__(self, name="AllSameTripletPredicate%1%"):
8034 __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8035 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8037 this = _IMP_core.new_AllSameTripletPredicate(name)
8038 try: self.this.append(this)
8039 except: self.this = this
8040 def do_get_inputs(self, *args):
8041 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8042 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, *args)
8044 def get_value(self, *args):
8046 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8047 get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8049 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8051 def get_value_index(self, *args):
8053 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8054 get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8056 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8058 def get_version_info(self):
8059 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8060 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8063 """__str__(AllSameTripletPredicate self) -> std::string"""
8064 return _IMP_core.AllSameTripletPredicate___str__(self)
8067 """__repr__(AllSameTripletPredicate self) -> std::string"""
8068 return _IMP_core.AllSameTripletPredicate___repr__(self)
8071 return _object_cast_to_AllSameTripletPredicate(o)
8072 get_from = staticmethod(get_from)
8074 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8075 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8078 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8079 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8080 def __init__(self, *args):
8082 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8083 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8085 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8086 try: self.this.append(this)
8087 except: self.this = this
8088 def do_get_inputs(self, *args):
8089 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8090 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, *args)
8092 def get_value(self, *args):
8094 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8095 get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8097 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8099 def get_value_index(self, *args):
8101 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8102 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8104 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8106 def get_version_info(self):
8107 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8108 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8111 """__str__(CoinFlipTripletPredicate self) -> std::string"""
8112 return _IMP_core.CoinFlipTripletPredicate___str__(self)
8115 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8116 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8119 return _object_cast_to_CoinFlipTripletPredicate(o)
8120 get_from = staticmethod(get_from)
8122 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8123 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8126 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8127 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8128 def __init__(self, *args):
8130 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8131 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8133 this = _IMP_core.new_ConstantQuadPredicate(*args)
8134 try: self.this.append(this)
8135 except: self.this = this
8136 def do_get_inputs(self, *args):
8137 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8138 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, *args)
8140 def get_value(self, *args):
8142 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8143 get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8145 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8147 def get_value_index(self, *args):
8149 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8150 get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8152 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8154 def get_version_info(self):
8155 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
8156 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
8159 """__str__(ConstantQuadPredicate self) -> std::string"""
8160 return _IMP_core.ConstantQuadPredicate___str__(self)
8163 """__repr__(ConstantQuadPredicate self) -> std::string"""
8164 return _IMP_core.ConstantQuadPredicate___repr__(self)
8167 return _object_cast_to_ConstantQuadPredicate(o)
8168 get_from = staticmethod(get_from)
8170 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
8171 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
8174 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
8175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8176 def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
8178 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
8179 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
8181 this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
8182 try: self.this.append(this)
8183 except: self.this = this
8184 def do_get_inputs(self, *args):
8185 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8186 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, *args)
8188 def get_value(self, *args):
8190 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8191 get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8193 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
8195 def get_value_index(self, *args):
8197 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8198 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8200 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
8202 def get_version_info(self):
8203 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
8204 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
8207 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
8208 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
8211 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
8212 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
8215 return _object_cast_to_UnorderedTypeQuadPredicate(o)
8216 get_from = staticmethod(get_from)
8218 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
8219 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
8222 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
8223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8224 def __init__(self, name="OrderedTypeQuadPredicate%1%"):
8226 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
8227 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
8229 this = _IMP_core.new_OrderedTypeQuadPredicate(name)
8230 try: self.this.append(this)
8231 except: self.this = this
8232 def do_get_inputs(self, *args):
8233 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8234 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, *args)
8236 def get_value(self, *args):
8238 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
8239 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8240 get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8242 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
8244 def get_value_index(self, *args):
8246 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8247 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8249 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
8251 def get_version_info(self):
8252 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
8253 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
8256 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
8257 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
8260 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
8261 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
8264 return _object_cast_to_OrderedTypeQuadPredicate(o)
8265 get_from = staticmethod(get_from)
8267 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
8268 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
8271 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
8272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8273 def __init__(self, name="AllSameQuadPredicate%1%"):
8275 __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
8276 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
8278 this = _IMP_core.new_AllSameQuadPredicate(name)
8279 try: self.this.append(this)
8280 except: self.this = this
8281 def do_get_inputs(self, *args):
8282 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8283 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, *args)
8285 def get_value(self, *args):
8287 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8288 get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8290 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
8292 def get_value_index(self, *args):
8294 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
8295 get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8297 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
8299 def get_version_info(self):
8300 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
8301 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
8304 """__str__(AllSameQuadPredicate self) -> std::string"""
8305 return _IMP_core.AllSameQuadPredicate___str__(self)
8308 """__repr__(AllSameQuadPredicate self) -> std::string"""
8309 return _IMP_core.AllSameQuadPredicate___repr__(self)
8312 return _object_cast_to_AllSameQuadPredicate(o)
8313 get_from = staticmethod(get_from)
8315 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
8316 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
8319 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
8320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8321 def __init__(self, *args):
8323 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
8324 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
8326 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
8327 try: self.this.append(this)
8328 except: self.this = this
8329 def do_get_inputs(self, *args):
8330 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8331 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, *args)
8333 def get_value(self, *args):
8335 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8336 get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8338 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
8340 def get_value_index(self, *args):
8342 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8343 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8345 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
8347 def get_version_info(self):
8348 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
8349 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
8352 """__str__(CoinFlipQuadPredicate self) -> std::string"""
8353 return _IMP_core.CoinFlipQuadPredicate___str__(self)
8356 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
8357 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
8360 return _object_cast_to_CoinFlipQuadPredicate(o)
8361 get_from = staticmethod(get_from)
8363 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
8364 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
8367 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
8368 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8369 def __init__(self, *args):
8371 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate
8372 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
8374 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
8375 try: self.this.append(this)
8376 except: self.this = this
8377 def do_get_inputs(self, *args):
8378 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
8379 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, *args)
8381 def get_value(self, *args):
8383 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
8384 get_value(InBoundingBox3DSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8386 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
8388 def get_value_index(self, *args):
8390 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8391 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8393 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
8395 def get_version_info(self):
8396 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
8397 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
8400 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
8401 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
8404 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
8405 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
8408 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
8409 get_from = staticmethod(get_from)
8411 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
8412 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
8415 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
8416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8417 def __init__(self, *args):
8419 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate
8420 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
8422 this = _IMP_core.new_AttributeSingletonPredicate(*args)
8423 try: self.this.append(this)
8424 except: self.this = this
8425 def do_get_inputs(self, *args):
8426 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
8427 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, *args)
8429 def get_value(self, *args):
8431 get_value(AttributeSingletonPredicate self, Particle a) -> int
8432 get_value(AttributeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8434 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
8436 def get_value_index(self, *args):
8438 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8439 get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8441 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
8443 def get_version_info(self):
8444 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
8445 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
8448 """__str__(AttributeSingletonPredicate self) -> std::string"""
8449 return _IMP_core.AttributeSingletonPredicate___str__(self)
8452 """__repr__(AttributeSingletonPredicate self) -> std::string"""
8453 return _IMP_core.AttributeSingletonPredicate___repr__(self)
8456 return _object_cast_to_AttributeSingletonPredicate(o)
8457 get_from = staticmethod(get_from)
8459 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
8460 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
8463 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
8464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8465 def __init__(self, name="CollisionPairPredicate%1%"):
8467 __init__(IMP::core::IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate
8468 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
8470 this = _IMP_core.new_IsCollisionPairPredicate(name)
8471 try: self.this.append(this)
8472 except: self.this = this
8473 def do_get_inputs(self, *args):
8474 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
8475 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, *args)
8477 def get_value(self, *args):
8479 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8480 get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8482 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
8484 def get_value_index(self, *args):
8486 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8487 get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8489 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
8491 def get_version_info(self):
8492 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
8493 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
8496 """__str__(IsCollisionPairPredicate self) -> std::string"""
8497 return _IMP_core.IsCollisionPairPredicate___str__(self)
8500 """__repr__(IsCollisionPairPredicate self) -> std::string"""
8501 return _IMP_core.IsCollisionPairPredicate___repr__(self)
8504 return _object_cast_to_IsCollisionPairPredicate(o)
8505 get_from = staticmethod(get_from)
8507 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
8508 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
8510 class AngleRestraint(TripletRestraint):
8511 """Proxy of C++ IMP::core::AngleRestraint class"""
8512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8513 def __init__(self, *args):
8515 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
8516 __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
8518 this = _IMP_core.new_AngleRestraint(*args)
8519 try: self.this.append(this)
8520 except: self.this = this
8522 """__str__(AngleRestraint self) -> std::string"""
8523 return _IMP_core.AngleRestraint___str__(self)
8526 """__repr__(AngleRestraint self) -> std::string"""
8527 return _IMP_core.AngleRestraint___repr__(self)
8530 return _object_cast_to_AngleRestraint(o)
8531 get_from = staticmethod(get_from)
8533 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
8534 AngleRestraint_swigregister(AngleRestraint)
8536 class RigidBodyMover(MonteCarloMover):
8537 """Proxy of C++ IMP::core::RigidBodyMover class"""
8538 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8539 def __init__(self, *args):
8541 __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
8542 __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
8544 this = _IMP_core.new_RigidBodyMover(*args)
8545 try: self.this.append(this)
8546 except: self.this = this
8547 def set_maximum_translation(self, *args):
8548 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
8549 return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
8551 def set_maximum_rotation(self, *args):
8552 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
8553 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
8555 def get_maximum_translation(self):
8556 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
8557 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
8559 def get_maximum_rotation(self):
8560 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
8561 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
8563 def get_version_info(self):
8564 """get_version_info(RigidBodyMover self) -> VersionInfo"""
8565 return _IMP_core.RigidBodyMover_get_version_info(self)
8568 """__str__(RigidBodyMover self) -> std::string"""
8569 return _IMP_core.RigidBodyMover___str__(self)
8572 """__repr__(RigidBodyMover self) -> std::string"""
8573 return _IMP_core.RigidBodyMover___repr__(self)
8576 return _object_cast_to_RigidBodyMover(o)
8577 get_from = staticmethod(get_from)
8579 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
8580 RigidBodyMover_swigregister(RigidBodyMover)
8582 class RigidBodyTunneler(MonteCarloMover):
8583 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
8584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8585 def __init__(self, *args):
8587 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndexes pis, IMP::kernel::ParticleIndex ref, double k,
8588 double move_probability=1.) -> RigidBodyTunneler
8589 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::kernel::ParticleIndexes pis, IMP::kernel::ParticleIndex ref, double k) -> RigidBodyTunneler
8591 this = _IMP_core.new_RigidBodyTunneler(*args)
8592 try: self.this.append(this)
8593 except: self.this = this
8594 def add_entry_point(self, *args):
8595 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
8596 return _IMP_core.RigidBodyTunneler_add_entry_point(self, *args)
8598 def reset_stats(self):
8599 """reset_stats(RigidBodyTunneler self)"""
8600 return _IMP_core.RigidBodyTunneler_reset_stats(self)
8602 def get_number_of_rejected_moves(self):
8603 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
8604 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
8606 def get_number_of_proposed_moves(self):
8607 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
8608 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
8610 def get_number_of_impossible_moves(self):
8611 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
8612 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
8614 def get_number_of_calls(self):
8615 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
8616 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
8618 def get_reduced_coordinates(*args):
8620 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
8621 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
8623 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
8625 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
8626 def set_reduced_coordinates(*args):
8627 """set_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref, IMP::Floats coords)"""
8628 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(*args)
8630 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
8631 def get_version_info(self):
8632 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
8633 return _IMP_core.RigidBodyTunneler_get_version_info(self)
8636 """__str__(RigidBodyTunneler self) -> std::string"""
8637 return _IMP_core.RigidBodyTunneler___str__(self)
8640 """__repr__(RigidBodyTunneler self) -> std::string"""
8641 return _IMP_core.RigidBodyTunneler___repr__(self)
8644 return _object_cast_to_RigidBodyTunneler(o)
8645 get_from = staticmethod(get_from)
8647 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
8648 RigidBodyTunneler_swigregister(RigidBodyTunneler)
8650 def RigidBodyTunneler_get_reduced_coordinates(*args):
8652 get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref) -> IMP::Floats
8653 RigidBodyTunneler_get_reduced_coordinates(Model m, IMP::kernel::ParticleIndex pi) -> IMP::Floats
8655 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
8657 def RigidBodyTunneler_set_reduced_coordinates(*args):
8658 """RigidBodyTunneler_set_reduced_coordinates(Model m, IMP::kernel::ParticleIndex target, IMP::kernel::ParticleIndex ref, IMP::Floats coords)"""
8659 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(*args)
8662 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
8663 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8664 def __init__(self, *args):
8666 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, IMP::Floats x0,
8667 double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
8668 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, IMP::Floats x0,
8669 double alpha, double k) -> RigidBodyUmbrella
8670 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, double _lambda,
8671 IMP::Floats x1, IMP::Floats x2, double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
8672 __init__(IMP::core::RigidBodyUmbrella self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndex ref, double _lambda,
8673 IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
8675 this = _IMP_core.new_RigidBodyUmbrella(*args)
8676 try: self.this.append(this)
8677 except: self.this = this
8678 def set_x0(self, *args):
8680 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
8681 set_x0(RigidBodyUmbrella self, double _lambda, IMP::Floats x1, IMP::Floats x2)
8683 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
8686 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
8687 return _IMP_core.RigidBodyUmbrella_get_x0(self)
8690 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
8691 return _IMP_core.RigidBodyUmbrella_get_x(self)
8693 def set_alpha(self, *args):
8694 """set_alpha(RigidBodyUmbrella self, double alpha)"""
8695 return _IMP_core.RigidBodyUmbrella_set_alpha(self, *args)
8697 def set_k(self, *args):
8698 """set_k(RigidBodyUmbrella self, double k)"""
8699 return _IMP_core.RigidBodyUmbrella_set_k(self, *args)
8701 def get_version_info(self):
8702 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
8703 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
8706 """__str__(RigidBodyUmbrella self) -> std::string"""
8707 return _IMP_core.RigidBodyUmbrella___str__(self)
8710 """__repr__(RigidBodyUmbrella self) -> std::string"""
8711 return _IMP_core.RigidBodyUmbrella___repr__(self)
8714 return _object_cast_to_RigidBodyUmbrella(o)
8715 get_from = staticmethod(get_from)
8717 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
8718 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
8721 """Proxy of C++ IMP::core::VolumeRestraint class"""
8722 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8723 def __init__(self, *args):
8724 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
8725 this = _IMP_core.new_VolumeRestraint(*args)
8726 try: self.this.append(this)
8727 except: self.this = this
8728 def do_get_inputs(self):
8729 """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
8730 return _IMP_core.VolumeRestraint_do_get_inputs(self)
8732 def get_version_info(self):
8733 """get_version_info(VolumeRestraint self) -> VersionInfo"""
8734 return _IMP_core.VolumeRestraint_get_version_info(self)
8737 """__str__(VolumeRestraint self) -> std::string"""
8738 return _IMP_core.VolumeRestraint___str__(self)
8741 """__repr__(VolumeRestraint self) -> std::string"""
8742 return _IMP_core.VolumeRestraint___repr__(self)
8745 return _object_cast_to_VolumeRestraint(o)
8746 get_from = staticmethod(get_from)
8748 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
8749 VolumeRestraint_swigregister(VolumeRestraint)
8753 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
8754 return _IMP_core.get_centroid(*args)
8756 def get_bounding_box(*args):
8757 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
8758 return _IMP_core.get_bounding_box(*args)
8760 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
8761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8762 def __init__(self, *args):
8763 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
8764 this = _IMP_core.new_MoveStatisticsScoreState(*args)
8765 try: self.this.append(this)
8766 except: self.this = this
8767 def show_statistics(self, *args):
8769 show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
8770 show_statistics(MoveStatisticsScoreState self)
8772 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
8775 """reset(MoveStatisticsScoreState self)"""
8776 return _IMP_core.MoveStatisticsScoreState_reset(self)
8778 def do_before_evaluate(self):
8779 """do_before_evaluate(MoveStatisticsScoreState self)"""
8780 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
8782 def do_after_evaluate(self, *args):
8783 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
8784 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, *args)
8786 def do_get_inputs(self):
8787 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
8788 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
8790 def do_get_outputs(self):
8791 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
8792 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
8794 def get_version_info(self):
8795 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
8796 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
8799 """__str__(MoveStatisticsScoreState self) -> std::string"""
8800 return _IMP_core.MoveStatisticsScoreState___str__(self)
8803 """__repr__(MoveStatisticsScoreState self) -> std::string"""
8804 return _IMP_core.MoveStatisticsScoreState___repr__(self)
8807 return _object_cast_to_MoveStatisticsScoreState(o)
8808 get_from = staticmethod(get_from)
8810 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
8811 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
8813 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
8815 """Proxy of C++ IMP::core::Typed class"""
8816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8818 """get_type_key() -> IntKey"""
8819 return _IMP_core.Typed_get_type_key()
8821 get_type_key = staticmethod(get_type_key)
8822 def __init__(self, *args):
8824 __init__(IMP::core::Typed self) -> Typed
8825 __init__(IMP::core::Typed self, Model m, ::IMP::kernel::ParticleIndex id) -> Typed
8826 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
8828 this = _IMP_core.new_Typed(*args)
8829 try: self.this.append(this)
8830 except: self.this = this
8831 def show(self, *args):
8833 show(Typed self, _ostream out=std::cout)
8836 return _IMP_core.Typed_show(self, *args)
8838 def setup_particle(*args):
8840 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
8841 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
8843 return _IMP_core.Typed_setup_particle(*args)
8845 setup_particle = staticmethod(setup_particle)
8846 def get_is_setup(*args):
8848 get_is_setup(_ParticleAdaptor p) -> bool
8849 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
8851 return _IMP_core.Typed_get_is_setup(*args)
8853 get_is_setup = staticmethod(get_is_setup)
8855 """get_type(Typed self) -> ParticleType"""
8856 return _IMP_core.Typed_get_type(self)
8858 def add_attribute(self, *args):
8860 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
8861 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
8862 add_attribute(Typed self, IntKey a0, IMP::Int a1)
8863 add_attribute(Typed self, StringKey a0, IMP::String a1)
8864 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
8865 add_attribute(Typed self, ObjectKey a0, Object a1)
8867 return _IMP_core.Typed_add_attribute(self, *args)
8869 def get_value(self, *args):
8871 get_value(Typed self, FloatKey a0) -> IMP::Float
8872 get_value(Typed self, IntKey a0) -> IMP::Int
8873 get_value(Typed self, StringKey a0) -> IMP::String
8874 get_value(Typed self, ParticleIndexKey a0) -> Particle
8875 get_value(Typed self, ObjectKey a0) -> Object
8877 return _IMP_core.Typed_get_value(self, *args)
8879 def set_value(self, *args):
8881 set_value(Typed self, FloatKey a0, IMP::Float a1)
8882 set_value(Typed self, IntKey a0, IMP::Int a1)
8883 set_value(Typed self, StringKey a0, IMP::String a1)
8884 set_value(Typed self, ParticleIndexKey a0, Particle a1)
8885 set_value(Typed self, ObjectKey a0, Object a1)
8887 return _IMP_core.Typed_set_value(self, *args)
8889 def remove_attribute(self, *args):
8891 remove_attribute(Typed self, FloatKey a0)
8892 remove_attribute(Typed self, IntKey a0)
8893 remove_attribute(Typed self, StringKey a0)
8894 remove_attribute(Typed self, ParticleIndexKey a0)
8895 remove_attribute(Typed self, ObjectKey a0)
8897 return _IMP_core.Typed_remove_attribute(self, *args)
8899 def has_attribute(self, *args):
8901 has_attribute(Typed self, FloatKey a0) -> bool
8902 has_attribute(Typed self, IntKey a0) -> bool
8903 has_attribute(Typed self, StringKey a0) -> bool
8904 has_attribute(Typed self, ParticleIndexKey a0) -> bool
8905 has_attribute(Typed self, ObjectKey a0) -> bool
8907 return _IMP_core.Typed_has_attribute(self, *args)
8909 def get_derivative(self, *args):
8910 """get_derivative(Typed self, FloatKey a0) -> double"""
8911 return _IMP_core.Typed_get_derivative(self, *args)
8914 """get_name(Typed self) -> std::string"""
8915 return _IMP_core.Typed_get_name(self)
8917 def clear_caches(self):
8918 """clear_caches(Typed self)"""
8919 return _IMP_core.Typed_clear_caches(self)
8921 def set_name(self, *args):
8922 """set_name(Typed self, std::string a0)"""
8923 return _IMP_core.Typed_set_name(self, *args)
8926 """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
8927 return _IMP_core.Typed_set_check_level(self, *args)
8929 def add_to_derivative(self, *args):
8930 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8931 return _IMP_core.Typed_add_to_derivative(self, *args)
8933 def set_is_optimized(self, *args):
8934 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
8935 return _IMP_core.Typed_set_is_optimized(self, *args)
8937 def get_is_optimized(self, *args):
8938 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
8939 return _IMP_core.Typed_get_is_optimized(self, *args)
8942 """get_check_level(Typed self) -> IMP::base::CheckLevel"""
8943 return _IMP_core.Typed_get_check_level(self)
8945 def __eq__(self, *args):
8947 __eq__(Typed self, Typed o) -> bool
8948 __eq__(Typed self, Particle d) -> bool
8950 return _IMP_core.Typed___eq__(self, *args)
8952 def __ne__(self, *args):
8954 __ne__(Typed self, Typed o) -> bool
8955 __ne__(Typed self, Particle d) -> bool
8957 return _IMP_core.Typed___ne__(self, *args)
8959 def __le__(self, *args):
8961 __le__(Typed self, Typed o) -> bool
8962 __le__(Typed self, Particle d) -> bool
8964 return _IMP_core.Typed___le__(self, *args)
8966 def __lt__(self, *args):
8968 __lt__(Typed self, Typed o) -> bool
8969 __lt__(Typed self, Particle d) -> bool
8971 return _IMP_core.Typed___lt__(self, *args)
8973 def __ge__(self, *args):
8975 __ge__(Typed self, Typed o) -> bool
8976 __ge__(Typed self, Particle d) -> bool
8978 return _IMP_core.Typed___ge__(self, *args)
8980 def __gt__(self, *args):
8982 __gt__(Typed self, Typed o) -> bool
8983 __gt__(Typed self, Particle d) -> bool
8985 return _IMP_core.Typed___gt__(self, *args)
8988 """__hash__(Typed self) -> std::size_t"""
8989 return _IMP_core.Typed___hash__(self)
8992 """__str__(Typed self) -> std::string"""
8993 return _IMP_core.Typed___str__(self)
8996 """__repr__(Typed self) -> std::string"""
8997 return _IMP_core.Typed___repr__(self)
8999 __swig_destroy__ = _IMP_core.delete_Typed
9000 __del__ =
lambda self :
None;
9001 Typed_swigregister = _IMP_core.Typed_swigregister
9002 Typed_swigregister(Typed)
9004 def Typed_get_type_key():
9005 """Typed_get_type_key() -> IntKey"""
9006 return _IMP_core.Typed_get_type_key()
9008 def Typed_setup_particle(*args):
9010 setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9011 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9013 return _IMP_core.Typed_setup_particle(*args)
9015 def Typed_get_is_setup(*args):
9017 get_is_setup(_ParticleAdaptor p) -> bool
9018 Typed_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9020 return _IMP_core.Typed_get_is_setup(*args)
9023 def __lshift__(*args):
9025 __lshift__(_ostream out, XYZ n) -> _ostream
9026 __lshift__(_ostream out, XYZR n) -> _ostream
9027 __lshift__(_ostream out, Centroid n) -> _ostream
9028 __lshift__(_ostream out, Cover n) -> _ostream
9029 __lshift__(_ostream out, Reference n) -> _ostream
9030 __lshift__(_ostream out, RigidMember n) -> _ostream
9031 __lshift__(_ostream out, RigidBody n) -> _ostream
9032 __lshift__(_ostream out, Gaussian n) -> _ostream
9033 __lshift__(_ostream out, Typed n) -> _ostream
9035 return _IMP_core.__lshift__(*args)
9037 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9038 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9039 def __init__(self, *args):
9040 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9041 this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9042 try: self.this.append(this)
9043 except: self.this = this
9044 def get_version_info(self):
9045 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9046 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9049 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9050 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9053 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9054 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9057 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9058 get_from = staticmethod(get_from)
9060 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9061 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9065 """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9066 return _IMP_core.assign_blame(*args)
9070 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9071 std::string name=std::string()) -> IMP::display::Geometries
9072 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9073 create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9075 return _IMP_core.create_blame_geometries(*args)
9079 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9080 get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9081 get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9083 return _IMP_core.get_transformation_aligning_first_to_second(*args)
9086 """create_restraint(PairScore ps, IMP::kernel::ParticlePair pp) -> Restraint"""
9087 return _IMP_core.create_restraint(*args)
9089 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9091 def __init__(self, *args):
9093 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9094 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9096 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9097 try: self.this.append(this)
9098 except: self.this = this
9099 def get_version_info(self):
9100 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9101 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9104 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9105 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9108 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9109 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9112 return _object_cast_to_TruncatedHarmonic(o)
9113 get_from = staticmethod(get_from)
9115 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9116 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9119 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9121 def __init__(self, *args):
9123 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9124 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9126 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9127 try: self.this.append(this)
9128 except: self.this = this
9129 def get_version_info(self):
9130 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9131 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9134 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9135 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9138 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9139 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9142 return _object_cast_to_TruncatedHarmonic(o)
9143 get_from = staticmethod(get_from)
9145 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9146 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9149 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9150 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9151 def __init__(self, *args):
9153 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9154 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9156 this = _IMP_core.new_TruncatedHarmonicBound(*args)
9157 try: self.this.append(this)
9158 except: self.this = this
9159 def get_version_info(self):
9160 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9161 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
9164 """__str__(TruncatedHarmonicBound self) -> std::string"""
9165 return _IMP_core.TruncatedHarmonicBound___str__(self)
9168 """__repr__(TruncatedHarmonicBound self) -> std::string"""
9169 return _IMP_core.TruncatedHarmonicBound___repr__(self)
9172 return _object_cast_to_TruncatedHarmonic(o)
9173 get_from = staticmethod(get_from)
9175 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
9176 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
9179 """Proxy of C++ IMP::Key<(34897493,true)> class"""
9180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9181 def __init__(self, *args):
9183 __init__(IMP::Key<(34897493,true)> self) -> ParticleType
9184 __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
9185 __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
9187 this = _IMP_core.new_ParticleType(*args)
9188 try: self.this.append(this)
9189 except: self.this = this
9191 """add_key(std::string sc) -> unsigned int"""
9192 return _IMP_core.ParticleType_add_key(*args)
9194 add_key = staticmethod(add_key)
9195 def get_key_exists(*args):
9196 """get_key_exists(std::string sc) -> bool"""
9197 return _IMP_core.ParticleType_get_key_exists(*args)
9199 get_key_exists = staticmethod(get_key_exists)
9200 def get_string(self):
9201 """get_string(ParticleType self) -> std::string const"""
9202 return _IMP_core.ParticleType_get_string(self)
9204 def __cmp__(self, *args):
9205 """__cmp__(ParticleType self, ParticleType o) -> int"""
9206 return _IMP_core.ParticleType___cmp__(self, *args)
9208 def __eq__(self, *args):
9209 """__eq__(ParticleType self, ParticleType o) -> bool"""
9210 return _IMP_core.ParticleType___eq__(self, *args)
9212 def __ne__(self, *args):
9213 """__ne__(ParticleType self, ParticleType o) -> bool"""
9214 return _IMP_core.ParticleType___ne__(self, *args)
9216 def __lt__(self, *args):
9217 """__lt__(ParticleType self, ParticleType o) -> bool"""
9218 return _IMP_core.ParticleType___lt__(self, *args)
9220 def __gt__(self, *args):
9221 """__gt__(ParticleType self, ParticleType o) -> bool"""
9222 return _IMP_core.ParticleType___gt__(self, *args)
9224 def __ge__(self, *args):
9225 """__ge__(ParticleType self, ParticleType o) -> bool"""
9226 return _IMP_core.ParticleType___ge__(self, *args)
9228 def __le__(self, *args):
9229 """__le__(ParticleType self, ParticleType o) -> bool"""
9230 return _IMP_core.ParticleType___le__(self, *args)
9233 """__hash__(ParticleType self) -> std::size_t"""
9234 return _IMP_core.ParticleType___hash__(self)
9236 def show(self, *args):
9238 show(ParticleType self, _ostream out=std::cout)
9239 show(ParticleType self)
9241 return _IMP_core.ParticleType_show(self, *args)
9243 def add_alias(*args):
9244 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9245 return _IMP_core.ParticleType_add_alias(*args)
9247 add_alias = staticmethod(add_alias)
9249 """get_index(ParticleType self) -> unsigned int"""
9250 return _IMP_core.ParticleType_get_index(self)
9252 def show_all(*args):
9253 """show_all(_ostream out)"""
9254 return _IMP_core.ParticleType_show_all(*args)
9256 show_all = staticmethod(show_all)
9257 def get_all_strings():
9258 """get_all_strings() -> IMP::base::Vector< std::string >"""
9259 return _IMP_core.ParticleType_get_all_strings()
9261 get_all_strings = staticmethod(get_all_strings)
9262 def get_number_unique():
9263 """get_number_unique() -> unsigned int"""
9264 return _IMP_core.ParticleType_get_number_unique()
9266 get_number_unique = staticmethod(get_number_unique)
9268 """__str__(ParticleType self) -> std::string"""
9269 return _IMP_core.ParticleType___str__(self)
9272 """__repr__(ParticleType self) -> std::string"""
9273 return _IMP_core.ParticleType___repr__(self)
9275 __swig_destroy__ = _IMP_core.delete_ParticleType
9276 __del__ =
lambda self :
None;
9277 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
9278 ParticleType_swigregister(ParticleType)
9280 def ParticleType_add_key(*args):
9281 """ParticleType_add_key(std::string sc) -> unsigned int"""
9282 return _IMP_core.ParticleType_add_key(*args)
9284 def ParticleType_get_key_exists(*args):
9285 """ParticleType_get_key_exists(std::string sc) -> bool"""
9286 return _IMP_core.ParticleType_get_key_exists(*args)
9288 def ParticleType_add_alias(*args):
9289 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
9290 return _IMP_core.ParticleType_add_alias(*args)
9292 def ParticleType_show_all(*args):
9293 """ParticleType_show_all(_ostream out)"""
9294 return _IMP_core.ParticleType_show_all(*args)
9296 def ParticleType_get_all_strings():
9297 """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
9298 return _IMP_core.ParticleType_get_all_strings()
9300 def ParticleType_get_number_unique():
9301 """ParticleType_get_number_unique() -> unsigned int"""
9302 return _IMP_core.ParticleType_get_number_unique()
9305 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
9306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9307 __repr__ = _swig_repr
9308 def __init__(self, *args):
9309 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
9310 this = _IMP_core.new_AttributeSingletonScore(*args)
9311 try: self.this.append(this)
9312 except: self.this = this
9313 def do_get_inputs(self, *args):
9314 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9315 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, *args)
9317 def get_version_info(self):
9318 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
9319 return _IMP_core.AttributeSingletonScore_get_version_info(self)
9321 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
9322 AttributeSingletonScore_swigregister(AttributeSingletonScore)
9326 """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
9327 return _IMP_core.create_attribute_singleton_score(*args)
9329 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
9330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9331 __repr__ = _swig_repr
9332 def __init__(self, *args):
9333 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
9334 this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
9335 try: self.this.append(this)
9336 except: self.this = this
9337 def do_get_inputs(self, *args):
9338 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9339 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, *args)
9341 def get_version_info(self):
9342 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
9343 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
9345 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
9346 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
9349 def create_bounding_box_3d_singleton_score(*args):
9350 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
9351 return _IMP_core.create_bounding_box_3d_singleton_score(*args)
9353 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
9354 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9355 __repr__ = _swig_repr
9356 def __init__(self, *args):
9357 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
9358 this = _IMP_core.new_DistanceToSingletonScore(*args)
9359 try: self.this.append(this)
9360 except: self.this = this
9361 def do_get_inputs(self, *args):
9362 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9363 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, *args)
9365 def get_version_info(self):
9366 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
9367 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
9369 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
9370 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
9373 def create_distance_to_singleton_score(*args):
9374 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
9375 return _IMP_core.create_distance_to_singleton_score(*args)
9377 def get_module_version():
9378 """get_module_version() -> std::string const"""
9379 return _IMP_core.get_module_version()
9382 """get_example_path(std::string fname) -> std::string"""
9383 return _IMP_core.get_example_path(*args)
9386 """get_data_path(std::string fname) -> std::string"""
9387 return _IMP_core.get_data_path(*args)
9388 from .
import _version_check
9389 _version_check.check_version(get_module_version())
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
Hierarchies get_leaves(Hierarchy h)
double get_kt(double T)
Return kT for a given temperature.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
A base class for geometry contained in particles.
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
algebra::ReferenceFrame3D get_initial_reference_frame(kernel::Model *m, const kernel::ParticleIndexes &pis)
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
Abstract predicate function.
void add_rigid_body_cache_key(ObjectKey k)
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
Represents a scoring function on the model.
Abstract single variable functor class for score functions.
ScoreStates maintain invariants in the Model.
Composable functors to implement scores via compile-time composition.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
A base class for modifiers of kernel::ParticlesTemp.
Abstract predicate function.
void assign_blame(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, FloatKey attribute)
Abstract class for scoring object(s) of type ParticlePair.
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
display::Geometries create_blame_geometries(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
Base functionality and abstract base classes for representation, scoring and sampling.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
A restraint is a term in an IMP ScoringFunction.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
void set_vector_geometry(C &g, const E &v)
Abstract predicate function.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Common base class for heavy weight IMP objects.
Base class for all optimizers.
Abstract predicate function.
Base class for optimizers that act on individual attributes.
Key< 34897493, true > ParticleType
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Abstract class for scoring object(s) of type Particle.
Base class for all samplers.
void show_rigid_body_hierarchy(RigidBody rb, base::TextOutput out=base::TextOutput(std::cout))
kernel::ParticlesTemp create_rigid_bodies(kernel::Model *m, unsigned int n, bool no_members=false)
kernel::ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Implement a constraint on the Model.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
CheckLevel get_check_level()
Get the current audit mode.
Output IMP model data in various file formats.
Abstract class to implement hierarchical methods.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
Abstract class for scoring object(s) of type ParticleTriplet.
kernel::Restraint * create_restraint(Score *s, Container *c, std::string name=std::string())
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
A specialization for the lower bound.
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)