9 from sys
import version_info
10 if version_info >= (2,6,0):
11 def swig_import_helper():
12 from os.path
import dirname
16 fp, pathname, description = imp.find_module(
'_IMP_misc', [dirname(__file__)])
22 _mod = imp.load_module(
'_IMP_misc', fp, pathname, description)
26 _IMP_misc = swig_import_helper()
27 del swig_import_helper
32 _swig_property = property
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36 if (name ==
"thisown"):
return self.this.own(value)
38 if type(value).__name__ ==
'SwigPyObject':
39 self.__dict__[name] = value
41 method = class_type.__swig_setmethods__.get(name,
None)
42 if method:
return method(self,value)
44 self.__dict__[name] = value
46 raise AttributeError(
"You cannot add attributes to %s" % self)
48 def _swig_setattr(self,class_type,name,value):
49 return _swig_setattr_nondynamic(self,class_type,name,value,0)
51 def _swig_getattr(self,class_type,name):
52 if (name ==
"thisown"):
return self.this.own()
53 method = class_type.__swig_getmethods__.get(name,
None)
54 if method:
return method(self)
55 raise AttributeError(name)
58 try: strthis =
"proxy of " + self.this.__repr__()
60 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
65 except AttributeError:
72 weakref_proxy = weakref.proxy
74 weakref_proxy =
lambda x: x
77 class IMP_MISC_SwigPyIterator(_object):
78 """Proxy of C++ swig::IMP_MISC_SwigPyIterator class"""
79 __swig_setmethods__ = {}
80 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_MISC_SwigPyIterator, name, value)
81 __swig_getmethods__ = {}
82 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_MISC_SwigPyIterator, name)
83 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
85 __swig_destroy__ = _IMP_misc.delete_IMP_MISC_SwigPyIterator
86 __del__ =
lambda self :
None;
88 """value(IMP_MISC_SwigPyIterator self) -> PyObject *"""
89 return _IMP_misc.IMP_MISC_SwigPyIterator_value(self)
93 incr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
94 incr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
96 return _IMP_misc.IMP_MISC_SwigPyIterator_incr(self, n)
100 decr(IMP_MISC_SwigPyIterator self, size_t n=1) -> IMP_MISC_SwigPyIterator
101 decr(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator
103 return _IMP_misc.IMP_MISC_SwigPyIterator_decr(self, n)
105 def distance(self, *args):
106 """distance(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t"""
107 return _IMP_misc.IMP_MISC_SwigPyIterator_distance(self, *args)
109 def equal(self, *args):
110 """equal(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
111 return _IMP_misc.IMP_MISC_SwigPyIterator_equal(self, *args)
114 """copy(IMP_MISC_SwigPyIterator self) -> IMP_MISC_SwigPyIterator"""
115 return _IMP_misc.IMP_MISC_SwigPyIterator_copy(self)
118 """next(IMP_MISC_SwigPyIterator self) -> PyObject *"""
119 return _IMP_misc.IMP_MISC_SwigPyIterator_next(self)
122 """__next__(IMP_MISC_SwigPyIterator self) -> PyObject *"""
123 return _IMP_misc.IMP_MISC_SwigPyIterator___next__(self)
126 """previous(IMP_MISC_SwigPyIterator self) -> PyObject *"""
127 return _IMP_misc.IMP_MISC_SwigPyIterator_previous(self)
129 def advance(self, *args):
130 """advance(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
131 return _IMP_misc.IMP_MISC_SwigPyIterator_advance(self, *args)
133 def __eq__(self, *args):
134 """__eq__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
135 return _IMP_misc.IMP_MISC_SwigPyIterator___eq__(self, *args)
137 def __ne__(self, *args):
138 """__ne__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> bool"""
139 return _IMP_misc.IMP_MISC_SwigPyIterator___ne__(self, *args)
141 def __iadd__(self, *args):
142 """__iadd__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
143 return _IMP_misc.IMP_MISC_SwigPyIterator___iadd__(self, *args)
145 def __isub__(self, *args):
146 """__isub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
147 return _IMP_misc.IMP_MISC_SwigPyIterator___isub__(self, *args)
149 def __add__(self, *args):
150 """__add__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator"""
151 return _IMP_misc.IMP_MISC_SwigPyIterator___add__(self, *args)
153 def __sub__(self, *args):
155 __sub__(IMP_MISC_SwigPyIterator self, ptrdiff_t n) -> IMP_MISC_SwigPyIterator
156 __sub__(IMP_MISC_SwigPyIterator self, IMP_MISC_SwigPyIterator x) -> ptrdiff_t
158 return _IMP_misc.IMP_MISC_SwigPyIterator___sub__(self, *args)
160 def __iter__(self):
return self
161 IMP_MISC_SwigPyIterator_swigregister = _IMP_misc.IMP_MISC_SwigPyIterator_swigregister
162 IMP_MISC_SwigPyIterator_swigregister(IMP_MISC_SwigPyIterator)
169 IMP_HAS_DEPRECATED = _IMP_misc.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_misc.IMP_DEBUG
171 IMP_RELEASE = _IMP_misc.IMP_RELEASE
172 IMP_SILENT = _IMP_misc.IMP_SILENT
173 IMP_PROGRESS = _IMP_misc.IMP_PROGRESS
174 IMP_TERSE = _IMP_misc.IMP_TERSE
175 IMP_VERBOSE = _IMP_misc.IMP_VERBOSE
176 IMP_NONE = _IMP_misc.IMP_NONE
177 IMP_USAGE = _IMP_misc.IMP_USAGE
178 IMP_INTERNAL = _IMP_misc.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_misc.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_misc.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_misc.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_misc.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_misc.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_misc.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_misc.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_misc.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 class _DirectorObjects(object):
189 """@internal Simple class to keep references to director objects
190 to prevent premature deletion."""
193 def register(self, obj):
194 """Take a reference to a director object; will only work for
195 refcounted C++ classes"""
196 if hasattr(obj,
'get_ref_count'):
197 self._objects.append(obj)
199 """Only drop our reference and allow cleanup by Python if no other
200 Python references exist (we hold 3 references: one in self._objects,
201 one in x, and one in the argument list for getrefcount) *and* no
202 other C++ references exist (the Python object always holds one)"""
203 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
204 or x.get_ref_count() > 1]
208 def get_object_count(self):
209 """Get number of director objects (useful for testing only)"""
210 return len(self._objects)
211 _director_objects = _DirectorObjects()
213 DEFAULT_CHECK = _IMP_misc.DEFAULT_CHECK
214 NONE = _IMP_misc.NONE
215 USAGE = _IMP_misc.USAGE
216 USAGE_AND_INTERNAL = _IMP_misc.USAGE_AND_INTERNAL
219 """set_check_level(IMP::base::CheckLevel tf)"""
220 return _IMP_misc.set_check_level(*args)
223 """get_check_level() -> IMP::base::CheckLevel"""
224 return _IMP_misc.get_check_level()
225 class _ostream(_object):
226 """Proxy of C++ std::ostream class"""
227 __swig_setmethods__ = {}
228 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229 __swig_getmethods__ = {}
230 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
231 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
232 __repr__ = _swig_repr
233 def write(self, *args):
234 """write(_ostream self, char const * osa_buf)"""
235 return _IMP_misc._ostream_write(self, *args)
237 _ostream_swigregister = _IMP_misc._ostream_swigregister
238 _ostream_swigregister(_ostream)
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_misc.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_misc.IMP_COMPILER_HAS_FINAL
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_misc.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_misc.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_misc.IMP_ALGEBRA_HAS_ANN
256 IMP_KERNEL_HAS_IMP_CGAL = _IMP_misc.IMP_KERNEL_HAS_IMP_CGAL
257 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
258 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_misc.IMP_KERNEL_HAS_BOOST_RANDOM
259 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_misc.IMP_KERNEL_HAS_BOOST_SYSTEM
260 IMP_KERNEL_HAS_CGAL = _IMP_misc.IMP_KERNEL_HAS_CGAL
262 IMP_DISPLAY_HAS_IMP_BASE = _IMP_misc.IMP_DISPLAY_HAS_IMP_BASE
263 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_misc.IMP_DISPLAY_HAS_IMP_CGAL
264 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
265 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
266 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_RANDOM
267 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_misc.IMP_DISPLAY_HAS_BOOST_SYSTEM
268 IMP_DISPLAY_HAS_CGAL = _IMP_misc.IMP_DISPLAY_HAS_CGAL
270 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
271 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
272 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
273 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
274 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
275 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_misc.IMP_SCORE_FUNCTOR_HAS_CGAL
277 IMP_CORE_HAS_IMP_BASE = _IMP_misc.IMP_CORE_HAS_IMP_BASE
278 IMP_CORE_HAS_IMP_CGAL = _IMP_misc.IMP_CORE_HAS_IMP_CGAL
279 IMP_CORE_HAS_IMP_KERNEL = _IMP_misc.IMP_CORE_HAS_IMP_KERNEL
280 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_FILESYSTEM
281 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
282 IMP_CORE_HAS_BOOST_RANDOM = _IMP_misc.IMP_CORE_HAS_BOOST_RANDOM
283 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CORE_HAS_BOOST_SYSTEM
284 IMP_CORE_HAS_CGAL = _IMP_misc.IMP_CORE_HAS_CGAL
286 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_misc.IMP_CONTAINER_HAS_IMP_ALGEBRA
287 IMP_CONTAINER_HAS_IMP_BASE = _IMP_misc.IMP_CONTAINER_HAS_IMP_BASE
288 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_misc.IMP_CONTAINER_HAS_IMP_CGAL
289 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_misc.IMP_CONTAINER_HAS_IMP_DISPLAY
290 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_misc.IMP_CONTAINER_HAS_IMP_KERNEL
291 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
292 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
293 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
294 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_RANDOM
295 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_misc.IMP_CONTAINER_HAS_BOOST_SYSTEM
296 IMP_CONTAINER_HAS_CGAL = _IMP_misc.IMP_CONTAINER_HAS_CGAL
298 IMP_ATOM_HAS_IMP_BASE = _IMP_misc.IMP_ATOM_HAS_IMP_BASE
299 IMP_ATOM_HAS_IMP_CGAL = _IMP_misc.IMP_ATOM_HAS_IMP_CGAL
300 IMP_ATOM_HAS_IMP_KERNEL = _IMP_misc.IMP_ATOM_HAS_IMP_KERNEL
301 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
302 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
303 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_misc.IMP_ATOM_HAS_BOOST_RANDOM
304 IMP_ATOM_HAS_BOOST_REGEX = _IMP_misc.IMP_ATOM_HAS_BOOST_REGEX
305 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_misc.IMP_ATOM_HAS_BOOST_SYSTEM
306 IMP_ATOM_HAS_CGAL = _IMP_misc.IMP_ATOM_HAS_CGAL
307 IMP_ATOM_TYPE_INDEX = _IMP_misc.IMP_ATOM_TYPE_INDEX
308 IMP_RESIDUE_TYPE_INDEX = _IMP_misc.IMP_RESIDUE_TYPE_INDEX
309 IMP_HIERARCHY_TYPE_INDEX = _IMP_misc.IMP_HIERARCHY_TYPE_INDEX
311 IMP_MISC_HAS_IMP_ALGEBRA = _IMP_misc.IMP_MISC_HAS_IMP_ALGEBRA
312 IMP_MISC_HAS_IMP_BASE = _IMP_misc.IMP_MISC_HAS_IMP_BASE
313 IMP_MISC_HAS_IMP_CGAL = _IMP_misc.IMP_MISC_HAS_IMP_CGAL
314 IMP_MISC_HAS_IMP_CONTAINER = _IMP_misc.IMP_MISC_HAS_IMP_CONTAINER
315 IMP_MISC_HAS_IMP_DISPLAY = _IMP_misc.IMP_MISC_HAS_IMP_DISPLAY
316 IMP_MISC_HAS_IMP_KERNEL = _IMP_misc.IMP_MISC_HAS_IMP_KERNEL
317 IMP_MISC_HAS_IMP_SCORE_FUNCTOR = _IMP_misc.IMP_MISC_HAS_IMP_SCORE_FUNCTOR
318 IMP_MISC_HAS_BOOST_FILESYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_FILESYSTEM
319 IMP_MISC_HAS_BOOST_PROGRAMOPTIONS = _IMP_misc.IMP_MISC_HAS_BOOST_PROGRAMOPTIONS
320 IMP_MISC_HAS_BOOST_RANDOM = _IMP_misc.IMP_MISC_HAS_BOOST_RANDOM
321 IMP_MISC_HAS_BOOST_REGEX = _IMP_misc.IMP_MISC_HAS_BOOST_REGEX
322 IMP_MISC_HAS_BOOST_SYSTEM = _IMP_misc.IMP_MISC_HAS_BOOST_SYSTEM
323 IMP_MISC_HAS_CGAL = _IMP_misc.IMP_MISC_HAS_CGAL
324 _object_types.append(
"WormLikeChain")
327 def _object_cast_to_WormLikeChain(*args):
328 """_object_cast_to_WormLikeChain(Object o) -> WormLikeChain"""
329 return _IMP_misc._object_cast_to_WormLikeChain(*args)
330 _object_types.append(
"StateAdaptor")
333 def _object_cast_to_StateAdaptor(*args):
334 """_object_cast_to_StateAdaptor(Object o) -> StateAdaptor"""
335 return _IMP_misc._object_cast_to_StateAdaptor(*args)
336 _object_types.append(
"CommonEndpointPairFilter")
339 def _object_cast_to_CommonEndpointPairFilter(*args):
340 """_object_cast_to_CommonEndpointPairFilter(Object o) -> CommonEndpointPairFilter"""
341 return _IMP_misc._object_cast_to_CommonEndpointPairFilter(*args)
342 _object_types.append(
"LogPairScore")
345 def _object_cast_to_LogPairScore(*args):
346 """_object_cast_to_LogPairScore(Object o) -> LogPairScore"""
347 return _IMP_misc._object_cast_to_LogPairScore(*args)
348 _object_types.append(
"LowestRefinedPairScore")
351 def _object_cast_to_LowestRefinedPairScore(*args):
352 """_object_cast_to_LowestRefinedPairScore(Object o) -> LowestRefinedPairScore"""
353 return _IMP_misc._object_cast_to_LowestRefinedPairScore(*args)
354 _object_types.append(
"SoftCylinderPairScore")
357 def _object_cast_to_SoftCylinderPairScore(*args):
358 """_object_cast_to_SoftCylinderPairScore(Object o) -> SoftCylinderPairScore"""
359 return _IMP_misc._object_cast_to_SoftCylinderPairScore(*args)
360 _object_types.append(
"DecayPairContainerOptimizerState")
363 def _object_cast_to_DecayPairContainerOptimizerState(*args):
364 """_object_cast_to_DecayPairContainerOptimizerState(Object o) -> DecayPairContainerOptimizerState"""
365 return _IMP_misc._object_cast_to_DecayPairContainerOptimizerState(*args)
366 def CustomXYZRs(l=[]):
367 return [CustomXYZR(x)
for x
in l]
368 _plural_types.append(
"CustomXYZRs")
370 _value_types.append(
"CustomXYZR")
373 """Proxy of C++ IMP::misc::WormLikeChain class"""
374 __swig_setmethods__ = {}
376 __setattr__ =
lambda self, name, value: _swig_setattr(self, WormLikeChain, name, value)
377 __swig_getmethods__ = {}
379 __getattr__ =
lambda self, name: _swig_getattr(self, WormLikeChain, name)
380 def __init__(self, *args):
381 """__init__(IMP::misc::WormLikeChain self, IMP::Float l_max, IMP::Float lp) -> WormLikeChain"""
382 this = _IMP_misc.new_WormLikeChain(*args)
383 try: self.this.append(this)
384 except: self.this = this
385 def get_version_info(self):
386 """get_version_info(WormLikeChain self) -> VersionInfo"""
387 return _IMP_misc.WormLikeChain_get_version_info(self)
389 __swig_destroy__ = _IMP_misc.delete_WormLikeChain
390 __del__ =
lambda self :
None;
391 def do_show(self, *args):
392 """do_show(WormLikeChain self, _ostream out)"""
393 return _IMP_misc.WormLikeChain_do_show(self, *args)
396 """__str__(WormLikeChain self) -> std::string"""
397 return _IMP_misc.WormLikeChain___str__(self)
400 """__repr__(WormLikeChain self) -> std::string"""
401 return _IMP_misc.WormLikeChain___repr__(self)
404 return _object_cast_to_WormLikeChain(o)
405 get_from = staticmethod(get_from)
407 WormLikeChain_swigregister = _IMP_misc.WormLikeChain_swigregister
408 WormLikeChain_swigregister(WormLikeChain)
411 """Proxy of C++ IMP::misc::LowestRefinedPairScore class"""
412 __swig_setmethods__ = {}
413 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
414 __setattr__ =
lambda self, name, value: _swig_setattr(self, LowestRefinedPairScore, name, value)
415 __swig_getmethods__ = {}
416 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
417 __getattr__ =
lambda self, name: _swig_getattr(self, LowestRefinedPairScore, name)
418 def __init__(self, *args):
419 """__init__(IMP::misc::LowestRefinedPairScore self, Refiner r, PairScore f) -> LowestRefinedPairScore"""
420 this = _IMP_misc.new_LowestRefinedPairScore(*args)
421 try: self.this.append(this)
422 except: self.this = this
423 def get_version_info(self):
424 """get_version_info(LowestRefinedPairScore self) -> VersionInfo"""
425 return _IMP_misc.LowestRefinedPairScore_get_version_info(self)
427 def do_show(self, *args):
428 """do_show(LowestRefinedPairScore self, _ostream out)"""
429 return _IMP_misc.LowestRefinedPairScore_do_show(self, *args)
431 __swig_destroy__ = _IMP_misc.delete_LowestRefinedPairScore
432 __del__ =
lambda self :
None;
434 """__str__(LowestRefinedPairScore self) -> std::string"""
435 return _IMP_misc.LowestRefinedPairScore___str__(self)
438 """__repr__(LowestRefinedPairScore self) -> std::string"""
439 return _IMP_misc.LowestRefinedPairScore___repr__(self)
442 return _object_cast_to_LowestRefinedPairScore(o)
443 get_from = staticmethod(get_from)
445 LowestRefinedPairScore_swigregister = _IMP_misc.LowestRefinedPairScore_swigregister
446 LowestRefinedPairScore_swigregister(LowestRefinedPairScore)
449 """Proxy of C++ IMP::misc::LogPairScore class"""
450 __swig_setmethods__ = {}
451 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
452 __setattr__ =
lambda self, name, value: _swig_setattr(self, LogPairScore, name, value)
453 __swig_getmethods__ = {}
454 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
455 __getattr__ =
lambda self, name: _swig_getattr(self, LogPairScore, name)
457 """__init__(IMP::misc::LogPairScore self) -> LogPairScore"""
458 this = _IMP_misc.new_LogPairScore()
459 try: self.this.append(this)
460 except: self.this = this
461 def do_create_current_decomposition(self, *args):
462 """do_create_current_decomposition(LogPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
463 return _IMP_misc.LogPairScore_do_create_current_decomposition(self, *args)
465 def get_version_info(self):
466 """get_version_info(LogPairScore self) -> VersionInfo"""
467 return _IMP_misc.LogPairScore_get_version_info(self)
469 def do_show(self, *args):
470 """do_show(LogPairScore self, _ostream out)"""
471 return _IMP_misc.LogPairScore_do_show(self, *args)
473 __swig_destroy__ = _IMP_misc.delete_LogPairScore
474 __del__ =
lambda self :
None;
475 def get_particle_pairs(self):
476 """get_particle_pairs(LogPairScore self) -> IMP::kernel::ParticlePairsTemp"""
477 return _IMP_misc.LogPairScore_get_particle_pairs(self)
480 """clear(LogPairScore self)"""
481 return _IMP_misc.LogPairScore_clear(self)
483 def get_contains(self, *args):
484 """get_contains(LogPairScore self, IMP::kernel::ParticlePair const & pp) -> bool"""
485 return _IMP_misc.LogPairScore_get_contains(self, *args)
488 """__str__(LogPairScore self) -> std::string"""
489 return _IMP_misc.LogPairScore___str__(self)
492 """__repr__(LogPairScore self) -> std::string"""
493 return _IMP_misc.LogPairScore___repr__(self)
496 return _object_cast_to_LogPairScore(o)
497 get_from = staticmethod(get_from)
499 LogPairScore_swigregister = _IMP_misc.LogPairScore_swigregister
500 LogPairScore_swigregister(LogPairScore)
503 """Proxy of C++ IMP::misc::StateAdaptor class"""
504 __swig_setmethods__ = {}
506 __setattr__ =
lambda self, name, value: _swig_setattr(self, StateAdaptor, name, value)
507 __swig_getmethods__ = {}
509 __getattr__ =
lambda self, name: _swig_getattr(self, StateAdaptor, name)
510 def __init__(self, *args):
511 """__init__(IMP::misc::StateAdaptor self, OptimizerState before, OptimizerState after) -> StateAdaptor"""
512 this = _IMP_misc.new_StateAdaptor(*args)
513 try: self.this.append(this)
514 except: self.this = this
516 """get_input_particles(StateAdaptor self) -> IMP::kernel::ParticlesTemp"""
517 return _IMP_misc.StateAdaptor_get_input_particles(self)
520 """get_input_containers(StateAdaptor self) -> IMP::kernel::ContainersTemp"""
521 return _IMP_misc.StateAdaptor_get_input_containers(self)
523 def do_get_inputs(self):
524 """do_get_inputs(StateAdaptor self) -> IMP::kernel::ModelObjectsTemp"""
525 return _IMP_misc.StateAdaptor_do_get_inputs(self)
528 """get_output_particles(StateAdaptor self) -> IMP::kernel::ParticlesTemp"""
529 return _IMP_misc.StateAdaptor_get_output_particles(self)
532 """get_output_containers(StateAdaptor self) -> IMP::kernel::ContainersTemp"""
533 return _IMP_misc.StateAdaptor_get_output_containers(self)
535 def do_get_outputs(self):
536 """do_get_outputs(StateAdaptor self) -> IMP::kernel::ModelObjectsTemp"""
537 return _IMP_misc.StateAdaptor_do_get_outputs(self)
539 def get_version_info(self):
540 """get_version_info(StateAdaptor self) -> VersionInfo"""
541 return _IMP_misc.StateAdaptor_get_version_info(self)
543 def do_show(self, *args):
544 """do_show(StateAdaptor self, _ostream out)"""
545 return _IMP_misc.StateAdaptor_do_show(self, *args)
547 __swig_destroy__ = _IMP_misc.delete_StateAdaptor
548 __del__ =
lambda self :
None;
550 """__str__(StateAdaptor self) -> std::string"""
551 return _IMP_misc.StateAdaptor___str__(self)
554 """__repr__(StateAdaptor self) -> std::string"""
555 return _IMP_misc.StateAdaptor___repr__(self)
558 return _object_cast_to_StateAdaptor(o)
559 get_from = staticmethod(get_from)
561 StateAdaptor_swigregister = _IMP_misc.StateAdaptor_swigregister
562 StateAdaptor_swigregister(StateAdaptor)
565 """Proxy of C++ IMP::misc::CommonEndpointPairFilter class"""
566 __swig_setmethods__ = {}
568 __setattr__ =
lambda self, name, value: _swig_setattr(self, CommonEndpointPairFilter, name, value)
569 __swig_getmethods__ = {}
571 __getattr__ =
lambda self, name: _swig_getattr(self, CommonEndpointPairFilter, name)
573 """__init__(IMP::misc::CommonEndpointPairFilter self) -> CommonEndpointPairFilter"""
574 this = _IMP_misc.new_CommonEndpointPairFilter()
575 try: self.this.append(this)
576 except: self.this = this
577 def get_value(self, *args):
579 get_value(CommonEndpointPairFilter self, IMP::kernel::ParticlePair const & a) -> int
580 get_value(CommonEndpointPairFilter self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
582 return _IMP_misc.CommonEndpointPairFilter_get_value(self, *args)
584 def get_value_index(self, *args):
586 get_value_index(CommonEndpointPairFilter self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> int
587 get_value_index(CommonEndpointPairFilter self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
589 return _IMP_misc.CommonEndpointPairFilter_get_value_index(self, *args)
592 """get_input_particles(CommonEndpointPairFilter self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
593 return _IMP_misc.CommonEndpointPairFilter_get_input_particles(self, *args)
596 """get_input_containers(CommonEndpointPairFilter self, Particle arg2) -> IMP::kernel::ContainersTemp"""
597 return _IMP_misc.CommonEndpointPairFilter_get_input_containers(self, *args)
599 def get_version_info(self):
600 """get_version_info(CommonEndpointPairFilter self) -> VersionInfo"""
601 return _IMP_misc.CommonEndpointPairFilter_get_version_info(self)
603 def do_show(self, *args):
604 """do_show(CommonEndpointPairFilter self, _ostream out)"""
605 return _IMP_misc.CommonEndpointPairFilter_do_show(self, *args)
607 __swig_destroy__ = _IMP_misc.delete_CommonEndpointPairFilter
608 __del__ =
lambda self :
None;
610 """__str__(CommonEndpointPairFilter self) -> std::string"""
611 return _IMP_misc.CommonEndpointPairFilter___str__(self)
614 """__repr__(CommonEndpointPairFilter self) -> std::string"""
615 return _IMP_misc.CommonEndpointPairFilter___repr__(self)
618 return _object_cast_to_CommonEndpointPairFilter(o)
619 get_from = staticmethod(get_from)
621 CommonEndpointPairFilter_swigregister = _IMP_misc.CommonEndpointPairFilter_swigregister
622 CommonEndpointPairFilter_swigregister(CommonEndpointPairFilter)
625 """Proxy of C++ IMP::misc::CustomXYZR class"""
626 __swig_setmethods__ = {}
627 for _s
in [
IMP.core.XYZ]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
628 __setattr__ =
lambda self, name, value: _swig_setattr(self, CustomXYZR, name, value)
629 __swig_getmethods__ = {}
630 for _s
in [
IMP.core.XYZ]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
631 __getattr__ =
lambda self, name: _swig_getattr(self, CustomXYZR, name)
632 def __init__(self, *args):
634 __init__(IMP::misc::CustomXYZR self) -> CustomXYZR
635 __init__(IMP::misc::CustomXYZR self, Model m, IMP::kernel::ParticleIndex id, FloatKey tr) -> CustomXYZR
636 __init__(IMP::misc::CustomXYZR self, FloatKey tr) -> CustomXYZR
637 __init__(IMP::misc::CustomXYZR self, Particle p, FloatKey tr=get_default_radius_key()) -> CustomXYZR
638 __init__(IMP::misc::CustomXYZR self, Particle p) -> CustomXYZR
640 this = _IMP_misc.new_CustomXYZR(*args)
641 try: self.this.append(this)
642 except: self.this = this
643 def decorate_particle(*args):
645 decorate_particle(Particle p, FloatKey tr=get_default_radius_key()) -> CustomXYZR
646 decorate_particle(Particle p) -> CustomXYZR
648 return _IMP_misc.CustomXYZR_decorate_particle(*args)
650 if _newclass:decorate_particle = staticmethod(decorate_particle)
651 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
652 def show(self, *args):
654 show(CustomXYZR self, _ostream out=std::cout)
655 show(CustomXYZR self)
657 return _IMP_misc.CustomXYZR_show(self, *args)
659 def get_radius_key(self):
660 """get_radius_key(CustomXYZR self) -> FloatKey"""
661 return _IMP_misc.CustomXYZR_get_radius_key(self)
663 def get_decorator_traits(self):
664 """get_decorator_traits(CustomXYZR self) -> FloatKey"""
665 return _IMP_misc.CustomXYZR_get_decorator_traits(self)
667 def get_default_decorator_traits():
668 """get_default_decorator_traits() -> FloatKey"""
669 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
671 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
672 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
673 def setup_particle(*args):
675 setup_particle(Particle p, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
676 setup_particle(Particle p) -> CustomXYZR
677 setup_particle(Particle p, IMP::Float radius, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
678 setup_particle(Particle p, IMP::Float radius) -> CustomXYZR
679 setup_particle(Particle p, Sphere3D s, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
680 setup_particle(Particle p, Sphere3D s) -> CustomXYZR
682 return _IMP_misc.CustomXYZR_setup_particle(*args)
684 if _newclass:setup_particle = staticmethod(setup_particle)
685 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
686 def particle_is_instance(*args):
688 particle_is_instance(Particle p, FloatKey radius_key=get_default_radius_key()) -> bool
689 particle_is_instance(Particle p) -> bool
691 return _IMP_misc.CustomXYZR_particle_is_instance(*args)
693 if _newclass:particle_is_instance = staticmethod(particle_is_instance)
694 __swig_getmethods__[
"particle_is_instance"] =
lambda x: particle_is_instance
695 def get_radius(self):
696 """get_radius(CustomXYZR self) -> IMP::Float"""
697 return _IMP_misc.CustomXYZR_get_radius(self)
699 def set_radius(self, *args):
700 """set_radius(CustomXYZR self, IMP::Float t)"""
701 return _IMP_misc.CustomXYZR_set_radius(self, *args)
703 def get_sphere(self):
704 """get_sphere(CustomXYZR self) -> Sphere3D"""
705 return _IMP_misc.CustomXYZR_get_sphere(self)
707 def set_sphere(self, *args):
708 """set_sphere(CustomXYZR self, Sphere3D s)"""
709 return _IMP_misc.CustomXYZR_set_sphere(self, *args)
711 def get_default_radius_key():
712 """get_default_radius_key() -> FloatKey"""
713 return _IMP_misc.CustomXYZR_get_default_radius_key()
715 if _newclass:get_default_radius_key = staticmethod(get_default_radius_key)
716 __swig_getmethods__[
"get_default_radius_key"] =
lambda x: get_default_radius_key
717 def add_to_radius_derivative(self, *args):
718 """add_to_radius_derivative(CustomXYZR self, double v, DerivativeAccumulator d)"""
719 return _IMP_misc.CustomXYZR_add_to_radius_derivative(self, *args)
721 def get_traits(self):
722 """get_traits(CustomXYZR self) -> FloatKey"""
723 return _IMP_misc.CustomXYZR_get_traits(self)
725 def add_attribute(self, *args):
727 add_attribute(CustomXYZR self, FloatKey k, IMP::Float v, bool opt)
728 add_attribute(CustomXYZR self, FloatKey a0, IMP::Float a1)
729 add_attribute(CustomXYZR self, IntKey a0, IMP::Int a1)
730 add_attribute(CustomXYZR self, StringKey a0, IMP::String a1)
731 add_attribute(CustomXYZR self, ParticleIndexKey a0, Particle a1)
732 add_attribute(CustomXYZR self, ObjectKey a0, IMP::Object * a1)
734 return _IMP_misc.CustomXYZR_add_attribute(self, *args)
736 def get_value(self, *args):
738 get_value(CustomXYZR self, FloatKey a0) -> IMP::Float
739 get_value(CustomXYZR self, IntKey a0) -> IMP::Int
740 get_value(CustomXYZR self, StringKey a0) -> IMP::String
741 get_value(CustomXYZR self, ParticleIndexKey a0) -> Particle
742 get_value(CustomXYZR self, ObjectKey a0) -> IMP::Object *
744 return _IMP_misc.CustomXYZR_get_value(self, *args)
746 def set_value(self, *args):
748 set_value(CustomXYZR self, FloatKey a0, IMP::Float a1)
749 set_value(CustomXYZR self, IntKey a0, IMP::Int a1)
750 set_value(CustomXYZR self, StringKey a0, IMP::String a1)
751 set_value(CustomXYZR self, ParticleIndexKey a0, Particle a1)
752 set_value(CustomXYZR self, ObjectKey a0, IMP::Object * a1)
754 return _IMP_misc.CustomXYZR_set_value(self, *args)
756 def remove_attribute(self, *args):
758 remove_attribute(CustomXYZR self, FloatKey a0)
759 remove_attribute(CustomXYZR self, IntKey a0)
760 remove_attribute(CustomXYZR self, StringKey a0)
761 remove_attribute(CustomXYZR self, ParticleIndexKey a0)
762 remove_attribute(CustomXYZR self, ObjectKey a0)
764 return _IMP_misc.CustomXYZR_remove_attribute(self, *args)
766 def has_attribute(self, *args):
768 has_attribute(CustomXYZR self, FloatKey a0) -> bool
769 has_attribute(CustomXYZR self, IntKey a0) -> bool
770 has_attribute(CustomXYZR self, StringKey a0) -> bool
771 has_attribute(CustomXYZR self, ParticleIndexKey a0) -> bool
772 has_attribute(CustomXYZR self, ObjectKey a0) -> bool
774 return _IMP_misc.CustomXYZR_has_attribute(self, *args)
776 def get_derivative(self, *args):
777 """get_derivative(CustomXYZR self, FloatKey a0) -> double"""
778 return _IMP_misc.CustomXYZR_get_derivative(self, *args)
781 """get_name(CustomXYZR self) -> std::string"""
782 return _IMP_misc.CustomXYZR_get_name(self)
784 def clear_caches(self):
785 """clear_caches(CustomXYZR self)"""
786 return _IMP_misc.CustomXYZR_clear_caches(self)
788 def set_name(self, *args):
789 """set_name(CustomXYZR self, std::string a0)"""
790 return _IMP_misc.CustomXYZR_set_name(self, *args)
793 """set_check_level(CustomXYZR self, IMP::base::CheckLevel a0)"""
794 return _IMP_misc.CustomXYZR_set_check_level(self, *args)
796 def add_to_derivative(self, *args):
797 """add_to_derivative(CustomXYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
798 return _IMP_misc.CustomXYZR_add_to_derivative(self, *args)
800 def set_is_optimized(self, *args):
801 """set_is_optimized(CustomXYZR self, FloatKey a0, bool a1)"""
802 return _IMP_misc.CustomXYZR_set_is_optimized(self, *args)
804 def get_is_optimized(self, *args):
805 """get_is_optimized(CustomXYZR self, FloatKey a0) -> bool"""
806 return _IMP_misc.CustomXYZR_get_is_optimized(self, *args)
809 """get_check_level(CustomXYZR self) -> IMP::base::CheckLevel"""
810 return _IMP_misc.CustomXYZR_get_check_level(self)
812 def __eq__(self, *args):
814 __eq__(CustomXYZR self, CustomXYZR o) -> bool
815 __eq__(CustomXYZR self, Particle d) -> bool
817 return _IMP_misc.CustomXYZR___eq__(self, *args)
819 def __ne__(self, *args):
821 __ne__(CustomXYZR self, CustomXYZR o) -> bool
822 __ne__(CustomXYZR self, Particle d) -> bool
824 return _IMP_misc.CustomXYZR___ne__(self, *args)
826 def __le__(self, *args):
828 __le__(CustomXYZR self, CustomXYZR o) -> bool
829 __le__(CustomXYZR self, Particle d) -> bool
831 return _IMP_misc.CustomXYZR___le__(self, *args)
833 def __lt__(self, *args):
835 __lt__(CustomXYZR self, CustomXYZR o) -> bool
836 __lt__(CustomXYZR self, Particle d) -> bool
838 return _IMP_misc.CustomXYZR___lt__(self, *args)
840 def __ge__(self, *args):
842 __ge__(CustomXYZR self, CustomXYZR o) -> bool
843 __ge__(CustomXYZR self, Particle d) -> bool
845 return _IMP_misc.CustomXYZR___ge__(self, *args)
847 def __gt__(self, *args):
849 __gt__(CustomXYZR self, CustomXYZR o) -> bool
850 __gt__(CustomXYZR self, Particle d) -> bool
852 return _IMP_misc.CustomXYZR___gt__(self, *args)
855 """__str__(CustomXYZR self) -> std::string"""
856 return _IMP_misc.CustomXYZR___str__(self)
859 """__repr__(CustomXYZR self) -> std::string"""
860 return _IMP_misc.CustomXYZR___repr__(self)
862 __swig_destroy__ = _IMP_misc.delete_CustomXYZR
863 __del__ =
lambda self :
None;
864 CustomXYZR_swigregister = _IMP_misc.CustomXYZR_swigregister
865 CustomXYZR_swigregister(CustomXYZR)
867 def CustomXYZR_decorate_particle(*args):
869 decorate_particle(Particle p, FloatKey tr=get_default_radius_key()) -> CustomXYZR
870 CustomXYZR_decorate_particle(Particle p) -> CustomXYZR
872 return _IMP_misc.CustomXYZR_decorate_particle(*args)
874 def CustomXYZR_get_default_decorator_traits():
875 """CustomXYZR_get_default_decorator_traits() -> FloatKey"""
876 return _IMP_misc.CustomXYZR_get_default_decorator_traits()
878 def CustomXYZR_setup_particle(*args):
880 setup_particle(Particle p, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
881 setup_particle(Particle p) -> CustomXYZR
882 setup_particle(Particle p, IMP::Float radius, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
883 setup_particle(Particle p, IMP::Float radius) -> CustomXYZR
884 setup_particle(Particle p, Sphere3D s, FloatKey radius_key=get_default_radius_key()) -> CustomXYZR
885 CustomXYZR_setup_particle(Particle p, Sphere3D s) -> CustomXYZR
887 return _IMP_misc.CustomXYZR_setup_particle(*args)
889 def CustomXYZR_particle_is_instance(*args):
891 particle_is_instance(Particle p, FloatKey radius_key=get_default_radius_key()) -> bool
892 CustomXYZR_particle_is_instance(Particle p) -> bool
894 return _IMP_misc.CustomXYZR_particle_is_instance(*args)
896 def CustomXYZR_get_default_radius_key():
897 """CustomXYZR_get_default_radius_key() -> FloatKey"""
898 return _IMP_misc.CustomXYZR_get_default_radius_key()
901 def __lshift__(*args):
902 """__lshift__(_ostream out, CustomXYZR n) -> _ostream"""
903 return _IMP_misc.__lshift__(*args)
906 """get_distance(CustomXYZR a, CustomXYZR b) -> double"""
907 return _IMP_misc.get_distance(*args)
910 """get_sphere_d_geometry(CustomXYZR d) -> Sphere3D"""
911 return _IMP_misc.get_sphere_d_geometry(*args)
914 """set_sphere_d_geometry(CustomXYZR d, Sphere3D v)"""
915 return _IMP_misc.set_sphere_d_geometry(*args)
917 """Proxy of C++ IMP::misc::SoftCylinderPairScore class"""
918 __swig_setmethods__ = {}
919 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
920 __setattr__ =
lambda self, name, value: _swig_setattr(self, SoftCylinderPairScore, name, value)
921 __swig_getmethods__ = {}
922 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
923 __getattr__ =
lambda self, name: _swig_getattr(self, SoftCylinderPairScore, name)
924 def __init__(self, *args):
925 """__init__(IMP::misc::SoftCylinderPairScore self, double k) -> SoftCylinderPairScore"""
926 this = _IMP_misc.new_SoftCylinderPairScore(*args)
927 try: self.this.append(this)
928 except: self.this = this
930 """get_input_particles(SoftCylinderPairScore self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
931 return _IMP_misc.SoftCylinderPairScore_get_input_particles(self, *args)
934 """get_input_containers(SoftCylinderPairScore self, Particle arg2) -> IMP::kernel::ContainersTemp"""
935 return _IMP_misc.SoftCylinderPairScore_get_input_containers(self, *args)
937 def get_version_info(self):
938 """get_version_info(SoftCylinderPairScore self) -> VersionInfo"""
939 return _IMP_misc.SoftCylinderPairScore_get_version_info(self)
941 def do_show(self, *args):
942 """do_show(SoftCylinderPairScore self, _ostream out)"""
943 return _IMP_misc.SoftCylinderPairScore_do_show(self, *args)
945 __swig_destroy__ = _IMP_misc.delete_SoftCylinderPairScore
946 __del__ =
lambda self :
None;
948 """__str__(SoftCylinderPairScore self) -> std::string"""
949 return _IMP_misc.SoftCylinderPairScore___str__(self)
952 """__repr__(SoftCylinderPairScore self) -> std::string"""
953 return _IMP_misc.SoftCylinderPairScore___repr__(self)
956 return _object_cast_to_SoftCylinderPairScore(o)
957 get_from = staticmethod(get_from)
959 SoftCylinderPairScore_swigregister = _IMP_misc.SoftCylinderPairScore_swigregister
960 SoftCylinderPairScore_swigregister(SoftCylinderPairScore)
963 """Proxy of C++ IMP::misc::DecayPairContainerOptimizerState class"""
964 __swig_setmethods__ = {}
966 __setattr__ =
lambda self, name, value: _swig_setattr(self, DecayPairContainerOptimizerState, name, value)
967 __swig_getmethods__ = {}
969 __getattr__ =
lambda self, name: _swig_getattr(self, DecayPairContainerOptimizerState, name)
970 def __init__(self, *args):
972 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::kernel::ParticlePairsTemp const & initial_list, std::string name="DecayPairContainerOptimizerState%1%") -> DecayPairContainerOptimizerState
973 __init__(IMP::misc::DecayPairContainerOptimizerState self, PairPredicate pred, IMP::kernel::ParticlePairsTemp const & initial_list) -> DecayPairContainerOptimizerState
975 this = _IMP_misc.new_DecayPairContainerOptimizerState(*args)
976 try: self.this.append(this)
977 except: self.this = this
978 def get_output_container(self):
979 """get_output_container(DecayPairContainerOptimizerState self) -> PairContainer"""
980 return _IMP_misc.DecayPairContainerOptimizerState_get_output_container(self)
982 def do_update(self, *args):
983 """do_update(DecayPairContainerOptimizerState self, unsigned int call_num)"""
984 return _IMP_misc.DecayPairContainerOptimizerState_do_update(self, *args)
986 def get_version_info(self):
987 """get_version_info(DecayPairContainerOptimizerState self) -> VersionInfo"""
988 return _IMP_misc.DecayPairContainerOptimizerState_get_version_info(self)
990 __swig_destroy__ = _IMP_misc.delete_DecayPairContainerOptimizerState
991 __del__ =
lambda self :
None;
993 """__str__(DecayPairContainerOptimizerState self) -> std::string"""
994 return _IMP_misc.DecayPairContainerOptimizerState___str__(self)
997 """__repr__(DecayPairContainerOptimizerState self) -> std::string"""
998 return _IMP_misc.DecayPairContainerOptimizerState___repr__(self)
1001 return _object_cast_to_DecayPairContainerOptimizerState(o)
1002 get_from = staticmethod(get_from)
1004 DecayPairContainerOptimizerState_swigregister = _IMP_misc.DecayPairContainerOptimizerState_swigregister
1005 DecayPairContainerOptimizerState_swigregister(DecayPairContainerOptimizerState)
1008 def get_module_version():
1009 """get_module_version() -> std::string const"""
1010 return _IMP_misc.get_module_version()
1013 """get_example_path(std::string fname) -> std::string"""
1014 return _IMP_misc.get_example_path(*args)
1017 """get_data_path(std::string fname) -> std::string"""
1018 return _IMP_misc.get_data_path(*args)
1019 import _version_check
1020 _version_check.check_version(get_module_version())