IMP  2.1.1
The Integrative Modeling Platform
core/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.11
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_core', [dirname(__file__)])
19  except ImportError:
20  import _IMP_core
21  return _IMP_core
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_core', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_core = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_core
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
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)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 try:
73  import weakref
74  weakref_proxy = weakref.proxy
75 except:
76  weakref_proxy = lambda x: x
77 
78 
79 class IMP_CORE_SwigPyIterator(_object):
80  """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
81  __swig_setmethods__ = {}
82  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_CORE_SwigPyIterator, name, value)
83  __swig_getmethods__ = {}
84  __getattr__ = lambda self, name: _swig_getattr(self, IMP_CORE_SwigPyIterator, name)
85  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86  __repr__ = _swig_repr
87  __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
88  __del__ = lambda self : None;
89  def value(self):
90  """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
91  return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
92 
93  def incr(self, n=1):
94  """
95  incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
96  incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
97  """
98  return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
99 
100  def decr(self, n=1):
101  """
102  decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
103  decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
104  """
105  return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
106 
107  def distance(self, *args):
108  """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
109  return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, *args)
110 
111  def equal(self, *args):
112  """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
113  return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, *args)
114 
115  def copy(self):
116  """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
117  return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
118 
119  def next(self):
120  """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
121  return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
122 
123  def __next__(self):
124  """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
125  return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
126 
127  def previous(self):
128  """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
129  return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
130 
131  def advance(self, *args):
132  """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
133  return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, *args)
134 
135  def __eq__(self, *args):
136  """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
137  return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, *args)
138 
139  def __ne__(self, *args):
140  """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
141  return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, *args)
142 
143  def __iadd__(self, *args):
144  """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
145  return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, *args)
146 
147  def __isub__(self, *args):
148  """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
149  return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, *args)
150 
151  def __add__(self, *args):
152  """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
153  return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, *args)
154 
155  def __sub__(self, *args):
156  """
157  __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
158  __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
159  """
160  return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
161 
162  def __iter__(self): return self
163 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
164 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
165 
166 _value_types=[]
167 _object_types=[]
168 _raii_types=[]
169 _plural_types=[]
170 
171 IMP_DEBUG = _IMP_core.IMP_DEBUG
172 IMP_RELEASE = _IMP_core.IMP_RELEASE
173 IMP_SILENT = _IMP_core.IMP_SILENT
174 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
175 IMP_TERSE = _IMP_core.IMP_TERSE
176 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
177 IMP_MEMORY = _IMP_core.IMP_MEMORY
178 IMP_NONE = _IMP_core.IMP_NONE
179 IMP_USAGE = _IMP_core.IMP_USAGE
180 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_core.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_core.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_core.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_core.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_core.IMPBASE_SHOW_WARNINGS
189 import sys
190 class _DirectorObjects(object):
191  """@internal Simple class to keep references to director objects
192  to prevent premature deletion."""
193  def __init__(self):
194  self._objects = []
195  def register(self, obj):
196  """Take a reference to a director object; will only work for
197  refcounted C++ classes"""
198  if hasattr(obj, 'get_ref_count'):
199  self._objects.append(obj)
200  def cleanup(self):
201  """Only drop our reference and allow cleanup by Python if no other
202  Python references exist (we hold 3 references: one in self._objects,
203  one in x, and one in the argument list for getrefcount) *and* no
204  other C++ references exist (the Python object always holds one)"""
205  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
206  or x.get_ref_count() > 1]
207 
208 
209  self._objects = objs
210  def get_object_count(self):
211  """Get number of director objects (useful for testing only)"""
212  return len(self._objects)
213 _director_objects = _DirectorObjects()
214 
215 DEFAULT_CHECK = _IMP_core.DEFAULT_CHECK
216 NONE = _IMP_core.NONE
217 USAGE = _IMP_core.USAGE
218 USAGE_AND_INTERNAL = _IMP_core.USAGE_AND_INTERNAL
219 
220 def set_check_level(*args):
221  """set_check_level(IMP::base::CheckLevel tf)"""
222  return _IMP_core.set_check_level(*args)
223 
224 def get_check_level():
225  """get_check_level() -> IMP::base::CheckLevel"""
226  return _IMP_core.get_check_level()
227 class _ostream(_object):
228  """Proxy of C++ std::ostream class"""
229  __swig_setmethods__ = {}
230  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231  __swig_getmethods__ = {}
232  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
233  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
234  __repr__ = _swig_repr
235  def write(self, *args):
236  """write(_ostream self, char const * osa_buf)"""
237  return _IMP_core._ostream_write(self, *args)
238 
239 _ostream_swigregister = _IMP_core._ostream_swigregister
240 _ostream_swigregister(_ostream)
241 
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_core.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_core.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
245 import IMP.base
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
251 import IMP.cgal
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
260 import IMP.algebra
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_core.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_core.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_core.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
267 import IMP.kernel
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_core.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
276 import IMP.display
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
284 import IMP.score_functor
285 IMP_CORE_HAS_IMP_BASE = _IMP_core.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
293 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
294 class _OpenCubicSplineBase(IMP.kernel.UnaryFunction):
295  """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
296  __swig_setmethods__ = {}
297  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
298  __setattr__ = lambda self, name, value: _swig_setattr(self, _OpenCubicSplineBase, name, value)
299  __swig_getmethods__ = {}
300  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
301  __getattr__ = lambda self, name: _swig_getattr(self, _OpenCubicSplineBase, name)
302  __repr__ = _swig_repr
303  def __init__(self, *args):
304  """
305  __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase
306  __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
307  """
308  this = _IMP_core.new__OpenCubicSplineBase(*args)
309  try: self.this.append(this)
310  except: self.this = this
311  def get_version_info(self):
312  """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
313  return _IMP_core._OpenCubicSplineBase_get_version_info(self)
314 
315  __swig_destroy__ = _IMP_core.delete__OpenCubicSplineBase
316  __del__ = lambda self : None;
317 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
318 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
319 
320 _object_types.append("MonteCarloMover")
321 
322 
323 def _object_cast_to_MonteCarloMover(*args):
324  """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
325  return _IMP_core._object_cast_to_MonteCarloMover(*args)
326 MonteCarloMoverResults=list
327 _plural_types.append("MonteCarloMoverResults")
328 _value_types.append("MonteCarloMoverResult")
329 
330 _object_types.append("Mover")
331 
332 
333 def _object_cast_to_Mover(*args):
334  """_object_cast_to_Mover(Object o) -> Mover"""
335  return _IMP_core._object_cast_to_Mover(*args)
336 _object_types.append("MoverBase")
337 
338 
339 def _object_cast_to_MoverBase(*args):
340  """_object_cast_to_MoverBase(Object o) -> MoverBase"""
341  return _IMP_core._object_cast_to_MoverBase(*args)
342 _object_types.append("AngleRestraint")
343 
344 
345 def _object_cast_to_AngleRestraint(*args):
346  """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
347  return _IMP_core._object_cast_to_AngleRestraint(*args)
348 _object_types.append("AngleTripletScore")
349 
350 
351 def _object_cast_to_AngleTripletScore(*args):
352  """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
353  return _IMP_core._object_cast_to_AngleTripletScore(*args)
354 _object_types.append("AttributeSingletonScore")
355 
356 
357 def _object_cast_to_AttributeSingletonScore(*args):
358  """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
359  return _IMP_core._object_cast_to_AttributeSingletonScore(*args)
360 _object_types.append("BallMover")
361 
362 
363 def _object_cast_to_BallMover(*args):
364  """_object_cast_to_BallMover(Object o) -> BallMover"""
365  return _IMP_core._object_cast_to_BallMover(*args)
366 _object_types.append("SerialMover")
367 
368 
369 def _object_cast_to_SerialMover(*args):
370  """_object_cast_to_SerialMover(Object o) -> SerialMover"""
371  return _IMP_core._object_cast_to_SerialMover(*args)
372 _object_types.append("BoundingBox3DSingletonScore")
373 
374 
375 def _object_cast_to_BoundingBox3DSingletonScore(*args):
376  """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
377  return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(*args)
378 _object_types.append("BoxSweepClosePairsFinder")
379 
380 
381 def _object_cast_to_BoxSweepClosePairsFinder(*args):
382  """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
383  return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(*args)
384 _object_types.append("NearestNeighborsClosePairsFinder")
385 
386 
387 def _object_cast_to_NearestNeighborsClosePairsFinder(*args):
388  """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
389  return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(*args)
390 _object_types.append("CentroidOfRefined")
391 
392 
393 def _object_cast_to_CentroidOfRefined(*args):
394  """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
395  return _IMP_core._object_cast_to_CentroidOfRefined(*args)
396 _object_types.append("ChecksScoreState")
397 
398 
399 def _object_cast_to_ChecksScoreState(*args):
400  """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
401  return _IMP_core._object_cast_to_ChecksScoreState(*args)
402 _object_types.append("ChildrenRefiner")
403 
404 
405 def _object_cast_to_ChildrenRefiner(*args):
406  """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
407  return _IMP_core._object_cast_to_ChildrenRefiner(*args)
408 _object_types.append("ClosePairsFinder")
409 
410 
411 def _object_cast_to_ClosePairsFinder(*args):
412  """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
413  return _IMP_core._object_cast_to_ClosePairsFinder(*args)
414 _object_types.append("ClosePairsPairScore")
415 
416 
417 def _object_cast_to_ClosePairsPairScore(*args):
418  """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
419  return _IMP_core._object_cast_to_ClosePairsPairScore(*args)
420 _object_types.append("ClosedCubicSpline")
421 
422 
423 def _object_cast_to_ClosedCubicSpline(*args):
424  """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
425  return _IMP_core._object_cast_to_ClosedCubicSpline(*args)
426 _object_types.append("ConjugateGradients")
427 
428 
429 def _object_cast_to_ConjugateGradients(*args):
430  """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
431  return _IMP_core._object_cast_to_ConjugateGradients(*args)
432 _object_types.append("ConnectivityRestraint")
433 
434 
435 def _object_cast_to_ConnectivityRestraint(*args):
436  """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
437  return _IMP_core._object_cast_to_ConnectivityRestraint(*args)
438 _object_types.append("ConstantRestraint")
439 
440 
441 def _object_cast_to_ConstantRestraint(*args):
442  """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
443  return _IMP_core._object_cast_to_ConstantRestraint(*args)
444 _object_types.append("Cosine")
445 
446 
447 def _object_cast_to_Cosine(*args):
448  """_object_cast_to_Cosine(Object o) -> Cosine"""
449  return _IMP_core._object_cast_to_Cosine(*args)
450 _object_types.append("CoverRefined")
451 
452 
453 def _object_cast_to_CoverRefined(*args):
454  """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
455  return _IMP_core._object_cast_to_CoverRefined(*args)
456 _object_types.append("DerivativesFromRefined")
457 
458 
459 def _object_cast_to_DerivativesFromRefined(*args):
460  """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
461  return _IMP_core._object_cast_to_DerivativesFromRefined(*args)
462 _object_types.append("DerivativesToRefined")
463 
464 
465 def _object_cast_to_DerivativesToRefined(*args):
466  """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
467  return _IMP_core._object_cast_to_DerivativesToRefined(*args)
468 _object_types.append("DiameterRestraint")
469 
470 
471 def _object_cast_to_DiameterRestraint(*args):
472  """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
473  return _IMP_core._object_cast_to_DiameterRestraint(*args)
474 _object_types.append("DihedralRestraint")
475 
476 
477 def _object_cast_to_DihedralRestraint(*args):
478  """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
479  return _IMP_core._object_cast_to_DihedralRestraint(*args)
480 _object_types.append("DistanceRestraint")
481 
482 
483 def _object_cast_to_DistanceRestraint(*args):
484  """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
485  return _IMP_core._object_cast_to_DistanceRestraint(*args)
486 _object_types.append("DistanceToSingletonScore")
487 
488 
489 def _object_cast_to_DistanceToSingletonScore(*args):
490  """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
491  return _IMP_core._object_cast_to_DistanceToSingletonScore(*args)
492 _object_types.append("ExcludedVolumeRestraint")
493 
494 
495 def _object_cast_to_ExcludedVolumeRestraint(*args):
496  """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
497  return _IMP_core._object_cast_to_ExcludedVolumeRestraint(*args)
498 _object_types.append("FixedRefiner")
499 
500 
501 def _object_cast_to_FixedRefiner(*args):
502  """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
503  return _IMP_core._object_cast_to_FixedRefiner(*args)
504 _object_types.append("GridClosePairsFinder")
505 
506 
507 def _object_cast_to_GridClosePairsFinder(*args):
508  """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
509  return _IMP_core._object_cast_to_GridClosePairsFinder(*args)
510 _object_types.append("Harmonic")
511 
512 
513 def _object_cast_to_Harmonic(*args):
514  """_object_cast_to_Harmonic(Object o) -> Harmonic"""
515  return _IMP_core._object_cast_to_Harmonic(*args)
516 _object_types.append("HarmonicWell")
517 
518 
519 def _object_cast_to_HarmonicWell(*args):
520  """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
521  return _IMP_core._object_cast_to_HarmonicWell(*args)
522 _object_types.append("HarmonicLowerBound")
523 
524 
525 def _object_cast_to_HarmonicLowerBound(*args):
526  """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
527  return _IMP_core._object_cast_to_HarmonicLowerBound(*args)
528 _object_types.append("HarmonicUpperBound")
529 
530 
531 def _object_cast_to_HarmonicUpperBound(*args):
532  """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
533  return _IMP_core._object_cast_to_HarmonicUpperBound(*args)
534 _object_types.append("HarmonicSphereDistancePairScore")
535 
536 
537 def _object_cast_to_HarmonicSphereDistancePairScore(*args):
538  """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
539  return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(*args)
540 _object_types.append("HarmonicUpperBoundSphereDistancePairScore")
541 
542 
543 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args):
544  """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
545  return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(*args)
546 _object_types.append("HarmonicUpperBoundSphereDiameterPairScore")
547 
548 
549 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args):
550  """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
551  return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(*args)
552 _object_types.append("IncrementalScoringFunction")
553 
554 
555 def _object_cast_to_IncrementalScoringFunction(*args):
556  """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
557  return _IMP_core._object_cast_to_IncrementalScoringFunction(*args)
558 _object_types.append("KClosePairsPairScore")
559 
560 
561 def _object_cast_to_KClosePairsPairScore(*args):
562  """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
563  return _IMP_core._object_cast_to_KClosePairsPairScore(*args)
564 _object_types.append("LeavesRefiner")
565 
566 
567 def _object_cast_to_LeavesRefiner(*args):
568  """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
569  return _IMP_core._object_cast_to_LeavesRefiner(*args)
570 _object_types.append("Linear")
571 
572 
573 def _object_cast_to_Linear(*args):
574  """_object_cast_to_Linear(Object o) -> Linear"""
575  return _IMP_core._object_cast_to_Linear(*args)
576 _object_types.append("MCCGSampler")
577 
578 
579 def _object_cast_to_MCCGSampler(*args):
580  """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
581  return _IMP_core._object_cast_to_MCCGSampler(*args)
582 _object_types.append("MonteCarlo")
583 
584 
585 def _object_cast_to_MonteCarlo(*args):
586  """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
587  return _IMP_core._object_cast_to_MonteCarlo(*args)
588 _object_types.append("MonteCarloWithLocalOptimization")
589 
590 
591 def _object_cast_to_MonteCarloWithLocalOptimization(*args):
592  """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
593  return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(*args)
594 _object_types.append("MonteCarloWithBasinHopping")
595 
596 
597 def _object_cast_to_MonteCarloWithBasinHopping(*args):
598  """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
599  return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(*args)
600 _object_types.append("MSConnectivityRestraint")
601 
602 
603 def _object_cast_to_MSConnectivityRestraint(*args):
604  """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
605  return _IMP_core._object_cast_to_MSConnectivityRestraint(*args)
606 _object_types.append("NeighborsTable")
607 
608 
609 def _object_cast_to_NeighborsTable(*args):
610  """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
611  return _IMP_core._object_cast_to_NeighborsTable(*args)
612 _object_types.append("NormalMover")
613 
614 
615 def _object_cast_to_NormalMover(*args):
616  """_object_cast_to_NormalMover(Object o) -> NormalMover"""
617  return _IMP_core._object_cast_to_NormalMover(*args)
618 _object_types.append("NormalizedSphereDistancePairScore")
619 
620 
621 def _object_cast_to_NormalizedSphereDistancePairScore(*args):
622  """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
623  return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(*args)
624 _object_types.append("OpenCubicSpline")
625 
626 
627 def _object_cast_to_OpenCubicSpline(*args):
628  """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
629  return _IMP_core._object_cast_to_OpenCubicSpline(*args)
630 _object_types.append("PairConstraint")
631 
632 
633 def _object_cast_to_PairConstraint(*args):
634  """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
635  return _IMP_core._object_cast_to_PairConstraint(*args)
636 _object_types.append("PairRestraint")
637 
638 
639 def _object_cast_to_PairRestraint(*args):
640  """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
641  return _IMP_core._object_cast_to_PairRestraint(*args)
642 _object_types.append("QuadConstraint")
643 
644 
645 def _object_cast_to_QuadConstraint(*args):
646  """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
647  return _IMP_core._object_cast_to_QuadConstraint(*args)
648 _object_types.append("QuadRestraint")
649 
650 
651 def _object_cast_to_QuadRestraint(*args):
652  """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
653  return _IMP_core._object_cast_to_QuadRestraint(*args)
654 _object_types.append("QuadraticClosePairsFinder")
655 
656 
657 def _object_cast_to_QuadraticClosePairsFinder(*args):
658  """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
659  return _IMP_core._object_cast_to_QuadraticClosePairsFinder(*args)
660 _object_types.append("RefinedPairsPairScore")
661 
662 
663 def _object_cast_to_RefinedPairsPairScore(*args):
664  """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
665  return _IMP_core._object_cast_to_RefinedPairsPairScore(*args)
666 _object_types.append("RestraintsScoringFunction")
667 
668 
669 def _object_cast_to_RestraintsScoringFunction(*args):
670  """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
671  return _IMP_core._object_cast_to_RestraintsScoringFunction(*args)
672 _object_types.append("RigidBodyDistancePairScore")
673 
674 
675 def _object_cast_to_RigidBodyDistancePairScore(*args):
676  """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
677  return _IMP_core._object_cast_to_RigidBodyDistancePairScore(*args)
678 _object_types.append("RigidBodyMover")
679 
680 
681 def _object_cast_to_RigidBodyMover(*args):
682  """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
683  return _IMP_core._object_cast_to_RigidBodyMover(*args)
684 _object_types.append("RigidClosePairsFinder")
685 
686 
687 def _object_cast_to_RigidClosePairsFinder(*args):
688  """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
689  return _IMP_core._object_cast_to_RigidClosePairsFinder(*args)
690 _object_types.append("RigidMembersRefiner")
691 
692 
693 def _object_cast_to_RigidMembersRefiner(*args):
694  """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
695  return _IMP_core._object_cast_to_RigidMembersRefiner(*args)
696 _object_types.append("SingletonConstraint")
697 
698 
699 def _object_cast_to_SingletonConstraint(*args):
700  """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
701  return _IMP_core._object_cast_to_SingletonConstraint(*args)
702 _object_types.append("SingletonRestraint")
703 
704 
705 def _object_cast_to_SingletonRestraint(*args):
706  """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
707  return _IMP_core._object_cast_to_SingletonRestraint(*args)
708 _object_types.append("SoftSpherePairScore")
709 
710 
711 def _object_cast_to_SoftSpherePairScore(*args):
712  """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
713  return _IMP_core._object_cast_to_SoftSpherePairScore(*args)
714 _object_types.append("SphereDistancePairScore")
715 
716 
717 def _object_cast_to_SphereDistancePairScore(*args):
718  """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
719  return _IMP_core._object_cast_to_SphereDistancePairScore(*args)
720 _object_types.append("SphereDistanceToSingletonScore")
721 
722 
723 def _object_cast_to_SphereDistanceToSingletonScore(*args):
724  """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
725  return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(*args)
726 _object_types.append("SteepestDescent")
727 
728 
729 def _object_cast_to_SteepestDescent(*args):
730  """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
731  return _IMP_core._object_cast_to_SteepestDescent(*args)
732 _object_types.append("TableRefiner")
733 
734 
735 def _object_cast_to_TableRefiner(*args):
736  """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
737  return _IMP_core._object_cast_to_TableRefiner(*args)
738 _object_types.append("Transform")
739 
740 
741 def _object_cast_to_Transform(*args):
742  """_object_cast_to_Transform(Object o) -> Transform"""
743  return _IMP_core._object_cast_to_Transform(*args)
744 _object_types.append("TransformationAndReflectionSymmetry")
745 
746 
747 def _object_cast_to_TransformationAndReflectionSymmetry(*args):
748  """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
749  return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(*args)
750 _object_types.append("TransformationSymmetry")
751 
752 
753 def _object_cast_to_TransformationSymmetry(*args):
754  """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
755  return _IMP_core._object_cast_to_TransformationSymmetry(*args)
756 _object_types.append("TransformedDistancePairScore")
757 
758 
759 def _object_cast_to_TransformedDistancePairScore(*args):
760  """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
761  return _IMP_core._object_cast_to_TransformedDistancePairScore(*args)
762 _object_types.append("TripletConstraint")
763 
764 
765 def _object_cast_to_TripletConstraint(*args):
766  """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
767  return _IMP_core._object_cast_to_TripletConstraint(*args)
768 _object_types.append("TripletRestraint")
769 
770 
771 def _object_cast_to_TripletRestraint(*args):
772  """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
773  return _IMP_core._object_cast_to_TripletRestraint(*args)
774 _object_types.append("TypedPairScore")
775 
776 
777 def _object_cast_to_TypedPairScore(*args):
778  """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
779  return _IMP_core._object_cast_to_TypedPairScore(*args)
780 _object_types.append("VolumeRestraint")
781 
782 
783 def _object_cast_to_VolumeRestraint(*args):
784  """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
785  return _IMP_core._object_cast_to_VolumeRestraint(*args)
786 _object_types.append("WeightedSphereDistancePairScore")
787 
788 
789 def _object_cast_to_WeightedSphereDistancePairScore(*args):
790  """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
791  return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(*args)
792 _object_types.append("MoveStatisticsScoreState")
793 
794 
795 def _object_cast_to_MoveStatisticsScoreState(*args):
796  """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
797  return _IMP_core._object_cast_to_MoveStatisticsScoreState(*args)
798 _object_types.append("MinimumRestraint")
799 
800 
801 def _object_cast_to_MinimumRestraint(*args):
802  """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
803  return _IMP_core._object_cast_to_MinimumRestraint(*args)
804 _object_types.append("WriteRestraintScoresOptimizerState")
805 
806 
807 def _object_cast_to_WriteRestraintScoresOptimizerState(*args):
808  """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
809  return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(*args)
810 _object_types.append("ConstantSingletonPredicate")
811 
812 
813 def _object_cast_to_ConstantSingletonPredicate(*args):
814  """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
815  return _IMP_core._object_cast_to_ConstantSingletonPredicate(*args)
816 _object_types.append("ConstantPairPredicate")
817 
818 
819 def _object_cast_to_ConstantPairPredicate(*args):
820  """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
821  return _IMP_core._object_cast_to_ConstantPairPredicate(*args)
822 _object_types.append("ConstantTripletPredicate")
823 
824 
825 def _object_cast_to_ConstantTripletPredicate(*args):
826  """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
827  return _IMP_core._object_cast_to_ConstantTripletPredicate(*args)
828 _object_types.append("ConstantQuadPredicate")
829 
830 
831 def _object_cast_to_ConstantQuadPredicate(*args):
832  """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
833  return _IMP_core._object_cast_to_ConstantQuadPredicate(*args)
834 _object_types.append("CoinFlipSingletonPredicate")
835 
836 
837 def _object_cast_to_CoinFlipSingletonPredicate(*args):
838  """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
839  return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(*args)
840 _object_types.append("CoinFlipPairPredicate")
841 
842 
843 def _object_cast_to_CoinFlipPairPredicate(*args):
844  """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
845  return _IMP_core._object_cast_to_CoinFlipPairPredicate(*args)
846 _object_types.append("CoinFlipTripletPredicate")
847 
848 
849 def _object_cast_to_CoinFlipTripletPredicate(*args):
850  """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
851  return _IMP_core._object_cast_to_CoinFlipTripletPredicate(*args)
852 _object_types.append("CoinFlipQuadPredicate")
853 
854 
855 def _object_cast_to_CoinFlipQuadPredicate(*args):
856  """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
857  return _IMP_core._object_cast_to_CoinFlipQuadPredicate(*args)
858 _object_types.append("UnorderedTypeSingletonPredicate")
859 
860 
861 def _object_cast_to_UnorderedTypeSingletonPredicate(*args):
862  """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
863  return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(*args)
864 _object_types.append("UnorderedTypePairPredicate")
865 
866 
867 def _object_cast_to_UnorderedTypePairPredicate(*args):
868  """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
869  return _IMP_core._object_cast_to_UnorderedTypePairPredicate(*args)
870 _object_types.append("UnorderedTypeTripletPredicate")
871 
872 
873 def _object_cast_to_UnorderedTypeTripletPredicate(*args):
874  """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
875  return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(*args)
876 _object_types.append("UnorderedTypeQuadPredicate")
877 
878 
879 def _object_cast_to_UnorderedTypeQuadPredicate(*args):
880  """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
881  return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(*args)
882 _object_types.append("OrderedTypeSingletonPredicate")
883 
884 
885 def _object_cast_to_OrderedTypeSingletonPredicate(*args):
886  """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
887  return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(*args)
888 _object_types.append("OrderedTypePairPredicate")
889 
890 
891 def _object_cast_to_OrderedTypePairPredicate(*args):
892  """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
893  return _IMP_core._object_cast_to_OrderedTypePairPredicate(*args)
894 _object_types.append("OrderedTypeTripletPredicate")
895 
896 
897 def _object_cast_to_OrderedTypeTripletPredicate(*args):
898  """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
899  return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(*args)
900 _object_types.append("OrderedTypeQuadPredicate")
901 
902 
903 def _object_cast_to_OrderedTypeQuadPredicate(*args):
904  """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
905  return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(*args)
906 _object_types.append("AllSameSingletonPredicate")
907 
908 
909 def _object_cast_to_AllSameSingletonPredicate(*args):
910  """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
911  return _IMP_core._object_cast_to_AllSameSingletonPredicate(*args)
912 _object_types.append("AllSamePairPredicate")
913 
914 
915 def _object_cast_to_AllSamePairPredicate(*args):
916  """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
917  return _IMP_core._object_cast_to_AllSamePairPredicate(*args)
918 _object_types.append("AllSameTripletPredicate")
919 
920 
921 def _object_cast_to_AllSameTripletPredicate(*args):
922  """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
923  return _IMP_core._object_cast_to_AllSameTripletPredicate(*args)
924 _object_types.append("AllSameQuadPredicate")
925 
926 
927 def _object_cast_to_AllSameQuadPredicate(*args):
928  """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
929  return _IMP_core._object_cast_to_AllSameQuadPredicate(*args)
930 def XYZs(l=[]):
931  return [XYZ(x) for x in l]
932 _plural_types.append("XYZs")
933 
934 _value_types.append("XYZ")
935 
936 def XYZRs(l=[]):
937  return [XYZR(x) for x in l]
938 _plural_types.append("XYZRs")
939 
940 _value_types.append("XYZR")
941 
942 def RigidBodies(l=[]):
943  return [RigidBody(x) for x in l]
944 _plural_types.append("RigidBodies")
945 
946 _value_types.append("RigidBody")
947 
948 def RigidBodyMembers(l=[]):
949  return [RigidBodyMember(x) for x in l]
950 _plural_types.append("RigidBodyMembers")
951 
952 _value_types.append("RigidBodyMember")
953 
954 def RigidMembers(l=[]):
955  return [RigidMember(x) for x in l]
956 _plural_types.append("RigidMembers")
957 
958 _value_types.append("RigidMember")
959 
960 def NonRigidMembers(l=[]):
961  return [NonRigidMember(x) for x in l]
962 _plural_types.append("NonRigidMembers")
963 
964 _value_types.append("NonRigidMember")
965 
966 def Centroids(l=[]):
967  return [Centroid(x) for x in l]
968 _plural_types.append("Centroids")
969 
970 _value_types.append("Centroid")
971 
972 def Covers(l=[]):
973  return [Cover(x) for x in l]
974 _plural_types.append("Covers")
975 
976 _value_types.append("Cover")
977 
978 def References(l=[]):
979  return [Reference(x) for x in l]
980 _plural_types.append("References")
981 
982 _value_types.append("Reference")
983 
984 ParticleTypes=list
985 _plural_types.append("ParticleTypes")
986 _value_types.append("ParticleType")
987 
988 def Typeds(l=[]):
989  return [Typed(x) for x in l]
990 _plural_types.append("Typeds")
991 
992 _value_types.append("Typed")
993 
994 def GenericHierarchies(l=[]):
995  return [Hierarchy(x) for x in l]
996 _plural_types.append("GenericHierarchies")
997 
998 _value_types.append("Hierarchy")
999 
1000 HierarchyCounters=list
1001 _plural_types.append("HierarchyCounters")
1002 _value_types.append("HierarchyCounter")
1003 
1004 HierarchyTraitsList=list
1005 _plural_types.append("HierarchyTraitsList")
1006 _value_types.append("HierarchyTraits")
1007 
1008 _object_types.append("TruncatedHarmonicBound")
1009 
1010 
1011 def _object_cast_to_TruncatedHarmonicBound(*args):
1012  """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1013  return _IMP_core._object_cast_to_TruncatedHarmonicBound(*args)
1014 _object_types.append("TruncatedHarmonicLowerBound")
1015 
1016 
1017 def _object_cast_to_TruncatedHarmonicLowerBound(*args):
1018  """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1019  return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(*args)
1020 _object_types.append("TruncatedHarmonicUpperBound")
1021 
1022 
1023 def _object_cast_to_TruncatedHarmonicUpperBound(*args):
1024  """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1025  return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(*args)
1026 _object_types.append("HarmonicDistancePairScore")
1027 
1028 
1029 def _object_cast_to_HarmonicDistancePairScore(*args):
1030  """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1031  return _IMP_core._object_cast_to_HarmonicDistancePairScore(*args)
1032 _object_types.append("DistancePairScore")
1033 
1034 
1035 def _object_cast_to_DistancePairScore(*args):
1036  """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1037  return _IMP_core._object_cast_to_DistancePairScore(*args)
1038 _object_types.append("XYZRGeometry")
1039 
1040 
1041 def _object_cast_to_XYZRGeometry(*args):
1042  """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1043  return _IMP_core._object_cast_to_XYZRGeometry(*args)
1044 _object_types.append("XYZRsGeometry")
1045 
1046 
1047 def _object_cast_to_XYZRsGeometry(*args):
1048  """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1049  return _IMP_core._object_cast_to_XYZRsGeometry(*args)
1050 _object_types.append("XYZDerivativeGeometry")
1051 
1052 
1053 def _object_cast_to_XYZDerivativeGeometry(*args):
1054  """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1055  return _IMP_core._object_cast_to_XYZDerivativeGeometry(*args)
1056 _object_types.append("XYZDerivativesGeometry")
1057 
1058 
1059 def _object_cast_to_XYZDerivativesGeometry(*args):
1060  """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1061  return _IMP_core._object_cast_to_XYZDerivativesGeometry(*args)
1062 _object_types.append("RigidBodyDerivativeGeometry")
1063 
1064 
1065 def _object_cast_to_RigidBodyDerivativeGeometry(*args):
1066  """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1067  return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(*args)
1068 _object_types.append("RigidBodyDerivativesGeometry")
1069 
1070 
1071 def _object_cast_to_RigidBodyDerivativesGeometry(*args):
1072  """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1073  return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(*args)
1074 _object_types.append("RigidBodyHierarchyGeometry")
1075 
1076 
1077 def _object_cast_to_RigidBodyHierarchyGeometry(*args):
1078  """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1079  return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(*args)
1080 _object_types.append("RigidBodyFrameGeometry")
1081 
1082 
1083 def _object_cast_to_RigidBodyFrameGeometry(*args):
1084  """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1085  return _IMP_core._object_cast_to_RigidBodyFrameGeometry(*args)
1086 _object_types.append("RigidBodyFramesGeometry")
1087 
1088 
1089 def _object_cast_to_RigidBodyFramesGeometry(*args):
1090  """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1091  return _IMP_core._object_cast_to_RigidBodyFramesGeometry(*args)
1092 _object_types.append("RigidBodyTorque")
1093 
1094 
1095 def _object_cast_to_RigidBodyTorque(*args):
1096  """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1097  return _IMP_core._object_cast_to_RigidBodyTorque(*args)
1098 _object_types.append("EdgePairGeometry")
1099 
1100 
1101 def _object_cast_to_EdgePairGeometry(*args):
1102  """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1103  return _IMP_core._object_cast_to_EdgePairGeometry(*args)
1104 _object_types.append("EdgePairsGeometry")
1105 
1106 
1107 def _object_cast_to_EdgePairsGeometry(*args):
1108  """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1109  return _IMP_core._object_cast_to_EdgePairsGeometry(*args)
1110 _object_types.append("AttributeSingletonPredicate")
1111 
1112 
1113 def _object_cast_to_AttributeSingletonPredicate(*args):
1114  """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1115  return _IMP_core._object_cast_to_AttributeSingletonPredicate(*args)
1116 _object_types.append("InBoundingBox3DSingletonPredicate")
1117 
1118 
1119 def _object_cast_to_InBoundingBox3DSingletonPredicate(*args):
1120  """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1121  return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(*args)
1122 _object_types.append("IsCollisionPairPredicate")
1123 
1124 
1125 def _object_cast_to_IsCollisionPairPredicate(*args):
1126  """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1127  return _IMP_core._object_cast_to_IsCollisionPairPredicate(*args)
1128 class ClosePairsFinder(IMP.kernel._ParticleInputs,IMP.base.Object):
1129  """Proxy of C++ IMP::core::ClosePairsFinder class"""
1130  __swig_setmethods__ = {}
1131  for _s in [IMP.kernel._ParticleInputs,IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1132  __setattr__ = lambda self, name, value: _swig_setattr(self, ClosePairsFinder, name, value)
1133  __swig_getmethods__ = {}
1134  for _s in [IMP.kernel._ParticleInputs,IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1135  __getattr__ = lambda self, name: _swig_getattr(self, ClosePairsFinder, name)
1136  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
1137  __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1138  __del__ = lambda self : None;
1139  def get_close_pairs(self, *args):
1140  """
1141  get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
1142  get_close_pairs(ClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
1143  get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
1144  get_close_pairs(ClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
1145  get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1146  get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1147  """
1148  return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1149 
1150  def set_distance(self, *args):
1151  """set_distance(ClosePairsFinder self, double d)"""
1152  return _IMP_core.ClosePairsFinder_set_distance(self, *args)
1153 
1154  def get_distance(self):
1155  """get_distance(ClosePairsFinder self) -> double"""
1156  return _IMP_core.ClosePairsFinder_get_distance(self)
1157 
1158  def remove_pair_filter(self, *args):
1159  """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1160  return _IMP_core.ClosePairsFinder_remove_pair_filter(self, *args)
1161 
1162  def remove_pair_filters(self, *args):
1163  """remove_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & d)"""
1164  return _IMP_core.ClosePairsFinder_remove_pair_filters(self, *args)
1165 
1166  def set_pair_filters(self, *args):
1167  """set_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & ps)"""
1168  return _IMP_core.ClosePairsFinder_set_pair_filters(self, *args)
1169 
1170  def set_pair_filters_order(self, *args):
1171  """set_pair_filters_order(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1172  return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, *args)
1173 
1174  def add_pair_filter(self, *args):
1175  """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1176  return _IMP_core.ClosePairsFinder_add_pair_filter(self, *args)
1177 
1178  def add_pair_filters(self, *args):
1179  """add_pair_filters(ClosePairsFinder self, IMP::kernel::PairPredicates const & objs)"""
1180  return _IMP_core.ClosePairsFinder_add_pair_filters(self, *args)
1181 
1182  def clear_pair_filters(self):
1183  """clear_pair_filters(ClosePairsFinder self)"""
1184  return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1185 
1186  def get_number_of_pair_filters(self):
1187  """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1188  return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1189 
1190  def get_has_pair_filters(self):
1191  """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1192  return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1193 
1194  def get_pair_filter(self, *args):
1195  """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1196  return _IMP_core.ClosePairsFinder_get_pair_filter(self, *args)
1197 
1198  def get_pair_filters(self):
1199  """get_pair_filters(ClosePairsFinder self) -> IMP::kernel::PairPredicates"""
1200  return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1201 
1202  def reserve_pair_filters(self, *args):
1203  """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1204  return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, *args)
1205 
1206  def __str__(self):
1207  """__str__(ClosePairsFinder self) -> std::string"""
1208  return _IMP_core.ClosePairsFinder___str__(self)
1209 
1210  def __repr__(self):
1211  """__repr__(ClosePairsFinder self) -> std::string"""
1212  return _IMP_core.ClosePairsFinder___repr__(self)
1213 
1214  def get_from(o):
1215  return _object_cast_to_ClosePairsFinder(o)
1216  get_from = staticmethod(get_from)
1217 
1218 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1219 ClosePairsFinder_swigregister(ClosePairsFinder)
1220 
1221 class MonteCarloMoverResult(IMP.base._Value):
1222  """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1223  __swig_setmethods__ = {}
1224  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1225  __setattr__ = lambda self, name, value: _swig_setattr(self, MonteCarloMoverResult, name, value)
1226  __swig_getmethods__ = {}
1227  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1228  __getattr__ = lambda self, name: _swig_getattr(self, MonteCarloMoverResult, name)
1229  def __init__(self, *args):
1230  """
1231  __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult
1232  __init__(IMP::core::MonteCarloMoverResult self, IMP::kernel::ParticleIndexes i0=IMP::kernel::ParticleIndexes()) -> MonteCarloMoverResult
1233  __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1234  """
1235  this = _IMP_core.new_MonteCarloMoverResult(*args)
1236  try: self.this.append(this)
1237  except: self.this = this
1238  def __hash__(self):
1239  """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1240  return _IMP_core.MonteCarloMoverResult___hash__(self)
1241 
1242  def show(self, *args):
1243  """
1244  show(MonteCarloMoverResult self, _ostream out=std::cout)
1245  show(MonteCarloMoverResult self)
1246  """
1247  return _IMP_core.MonteCarloMoverResult_show(self, *args)
1248 
1249  def __eq__(self, *args):
1250  """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1251  return _IMP_core.MonteCarloMoverResult___eq__(self, *args)
1252 
1253  def __ne__(self, *args):
1254  """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1255  return _IMP_core.MonteCarloMoverResult___ne__(self, *args)
1256 
1257  def __lt__(self, *args):
1258  """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1259  return _IMP_core.MonteCarloMoverResult___lt__(self, *args)
1260 
1261  def __gt__(self, *args):
1262  """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1263  return _IMP_core.MonteCarloMoverResult___gt__(self, *args)
1264 
1265  def __ge__(self, *args):
1266  """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1267  return _IMP_core.MonteCarloMoverResult___ge__(self, *args)
1268 
1269  def __le__(self, *args):
1270  """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1271  return _IMP_core.MonteCarloMoverResult___le__(self, *args)
1272 
1273  def get_moved_particles(self):
1274  """get_moved_particles(MonteCarloMoverResult self) -> IMP::kernel::ParticleIndexes const &"""
1275  return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1276 
1277  def set_moved_particles(self, *args):
1278  """set_moved_particles(MonteCarloMoverResult self, IMP::kernel::ParticleIndexes const & v)"""
1279  return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, *args)
1280 
1281  def get_proposal_ratio(self):
1282  """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1283  return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1284 
1285  def set_proposal_ratio(self, *args):
1286  """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1287  return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, *args)
1288 
1289  def __str__(self):
1290  """__str__(MonteCarloMoverResult self) -> std::string"""
1291  return _IMP_core.MonteCarloMoverResult___str__(self)
1292 
1293  def __repr__(self):
1294  """__repr__(MonteCarloMoverResult self) -> std::string"""
1295  return _IMP_core.MonteCarloMoverResult___repr__(self)
1296 
1297  __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1298  __del__ = lambda self : None;
1299 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1300 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1301 
1302 class MonteCarloMover(IMP.kernel.ModelObject):
1303  """Proxy of C++ IMP::core::MonteCarloMover class"""
1304  __swig_setmethods__ = {}
1305  for _s in [IMP.kernel.ModelObject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1306  __setattr__ = lambda self, name, value: _swig_setattr(self, MonteCarloMover, name, value)
1307  __swig_getmethods__ = {}
1308  for _s in [IMP.kernel.ModelObject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1309  __getattr__ = lambda self, name: _swig_getattr(self, MonteCarloMover, name)
1310  def __init__(self, *args):
1311  """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1312  if self.__class__ == MonteCarloMover:
1313  _self = None
1314  else:
1315  _self = self
1316  this = _IMP_core.new_MonteCarloMover(_self, *args)
1317  try: self.this.append(this)
1318  except: self.this = this
1319  if self.__class__ != MonteCarloMover:
1320  import IMP.base
1321  IMP.base._director_objects.register(self)
1322 
1323 
1324 
1325  def propose(self):
1326  """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1327  return _IMP_core.MonteCarloMover_propose(self)
1328 
1329  def reject(self):
1330  """reject(MonteCarloMover self)"""
1331  return _IMP_core.MonteCarloMover_reject(self)
1332 
1333  def accept(self):
1334  """accept(MonteCarloMover self)"""
1335  return _IMP_core.MonteCarloMover_accept(self)
1336 
1337  def get_number_of_proposed(self):
1338  """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1339  return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1340 
1341  def get_number_of_accepted(self):
1342  """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1343  return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1344 
1345  def reset_statistics(self):
1346  """reset_statistics(MonteCarloMover self)"""
1347  return _IMP_core.MonteCarloMover_reset_statistics(self)
1348 
1349  def do_propose(self):
1350  """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1351  return _IMP_core.MonteCarloMover_do_propose(self)
1352 
1353  def do_reject(self):
1354  """do_reject(MonteCarloMover self)"""
1355  return _IMP_core.MonteCarloMover_do_reject(self)
1356 
1357  def do_accept(self):
1358  """do_accept(MonteCarloMover self)"""
1359  return _IMP_core.MonteCarloMover_do_accept(self)
1360 
1361  def do_get_outputs(self):
1362  """do_get_outputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1363  return _IMP_core.MonteCarloMover_do_get_outputs(self)
1364 
1365  def __str__(self):
1366  """__str__(MonteCarloMover self) -> std::string"""
1367  return _IMP_core.MonteCarloMover___str__(self)
1368 
1369  def __repr__(self):
1370  """__repr__(MonteCarloMover self) -> std::string"""
1371  return _IMP_core.MonteCarloMover___repr__(self)
1372 
1373  def get_from(o):
1374  return _object_cast_to_MonteCarloMover(o)
1375  get_from = staticmethod(get_from)
1376 
1377  def get_type_name(self):
1378  return self.__class__.__name__
1379  def do_show(self, out):
1380  pass
1381  def get_version_info(self):
1382  if"IMP::core" == "IMP":
1383  return VersionInfo("python", "0")
1384  else:
1385  return IMP.VersionInfo("python", "0")
1386  def get_from(o):
1387  return _object_cast_to_MonteCarloMover(o)
1388  get_from = staticmethod(get_from)
1389 
1390  __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1391  __del__ = lambda self : None;
1392  def __disown__(self):
1393  self.this.disown()
1394  _IMP_core.disown_MonteCarloMover(self)
1395  return weakref_proxy(self)
1396  def handle_set_has_required_score_states(self, *args):
1397  """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1398  return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, *args)
1399 
1400  def do_get_inputs(self):
1401  """do_get_inputs(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemp"""
1402  return _IMP_core.MonteCarloMover_do_get_inputs(self)
1403 
1404  def do_get_interactions(self):
1405  """do_get_interactions(MonteCarloMover self) -> IMP::kernel::ModelObjectsTemps"""
1406  return _IMP_core.MonteCarloMover_do_get_interactions(self)
1407 
1408 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
1409 MonteCarloMover_swigregister(MonteCarloMover)
1410 
1411 class Mover(MonteCarloMover):
1412  """Proxy of C++ IMP::core::Mover class"""
1413  __swig_setmethods__ = {}
1414  for _s in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1415  __setattr__ = lambda self, name, value: _swig_setattr(self, Mover, name, value)
1416  __swig_getmethods__ = {}
1417  for _s in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1418  __getattr__ = lambda self, name: _swig_getattr(self, Mover, name)
1419  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
1420  def propose_move(self, *args):
1421  """propose_move(Mover self, IMP::Float size) -> IMP::kernel::ParticlesTemp"""
1422  return _IMP_core.Mover_propose_move(self, *args)
1423 
1424  def reset_move(self):
1425  """reset_move(Mover self)"""
1426  return _IMP_core.Mover_reset_move(self)
1427 
1428  def get_output_particles(self):
1429  """get_output_particles(Mover self) -> IMP::kernel::ParticlesTemp"""
1430  return _IMP_core.Mover_get_output_particles(self)
1431 
1432  def __str__(self):
1433  """__str__(Mover self) -> std::string"""
1434  return _IMP_core.Mover___str__(self)
1435 
1436  def __repr__(self):
1437  """__repr__(Mover self) -> std::string"""
1438  return _IMP_core.Mover___repr__(self)
1439 
1440  def get_from(o):
1441  return _object_cast_to_Mover(o)
1442  get_from = staticmethod(get_from)
1443 
1444  __swig_destroy__ = _IMP_core.delete_Mover
1445  __del__ = lambda self : None;
1446 Mover_swigregister = _IMP_core.Mover_swigregister
1447 Mover_swigregister(Mover)
1448 
1449 class MoverBase(Mover):
1450  """Proxy of C++ IMP::core::MoverBase class"""
1451  __swig_setmethods__ = {}
1452  for _s in [Mover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1453  __setattr__ = lambda self, name, value: _swig_setattr(self, MoverBase, name, value)
1454  __swig_getmethods__ = {}
1455  for _s in [Mover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1456  __getattr__ = lambda self, name: _swig_getattr(self, MoverBase, name)
1457  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
1458  def __str__(self):
1459  """__str__(MoverBase self) -> std::string"""
1460  return _IMP_core.MoverBase___str__(self)
1461 
1462  def __repr__(self):
1463  """__repr__(MoverBase self) -> std::string"""
1464  return _IMP_core.MoverBase___repr__(self)
1465 
1466  def get_from(o):
1467  return _object_cast_to_MoverBase(o)
1468  get_from = staticmethod(get_from)
1469 
1470  __swig_destroy__ = _IMP_core.delete_MoverBase
1471  __del__ = lambda self : None;
1472 MoverBase_swigregister = _IMP_core.MoverBase_swigregister
1473 MoverBase_swigregister(MoverBase)
1474 
1475 class XYZ(IMP.kernel.Decorator):
1476  """Proxy of C++ IMP::core::XYZ class"""
1477  __swig_setmethods__ = {}
1478  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1479  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZ, name, value)
1480  __swig_getmethods__ = {}
1481  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1482  __getattr__ = lambda self, name: _swig_getattr(self, XYZ, name)
1483  def get_coordinate_key(*args):
1484  """get_coordinate_key(unsigned int i) -> FloatKey"""
1485  return _IMP_core.XYZ_get_coordinate_key(*args)
1486 
1487  if _newclass:get_coordinate_key = staticmethod(get_coordinate_key)
1488  __swig_getmethods__["get_coordinate_key"] = lambda x: get_coordinate_key
1489  def __init__(self, *args):
1490  """
1491  __init__(IMP::core::XYZ self) -> XYZ
1492  __init__(IMP::core::XYZ self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZ
1493  __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
1494  """
1495  this = _IMP_core.new_XYZ(*args)
1496  try: self.this.append(this)
1497  except: self.this = this
1498  def decorate_particle(*args):
1499  """decorate_particle(Particle p) -> XYZ"""
1500  return _IMP_core.XYZ_decorate_particle(*args)
1501 
1502  if _newclass:decorate_particle = staticmethod(decorate_particle)
1503  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
1504  def particle_is_instance(*args):
1505  """
1506  particle_is_instance(Particle p) -> bool
1507  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1508  """
1509  return _IMP_core.XYZ_particle_is_instance(*args)
1510 
1511  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1512  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
1513  def show(self, *args):
1514  """
1515  show(XYZ self, _ostream out=std::cout)
1516  show(XYZ self)
1517  """
1518  return _IMP_core.XYZ_show(self, *args)
1519 
1520  def setup_particle(*args):
1521  """
1522  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1523  setup_particle(_ParticleAdaptor decorator) -> XYZ
1524  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1525  setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1526  """
1527  return _IMP_core.XYZ_setup_particle(*args)
1528 
1529  if _newclass:setup_particle = staticmethod(setup_particle)
1530  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1531  def get_x(self):
1532  """get_x(XYZ self) -> IMP::Float"""
1533  return _IMP_core.XYZ_get_x(self)
1534 
1535  def set_x(self, *args):
1536  """set_x(XYZ self, IMP::Float t)"""
1537  return _IMP_core.XYZ_set_x(self, *args)
1538 
1539  def get_y(self):
1540  """get_y(XYZ self) -> IMP::Float"""
1541  return _IMP_core.XYZ_get_y(self)
1542 
1543  def set_y(self, *args):
1544  """set_y(XYZ self, IMP::Float t)"""
1545  return _IMP_core.XYZ_set_y(self, *args)
1546 
1547  def get_z(self):
1548  """get_z(XYZ self) -> IMP::Float"""
1549  return _IMP_core.XYZ_get_z(self)
1550 
1551  def set_z(self, *args):
1552  """set_z(XYZ self, IMP::Float t)"""
1553  return _IMP_core.XYZ_set_z(self, *args)
1554 
1555  def set_coordinate(self, *args):
1556  """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1557  return _IMP_core.XYZ_set_coordinate(self, *args)
1558 
1559  def set_coordinates(self, *args):
1560  """set_coordinates(XYZ self, Vector3D v)"""
1561  return _IMP_core.XYZ_set_coordinates(self, *args)
1562 
1563  def get_coordinate(self, *args):
1564  """get_coordinate(XYZ self, int i) -> IMP::Float"""
1565  return _IMP_core.XYZ_get_coordinate(self, *args)
1566 
1567  def add_to_derivatives(self, *args):
1568  """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1569  return _IMP_core.XYZ_add_to_derivatives(self, *args)
1570 
1571  def get_coordinates_are_optimized(self):
1572  """get_coordinates_are_optimized(XYZ self) -> bool"""
1573  return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1574 
1575  def set_coordinates_are_optimized(self, *args):
1576  """set_coordinates_are_optimized(XYZ self, bool tf)"""
1577  return _IMP_core.XYZ_set_coordinates_are_optimized(self, *args)
1578 
1579  def get_vector_to(self, *args):
1580  """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1581  return _IMP_core.XYZ_get_vector_to(self, *args)
1582 
1583  def get_coordinates(self):
1584  """get_coordinates(XYZ self) -> Vector3D"""
1585  return _IMP_core.XYZ_get_coordinates(self)
1586 
1587  def get_derivatives(self):
1588  """get_derivatives(XYZ self) -> Vector3D"""
1589  return _IMP_core.XYZ_get_derivatives(self)
1590 
1591  def get_is_setup(*args):
1592  """
1593  get_is_setup(_ParticleAdaptor p) -> bool
1594  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1595  """
1596  return _IMP_core.XYZ_get_is_setup(*args)
1597 
1598  if _newclass:get_is_setup = staticmethod(get_is_setup)
1599  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1600  def get_xyz_keys():
1601  """get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1602  return _IMP_core.XYZ_get_xyz_keys()
1603 
1604  if _newclass:get_xyz_keys = staticmethod(get_xyz_keys)
1605  __swig_getmethods__["get_xyz_keys"] = lambda x: get_xyz_keys
1606  def add_attribute(self, *args):
1607  """
1608  add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1609  add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1610  add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1611  add_attribute(XYZ self, StringKey a0, IMP::String a1)
1612  add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1613  add_attribute(XYZ self, ObjectKey a0, IMP::Object * a1)
1614  """
1615  return _IMP_core.XYZ_add_attribute(self, *args)
1616 
1617  def get_value(self, *args):
1618  """
1619  get_value(XYZ self, FloatKey a0) -> IMP::Float
1620  get_value(XYZ self, IntKey a0) -> IMP::Int
1621  get_value(XYZ self, StringKey a0) -> IMP::String
1622  get_value(XYZ self, ParticleIndexKey a0) -> Particle
1623  get_value(XYZ self, ObjectKey a0) -> IMP::Object *
1624  """
1625  return _IMP_core.XYZ_get_value(self, *args)
1626 
1627  def set_value(self, *args):
1628  """
1629  set_value(XYZ self, FloatKey a0, IMP::Float a1)
1630  set_value(XYZ self, IntKey a0, IMP::Int a1)
1631  set_value(XYZ self, StringKey a0, IMP::String a1)
1632  set_value(XYZ self, ParticleIndexKey a0, Particle a1)
1633  set_value(XYZ self, ObjectKey a0, IMP::Object * a1)
1634  """
1635  return _IMP_core.XYZ_set_value(self, *args)
1636 
1637  def remove_attribute(self, *args):
1638  """
1639  remove_attribute(XYZ self, FloatKey a0)
1640  remove_attribute(XYZ self, IntKey a0)
1641  remove_attribute(XYZ self, StringKey a0)
1642  remove_attribute(XYZ self, ParticleIndexKey a0)
1643  remove_attribute(XYZ self, ObjectKey a0)
1644  """
1645  return _IMP_core.XYZ_remove_attribute(self, *args)
1646 
1647  def has_attribute(self, *args):
1648  """
1649  has_attribute(XYZ self, FloatKey a0) -> bool
1650  has_attribute(XYZ self, IntKey a0) -> bool
1651  has_attribute(XYZ self, StringKey a0) -> bool
1652  has_attribute(XYZ self, ParticleIndexKey a0) -> bool
1653  has_attribute(XYZ self, ObjectKey a0) -> bool
1654  """
1655  return _IMP_core.XYZ_has_attribute(self, *args)
1656 
1657  def get_derivative(self, *args):
1658  """
1659  get_derivative(XYZ self, int i) -> IMP::Float
1660  get_derivative(XYZ self, FloatKey a0) -> double
1661  """
1662  return _IMP_core.XYZ_get_derivative(self, *args)
1663 
1664  def get_name(self):
1665  """get_name(XYZ self) -> std::string"""
1666  return _IMP_core.XYZ_get_name(self)
1667 
1668  def clear_caches(self):
1669  """clear_caches(XYZ self)"""
1670  return _IMP_core.XYZ_clear_caches(self)
1671 
1672  def set_name(self, *args):
1673  """set_name(XYZ self, std::string a0)"""
1674  return _IMP_core.XYZ_set_name(self, *args)
1675 
1676  def set_check_level(self, *args):
1677  """set_check_level(XYZ self, IMP::base::CheckLevel a0)"""
1678  return _IMP_core.XYZ_set_check_level(self, *args)
1679 
1680  def add_to_derivative(self, *args):
1681  """
1682  add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
1683  add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
1684  """
1685  return _IMP_core.XYZ_add_to_derivative(self, *args)
1686 
1687  def set_is_optimized(self, *args):
1688  """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
1689  return _IMP_core.XYZ_set_is_optimized(self, *args)
1690 
1691  def get_is_optimized(self, *args):
1692  """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
1693  return _IMP_core.XYZ_get_is_optimized(self, *args)
1694 
1695  def get_check_level(self):
1696  """get_check_level(XYZ self) -> IMP::base::CheckLevel"""
1697  return _IMP_core.XYZ_get_check_level(self)
1698 
1699  def __eq__(self, *args):
1700  """
1701  __eq__(XYZ self, XYZ o) -> bool
1702  __eq__(XYZ self, Particle d) -> bool
1703  """
1704  return _IMP_core.XYZ___eq__(self, *args)
1705 
1706  def __ne__(self, *args):
1707  """
1708  __ne__(XYZ self, XYZ o) -> bool
1709  __ne__(XYZ self, Particle d) -> bool
1710  """
1711  return _IMP_core.XYZ___ne__(self, *args)
1712 
1713  def __le__(self, *args):
1714  """
1715  __le__(XYZ self, XYZ o) -> bool
1716  __le__(XYZ self, Particle d) -> bool
1717  """
1718  return _IMP_core.XYZ___le__(self, *args)
1719 
1720  def __lt__(self, *args):
1721  """
1722  __lt__(XYZ self, XYZ o) -> bool
1723  __lt__(XYZ self, Particle d) -> bool
1724  """
1725  return _IMP_core.XYZ___lt__(self, *args)
1726 
1727  def __ge__(self, *args):
1728  """
1729  __ge__(XYZ self, XYZ o) -> bool
1730  __ge__(XYZ self, Particle d) -> bool
1731  """
1732  return _IMP_core.XYZ___ge__(self, *args)
1733 
1734  def __gt__(self, *args):
1735  """
1736  __gt__(XYZ self, XYZ o) -> bool
1737  __gt__(XYZ self, Particle d) -> bool
1738  """
1739  return _IMP_core.XYZ___gt__(self, *args)
1740 
1741  def __str__(self):
1742  """__str__(XYZ self) -> std::string"""
1743  return _IMP_core.XYZ___str__(self)
1744 
1745  def __repr__(self):
1746  """__repr__(XYZ self) -> std::string"""
1747  return _IMP_core.XYZ___repr__(self)
1748 
1749  __swig_destroy__ = _IMP_core.delete_XYZ
1750  __del__ = lambda self : None;
1751 XYZ_swigregister = _IMP_core.XYZ_swigregister
1752 XYZ_swigregister(XYZ)
1753 
1754 def XYZ_get_coordinate_key(*args):
1755  """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
1756  return _IMP_core.XYZ_get_coordinate_key(*args)
1757 
1758 def XYZ_decorate_particle(*args):
1759  """XYZ_decorate_particle(Particle p) -> XYZ"""
1760  return _IMP_core.XYZ_decorate_particle(*args)
1761 
1762 def XYZ_particle_is_instance(*args):
1763  """
1764  particle_is_instance(Particle p) -> bool
1765  XYZ_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1766  """
1767  return _IMP_core.XYZ_particle_is_instance(*args)
1768 
1769 def XYZ_setup_particle(*args):
1770  """
1771  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZ
1772  setup_particle(_ParticleAdaptor decorator) -> XYZ
1773  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Vector3D v) -> XYZ
1774  XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
1775  """
1776  return _IMP_core.XYZ_setup_particle(*args)
1777 
1778 def XYZ_get_is_setup(*args):
1779  """
1780  get_is_setup(_ParticleAdaptor p) -> bool
1781  XYZ_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1782  """
1783  return _IMP_core.XYZ_get_is_setup(*args)
1784 
1785 def XYZ_get_xyz_keys():
1786  """XYZ_get_xyz_keys() -> IMP::kernel::FloatKeys const &"""
1787  return _IMP_core.XYZ_get_xyz_keys()
1788 
1789 
1790 def get_dihedral(*args):
1791  """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
1792  return _IMP_core.get_dihedral(*args)
1793 
1794 def get_vector_d_geometry(*args):
1795  """get_vector_d_geometry(XYZ d) -> Vector3D"""
1796  return _IMP_core.get_vector_d_geometry(*args)
1797 
1798 def set_vector_d_geometry(*args):
1799  """set_vector_d_geometry(XYZ d, Vector3D v)"""
1800  return _IMP_core.set_vector_d_geometry(*args)
1801 class XYZR(XYZ):
1802  """Proxy of C++ IMP::core::XYZR class"""
1803  __swig_setmethods__ = {}
1804  for _s in [XYZ]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1805  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZR, name, value)
1806  __swig_getmethods__ = {}
1807  for _s in [XYZ]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1808  __getattr__ = lambda self, name: _swig_getattr(self, XYZR, name)
1809  def __init__(self, *args):
1810  """
1811  __init__(IMP::core::XYZR self) -> XYZR
1812  __init__(IMP::core::XYZR self, Model m, ::IMP::kernel::ParticleIndex id) -> XYZR
1813  __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
1814  """
1815  this = _IMP_core.new_XYZR(*args)
1816  try: self.this.append(this)
1817  except: self.this = this
1818  def decorate_particle(*args):
1819  """decorate_particle(Particle p) -> XYZR"""
1820  return _IMP_core.XYZR_decorate_particle(*args)
1821 
1822  if _newclass:decorate_particle = staticmethod(decorate_particle)
1823  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
1824  def particle_is_instance(*args):
1825  """
1826  particle_is_instance(Particle p) -> bool
1827  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
1828  """
1829  return _IMP_core.XYZR_particle_is_instance(*args)
1830 
1831  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1832  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
1833  def show(self, *args):
1834  """
1835  show(XYZR self, _ostream out=std::cout)
1836  show(XYZR self)
1837  """
1838  return _IMP_core.XYZR_show(self, *args)
1839 
1840  def setup_particle(*args):
1841  """
1842  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
1843  setup_particle(_ParticleAdaptor decorator) -> XYZR
1844  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
1845  setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
1846  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
1847  setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
1848  """
1849  return _IMP_core.XYZR_setup_particle(*args)
1850 
1851  if _newclass:setup_particle = staticmethod(setup_particle)
1852  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1853  def get_is_setup(*args):
1854  """
1855  get_is_setup(_ParticleAdaptor p) -> bool
1856  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1857  """
1858  return _IMP_core.XYZR_get_is_setup(*args)
1859 
1860  if _newclass:get_is_setup = staticmethod(get_is_setup)
1861  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1862  def get_radius(self):
1863  """get_radius(XYZR self) -> double"""
1864  return _IMP_core.XYZR_get_radius(self)
1865 
1866  def set_radius(self, *args):
1867  """set_radius(XYZR self, double r)"""
1868  return _IMP_core.XYZR_set_radius(self, *args)
1869 
1870  def get_sphere(self):
1871  """get_sphere(XYZR self) -> Sphere3D"""
1872  return _IMP_core.XYZR_get_sphere(self)
1873 
1874  def set_sphere(self, *args):
1875  """set_sphere(XYZR self, Sphere3D s)"""
1876  return _IMP_core.XYZR_set_sphere(self, *args)
1877 
1878  def get_radius_key():
1879  """get_radius_key() -> FloatKey"""
1880  return _IMP_core.XYZR_get_radius_key()
1881 
1882  if _newclass:get_radius_key = staticmethod(get_radius_key)
1883  __swig_getmethods__["get_radius_key"] = lambda x: get_radius_key
1884  def add_to_radius_derivative(self, *args):
1885  """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
1886  return _IMP_core.XYZR_add_to_radius_derivative(self, *args)
1887 
1888  def add_attribute(self, *args):
1889  """
1890  add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
1891  add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
1892  add_attribute(XYZR self, IntKey a0, IMP::Int a1)
1893  add_attribute(XYZR self, StringKey a0, IMP::String a1)
1894  add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
1895  add_attribute(XYZR self, ObjectKey a0, IMP::Object * a1)
1896  """
1897  return _IMP_core.XYZR_add_attribute(self, *args)
1898 
1899  def get_value(self, *args):
1900  """
1901  get_value(XYZR self, FloatKey a0) -> IMP::Float
1902  get_value(XYZR self, IntKey a0) -> IMP::Int
1903  get_value(XYZR self, StringKey a0) -> IMP::String
1904  get_value(XYZR self, ParticleIndexKey a0) -> Particle
1905  get_value(XYZR self, ObjectKey a0) -> IMP::Object *
1906  """
1907  return _IMP_core.XYZR_get_value(self, *args)
1908 
1909  def set_value(self, *args):
1910  """
1911  set_value(XYZR self, FloatKey a0, IMP::Float a1)
1912  set_value(XYZR self, IntKey a0, IMP::Int a1)
1913  set_value(XYZR self, StringKey a0, IMP::String a1)
1914  set_value(XYZR self, ParticleIndexKey a0, Particle a1)
1915  set_value(XYZR self, ObjectKey a0, IMP::Object * a1)
1916  """
1917  return _IMP_core.XYZR_set_value(self, *args)
1918 
1919  def remove_attribute(self, *args):
1920  """
1921  remove_attribute(XYZR self, FloatKey a0)
1922  remove_attribute(XYZR self, IntKey a0)
1923  remove_attribute(XYZR self, StringKey a0)
1924  remove_attribute(XYZR self, ParticleIndexKey a0)
1925  remove_attribute(XYZR self, ObjectKey a0)
1926  """
1927  return _IMP_core.XYZR_remove_attribute(self, *args)
1928 
1929  def has_attribute(self, *args):
1930  """
1931  has_attribute(XYZR self, FloatKey a0) -> bool
1932  has_attribute(XYZR self, IntKey a0) -> bool
1933  has_attribute(XYZR self, StringKey a0) -> bool
1934  has_attribute(XYZR self, ParticleIndexKey a0) -> bool
1935  has_attribute(XYZR self, ObjectKey a0) -> bool
1936  """
1937  return _IMP_core.XYZR_has_attribute(self, *args)
1938 
1939  def get_derivative(self, *args):
1940  """get_derivative(XYZR self, FloatKey a0) -> double"""
1941  return _IMP_core.XYZR_get_derivative(self, *args)
1942 
1943  def get_name(self):
1944  """get_name(XYZR self) -> std::string"""
1945  return _IMP_core.XYZR_get_name(self)
1946 
1947  def clear_caches(self):
1948  """clear_caches(XYZR self)"""
1949  return _IMP_core.XYZR_clear_caches(self)
1950 
1951  def set_name(self, *args):
1952  """set_name(XYZR self, std::string a0)"""
1953  return _IMP_core.XYZR_set_name(self, *args)
1954 
1955  def set_check_level(self, *args):
1956  """set_check_level(XYZR self, IMP::base::CheckLevel a0)"""
1957  return _IMP_core.XYZR_set_check_level(self, *args)
1958 
1959  def add_to_derivative(self, *args):
1960  """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1961  return _IMP_core.XYZR_add_to_derivative(self, *args)
1962 
1963  def set_is_optimized(self, *args):
1964  """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
1965  return _IMP_core.XYZR_set_is_optimized(self, *args)
1966 
1967  def get_is_optimized(self, *args):
1968  """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
1969  return _IMP_core.XYZR_get_is_optimized(self, *args)
1970 
1971  def get_check_level(self):
1972  """get_check_level(XYZR self) -> IMP::base::CheckLevel"""
1973  return _IMP_core.XYZR_get_check_level(self)
1974 
1975  def __eq__(self, *args):
1976  """
1977  __eq__(XYZR self, XYZR o) -> bool
1978  __eq__(XYZR self, Particle d) -> bool
1979  """
1980  return _IMP_core.XYZR___eq__(self, *args)
1981 
1982  def __ne__(self, *args):
1983  """
1984  __ne__(XYZR self, XYZR o) -> bool
1985  __ne__(XYZR self, Particle d) -> bool
1986  """
1987  return _IMP_core.XYZR___ne__(self, *args)
1988 
1989  def __le__(self, *args):
1990  """
1991  __le__(XYZR self, XYZR o) -> bool
1992  __le__(XYZR self, Particle d) -> bool
1993  """
1994  return _IMP_core.XYZR___le__(self, *args)
1995 
1996  def __lt__(self, *args):
1997  """
1998  __lt__(XYZR self, XYZR o) -> bool
1999  __lt__(XYZR self, Particle d) -> bool
2000  """
2001  return _IMP_core.XYZR___lt__(self, *args)
2002 
2003  def __ge__(self, *args):
2004  """
2005  __ge__(XYZR self, XYZR o) -> bool
2006  __ge__(XYZR self, Particle d) -> bool
2007  """
2008  return _IMP_core.XYZR___ge__(self, *args)
2009 
2010  def __gt__(self, *args):
2011  """
2012  __gt__(XYZR self, XYZR o) -> bool
2013  __gt__(XYZR self, Particle d) -> bool
2014  """
2015  return _IMP_core.XYZR___gt__(self, *args)
2016 
2017  def __str__(self):
2018  """__str__(XYZR self) -> std::string"""
2019  return _IMP_core.XYZR___str__(self)
2020 
2021  def __repr__(self):
2022  """__repr__(XYZR self) -> std::string"""
2023  return _IMP_core.XYZR___repr__(self)
2024 
2025  __swig_destroy__ = _IMP_core.delete_XYZR
2026  __del__ = lambda self : None;
2027 XYZR_swigregister = _IMP_core.XYZR_swigregister
2028 XYZR_swigregister(XYZR)
2029 
2030 def XYZR_decorate_particle(*args):
2031  """XYZR_decorate_particle(Particle p) -> XYZR"""
2032  return _IMP_core.XYZR_decorate_particle(*args)
2033 
2034 def XYZR_particle_is_instance(*args):
2035  """
2036  particle_is_instance(Particle p) -> bool
2037  XYZR_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2038  """
2039  return _IMP_core.XYZR_particle_is_instance(*args)
2040 
2041 def XYZR_setup_particle(*args):
2042  """
2043  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> XYZR
2044  setup_particle(_ParticleAdaptor decorator) -> XYZR
2045  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::Float radius) -> XYZR
2046  setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2047  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Sphere3D ball) -> XYZR
2048  XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2049  """
2050  return _IMP_core.XYZR_setup_particle(*args)
2051 
2052 def XYZR_get_is_setup(*args):
2053  """
2054  get_is_setup(_ParticleAdaptor p) -> bool
2055  XYZR_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2056  """
2057  return _IMP_core.XYZR_get_is_setup(*args)
2058 
2059 def XYZR_get_radius_key():
2060  """XYZR_get_radius_key() -> FloatKey"""
2061  return _IMP_core.XYZR_get_radius_key()
2062 
2063 
2064 def get_distance(*args):
2065  """
2066  get_distance(XYZ a, XYZ b) -> double
2067  get_distance(XYZR a, XYZR b) -> double
2068  """
2069  return _IMP_core.get_distance(*args)
2070 
2071 def set_enclosing_sphere(*args):
2072  """
2073  set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2074  set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2075  """
2076  return _IMP_core.set_enclosing_sphere(*args)
2077 
2078 def set_enclosing_radius(*args):
2079  """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2080  return _IMP_core.set_enclosing_radius(*args)
2081 
2082 def get_enclosing_sphere(*args):
2083  """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2084  return _IMP_core.get_enclosing_sphere(*args)
2085 
2086 def create_xyzr_particles(*args):
2087  """
2088  create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2089  create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2090  """
2091  return _IMP_core.create_xyzr_particles(*args)
2092 
2093 def get_sphere_d_geometry(*args):
2094  """get_sphere_d_geometry(XYZR d) -> Sphere3D"""
2095  return _IMP_core.get_sphere_d_geometry(*args)
2096 
2097 def set_sphere_d_geometry(*args):
2098  """set_sphere_d_geometry(XYZR d, Sphere3D v)"""
2099  return _IMP_core.set_sphere_d_geometry(*args)
2100 class XYZRGeometry(IMP.display.SingletonGeometry):
2101  """Proxy of C++ IMP::core::XYZRGeometry class"""
2102  __swig_setmethods__ = {}
2103  for _s in [IMP.display.SingletonGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2104  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZRGeometry, name, value)
2105  __swig_getmethods__ = {}
2106  for _s in [IMP.display.SingletonGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2107  __getattr__ = lambda self, name: _swig_getattr(self, XYZRGeometry, name)
2108  def __init__(self, *args):
2109  """
2110  __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2111  __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2112  """
2113  this = _IMP_core.new_XYZRGeometry(*args)
2114  try: self.this.append(this)
2115  except: self.this = this
2116  def get_version_info(self):
2117  """get_version_info(XYZRGeometry self) -> VersionInfo"""
2118  return _IMP_core.XYZRGeometry_get_version_info(self)
2119 
2120  __swig_destroy__ = _IMP_core.delete_XYZRGeometry
2121  __del__ = lambda self : None;
2122  def __str__(self):
2123  """__str__(XYZRGeometry self) -> std::string"""
2124  return _IMP_core.XYZRGeometry___str__(self)
2125 
2126  def __repr__(self):
2127  """__repr__(XYZRGeometry self) -> std::string"""
2128  return _IMP_core.XYZRGeometry___repr__(self)
2129 
2130  def get_from(o):
2131  return _object_cast_to_XYZRGeometry(o)
2132  get_from = staticmethod(get_from)
2133 
2134 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2135 XYZRGeometry_swigregister(XYZRGeometry)
2136 
2137 class XYZRsGeometry(IMP.display.SingletonsGeometry):
2138  """Proxy of C++ IMP::core::XYZRsGeometry class"""
2139  __swig_setmethods__ = {}
2140  for _s in [IMP.display.SingletonsGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2141  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZRsGeometry, name, value)
2142  __swig_getmethods__ = {}
2143  for _s in [IMP.display.SingletonsGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2144  __getattr__ = lambda self, name: _swig_getattr(self, XYZRsGeometry, name)
2145  def __init__(self, *args):
2146  """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2147  this = _IMP_core.new_XYZRsGeometry(*args)
2148  try: self.this.append(this)
2149  except: self.this = this
2150  def get_version_info(self):
2151  """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2152  return _IMP_core.XYZRsGeometry_get_version_info(self)
2153 
2154  __swig_destroy__ = _IMP_core.delete_XYZRsGeometry
2155  __del__ = lambda self : None;
2156  def __str__(self):
2157  """__str__(XYZRsGeometry self) -> std::string"""
2158  return _IMP_core.XYZRsGeometry___str__(self)
2159 
2160  def __repr__(self):
2161  """__repr__(XYZRsGeometry self) -> std::string"""
2162  return _IMP_core.XYZRsGeometry___repr__(self)
2163 
2164  def get_from(o):
2165  return _object_cast_to_XYZRsGeometry(o)
2166  get_from = staticmethod(get_from)
2167 
2168 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2169 XYZRsGeometry_swigregister(XYZRsGeometry)
2170 
2171 class XYZDerivativeGeometry(IMP.display.SingletonGeometry):
2172  """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2173  __swig_setmethods__ = {}
2174  for _s in [IMP.display.SingletonGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2175  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZDerivativeGeometry, name, value)
2176  __swig_getmethods__ = {}
2177  for _s in [IMP.display.SingletonGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2178  __getattr__ = lambda self, name: _swig_getattr(self, XYZDerivativeGeometry, name)
2179  def __init__(self, *args):
2180  """
2181  __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2182  __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2183  """
2184  this = _IMP_core.new_XYZDerivativeGeometry(*args)
2185  try: self.this.append(this)
2186  except: self.this = this
2187  def get_version_info(self):
2188  """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2189  return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2190 
2191  __swig_destroy__ = _IMP_core.delete_XYZDerivativeGeometry
2192  __del__ = lambda self : None;
2193  def __str__(self):
2194  """__str__(XYZDerivativeGeometry self) -> std::string"""
2195  return _IMP_core.XYZDerivativeGeometry___str__(self)
2196 
2197  def __repr__(self):
2198  """__repr__(XYZDerivativeGeometry self) -> std::string"""
2199  return _IMP_core.XYZDerivativeGeometry___repr__(self)
2200 
2201  def get_from(o):
2202  return _object_cast_to_XYZDerivativeGeometry(o)
2203  get_from = staticmethod(get_from)
2204 
2205 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2206 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2207 
2208 class XYZDerivativesGeometry(IMP.display.SingletonsGeometry):
2209  """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2210  __swig_setmethods__ = {}
2211  for _s in [IMP.display.SingletonsGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2212  __setattr__ = lambda self, name, value: _swig_setattr(self, XYZDerivativesGeometry, name, value)
2213  __swig_getmethods__ = {}
2214  for _s in [IMP.display.SingletonsGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2215  __getattr__ = lambda self, name: _swig_getattr(self, XYZDerivativesGeometry, name)
2216  def __init__(self, *args):
2217  """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2218  this = _IMP_core.new_XYZDerivativesGeometry(*args)
2219  try: self.this.append(this)
2220  except: self.this = this
2221  def get_version_info(self):
2222  """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2223  return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2224 
2225  __swig_destroy__ = _IMP_core.delete_XYZDerivativesGeometry
2226  __del__ = lambda self : None;
2227  def __str__(self):
2228  """__str__(XYZDerivativesGeometry self) -> std::string"""
2229  return _IMP_core.XYZDerivativesGeometry___str__(self)
2230 
2231  def __repr__(self):
2232  """__repr__(XYZDerivativesGeometry self) -> std::string"""
2233  return _IMP_core.XYZDerivativesGeometry___repr__(self)
2234 
2235  def get_from(o):
2236  return _object_cast_to_XYZDerivativesGeometry(o)
2237  get_from = staticmethod(get_from)
2238 
2239 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2240 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2241 
2242 class EdgePairGeometry(IMP.display.PairGeometry):
2243  """Proxy of C++ IMP::core::EdgePairGeometry class"""
2244  __swig_setmethods__ = {}
2245  for _s in [IMP.display.PairGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2246  __setattr__ = lambda self, name, value: _swig_setattr(self, EdgePairGeometry, name, value)
2247  __swig_getmethods__ = {}
2248  for _s in [IMP.display.PairGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2249  __getattr__ = lambda self, name: _swig_getattr(self, EdgePairGeometry, name)
2250  def __init__(self, *args):
2251  """__init__(IMP::core::EdgePairGeometry self, IMP::kernel::ParticlePair const & pp) -> EdgePairGeometry"""
2252  this = _IMP_core.new_EdgePairGeometry(*args)
2253  try: self.this.append(this)
2254  except: self.this = this
2255  def get_version_info(self):
2256  """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2257  return _IMP_core.EdgePairGeometry_get_version_info(self)
2258 
2259  __swig_destroy__ = _IMP_core.delete_EdgePairGeometry
2260  __del__ = lambda self : None;
2261  def __str__(self):
2262  """__str__(EdgePairGeometry self) -> std::string"""
2263  return _IMP_core.EdgePairGeometry___str__(self)
2264 
2265  def __repr__(self):
2266  """__repr__(EdgePairGeometry self) -> std::string"""
2267  return _IMP_core.EdgePairGeometry___repr__(self)
2268 
2269  def get_from(o):
2270  return _object_cast_to_EdgePairGeometry(o)
2271  get_from = staticmethod(get_from)
2272 
2273 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2274 EdgePairGeometry_swigregister(EdgePairGeometry)
2275 
2276 class EdgePairsGeometry(IMP.display.PairsGeometry):
2277  """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2278  __swig_setmethods__ = {}
2279  for _s in [IMP.display.PairsGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2280  __setattr__ = lambda self, name, value: _swig_setattr(self, EdgePairsGeometry, name, value)
2281  __swig_getmethods__ = {}
2282  for _s in [IMP.display.PairsGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2283  __getattr__ = lambda self, name: _swig_getattr(self, EdgePairsGeometry, name)
2284  def __init__(self, *args):
2285  """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2286  this = _IMP_core.new_EdgePairsGeometry(*args)
2287  try: self.this.append(this)
2288  except: self.this = this
2289  def get_version_info(self):
2290  """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2291  return _IMP_core.EdgePairsGeometry_get_version_info(self)
2292 
2293  __swig_destroy__ = _IMP_core.delete_EdgePairsGeometry
2294  __del__ = lambda self : None;
2295  def __str__(self):
2296  """__str__(EdgePairsGeometry self) -> std::string"""
2297  return _IMP_core.EdgePairsGeometry___str__(self)
2298 
2299  def __repr__(self):
2300  """__repr__(EdgePairsGeometry self) -> std::string"""
2301  return _IMP_core.EdgePairsGeometry___repr__(self)
2302 
2303  def get_from(o):
2304  return _object_cast_to_EdgePairsGeometry(o)
2305  get_from = staticmethod(get_from)
2306 
2307 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2308 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2309 
2310 class AngleTripletScore(IMP.kernel.TripletScore):
2311  """Proxy of C++ IMP::core::AngleTripletScore class"""
2312  __swig_setmethods__ = {}
2313  for _s in [IMP.kernel.TripletScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2314  __setattr__ = lambda self, name, value: _swig_setattr(self, AngleTripletScore, name, value)
2315  __swig_getmethods__ = {}
2316  for _s in [IMP.kernel.TripletScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2317  __getattr__ = lambda self, name: _swig_getattr(self, AngleTripletScore, name)
2318  def __init__(self, *args):
2319  """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
2320  this = _IMP_core.new_AngleTripletScore(*args)
2321  try: self.this.append(this)
2322  except: self.this = this
2323  def do_get_inputs(self, *args):
2324  """do_get_inputs(AngleTripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2325  return _IMP_core.AngleTripletScore_do_get_inputs(self, *args)
2326 
2327  def get_version_info(self):
2328  """get_version_info(AngleTripletScore self) -> VersionInfo"""
2329  return _IMP_core.AngleTripletScore_get_version_info(self)
2330 
2331  __swig_destroy__ = _IMP_core.delete_AngleTripletScore
2332  __del__ = lambda self : None;
2333  def __str__(self):
2334  """__str__(AngleTripletScore self) -> std::string"""
2335  return _IMP_core.AngleTripletScore___str__(self)
2336 
2337  def __repr__(self):
2338  """__repr__(AngleTripletScore self) -> std::string"""
2339  return _IMP_core.AngleTripletScore___repr__(self)
2340 
2341  def get_from(o):
2342  return _object_cast_to_AngleTripletScore(o)
2343  get_from = staticmethod(get_from)
2344 
2345 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
2346 AngleTripletScore_swigregister(AngleTripletScore)
2347 
2348 class BallMover(MonteCarloMover):
2349  """Proxy of C++ IMP::core::BallMover class"""
2350  __swig_setmethods__ = {}
2351  for _s in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2352  __setattr__ = lambda self, name, value: _swig_setattr(self, BallMover, name, value)
2353  __swig_getmethods__ = {}
2354  for _s in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2355  __getattr__ = lambda self, name: _swig_getattr(self, BallMover, name)
2356  def __init__(self, *args):
2357  """
2358  __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double radius) -> BallMover
2359  __init__(IMP::core::BallMover self, Model m, IMP::kernel::ParticleIndex pi, double radius) -> BallMover
2360  __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float radius) -> BallMover
2361  __init__(IMP::core::BallMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> BallMover
2362  """
2363  this = _IMP_core.new_BallMover(*args)
2364  try: self.this.append(this)
2365  except: self.this = this
2366  def set_radius(self, *args):
2367  """set_radius(BallMover self, IMP::Float radius)"""
2368  return _IMP_core.BallMover_set_radius(self, *args)
2369 
2370  def get_radius(self):
2371  """get_radius(BallMover self) -> IMP::Float"""
2372  return _IMP_core.BallMover_get_radius(self)
2373 
2374  def get_version_info(self):
2375  """get_version_info(BallMover self) -> VersionInfo"""
2376  return _IMP_core.BallMover_get_version_info(self)
2377 
2378  __swig_destroy__ = _IMP_core.delete_BallMover
2379  __del__ = lambda self : None;
2380  def __str__(self):
2381  """__str__(BallMover self) -> std::string"""
2382  return _IMP_core.BallMover___str__(self)
2383 
2384  def __repr__(self):
2385  """__repr__(BallMover self) -> std::string"""
2386  return _IMP_core.BallMover___repr__(self)
2387 
2388  def get_from(o):
2389  return _object_cast_to_BallMover(o)
2390  get_from = staticmethod(get_from)
2391 
2392 BallMover_swigregister = _IMP_core.BallMover_swigregister
2393 BallMover_swigregister(BallMover)
2394 
2395 class SerialMover(MonteCarloMover):
2396  """Proxy of C++ IMP::core::SerialMover class"""
2397  __swig_setmethods__ = {}
2398  for _s in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2399  __setattr__ = lambda self, name, value: _swig_setattr(self, SerialMover, name, value)
2400  __swig_getmethods__ = {}
2401  for _s in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2402  __getattr__ = lambda self, name: _swig_getattr(self, SerialMover, name)
2403  def __init__(self, *args):
2404  """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
2405  this = _IMP_core.new_SerialMover(*args)
2406  try: self.this.append(this)
2407  except: self.this = this
2408  def get_movers(self):
2409  """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
2410  return _IMP_core.SerialMover_get_movers(self)
2411 
2412  def get_acceptance_probability(self, *args):
2413  """get_acceptance_probability(SerialMover self, int i) -> double"""
2414  return _IMP_core.SerialMover_get_acceptance_probability(self, *args)
2415 
2416  def reset_acceptance_probabilities(self):
2417  """reset_acceptance_probabilities(SerialMover self)"""
2418  return _IMP_core.SerialMover_reset_acceptance_probabilities(self)
2419 
2420  def get_number_of_movers(self):
2421  """get_number_of_movers(SerialMover self) -> unsigned int"""
2422  return _IMP_core.SerialMover_get_number_of_movers(self)
2423 
2424  def get_version_info(self):
2425  """get_version_info(SerialMover self) -> VersionInfo"""
2426  return _IMP_core.SerialMover_get_version_info(self)
2427 
2428  __swig_destroy__ = _IMP_core.delete_SerialMover
2429  __del__ = lambda self : None;
2430  def __str__(self):
2431  """__str__(SerialMover self) -> std::string"""
2432  return _IMP_core.SerialMover___str__(self)
2433 
2434  def __repr__(self):
2435  """__repr__(SerialMover self) -> std::string"""
2436  return _IMP_core.SerialMover___repr__(self)
2437 
2438  def get_from(o):
2439  return _object_cast_to_SerialMover(o)
2440  get_from = staticmethod(get_from)
2441 
2442 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
2443 SerialMover_swigregister(SerialMover)
2444 
2445 class BoxSweepClosePairsFinder(ClosePairsFinder):
2446  """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
2447  __swig_setmethods__ = {}
2448  for _s in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2449  __setattr__ = lambda self, name, value: _swig_setattr(self, BoxSweepClosePairsFinder, name, value)
2450  __swig_getmethods__ = {}
2451  for _s in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2452  __getattr__ = lambda self, name: _swig_getattr(self, BoxSweepClosePairsFinder, name)
2453  def __init__(self):
2454  """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
2455  this = _IMP_core.new_BoxSweepClosePairsFinder()
2456  try: self.this.append(this)
2457  except: self.this = this
2458  def get_close_pairs(self, *args):
2459  """
2460  get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
2461  get_close_pairs(BoxSweepClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
2462  get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2463  get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
2464  get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
2465  get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
2466  """
2467  return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
2468 
2469  def do_get_inputs(self, *args):
2470  """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2471  return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, *args)
2472 
2473  def get_version_info(self):
2474  """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
2475  return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
2476 
2477  __swig_destroy__ = _IMP_core.delete_BoxSweepClosePairsFinder
2478  __del__ = lambda self : None;
2479  def __str__(self):
2480  """__str__(BoxSweepClosePairsFinder self) -> std::string"""
2481  return _IMP_core.BoxSweepClosePairsFinder___str__(self)
2482 
2483  def __repr__(self):
2484  """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
2485  return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
2486 
2487  def get_from(o):
2488  return _object_cast_to_BoxSweepClosePairsFinder(o)
2489  get_from = staticmethod(get_from)
2490 
2491 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
2492 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
2493 
2494 class CentroidOfRefined(IMP.kernel.SingletonModifier):
2495  """Proxy of C++ IMP::core::CentroidOfRefined class"""
2496  __swig_setmethods__ = {}
2497  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2498  __setattr__ = lambda self, name, value: _swig_setattr(self, CentroidOfRefined, name, value)
2499  __swig_getmethods__ = {}
2500  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2501  __getattr__ = lambda self, name: _swig_getattr(self, CentroidOfRefined, name)
2502  def __init__(self, *args):
2503  """
2504  __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined
2505  __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey()) -> CentroidOfRefined
2506  __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
2507  """
2508  this = _IMP_core.new_CentroidOfRefined(*args)
2509  try: self.this.append(this)
2510  except: self.this = this
2511  def do_get_inputs(self, *args):
2512  """do_get_inputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2513  return _IMP_core.CentroidOfRefined_do_get_inputs(self, *args)
2514 
2515  def do_get_outputs(self, *args):
2516  """do_get_outputs(CentroidOfRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2517  return _IMP_core.CentroidOfRefined_do_get_outputs(self, *args)
2518 
2519  def get_version_info(self):
2520  """get_version_info(CentroidOfRefined self) -> VersionInfo"""
2521  return _IMP_core.CentroidOfRefined_get_version_info(self)
2522 
2523  __swig_destroy__ = _IMP_core.delete_CentroidOfRefined
2524  __del__ = lambda self : None;
2525  def __str__(self):
2526  """__str__(CentroidOfRefined self) -> std::string"""
2527  return _IMP_core.CentroidOfRefined___str__(self)
2528 
2529  def __repr__(self):
2530  """__repr__(CentroidOfRefined self) -> std::string"""
2531  return _IMP_core.CentroidOfRefined___repr__(self)
2532 
2533  def get_from(o):
2534  return _object_cast_to_CentroidOfRefined(o)
2535  get_from = staticmethod(get_from)
2536 
2537 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
2538 CentroidOfRefined_swigregister(CentroidOfRefined)
2539 
2540 class Centroid(XYZ):
2541  """Proxy of C++ IMP::core::Centroid class"""
2542  __swig_setmethods__ = {}
2543  for _s in [XYZ]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2544  __setattr__ = lambda self, name, value: _swig_setattr(self, Centroid, name, value)
2545  __swig_getmethods__ = {}
2546  for _s in [XYZ]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2547  __getattr__ = lambda self, name: _swig_getattr(self, Centroid, name)
2548  def get_constraint(self):
2549  """get_constraint(Centroid self) -> Constraint"""
2550  return _IMP_core.Centroid_get_constraint(self)
2551 
2552  def do_setup_particle(*args):
2553  """
2554  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
2555  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
2556  """
2557  return _IMP_core.Centroid_do_setup_particle(*args)
2558 
2559  if _newclass:do_setup_particle = staticmethod(do_setup_particle)
2560  __swig_getmethods__["do_setup_particle"] = lambda x: do_setup_particle
2561  def __init__(self, *args):
2562  """
2563  __init__(IMP::core::Centroid self) -> Centroid
2564  __init__(IMP::core::Centroid self, Model m, ::IMP::kernel::ParticleIndex id) -> Centroid
2565  __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
2566  """
2567  this = _IMP_core.new_Centroid(*args)
2568  try: self.this.append(this)
2569  except: self.this = this
2570  def decorate_particle(*args):
2571  """decorate_particle(Particle p) -> Centroid"""
2572  return _IMP_core.Centroid_decorate_particle(*args)
2573 
2574  if _newclass:decorate_particle = staticmethod(decorate_particle)
2575  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
2576  def particle_is_instance(*args):
2577  """
2578  particle_is_instance(Particle p) -> bool
2579  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2580  """
2581  return _IMP_core.Centroid_particle_is_instance(*args)
2582 
2583  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
2584  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
2585  def show(self, *args):
2586  """
2587  show(Centroid self, _ostream out=std::cout)
2588  show(Centroid self)
2589  """
2590  return _IMP_core.Centroid_show(self, *args)
2591 
2592  def setup_particle(*args):
2593  """
2594  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2595  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2596  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2597  setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2598  """
2599  return _IMP_core.Centroid_setup_particle(*args)
2600 
2601  if _newclass:setup_particle = staticmethod(setup_particle)
2602  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
2603  def get_is_setup(*args):
2604  """
2605  get_is_setup(_ParticleAdaptor p) -> bool
2606  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2607  """
2608  return _IMP_core.Centroid_get_is_setup(*args)
2609 
2610  if _newclass:get_is_setup = staticmethod(get_is_setup)
2611  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
2612  def add_attribute(self, *args):
2613  """
2614  add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
2615  add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
2616  add_attribute(Centroid self, IntKey a0, IMP::Int a1)
2617  add_attribute(Centroid self, StringKey a0, IMP::String a1)
2618  add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
2619  add_attribute(Centroid self, ObjectKey a0, IMP::Object * a1)
2620  """
2621  return _IMP_core.Centroid_add_attribute(self, *args)
2622 
2623  def get_value(self, *args):
2624  """
2625  get_value(Centroid self, FloatKey a0) -> IMP::Float
2626  get_value(Centroid self, IntKey a0) -> IMP::Int
2627  get_value(Centroid self, StringKey a0) -> IMP::String
2628  get_value(Centroid self, ParticleIndexKey a0) -> Particle
2629  get_value(Centroid self, ObjectKey a0) -> IMP::Object *
2630  """
2631  return _IMP_core.Centroid_get_value(self, *args)
2632 
2633  def set_value(self, *args):
2634  """
2635  set_value(Centroid self, FloatKey a0, IMP::Float a1)
2636  set_value(Centroid self, IntKey a0, IMP::Int a1)
2637  set_value(Centroid self, StringKey a0, IMP::String a1)
2638  set_value(Centroid self, ParticleIndexKey a0, Particle a1)
2639  set_value(Centroid self, ObjectKey a0, IMP::Object * a1)
2640  """
2641  return _IMP_core.Centroid_set_value(self, *args)
2642 
2643  def remove_attribute(self, *args):
2644  """
2645  remove_attribute(Centroid self, FloatKey a0)
2646  remove_attribute(Centroid self, IntKey a0)
2647  remove_attribute(Centroid self, StringKey a0)
2648  remove_attribute(Centroid self, ParticleIndexKey a0)
2649  remove_attribute(Centroid self, ObjectKey a0)
2650  """
2651  return _IMP_core.Centroid_remove_attribute(self, *args)
2652 
2653  def has_attribute(self, *args):
2654  """
2655  has_attribute(Centroid self, FloatKey a0) -> bool
2656  has_attribute(Centroid self, IntKey a0) -> bool
2657  has_attribute(Centroid self, StringKey a0) -> bool
2658  has_attribute(Centroid self, ParticleIndexKey a0) -> bool
2659  has_attribute(Centroid self, ObjectKey a0) -> bool
2660  """
2661  return _IMP_core.Centroid_has_attribute(self, *args)
2662 
2663  def get_derivative(self, *args):
2664  """get_derivative(Centroid self, FloatKey a0) -> double"""
2665  return _IMP_core.Centroid_get_derivative(self, *args)
2666 
2667  def get_name(self):
2668  """get_name(Centroid self) -> std::string"""
2669  return _IMP_core.Centroid_get_name(self)
2670 
2671  def clear_caches(self):
2672  """clear_caches(Centroid self)"""
2673  return _IMP_core.Centroid_clear_caches(self)
2674 
2675  def set_name(self, *args):
2676  """set_name(Centroid self, std::string a0)"""
2677  return _IMP_core.Centroid_set_name(self, *args)
2678 
2679  def set_check_level(self, *args):
2680  """set_check_level(Centroid self, IMP::base::CheckLevel a0)"""
2681  return _IMP_core.Centroid_set_check_level(self, *args)
2682 
2683  def add_to_derivative(self, *args):
2684  """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2685  return _IMP_core.Centroid_add_to_derivative(self, *args)
2686 
2687  def set_is_optimized(self, *args):
2688  """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
2689  return _IMP_core.Centroid_set_is_optimized(self, *args)
2690 
2691  def get_is_optimized(self, *args):
2692  """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
2693  return _IMP_core.Centroid_get_is_optimized(self, *args)
2694 
2695  def get_check_level(self):
2696  """get_check_level(Centroid self) -> IMP::base::CheckLevel"""
2697  return _IMP_core.Centroid_get_check_level(self)
2698 
2699  def __eq__(self, *args):
2700  """
2701  __eq__(Centroid self, Centroid o) -> bool
2702  __eq__(Centroid self, Particle d) -> bool
2703  """
2704  return _IMP_core.Centroid___eq__(self, *args)
2705 
2706  def __ne__(self, *args):
2707  """
2708  __ne__(Centroid self, Centroid o) -> bool
2709  __ne__(Centroid self, Particle d) -> bool
2710  """
2711  return _IMP_core.Centroid___ne__(self, *args)
2712 
2713  def __le__(self, *args):
2714  """
2715  __le__(Centroid self, Centroid o) -> bool
2716  __le__(Centroid self, Particle d) -> bool
2717  """
2718  return _IMP_core.Centroid___le__(self, *args)
2719 
2720  def __lt__(self, *args):
2721  """
2722  __lt__(Centroid self, Centroid o) -> bool
2723  __lt__(Centroid self, Particle d) -> bool
2724  """
2725  return _IMP_core.Centroid___lt__(self, *args)
2726 
2727  def __ge__(self, *args):
2728  """
2729  __ge__(Centroid self, Centroid o) -> bool
2730  __ge__(Centroid self, Particle d) -> bool
2731  """
2732  return _IMP_core.Centroid___ge__(self, *args)
2733 
2734  def __gt__(self, *args):
2735  """
2736  __gt__(Centroid self, Centroid o) -> bool
2737  __gt__(Centroid self, Particle d) -> bool
2738  """
2739  return _IMP_core.Centroid___gt__(self, *args)
2740 
2741  def __str__(self):
2742  """__str__(Centroid self) -> std::string"""
2743  return _IMP_core.Centroid___str__(self)
2744 
2745  def __repr__(self):
2746  """__repr__(Centroid self) -> std::string"""
2747  return _IMP_core.Centroid___repr__(self)
2748 
2749  __swig_destroy__ = _IMP_core.delete_Centroid
2750  __del__ = lambda self : None;
2751 Centroid_swigregister = _IMP_core.Centroid_swigregister
2752 Centroid_swigregister(Centroid)
2753 
2754 def Centroid_do_setup_particle(*args):
2755  """
2756  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
2757  Centroid_do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
2758  """
2759  return _IMP_core.Centroid_do_setup_particle(*args)
2760 
2761 def Centroid_decorate_particle(*args):
2762  """Centroid_decorate_particle(Particle p) -> Centroid"""
2763  return _IMP_core.Centroid_decorate_particle(*args)
2764 
2765 def Centroid_particle_is_instance(*args):
2766  """
2767  particle_is_instance(Particle p) -> bool
2768  Centroid_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
2769  """
2770  return _IMP_core.Centroid_particle_is_instance(*args)
2771 
2772 def Centroid_setup_particle(*args):
2773  """
2774  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
2775  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
2776  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Centroid
2777  Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
2778  """
2779  return _IMP_core.Centroid_setup_particle(*args)
2780 
2781 def Centroid_get_is_setup(*args):
2782  """
2783  get_is_setup(_ParticleAdaptor p) -> bool
2784  Centroid_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
2785  """
2786  return _IMP_core.Centroid_get_is_setup(*args)
2787 
2788 class ChecksScoreState(IMP.kernel.ScoreState):
2789  """Proxy of C++ IMP::core::ChecksScoreState class"""
2790  __swig_setmethods__ = {}
2791  for _s in [IMP.kernel.ScoreState]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2792  __setattr__ = lambda self, name, value: _swig_setattr(self, ChecksScoreState, name, value)
2793  __swig_getmethods__ = {}
2794  for _s in [IMP.kernel.ScoreState]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2795  __getattr__ = lambda self, name: _swig_getattr(self, ChecksScoreState, name)
2796  def __init__(self, *args):
2797  """
2798  __init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState
2799  __init__(IMP::core::ChecksScoreState self, double probability) -> ChecksScoreState
2800  """
2801  this = _IMP_core.new_ChecksScoreState(*args)
2802  try: self.this.append(this)
2803  except: self.this = this
2804  def get_number_of_checked(self):
2805  """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
2806  return _IMP_core.ChecksScoreState_get_number_of_checked(self)
2807 
2808  def do_before_evaluate(self):
2809  """do_before_evaluate(ChecksScoreState self)"""
2810  return _IMP_core.ChecksScoreState_do_before_evaluate(self)
2811 
2812  def do_after_evaluate(self, *args):
2813  """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
2814  return _IMP_core.ChecksScoreState_do_after_evaluate(self, *args)
2815 
2816  def do_get_outputs(self):
2817  """do_get_outputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2818  return _IMP_core.ChecksScoreState_do_get_outputs(self)
2819 
2820  def do_get_inputs(self):
2821  """do_get_inputs(ChecksScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2822  return _IMP_core.ChecksScoreState_do_get_inputs(self)
2823 
2824  def get_version_info(self):
2825  """get_version_info(ChecksScoreState self) -> VersionInfo"""
2826  return _IMP_core.ChecksScoreState_get_version_info(self)
2827 
2828  __swig_destroy__ = _IMP_core.delete_ChecksScoreState
2829  __del__ = lambda self : None;
2830  def __str__(self):
2831  """__str__(ChecksScoreState self) -> std::string"""
2832  return _IMP_core.ChecksScoreState___str__(self)
2833 
2834  def __repr__(self):
2835  """__repr__(ChecksScoreState self) -> std::string"""
2836  return _IMP_core.ChecksScoreState___repr__(self)
2837 
2838  def get_from(o):
2839  return _object_cast_to_ChecksScoreState(o)
2840  get_from = staticmethod(get_from)
2841 
2842 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
2843 ChecksScoreState_swigregister(ChecksScoreState)
2844 
2845 class ChildrenRefiner(IMP.kernel.Refiner):
2846  """Proxy of C++ IMP::core::ChildrenRefiner class"""
2847  __swig_setmethods__ = {}
2848  for _s in [IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2849  __setattr__ = lambda self, name, value: _swig_setattr(self, ChildrenRefiner, name, value)
2850  __swig_getmethods__ = {}
2851  for _s in [IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2852  __getattr__ = lambda self, name: _swig_getattr(self, ChildrenRefiner, name)
2853  def __init__(self, *args):
2854  """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
2855  this = _IMP_core.new_ChildrenRefiner(*args)
2856  try: self.this.append(this)
2857  except: self.this = this
2858  def do_get_inputs(self, *args):
2859  """do_get_inputs(ChildrenRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2860  return _IMP_core.ChildrenRefiner_do_get_inputs(self, *args)
2861 
2862  def get_version_info(self):
2863  """get_version_info(ChildrenRefiner self) -> VersionInfo"""
2864  return _IMP_core.ChildrenRefiner_get_version_info(self)
2865 
2866  __swig_destroy__ = _IMP_core.delete_ChildrenRefiner
2867  __del__ = lambda self : None;
2868  def __str__(self):
2869  """__str__(ChildrenRefiner self) -> std::string"""
2870  return _IMP_core.ChildrenRefiner___str__(self)
2871 
2872  def __repr__(self):
2873  """__repr__(ChildrenRefiner self) -> std::string"""
2874  return _IMP_core.ChildrenRefiner___repr__(self)
2875 
2876  def get_from(o):
2877  return _object_cast_to_ChildrenRefiner(o)
2878  get_from = staticmethod(get_from)
2879 
2880 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
2881 ChildrenRefiner_swigregister(ChildrenRefiner)
2882 
2883 class ClosedCubicSpline(IMP.kernel.UnaryFunction):
2884  """Proxy of C++ IMP::core::ClosedCubicSpline class"""
2885  __swig_setmethods__ = {}
2886  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2887  __setattr__ = lambda self, name, value: _swig_setattr(self, ClosedCubicSpline, name, value)
2888  __swig_getmethods__ = {}
2889  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2890  __getattr__ = lambda self, name: _swig_getattr(self, ClosedCubicSpline, name)
2891  def __init__(self, *args):
2892  """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
2893  this = _IMP_core.new_ClosedCubicSpline(*args)
2894  try: self.this.append(this)
2895  except: self.this = this
2896  def get_version_info(self):
2897  """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
2898  return _IMP_core.ClosedCubicSpline_get_version_info(self)
2899 
2900  __swig_destroy__ = _IMP_core.delete_ClosedCubicSpline
2901  __del__ = lambda self : None;
2902  def do_show(self, *args):
2903  """do_show(ClosedCubicSpline self, _ostream out)"""
2904  return _IMP_core.ClosedCubicSpline_do_show(self, *args)
2905 
2906  def __str__(self):
2907  """__str__(ClosedCubicSpline self) -> std::string"""
2908  return _IMP_core.ClosedCubicSpline___str__(self)
2909 
2910  def __repr__(self):
2911  """__repr__(ClosedCubicSpline self) -> std::string"""
2912  return _IMP_core.ClosedCubicSpline___repr__(self)
2913 
2914  def get_from(o):
2915  return _object_cast_to_ClosedCubicSpline(o)
2916  get_from = staticmethod(get_from)
2917 
2918 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
2919 ClosedCubicSpline_swigregister(ClosedCubicSpline)
2920 
2921 class KClosePairsPairScore(IMP.kernel.PairScore):
2922  """Proxy of C++ IMP::core::KClosePairsPairScore class"""
2923  __swig_setmethods__ = {}
2924  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2925  __setattr__ = lambda self, name, value: _swig_setattr(self, KClosePairsPairScore, name, value)
2926  __swig_getmethods__ = {}
2927  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2928  __getattr__ = lambda self, name: _swig_getattr(self, KClosePairsPairScore, name)
2929  def __init__(self, *args):
2930  """
2931  __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
2932  __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
2933  """
2934  this = _IMP_core.new_KClosePairsPairScore(*args)
2935  try: self.this.append(this)
2936  except: self.this = this
2937  def get_close_pairs(self, *args):
2938  """get_close_pairs(KClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2939  return _IMP_core.KClosePairsPairScore_get_close_pairs(self, *args)
2940 
2941  def create_current_decomposition(self, *args):
2942  """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2943  return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, *args)
2944 
2945  def do_get_inputs(self, *args):
2946  """do_get_inputs(KClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2947  return _IMP_core.KClosePairsPairScore_do_get_inputs(self, *args)
2948 
2949  def get_version_info(self):
2950  """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
2951  return _IMP_core.KClosePairsPairScore_get_version_info(self)
2952 
2953  __swig_destroy__ = _IMP_core.delete_KClosePairsPairScore
2954  __del__ = lambda self : None;
2955  def __str__(self):
2956  """__str__(KClosePairsPairScore self) -> std::string"""
2957  return _IMP_core.KClosePairsPairScore___str__(self)
2958 
2959  def __repr__(self):
2960  """__repr__(KClosePairsPairScore self) -> std::string"""
2961  return _IMP_core.KClosePairsPairScore___repr__(self)
2962 
2963  def get_from(o):
2964  return _object_cast_to_KClosePairsPairScore(o)
2965  get_from = staticmethod(get_from)
2966 
2967 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
2968 KClosePairsPairScore_swigregister(KClosePairsPairScore)
2969 
2970 class ClosePairsPairScore(IMP.kernel.PairScore):
2971  """Proxy of C++ IMP::core::ClosePairsPairScore class"""
2972  __swig_setmethods__ = {}
2973  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2974  __setattr__ = lambda self, name, value: _swig_setattr(self, ClosePairsPairScore, name, value)
2975  __swig_getmethods__ = {}
2976  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2977  __getattr__ = lambda self, name: _swig_getattr(self, ClosePairsPairScore, name)
2978  def __init__(self, *args):
2979  """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
2980  this = _IMP_core.new_ClosePairsPairScore(*args)
2981  try: self.this.append(this)
2982  except: self.this = this
2983  def get_close_pairs(self, *args):
2984  """get_close_pairs(ClosePairsPairScore self, IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePairsTemp"""
2985  return _IMP_core.ClosePairsPairScore_get_close_pairs(self, *args)
2986 
2987  def create_current_decomposition(self, *args):
2988  """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2989  return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, *args)
2990 
2991  def do_get_inputs(self, *args):
2992  """do_get_inputs(ClosePairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2993  return _IMP_core.ClosePairsPairScore_do_get_inputs(self, *args)
2994 
2995  def get_version_info(self):
2996  """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
2997  return _IMP_core.ClosePairsPairScore_get_version_info(self)
2998 
2999  __swig_destroy__ = _IMP_core.delete_ClosePairsPairScore
3000  __del__ = lambda self : None;
3001  def __str__(self):
3002  """__str__(ClosePairsPairScore self) -> std::string"""
3003  return _IMP_core.ClosePairsPairScore___str__(self)
3004 
3005  def __repr__(self):
3006  """__repr__(ClosePairsPairScore self) -> std::string"""
3007  return _IMP_core.ClosePairsPairScore___repr__(self)
3008 
3009  def get_from(o):
3010  return _object_cast_to_ClosePairsPairScore(o)
3011  get_from = staticmethod(get_from)
3012 
3013 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
3014 ClosePairsPairScore_swigregister(ClosePairsPairScore)
3015 
3016 class ConjugateGradients(IMP.kernel.AttributeOptimizer):
3017  """Proxy of C++ IMP::core::ConjugateGradients class"""
3018  __swig_setmethods__ = {}
3019  for _s in [IMP.kernel.AttributeOptimizer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3020  __setattr__ = lambda self, name, value: _swig_setattr(self, ConjugateGradients, name, value)
3021  __swig_getmethods__ = {}
3022  for _s in [IMP.kernel.AttributeOptimizer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3023  __getattr__ = lambda self, name: _swig_getattr(self, ConjugateGradients, name)
3024  def __init__(self, *args):
3025  """
3026  __init__(IMP::core::ConjugateGradients self) -> ConjugateGradients
3027  __init__(IMP::core::ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
3028  __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
3029  """
3030  this = _IMP_core.new_ConjugateGradients(*args)
3031  try: self.this.append(this)
3032  except: self.this = this
3033  def set_gradient_threshold(self, *args):
3034  """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
3035  return _IMP_core.ConjugateGradients_set_gradient_threshold(self, *args)
3036 
3037  def set_threshold(self, *args):
3038  """set_threshold(ConjugateGradients self, IMP::Float t)"""
3039  return _IMP_core.ConjugateGradients_set_threshold(self, *args)
3040 
3041  def set_max_change(self, *args):
3042  """set_max_change(ConjugateGradients self, IMP::Float t)"""
3043  return _IMP_core.ConjugateGradients_set_max_change(self, *args)
3044 
3045  def do_optimize(self, *args):
3046  """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
3047  return _IMP_core.ConjugateGradients_do_optimize(self, *args)
3048 
3049  def get_version_info(self):
3050  """get_version_info(ConjugateGradients self) -> VersionInfo"""
3051  return _IMP_core.ConjugateGradients_get_version_info(self)
3052 
3053  __swig_destroy__ = _IMP_core.delete_ConjugateGradients
3054  __del__ = lambda self : None;
3055  def __str__(self):
3056  """__str__(ConjugateGradients self) -> std::string"""
3057  return _IMP_core.ConjugateGradients___str__(self)
3058 
3059  def __repr__(self):
3060  """__repr__(ConjugateGradients self) -> std::string"""
3061  return _IMP_core.ConjugateGradients___repr__(self)
3062 
3063  def get_from(o):
3064  return _object_cast_to_ConjugateGradients(o)
3065  get_from = staticmethod(get_from)
3066 
3067 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
3068 ConjugateGradients_swigregister(ConjugateGradients)
3069 
3070 class ConnectivityRestraint(IMP.kernel.Restraint):
3071  """Proxy of C++ IMP::core::ConnectivityRestraint class"""
3072  __swig_setmethods__ = {}
3073  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3074  __setattr__ = lambda self, name, value: _swig_setattr(self, ConnectivityRestraint, name, value)
3075  __swig_getmethods__ = {}
3076  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3077  __getattr__ = lambda self, name: _swig_getattr(self, ConnectivityRestraint, name)
3078  def __init__(self, *args):
3079  """
3080  __init__(IMP::core::ConnectivityRestraint self, PairScore ps, SingletonContainer sc) -> ConnectivityRestraint
3081  __init__(IMP::core::ConnectivityRestraint self, PairScore ps) -> ConnectivityRestraint
3082  """
3083  this = _IMP_core.new_ConnectivityRestraint(*args)
3084  try: self.this.append(this)
3085  except: self.this = this
3086  def add_particle(self, *args):
3087  """add_particle(ConnectivityRestraint self, Particle p)"""
3088  return _IMP_core.ConnectivityRestraint_add_particle(self, *args)
3089 
3090  def add_particles(self, *args):
3091  """add_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3092  return _IMP_core.ConnectivityRestraint_add_particles(self, *args)
3093 
3094  def set_particles(self, *args):
3095  """set_particles(ConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps)"""
3096  return _IMP_core.ConnectivityRestraint_set_particles(self, *args)
3097 
3098  def get_connected_pairs(self):
3099  """get_connected_pairs(ConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
3100  return _IMP_core.ConnectivityRestraint_get_connected_pairs(self)
3101 
3102  def get_pair_score(self):
3103  """get_pair_score(ConnectivityRestraint self) -> PairScore"""
3104  return _IMP_core.ConnectivityRestraint_get_pair_score(self)
3105 
3106  def do_create_current_decomposition(self):
3107  """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::kernel::Restraints"""
3108  return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
3109 
3110  def do_get_inputs(self):
3111  """do_get_inputs(ConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3112  return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
3113 
3114  def get_version_info(self):
3115  """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
3116  return _IMP_core.ConnectivityRestraint_get_version_info(self)
3117 
3118  __swig_destroy__ = _IMP_core.delete_ConnectivityRestraint
3119  __del__ = lambda self : None;
3120  def __str__(self):
3121  """__str__(ConnectivityRestraint self) -> std::string"""
3122  return _IMP_core.ConnectivityRestraint___str__(self)
3123 
3124  def __repr__(self):
3125  """__repr__(ConnectivityRestraint self) -> std::string"""
3126  return _IMP_core.ConnectivityRestraint___repr__(self)
3127 
3128  def get_from(o):
3129  return _object_cast_to_ConnectivityRestraint(o)
3130  get_from = staticmethod(get_from)
3131 
3132 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
3133 ConnectivityRestraint_swigregister(ConnectivityRestraint)
3134 
3135 class ConstantRestraint(IMP.kernel.Restraint):
3136  """Proxy of C++ IMP::core::ConstantRestraint class"""
3137  __swig_setmethods__ = {}
3138  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3139  __setattr__ = lambda self, name, value: _swig_setattr(self, ConstantRestraint, name, value)
3140  __swig_getmethods__ = {}
3141  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3142  __getattr__ = lambda self, name: _swig_getattr(self, ConstantRestraint, name)
3143  def __init__(self, *args):
3144  """__init__(IMP::core::ConstantRestraint self, IMP::Float v) -> ConstantRestraint"""
3145  this = _IMP_core.new_ConstantRestraint(*args)
3146  try: self.this.append(this)
3147  except: self.this = this
3148  def do_get_inputs(self):
3149  """do_get_inputs(ConstantRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3150  return _IMP_core.ConstantRestraint_do_get_inputs(self)
3151 
3152  def get_version_info(self):
3153  """get_version_info(ConstantRestraint self) -> VersionInfo"""
3154  return _IMP_core.ConstantRestraint_get_version_info(self)
3155 
3156  __swig_destroy__ = _IMP_core.delete_ConstantRestraint
3157  __del__ = lambda self : None;
3158  def __str__(self):
3159  """__str__(ConstantRestraint self) -> std::string"""
3160  return _IMP_core.ConstantRestraint___str__(self)
3161 
3162  def __repr__(self):
3163  """__repr__(ConstantRestraint self) -> std::string"""
3164  return _IMP_core.ConstantRestraint___repr__(self)
3165 
3166  def get_from(o):
3167  return _object_cast_to_ConstantRestraint(o)
3168  get_from = staticmethod(get_from)
3169 
3170 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
3171 ConstantRestraint_swigregister(ConstantRestraint)
3172 
3173 class Cosine(IMP.kernel.UnaryFunction):
3174  """Proxy of C++ IMP::core::Cosine class"""
3175  __swig_setmethods__ = {}
3176  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3177  __setattr__ = lambda self, name, value: _swig_setattr(self, Cosine, name, value)
3178  __swig_getmethods__ = {}
3179  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3180  __getattr__ = lambda self, name: _swig_getattr(self, Cosine, name)
3181  def __init__(self, *args):
3182  """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
3183  this = _IMP_core.new_Cosine(*args)
3184  try: self.this.append(this)
3185  except: self.this = this
3186  def get_version_info(self):
3187  """get_version_info(Cosine self) -> VersionInfo"""
3188  return _IMP_core.Cosine_get_version_info(self)
3189 
3190  __swig_destroy__ = _IMP_core.delete_Cosine
3191  __del__ = lambda self : None;
3192  def do_show(self, *args):
3193  """do_show(Cosine self, _ostream out)"""
3194  return _IMP_core.Cosine_do_show(self, *args)
3195 
3196  def __str__(self):
3197  """__str__(Cosine self) -> std::string"""
3198  return _IMP_core.Cosine___str__(self)
3199 
3200  def __repr__(self):
3201  """__repr__(Cosine self) -> std::string"""
3202  return _IMP_core.Cosine___repr__(self)
3203 
3204  def get_from(o):
3205  return _object_cast_to_Cosine(o)
3206  get_from = staticmethod(get_from)
3207 
3208 Cosine_swigregister = _IMP_core.Cosine_swigregister
3209 Cosine_swigregister(Cosine)
3210 
3211 class CoverRefined(IMP.kernel.SingletonModifier):
3212  """Proxy of C++ IMP::core::CoverRefined class"""
3213  __swig_setmethods__ = {}
3214  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3215  __setattr__ = lambda self, name, value: _swig_setattr(self, CoverRefined, name, value)
3216  __swig_getmethods__ = {}
3217  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3218  __getattr__ = lambda self, name: _swig_getattr(self, CoverRefined, name)
3219  def __init__(self, *args):
3220  """
3221  __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
3222  __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
3223  """
3224  this = _IMP_core.new_CoverRefined(*args)
3225  try: self.this.append(this)
3226  except: self.this = this
3227  def set_slack(self, *args):
3228  """set_slack(CoverRefined self, IMP::Float slack)"""
3229  return _IMP_core.CoverRefined_set_slack(self, *args)
3230 
3231  def do_get_inputs(self, *args):
3232  """do_get_inputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3233  return _IMP_core.CoverRefined_do_get_inputs(self, *args)
3234 
3235  def do_get_outputs(self, *args):
3236  """do_get_outputs(CoverRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3237  return _IMP_core.CoverRefined_do_get_outputs(self, *args)
3238 
3239  def get_version_info(self):
3240  """get_version_info(CoverRefined self) -> VersionInfo"""
3241  return _IMP_core.CoverRefined_get_version_info(self)
3242 
3243  __swig_destroy__ = _IMP_core.delete_CoverRefined
3244  __del__ = lambda self : None;
3245  def __str__(self):
3246  """__str__(CoverRefined self) -> std::string"""
3247  return _IMP_core.CoverRefined___str__(self)
3248 
3249  def __repr__(self):
3250  """__repr__(CoverRefined self) -> std::string"""
3251  return _IMP_core.CoverRefined___repr__(self)
3252 
3253  def get_from(o):
3254  return _object_cast_to_CoverRefined(o)
3255  get_from = staticmethod(get_from)
3256 
3257 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
3258 CoverRefined_swigregister(CoverRefined)
3259 
3260 class Cover(XYZR):
3261  """Proxy of C++ IMP::core::Cover class"""
3262  __swig_setmethods__ = {}
3263  for _s in [XYZR]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3264  __setattr__ = lambda self, name, value: _swig_setattr(self, Cover, name, value)
3265  __swig_getmethods__ = {}
3266  for _s in [XYZR]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3267  __getattr__ = lambda self, name: _swig_getattr(self, Cover, name)
3268  def get_constraint(self):
3269  """get_constraint(Cover self) -> Constraint"""
3270  return _IMP_core.Cover_get_constraint(self)
3271 
3272  def do_setup_particle(*args):
3273  """
3274  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
3275  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
3276  """
3277  return _IMP_core.Cover_do_setup_particle(*args)
3278 
3279  if _newclass:do_setup_particle = staticmethod(do_setup_particle)
3280  __swig_getmethods__["do_setup_particle"] = lambda x: do_setup_particle
3281  def __init__(self, *args):
3282  """
3283  __init__(IMP::core::Cover self) -> Cover
3284  __init__(IMP::core::Cover self, Model m, ::IMP::kernel::ParticleIndex id) -> Cover
3285  __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
3286  """
3287  this = _IMP_core.new_Cover(*args)
3288  try: self.this.append(this)
3289  except: self.this = this
3290  def decorate_particle(*args):
3291  """decorate_particle(Particle p) -> Cover"""
3292  return _IMP_core.Cover_decorate_particle(*args)
3293 
3294  if _newclass:decorate_particle = staticmethod(decorate_particle)
3295  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
3296  def particle_is_instance(*args):
3297  """
3298  particle_is_instance(Particle p) -> bool
3299  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3300  """
3301  return _IMP_core.Cover_particle_is_instance(*args)
3302 
3303  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3304  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
3305  def show(self, *args):
3306  """
3307  show(Cover self, _ostream out=std::cout)
3308  show(Cover self)
3309  """
3310  return _IMP_core.Cover_show(self, *args)
3311 
3312  def setup_particle(*args):
3313  """
3314  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3315  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3316  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3317  setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3318  """
3319  return _IMP_core.Cover_setup_particle(*args)
3320 
3321  if _newclass:setup_particle = staticmethod(setup_particle)
3322  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
3323  def get_is_setup(*args):
3324  """
3325  get_is_setup(_ParticleAdaptor p) -> bool
3326  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3327  """
3328  return _IMP_core.Cover_get_is_setup(*args)
3329 
3330  if _newclass:get_is_setup = staticmethod(get_is_setup)
3331  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
3332  def add_attribute(self, *args):
3333  """
3334  add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
3335  add_attribute(Cover self, FloatKey a0, IMP::Float a1)
3336  add_attribute(Cover self, IntKey a0, IMP::Int a1)
3337  add_attribute(Cover self, StringKey a0, IMP::String a1)
3338  add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
3339  add_attribute(Cover self, ObjectKey a0, IMP::Object * a1)
3340  """
3341  return _IMP_core.Cover_add_attribute(self, *args)
3342 
3343  def get_value(self, *args):
3344  """
3345  get_value(Cover self, FloatKey a0) -> IMP::Float
3346  get_value(Cover self, IntKey a0) -> IMP::Int
3347  get_value(Cover self, StringKey a0) -> IMP::String
3348  get_value(Cover self, ParticleIndexKey a0) -> Particle
3349  get_value(Cover self, ObjectKey a0) -> IMP::Object *
3350  """
3351  return _IMP_core.Cover_get_value(self, *args)
3352 
3353  def set_value(self, *args):
3354  """
3355  set_value(Cover self, FloatKey a0, IMP::Float a1)
3356  set_value(Cover self, IntKey a0, IMP::Int a1)
3357  set_value(Cover self, StringKey a0, IMP::String a1)
3358  set_value(Cover self, ParticleIndexKey a0, Particle a1)
3359  set_value(Cover self, ObjectKey a0, IMP::Object * a1)
3360  """
3361  return _IMP_core.Cover_set_value(self, *args)
3362 
3363  def remove_attribute(self, *args):
3364  """
3365  remove_attribute(Cover self, FloatKey a0)
3366  remove_attribute(Cover self, IntKey a0)
3367  remove_attribute(Cover self, StringKey a0)
3368  remove_attribute(Cover self, ParticleIndexKey a0)
3369  remove_attribute(Cover self, ObjectKey a0)
3370  """
3371  return _IMP_core.Cover_remove_attribute(self, *args)
3372 
3373  def has_attribute(self, *args):
3374  """
3375  has_attribute(Cover self, FloatKey a0) -> bool
3376  has_attribute(Cover self, IntKey a0) -> bool
3377  has_attribute(Cover self, StringKey a0) -> bool
3378  has_attribute(Cover self, ParticleIndexKey a0) -> bool
3379  has_attribute(Cover self, ObjectKey a0) -> bool
3380  """
3381  return _IMP_core.Cover_has_attribute(self, *args)
3382 
3383  def get_derivative(self, *args):
3384  """get_derivative(Cover self, FloatKey a0) -> double"""
3385  return _IMP_core.Cover_get_derivative(self, *args)
3386 
3387  def get_name(self):
3388  """get_name(Cover self) -> std::string"""
3389  return _IMP_core.Cover_get_name(self)
3390 
3391  def clear_caches(self):
3392  """clear_caches(Cover self)"""
3393  return _IMP_core.Cover_clear_caches(self)
3394 
3395  def set_name(self, *args):
3396  """set_name(Cover self, std::string a0)"""
3397  return _IMP_core.Cover_set_name(self, *args)
3398 
3399  def set_check_level(self, *args):
3400  """set_check_level(Cover self, IMP::base::CheckLevel a0)"""
3401  return _IMP_core.Cover_set_check_level(self, *args)
3402 
3403  def add_to_derivative(self, *args):
3404  """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3405  return _IMP_core.Cover_add_to_derivative(self, *args)
3406 
3407  def set_is_optimized(self, *args):
3408  """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
3409  return _IMP_core.Cover_set_is_optimized(self, *args)
3410 
3411  def get_is_optimized(self, *args):
3412  """get_is_optimized(Cover self, FloatKey a0) -> bool"""
3413  return _IMP_core.Cover_get_is_optimized(self, *args)
3414 
3415  def get_check_level(self):
3416  """get_check_level(Cover self) -> IMP::base::CheckLevel"""
3417  return _IMP_core.Cover_get_check_level(self)
3418 
3419  def __eq__(self, *args):
3420  """
3421  __eq__(Cover self, Cover o) -> bool
3422  __eq__(Cover self, Particle d) -> bool
3423  """
3424  return _IMP_core.Cover___eq__(self, *args)
3425 
3426  def __ne__(self, *args):
3427  """
3428  __ne__(Cover self, Cover o) -> bool
3429  __ne__(Cover self, Particle d) -> bool
3430  """
3431  return _IMP_core.Cover___ne__(self, *args)
3432 
3433  def __le__(self, *args):
3434  """
3435  __le__(Cover self, Cover o) -> bool
3436  __le__(Cover self, Particle d) -> bool
3437  """
3438  return _IMP_core.Cover___le__(self, *args)
3439 
3440  def __lt__(self, *args):
3441  """
3442  __lt__(Cover self, Cover o) -> bool
3443  __lt__(Cover self, Particle d) -> bool
3444  """
3445  return _IMP_core.Cover___lt__(self, *args)
3446 
3447  def __ge__(self, *args):
3448  """
3449  __ge__(Cover self, Cover o) -> bool
3450  __ge__(Cover self, Particle d) -> bool
3451  """
3452  return _IMP_core.Cover___ge__(self, *args)
3453 
3454  def __gt__(self, *args):
3455  """
3456  __gt__(Cover self, Cover o) -> bool
3457  __gt__(Cover self, Particle d) -> bool
3458  """
3459  return _IMP_core.Cover___gt__(self, *args)
3460 
3461  def __str__(self):
3462  """__str__(Cover self) -> std::string"""
3463  return _IMP_core.Cover___str__(self)
3464 
3465  def __repr__(self):
3466  """__repr__(Cover self) -> std::string"""
3467  return _IMP_core.Cover___repr__(self)
3468 
3469  __swig_destroy__ = _IMP_core.delete_Cover
3470  __del__ = lambda self : None;
3471 Cover_swigregister = _IMP_core.Cover_swigregister
3472 Cover_swigregister(Cover)
3473 
3474 def Cover_do_setup_particle(*args):
3475  """
3476  do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes const & pis)
3477  Cover_do_setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner ref)
3478  """
3479  return _IMP_core.Cover_do_setup_particle(*args)
3480 
3481 def Cover_decorate_particle(*args):
3482  """Cover_decorate_particle(Particle p) -> Cover"""
3483  return _IMP_core.Cover_decorate_particle(*args)
3484 
3485 def Cover_particle_is_instance(*args):
3486  """
3487  particle_is_instance(Particle p) -> bool
3488  Cover_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3489  """
3490  return _IMP_core.Cover_particle_is_instance(*args)
3491 
3492 def Cover_setup_particle(*args):
3493  """
3494  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
3495  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
3496  setup_particle(Model m, IMP::kernel::ParticleIndex pi, Refiner refiner) -> Cover
3497  Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
3498  """
3499  return _IMP_core.Cover_setup_particle(*args)
3500 
3501 def Cover_get_is_setup(*args):
3502  """
3503  get_is_setup(_ParticleAdaptor p) -> bool
3504  Cover_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3505  """
3506  return _IMP_core.Cover_get_is_setup(*args)
3507 
3508 class DerivativesFromRefined(IMP.kernel.SingletonModifier):
3509  """Proxy of C++ IMP::core::DerivativesFromRefined class"""
3510  __swig_setmethods__ = {}
3511  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3512  __setattr__ = lambda self, name, value: _swig_setattr(self, DerivativesFromRefined, name, value)
3513  __swig_getmethods__ = {}
3514  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3515  __getattr__ = lambda self, name: _swig_getattr(self, DerivativesFromRefined, name)
3516  def __init__(self, *args):
3517  """
3518  __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined
3519  __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
3520  """
3521  this = _IMP_core.new_DerivativesFromRefined(*args)
3522  try: self.this.append(this)
3523  except: self.this = this
3524  def do_get_inputs(self, *args):
3525  """do_get_inputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3526  return _IMP_core.DerivativesFromRefined_do_get_inputs(self, *args)
3527 
3528  def do_get_outputs(self, *args):
3529  """do_get_outputs(DerivativesFromRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3530  return _IMP_core.DerivativesFromRefined_do_get_outputs(self, *args)
3531 
3532  def get_version_info(self):
3533  """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
3534  return _IMP_core.DerivativesFromRefined_get_version_info(self)
3535 
3536  __swig_destroy__ = _IMP_core.delete_DerivativesFromRefined
3537  __del__ = lambda self : None;
3538  def __str__(self):
3539  """__str__(DerivativesFromRefined self) -> std::string"""
3540  return _IMP_core.DerivativesFromRefined___str__(self)
3541 
3542  def __repr__(self):
3543  """__repr__(DerivativesFromRefined self) -> std::string"""
3544  return _IMP_core.DerivativesFromRefined___repr__(self)
3545 
3546  def get_from(o):
3547  return _object_cast_to_DerivativesFromRefined(o)
3548  get_from = staticmethod(get_from)
3549 
3550 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
3551 DerivativesFromRefined_swigregister(DerivativesFromRefined)
3552 
3553 class DerivativesToRefined(IMP.kernel.SingletonModifier):
3554  """Proxy of C++ IMP::core::DerivativesToRefined class"""
3555  __swig_setmethods__ = {}
3556  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3557  __setattr__ = lambda self, name, value: _swig_setattr(self, DerivativesToRefined, name, value)
3558  __swig_getmethods__ = {}
3559  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3560  __getattr__ = lambda self, name: _swig_getattr(self, DerivativesToRefined, name)
3561  def __init__(self, *args):
3562  """
3563  __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::kernel::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined
3564  __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
3565  """
3566  this = _IMP_core.new_DerivativesToRefined(*args)
3567  try: self.this.append(this)
3568  except: self.this = this
3569  def do_get_inputs(self, *args):
3570  """do_get_inputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3571  return _IMP_core.DerivativesToRefined_do_get_inputs(self, *args)
3572 
3573  def do_get_outputs(self, *args):
3574  """do_get_outputs(DerivativesToRefined self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3575  return _IMP_core.DerivativesToRefined_do_get_outputs(self, *args)
3576 
3577  def get_version_info(self):
3578  """get_version_info(DerivativesToRefined self) -> VersionInfo"""
3579  return _IMP_core.DerivativesToRefined_get_version_info(self)
3580 
3581  __swig_destroy__ = _IMP_core.delete_DerivativesToRefined
3582  __del__ = lambda self : None;
3583  def __str__(self):
3584  """__str__(DerivativesToRefined self) -> std::string"""
3585  return _IMP_core.DerivativesToRefined___str__(self)
3586 
3587  def __repr__(self):
3588  """__repr__(DerivativesToRefined self) -> std::string"""
3589  return _IMP_core.DerivativesToRefined___repr__(self)
3590 
3591  def get_from(o):
3592  return _object_cast_to_DerivativesToRefined(o)
3593  get_from = staticmethod(get_from)
3594 
3595 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
3596 DerivativesToRefined_swigregister(DerivativesToRefined)
3597 
3598 class DiameterRestraint(IMP.kernel.Restraint):
3599  """Proxy of C++ IMP::core::DiameterRestraint class"""
3600  __swig_setmethods__ = {}
3601  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3602  __setattr__ = lambda self, name, value: _swig_setattr(self, DiameterRestraint, name, value)
3603  __swig_getmethods__ = {}
3604  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3605  __getattr__ = lambda self, name: _swig_getattr(self, DiameterRestraint, name)
3606  def __init__(self, *args):
3607  """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
3608  this = _IMP_core.new_DiameterRestraint(*args)
3609  try: self.this.append(this)
3610  except: self.this = this
3611  def do_get_inputs(self):
3612  """do_get_inputs(DiameterRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3613  return _IMP_core.DiameterRestraint_do_get_inputs(self)
3614 
3615  def get_version_info(self):
3616  """get_version_info(DiameterRestraint self) -> VersionInfo"""
3617  return _IMP_core.DiameterRestraint_get_version_info(self)
3618 
3619  __swig_destroy__ = _IMP_core.delete_DiameterRestraint
3620  __del__ = lambda self : None;
3621  def do_create_decomposition(self):
3622  """do_create_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3623  return _IMP_core.DiameterRestraint_do_create_decomposition(self)
3624 
3625  def do_create_current_decomposition(self):
3626  """do_create_current_decomposition(DiameterRestraint self) -> IMP::kernel::Restraints"""
3627  return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
3628 
3629  def __str__(self):
3630  """__str__(DiameterRestraint self) -> std::string"""
3631  return _IMP_core.DiameterRestraint___str__(self)
3632 
3633  def __repr__(self):
3634  """__repr__(DiameterRestraint self) -> std::string"""
3635  return _IMP_core.DiameterRestraint___repr__(self)
3636 
3637  def get_from(o):
3638  return _object_cast_to_DiameterRestraint(o)
3639  get_from = staticmethod(get_from)
3640 
3641 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
3642 DiameterRestraint_swigregister(DiameterRestraint)
3643 
3644 class Transform(IMP.kernel.SingletonModifier):
3645  """Proxy of C++ IMP::core::Transform class"""
3646  __swig_setmethods__ = {}
3647  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3648  __setattr__ = lambda self, name, value: _swig_setattr(self, Transform, name, value)
3649  __swig_getmethods__ = {}
3650  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3651  __getattr__ = lambda self, name: _swig_getattr(self, Transform, name)
3652  def __init__(self, *args):
3653  """
3654  __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
3655  __init__(IMP::core::Transform self, Transformation3D t) -> Transform
3656  """
3657  this = _IMP_core.new_Transform(*args)
3658  try: self.this.append(this)
3659  except: self.this = this
3660  def do_get_inputs(self, *args):
3661  """do_get_inputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3662  return _IMP_core.Transform_do_get_inputs(self, *args)
3663 
3664  def do_get_outputs(self, *args):
3665  """do_get_outputs(Transform self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3666  return _IMP_core.Transform_do_get_outputs(self, *args)
3667 
3668  def get_version_info(self):
3669  """get_version_info(Transform self) -> VersionInfo"""
3670  return _IMP_core.Transform_get_version_info(self)
3671 
3672  __swig_destroy__ = _IMP_core.delete_Transform
3673  __del__ = lambda self : None;
3674  def __str__(self):
3675  """__str__(Transform self) -> std::string"""
3676  return _IMP_core.Transform___str__(self)
3677 
3678  def __repr__(self):
3679  """__repr__(Transform self) -> std::string"""
3680  return _IMP_core.Transform___repr__(self)
3681 
3682  def get_from(o):
3683  return _object_cast_to_Transform(o)
3684  get_from = staticmethod(get_from)
3685 
3686 Transform_swigregister = _IMP_core.Transform_swigregister
3687 Transform_swigregister(Transform)
3688 
3689 class Reference(IMP.kernel.Decorator):
3690  """Proxy of C++ IMP::core::Reference class"""
3691  __swig_setmethods__ = {}
3692  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3693  __setattr__ = lambda self, name, value: _swig_setattr(self, Reference, name, value)
3694  __swig_getmethods__ = {}
3695  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3696  __getattr__ = lambda self, name: _swig_getattr(self, Reference, name)
3697  def __init__(self, *args):
3698  """
3699  __init__(IMP::core::Reference self) -> Reference
3700  __init__(IMP::core::Reference self, Model m, ::IMP::kernel::ParticleIndex id) -> Reference
3701  __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
3702  """
3703  this = _IMP_core.new_Reference(*args)
3704  try: self.this.append(this)
3705  except: self.this = this
3706  def decorate_particle(*args):
3707  """decorate_particle(Particle p) -> Reference"""
3708  return _IMP_core.Reference_decorate_particle(*args)
3709 
3710  if _newclass:decorate_particle = staticmethod(decorate_particle)
3711  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
3712  def particle_is_instance(*args):
3713  """
3714  particle_is_instance(Particle p) -> bool
3715  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3716  """
3717  return _IMP_core.Reference_particle_is_instance(*args)
3718 
3719  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
3720  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
3721  def show(self, *args):
3722  """
3723  show(Reference self, _ostream out=std::cout)
3724  show(Reference self)
3725  """
3726  return _IMP_core.Reference_show(self, *args)
3727 
3728  def setup_particle(*args):
3729  """
3730  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3731  setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3732  """
3733  return _IMP_core.Reference_setup_particle(*args)
3734 
3735  if _newclass:setup_particle = staticmethod(setup_particle)
3736  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
3737  def get_reference_particle(self):
3738  """get_reference_particle(Reference self) -> Particle"""
3739  return _IMP_core.Reference_get_reference_particle(self)
3740 
3741  def get_is_setup(*args):
3742  """
3743  get_is_setup(_ParticleAdaptor p) -> bool
3744  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3745  """
3746  return _IMP_core.Reference_get_is_setup(*args)
3747 
3748  if _newclass:get_is_setup = staticmethod(get_is_setup)
3749  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
3750  def get_reference_key():
3751  """get_reference_key() -> ParticleIndexKey"""
3752  return _IMP_core.Reference_get_reference_key()
3753 
3754  if _newclass:get_reference_key = staticmethod(get_reference_key)
3755  __swig_getmethods__["get_reference_key"] = lambda x: get_reference_key
3756  def add_attribute(self, *args):
3757  """
3758  add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
3759  add_attribute(Reference self, FloatKey a0, IMP::Float a1)
3760  add_attribute(Reference self, IntKey a0, IMP::Int a1)
3761  add_attribute(Reference self, StringKey a0, IMP::String a1)
3762  add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
3763  add_attribute(Reference self, ObjectKey a0, IMP::Object * a1)
3764  """
3765  return _IMP_core.Reference_add_attribute(self, *args)
3766 
3767  def get_value(self, *args):
3768  """
3769  get_value(Reference self, FloatKey a0) -> IMP::Float
3770  get_value(Reference self, IntKey a0) -> IMP::Int
3771  get_value(Reference self, StringKey a0) -> IMP::String
3772  get_value(Reference self, ParticleIndexKey a0) -> Particle
3773  get_value(Reference self, ObjectKey a0) -> IMP::Object *
3774  """
3775  return _IMP_core.Reference_get_value(self, *args)
3776 
3777  def set_value(self, *args):
3778  """
3779  set_value(Reference self, FloatKey a0, IMP::Float a1)
3780  set_value(Reference self, IntKey a0, IMP::Int a1)
3781  set_value(Reference self, StringKey a0, IMP::String a1)
3782  set_value(Reference self, ParticleIndexKey a0, Particle a1)
3783  set_value(Reference self, ObjectKey a0, IMP::Object * a1)
3784  """
3785  return _IMP_core.Reference_set_value(self, *args)
3786 
3787  def remove_attribute(self, *args):
3788  """
3789  remove_attribute(Reference self, FloatKey a0)
3790  remove_attribute(Reference self, IntKey a0)
3791  remove_attribute(Reference self, StringKey a0)
3792  remove_attribute(Reference self, ParticleIndexKey a0)
3793  remove_attribute(Reference self, ObjectKey a0)
3794  """
3795  return _IMP_core.Reference_remove_attribute(self, *args)
3796 
3797  def has_attribute(self, *args):
3798  """
3799  has_attribute(Reference self, FloatKey a0) -> bool
3800  has_attribute(Reference self, IntKey a0) -> bool
3801  has_attribute(Reference self, StringKey a0) -> bool
3802  has_attribute(Reference self, ParticleIndexKey a0) -> bool
3803  has_attribute(Reference self, ObjectKey a0) -> bool
3804  """
3805  return _IMP_core.Reference_has_attribute(self, *args)
3806 
3807  def get_derivative(self, *args):
3808  """get_derivative(Reference self, FloatKey a0) -> double"""
3809  return _IMP_core.Reference_get_derivative(self, *args)
3810 
3811  def get_name(self):
3812  """get_name(Reference self) -> std::string"""
3813  return _IMP_core.Reference_get_name(self)
3814 
3815  def clear_caches(self):
3816  """clear_caches(Reference self)"""
3817  return _IMP_core.Reference_clear_caches(self)
3818 
3819  def set_name(self, *args):
3820  """set_name(Reference self, std::string a0)"""
3821  return _IMP_core.Reference_set_name(self, *args)
3822 
3823  def set_check_level(self, *args):
3824  """set_check_level(Reference self, IMP::base::CheckLevel a0)"""
3825  return _IMP_core.Reference_set_check_level(self, *args)
3826 
3827  def add_to_derivative(self, *args):
3828  """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3829  return _IMP_core.Reference_add_to_derivative(self, *args)
3830 
3831  def set_is_optimized(self, *args):
3832  """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
3833  return _IMP_core.Reference_set_is_optimized(self, *args)
3834 
3835  def get_is_optimized(self, *args):
3836  """get_is_optimized(Reference self, FloatKey a0) -> bool"""
3837  return _IMP_core.Reference_get_is_optimized(self, *args)
3838 
3839  def get_check_level(self):
3840  """get_check_level(Reference self) -> IMP::base::CheckLevel"""
3841  return _IMP_core.Reference_get_check_level(self)
3842 
3843  def __eq__(self, *args):
3844  """
3845  __eq__(Reference self, Reference o) -> bool
3846  __eq__(Reference self, Particle d) -> bool
3847  """
3848  return _IMP_core.Reference___eq__(self, *args)
3849 
3850  def __ne__(self, *args):
3851  """
3852  __ne__(Reference self, Reference o) -> bool
3853  __ne__(Reference self, Particle d) -> bool
3854  """
3855  return _IMP_core.Reference___ne__(self, *args)
3856 
3857  def __le__(self, *args):
3858  """
3859  __le__(Reference self, Reference o) -> bool
3860  __le__(Reference self, Particle d) -> bool
3861  """
3862  return _IMP_core.Reference___le__(self, *args)
3863 
3864  def __lt__(self, *args):
3865  """
3866  __lt__(Reference self, Reference o) -> bool
3867  __lt__(Reference self, Particle d) -> bool
3868  """
3869  return _IMP_core.Reference___lt__(self, *args)
3870 
3871  def __ge__(self, *args):
3872  """
3873  __ge__(Reference self, Reference o) -> bool
3874  __ge__(Reference self, Particle d) -> bool
3875  """
3876  return _IMP_core.Reference___ge__(self, *args)
3877 
3878  def __gt__(self, *args):
3879  """
3880  __gt__(Reference self, Reference o) -> bool
3881  __gt__(Reference self, Particle d) -> bool
3882  """
3883  return _IMP_core.Reference___gt__(self, *args)
3884 
3885  def __str__(self):
3886  """__str__(Reference self) -> std::string"""
3887  return _IMP_core.Reference___str__(self)
3888 
3889  def __repr__(self):
3890  """__repr__(Reference self) -> std::string"""
3891  return _IMP_core.Reference___repr__(self)
3892 
3893  __swig_destroy__ = _IMP_core.delete_Reference
3894  __del__ = lambda self : None;
3895 Reference_swigregister = _IMP_core.Reference_swigregister
3896 Reference_swigregister(Reference)
3897 
3898 def Reference_decorate_particle(*args):
3899  """Reference_decorate_particle(Particle p) -> Reference"""
3900  return _IMP_core.Reference_decorate_particle(*args)
3901 
3902 def Reference_particle_is_instance(*args):
3903  """
3904  particle_is_instance(Particle p) -> bool
3905  Reference_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
3906  """
3907  return _IMP_core.Reference_particle_is_instance(*args)
3908 
3909 def Reference_setup_particle(*args):
3910  """
3911  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
3912  Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
3913  """
3914  return _IMP_core.Reference_setup_particle(*args)
3915 
3916 def Reference_get_is_setup(*args):
3917  """
3918  get_is_setup(_ParticleAdaptor p) -> bool
3919  Reference_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
3920  """
3921  return _IMP_core.Reference_get_is_setup(*args)
3922 
3923 def Reference_get_reference_key():
3924  """Reference_get_reference_key() -> ParticleIndexKey"""
3925  return _IMP_core.Reference_get_reference_key()
3926 
3927 class TransformationAndReflectionSymmetry(IMP.kernel.SingletonModifier):
3928  """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
3929  __swig_setmethods__ = {}
3930  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3931  __setattr__ = lambda self, name, value: _swig_setattr(self, TransformationAndReflectionSymmetry, name, value)
3932  __swig_getmethods__ = {}
3933  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3934  __getattr__ = lambda self, name: _swig_getattr(self, TransformationAndReflectionSymmetry, name)
3935  def __init__(self, *args):
3936  """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
3937  this = _IMP_core.new_TransformationAndReflectionSymmetry(*args)
3938  try: self.this.append(this)
3939  except: self.this = this
3940  def do_get_inputs(self, *args):
3941  """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3942  return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, *args)
3943 
3944  def do_get_outputs(self, *args):
3945  """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3946  return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, *args)
3947 
3948  def get_version_info(self):
3949  """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
3950  return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
3951 
3952  __swig_destroy__ = _IMP_core.delete_TransformationAndReflectionSymmetry
3953  __del__ = lambda self : None;
3954  def __str__(self):
3955  """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
3956  return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
3957 
3958  def __repr__(self):
3959  """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
3960  return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
3961 
3962  def get_from(o):
3963  return _object_cast_to_TransformationAndReflectionSymmetry(o)
3964  get_from = staticmethod(get_from)
3965 
3966 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
3967 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
3968 
3969 class TransformationSymmetry(IMP.kernel.SingletonModifier):
3970  """Proxy of C++ IMP::core::TransformationSymmetry class"""
3971  __swig_setmethods__ = {}
3972  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3973  __setattr__ = lambda self, name, value: _swig_setattr(self, TransformationSymmetry, name, value)
3974  __swig_getmethods__ = {}
3975  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3976  __getattr__ = lambda self, name: _swig_getattr(self, TransformationSymmetry, name)
3977  def __init__(self, *args):
3978  """__init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry"""
3979  this = _IMP_core.new_TransformationSymmetry(*args)
3980  try: self.this.append(this)
3981  except: self.this = this
3982  def do_get_inputs(self, *args):
3983  """do_get_inputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3984  return _IMP_core.TransformationSymmetry_do_get_inputs(self, *args)
3985 
3986  def do_get_outputs(self, *args):
3987  """do_get_outputs(TransformationSymmetry self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3988  return _IMP_core.TransformationSymmetry_do_get_outputs(self, *args)
3989 
3990  def get_version_info(self):
3991  """get_version_info(TransformationSymmetry self) -> VersionInfo"""
3992  return _IMP_core.TransformationSymmetry_get_version_info(self)
3993 
3994  __swig_destroy__ = _IMP_core.delete_TransformationSymmetry
3995  __del__ = lambda self : None;
3996  def __str__(self):
3997  """__str__(TransformationSymmetry self) -> std::string"""
3998  return _IMP_core.TransformationSymmetry___str__(self)
3999 
4000  def __repr__(self):
4001  """__repr__(TransformationSymmetry self) -> std::string"""
4002  return _IMP_core.TransformationSymmetry___repr__(self)
4003 
4004  def get_from(o):
4005  return _object_cast_to_TransformationSymmetry(o)
4006  get_from = staticmethod(get_from)
4007 
4008 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
4009 TransformationSymmetry_swigregister(TransformationSymmetry)
4010 
4011 class DihedralRestraint(IMP.kernel.Restraint):
4012  """Proxy of C++ IMP::core::DihedralRestraint class"""
4013  __swig_setmethods__ = {}
4014  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4015  __setattr__ = lambda self, name, value: _swig_setattr(self, DihedralRestraint, name, value)
4016  __swig_getmethods__ = {}
4017  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4018  __getattr__ = lambda self, name: _swig_getattr(self, DihedralRestraint, name)
4019  def __init__(self, *args):
4020  """__init__(IMP::core::DihedralRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3, Particle p4) -> DihedralRestraint"""
4021  this = _IMP_core.new_DihedralRestraint(*args)
4022  try: self.this.append(this)
4023  except: self.this = this
4024  def do_get_inputs(self):
4025  """do_get_inputs(DihedralRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4026  return _IMP_core.DihedralRestraint_do_get_inputs(self)
4027 
4028  def get_version_info(self):
4029  """get_version_info(DihedralRestraint self) -> VersionInfo"""
4030  return _IMP_core.DihedralRestraint_get_version_info(self)
4031 
4032  __swig_destroy__ = _IMP_core.delete_DihedralRestraint
4033  __del__ = lambda self : None;
4034  def __str__(self):
4035  """__str__(DihedralRestraint self) -> std::string"""
4036  return _IMP_core.DihedralRestraint___str__(self)
4037 
4038  def __repr__(self):
4039  """__repr__(DihedralRestraint self) -> std::string"""
4040  return _IMP_core.DihedralRestraint___repr__(self)
4041 
4042  def get_from(o):
4043  return _object_cast_to_DihedralRestraint(o)
4044  get_from = staticmethod(get_from)
4045 
4046 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
4047 DihedralRestraint_swigregister(DihedralRestraint)
4048 
4049 class DistancePairScore(IMP.kernel.PairScore):
4050  """Proxy of C++ IMP::core::DistancePairScore class"""
4051  __swig_setmethods__ = {}
4052  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4053  __setattr__ = lambda self, name, value: _swig_setattr(self, DistancePairScore, name, value)
4054  __swig_getmethods__ = {}
4055  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4056  __getattr__ = lambda self, name: _swig_getattr(self, DistancePairScore, name)
4057  def __init__(self, *args):
4058  """
4059  __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
4060  __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
4061  """
4062  this = _IMP_core.new_DistancePairScore(*args)
4063  try: self.this.append(this)
4064  except: self.this = this
4065  def do_get_inputs(self, *args):
4066  """do_get_inputs(DistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4067  return _IMP_core.DistancePairScore_do_get_inputs(self, *args)
4068 
4069  def get_version_info(self):
4070  """get_version_info(DistancePairScore self) -> VersionInfo"""
4071  return _IMP_core.DistancePairScore_get_version_info(self)
4072 
4073  __swig_destroy__ = _IMP_core.delete_DistancePairScore
4074  __del__ = lambda self : None;
4075  def __str__(self):
4076  """__str__(DistancePairScore self) -> std::string"""
4077  return _IMP_core.DistancePairScore___str__(self)
4078 
4079  def __repr__(self):
4080  """__repr__(DistancePairScore self) -> std::string"""
4081  return _IMP_core.DistancePairScore___repr__(self)
4082 
4083  def get_from(o):
4084  return _object_cast_to_DistancePairScore(o)
4085  get_from = staticmethod(get_from)
4086 
4087 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
4088 DistancePairScore_swigregister(DistancePairScore)
4089 
4090 class HarmonicDistancePairScore(IMP.kernel.PairScore):
4091  """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
4092  __swig_setmethods__ = {}
4093  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4094  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicDistancePairScore, name, value)
4095  __swig_getmethods__ = {}
4096  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4097  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicDistancePairScore, name)
4098  def __init__(self, *args):
4099  """
4100  __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
4101  __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
4102  """
4103  this = _IMP_core.new_HarmonicDistancePairScore(*args)
4104  try: self.this.append(this)
4105  except: self.this = this
4106  def do_get_inputs(self, *args):
4107  """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4108  return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, *args)
4109 
4110  def get_version_info(self):
4111  """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
4112  return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
4113 
4114  __swig_destroy__ = _IMP_core.delete_HarmonicDistancePairScore
4115  __del__ = lambda self : None;
4116  def __str__(self):
4117  """__str__(HarmonicDistancePairScore self) -> std::string"""
4118  return _IMP_core.HarmonicDistancePairScore___str__(self)
4119 
4120  def __repr__(self):
4121  """__repr__(HarmonicDistancePairScore self) -> std::string"""
4122  return _IMP_core.HarmonicDistancePairScore___repr__(self)
4123 
4124  def get_from(o):
4125  return _object_cast_to_HarmonicDistancePairScore(o)
4126  get_from = staticmethod(get_from)
4127 
4128 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
4129 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
4130 
4131 class DistanceRestraint(IMP.kernel.Restraint):
4132  """Proxy of C++ IMP::core::DistanceRestraint class"""
4133  __swig_setmethods__ = {}
4134  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4135  __setattr__ = lambda self, name, value: _swig_setattr(self, DistanceRestraint, name, value)
4136  __swig_getmethods__ = {}
4137  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4138  __getattr__ = lambda self, name: _swig_getattr(self, DistanceRestraint, name)
4139  def __init__(self, *args):
4140  """__init__(IMP::core::DistanceRestraint self, UnaryFunction score_func, Particle a, Particle b) -> DistanceRestraint"""
4141  this = _IMP_core.new_DistanceRestraint(*args)
4142  try: self.this.append(this)
4143  except: self.this = this
4144  def get_version_info(self):
4145  """get_version_info(DistanceRestraint self) -> VersionInfo"""
4146  return _IMP_core.DistanceRestraint_get_version_info(self)
4147 
4148  __swig_destroy__ = _IMP_core.delete_DistanceRestraint
4149  __del__ = lambda self : None;
4150  def __str__(self):
4151  """__str__(DistanceRestraint self) -> std::string"""
4152  return _IMP_core.DistanceRestraint___str__(self)
4153 
4154  def __repr__(self):
4155  """__repr__(DistanceRestraint self) -> std::string"""
4156  return _IMP_core.DistanceRestraint___repr__(self)
4157 
4158  def get_from(o):
4159  return _object_cast_to_DistanceRestraint(o)
4160  get_from = staticmethod(get_from)
4161 
4162 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
4163 DistanceRestraint_swigregister(DistanceRestraint)
4164 
4165 class SphereDistanceToSingletonScore(IMP.kernel.SingletonScore):
4166  """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
4167  __swig_setmethods__ = {}
4168  for _s in [IMP.kernel.SingletonScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4169  __setattr__ = lambda self, name, value: _swig_setattr(self, SphereDistanceToSingletonScore, name, value)
4170  __swig_getmethods__ = {}
4171  for _s in [IMP.kernel.SingletonScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4172  __getattr__ = lambda self, name: _swig_getattr(self, SphereDistanceToSingletonScore, name)
4173  def __init__(self, *args):
4174  """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
4175  this = _IMP_core.new_SphereDistanceToSingletonScore(*args)
4176  try: self.this.append(this)
4177  except: self.this = this
4178  def do_get_inputs(self, *args):
4179  """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4180  return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, *args)
4181 
4182  def get_version_info(self):
4183  """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
4184  return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
4185 
4186  __swig_destroy__ = _IMP_core.delete_SphereDistanceToSingletonScore
4187  __del__ = lambda self : None;
4188  def __str__(self):
4189  """__str__(SphereDistanceToSingletonScore self) -> std::string"""
4190  return _IMP_core.SphereDistanceToSingletonScore___str__(self)
4191 
4192  def __repr__(self):
4193  """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
4194  return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
4195 
4196  def get_from(o):
4197  return _object_cast_to_SphereDistanceToSingletonScore(o)
4198  get_from = staticmethod(get_from)
4199 
4200 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
4201 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
4202 
4203 class ExcludedVolumeRestraint(IMP.kernel.Restraint):
4204  """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
4205  __swig_setmethods__ = {}
4206  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4207  __setattr__ = lambda self, name, value: _swig_setattr(self, ExcludedVolumeRestraint, name, value)
4208  __swig_getmethods__ = {}
4209  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4210  __getattr__ = lambda self, name: _swig_getattr(self, ExcludedVolumeRestraint, name)
4211  def __init__(self, *args):
4212  """
4213  __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint
4214  __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
4215  __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
4216  __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
4217  """
4218  this = _IMP_core.new_ExcludedVolumeRestraint(*args)
4219  try: self.this.append(this)
4220  except: self.this = this
4221  def do_get_inputs(self):
4222  """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4223  return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
4224 
4225  def get_version_info(self):
4226  """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
4227  return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
4228 
4229  __swig_destroy__ = _IMP_core.delete_ExcludedVolumeRestraint
4230  __del__ = lambda self : None;
4231  def do_create_decomposition(self):
4232  """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4233  return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
4234 
4235  def do_create_current_decomposition(self):
4236  """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::kernel::Restraints"""
4237  return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
4238 
4239  def get_indexes(self):
4240  """get_indexes(ExcludedVolumeRestraint self) -> IMP::kernel::ParticleIndexPairs const &"""
4241  return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
4242 
4243  def remove_pair_filter(self, *args):
4244  """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
4245  return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, *args)
4246 
4247  def remove_pair_filters(self, *args):
4248  """remove_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & d)"""
4249  return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, *args)
4250 
4251  def set_pair_filters(self, *args):
4252  """set_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & ps)"""
4253  return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, *args)
4254 
4255  def set_pair_filters_order(self, *args):
4256  """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4257  return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, *args)
4258 
4259  def add_pair_filter(self, *args):
4260  """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
4261  return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, *args)
4262 
4263  def add_pair_filters(self, *args):
4264  """add_pair_filters(ExcludedVolumeRestraint self, IMP::kernel::PairPredicates const & objs)"""
4265  return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, *args)
4266 
4267  def clear_pair_filters(self):
4268  """clear_pair_filters(ExcludedVolumeRestraint self)"""
4269  return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
4270 
4271  def get_number_of_pair_filters(self):
4272  """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
4273  return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
4274 
4275  def get_has_pair_filters(self):
4276  """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
4277  return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
4278 
4279  def get_pair_filter(self, *args):
4280  """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
4281  return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, *args)
4282 
4283  def get_pair_filters(self):
4284  """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::kernel::PairPredicates"""
4285  return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
4286 
4287  def reserve_pair_filters(self, *args):
4288  """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
4289  return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, *args)
4290 
4291  def __str__(self):
4292  """__str__(ExcludedVolumeRestraint self) -> std::string"""
4293  return _IMP_core.ExcludedVolumeRestraint___str__(self)
4294 
4295  def __repr__(self):
4296  """__repr__(ExcludedVolumeRestraint self) -> std::string"""
4297  return _IMP_core.ExcludedVolumeRestraint___repr__(self)
4298 
4299  def get_from(o):
4300  return _object_cast_to_ExcludedVolumeRestraint(o)
4301  get_from = staticmethod(get_from)
4302 
4303 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
4304 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
4305 
4306 class FixedRefiner(IMP.kernel.Refiner):
4307  """Proxy of C++ IMP::core::FixedRefiner class"""
4308  __swig_setmethods__ = {}
4309  for _s in [IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4310  __setattr__ = lambda self, name, value: _swig_setattr(self, FixedRefiner, name, value)
4311  __swig_getmethods__ = {}
4312  for _s in [IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4313  __getattr__ = lambda self, name: _swig_getattr(self, FixedRefiner, name)
4314  def __init__(self, *args):
4315  """__init__(IMP::core::FixedRefiner self, IMP::kernel::ParticlesTemp const & ps) -> FixedRefiner"""
4316  this = _IMP_core.new_FixedRefiner(*args)
4317  try: self.this.append(this)
4318  except: self.this = this
4319  def do_get_inputs(self, *args):
4320  """do_get_inputs(FixedRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4321  return _IMP_core.FixedRefiner_do_get_inputs(self, *args)
4322 
4323  def get_version_info(self):
4324  """get_version_info(FixedRefiner self) -> VersionInfo"""
4325  return _IMP_core.FixedRefiner_get_version_info(self)
4326 
4327  __swig_destroy__ = _IMP_core.delete_FixedRefiner
4328  __del__ = lambda self : None;
4329  def __str__(self):
4330  """__str__(FixedRefiner self) -> std::string"""
4331  return _IMP_core.FixedRefiner___str__(self)
4332 
4333  def __repr__(self):
4334  """__repr__(FixedRefiner self) -> std::string"""
4335  return _IMP_core.FixedRefiner___repr__(self)
4336 
4337  def get_from(o):
4338  return _object_cast_to_FixedRefiner(o)
4339  get_from = staticmethod(get_from)
4340 
4341 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
4342 FixedRefiner_swigregister(FixedRefiner)
4343 
4344 class GridClosePairsFinder(ClosePairsFinder):
4345  """Proxy of C++ IMP::core::GridClosePairsFinder class"""
4346  __swig_setmethods__ = {}
4347  for _s in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4348  __setattr__ = lambda self, name, value: _swig_setattr(self, GridClosePairsFinder, name, value)
4349  __swig_getmethods__ = {}
4350  for _s in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4351  __getattr__ = lambda self, name: _swig_getattr(self, GridClosePairsFinder, name)
4352  def __init__(self):
4353  """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
4354  this = _IMP_core.new_GridClosePairsFinder()
4355  try: self.this.append(this)
4356  except: self.this = this
4357  def get_close_pairs(self, *args):
4358  """
4359  get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
4360  get_close_pairs(GridClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
4361  get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4362  get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4363  get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
4364  get_close_pairs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
4365  """
4366  return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
4367 
4368  def do_get_inputs(self, *args):
4369  """do_get_inputs(GridClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4370  return _IMP_core.GridClosePairsFinder_do_get_inputs(self, *args)
4371 
4372  def get_version_info(self):
4373  """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
4374  return _IMP_core.GridClosePairsFinder_get_version_info(self)
4375 
4376  __swig_destroy__ = _IMP_core.delete_GridClosePairsFinder
4377  __del__ = lambda self : None;
4378  def __str__(self):
4379  """__str__(GridClosePairsFinder self) -> std::string"""
4380  return _IMP_core.GridClosePairsFinder___str__(self)
4381 
4382  def __repr__(self):
4383  """__repr__(GridClosePairsFinder self) -> std::string"""
4384  return _IMP_core.GridClosePairsFinder___repr__(self)
4385 
4386  def get_from(o):
4387  return _object_cast_to_GridClosePairsFinder(o)
4388  get_from = staticmethod(get_from)
4389 
4390 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
4391 GridClosePairsFinder_swigregister(GridClosePairsFinder)
4392 
4393 class Harmonic(IMP.kernel.UnaryFunction):
4394  """Proxy of C++ IMP::core::Harmonic class"""
4395  __swig_setmethods__ = {}
4396  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4397  __setattr__ = lambda self, name, value: _swig_setattr(self, Harmonic, name, value)
4398  __swig_getmethods__ = {}
4399  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4400  __getattr__ = lambda self, name: _swig_getattr(self, Harmonic, name)
4401  def __init__(self, *args):
4402  """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
4403  this = _IMP_core.new_Harmonic(*args)
4404  try: self.this.append(this)
4405  except: self.this = this
4406  def get_version_info(self):
4407  """get_version_info(Harmonic self) -> VersionInfo"""
4408  return _IMP_core.Harmonic_get_version_info(self)
4409 
4410  __swig_destroy__ = _IMP_core.delete_Harmonic
4411  __del__ = lambda self : None;
4412  def get_mean(self):
4413  """get_mean(Harmonic self) -> IMP::Float"""
4414  return _IMP_core.Harmonic_get_mean(self)
4415 
4416  def get_k(self):
4417  """get_k(Harmonic self) -> IMP::Float"""
4418  return _IMP_core.Harmonic_get_k(self)
4419 
4420  def set_mean(self, *args):
4421  """set_mean(Harmonic self, IMP::Float mean)"""
4422  return _IMP_core.Harmonic_set_mean(self, *args)
4423 
4424  def set_k(self, *args):
4425  """set_k(Harmonic self, IMP::Float k)"""
4426  return _IMP_core.Harmonic_set_k(self, *args)
4427 
4428  def get_k_from_standard_deviation(*args):
4429  """
4430  get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4431  get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4432  """
4433  return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4434 
4435  if _newclass:get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
4436  __swig_getmethods__["get_k_from_standard_deviation"] = lambda x: get_k_from_standard_deviation
4437  def __str__(self):
4438  """__str__(Harmonic self) -> std::string"""
4439  return _IMP_core.Harmonic___str__(self)
4440 
4441  def __repr__(self):
4442  """__repr__(Harmonic self) -> std::string"""
4443  return _IMP_core.Harmonic___repr__(self)
4444 
4445  def get_from(o):
4446  return _object_cast_to_Harmonic(o)
4447  get_from = staticmethod(get_from)
4448 
4449 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
4450 Harmonic_swigregister(Harmonic)
4451 
4452 def Harmonic_get_k_from_standard_deviation(*args):
4453  """
4454  get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
4455  Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
4456  """
4457  return _IMP_core.Harmonic_get_k_from_standard_deviation(*args)
4458 
4459 class HarmonicWell(IMP.kernel.UnaryFunction):
4460  """Proxy of C++ IMP::core::HarmonicWell class"""
4461  __swig_setmethods__ = {}
4462  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4463  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicWell, name, value)
4464  __swig_getmethods__ = {}
4465  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4466  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicWell, name)
4467  def __init__(self, *args):
4468  """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
4469  this = _IMP_core.new_HarmonicWell(*args)
4470  try: self.this.append(this)
4471  except: self.this = this
4472  def get_version_info(self):
4473  """get_version_info(HarmonicWell self) -> VersionInfo"""
4474  return _IMP_core.HarmonicWell_get_version_info(self)
4475 
4476  __swig_destroy__ = _IMP_core.delete_HarmonicWell
4477  __del__ = lambda self : None;
4478  def __str__(self):
4479  """__str__(HarmonicWell self) -> std::string"""
4480  return _IMP_core.HarmonicWell___str__(self)
4481 
4482  def __repr__(self):
4483  """__repr__(HarmonicWell self) -> std::string"""
4484  return _IMP_core.HarmonicWell___repr__(self)
4485 
4486  def get_from(o):
4487  return _object_cast_to_HarmonicWell(o)
4488  get_from = staticmethod(get_from)
4489 
4490 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
4491 HarmonicWell_swigregister(HarmonicWell)
4492 
4493 class HarmonicLowerBound(Harmonic):
4494  """Proxy of C++ IMP::core::HarmonicLowerBound class"""
4495  __swig_setmethods__ = {}
4496  for _s in [Harmonic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4497  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicLowerBound, name, value)
4498  __swig_getmethods__ = {}
4499  for _s in [Harmonic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4500  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicLowerBound, name)
4501  def __init__(self, *args):
4502  """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
4503  this = _IMP_core.new_HarmonicLowerBound(*args)
4504  try: self.this.append(this)
4505  except: self.this = this
4506  __swig_destroy__ = _IMP_core.delete_HarmonicLowerBound
4507  __del__ = lambda self : None;
4508  def __str__(self):
4509  """__str__(HarmonicLowerBound self) -> std::string"""
4510  return _IMP_core.HarmonicLowerBound___str__(self)
4511 
4512  def __repr__(self):
4513  """__repr__(HarmonicLowerBound self) -> std::string"""
4514  return _IMP_core.HarmonicLowerBound___repr__(self)
4515 
4516  def get_from(o):
4517  return _object_cast_to_HarmonicLowerBound(o)
4518  get_from = staticmethod(get_from)
4519 
4520 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
4521 HarmonicLowerBound_swigregister(HarmonicLowerBound)
4522 
4523 class HarmonicUpperBound(Harmonic):
4524  """Proxy of C++ IMP::core::HarmonicUpperBound class"""
4525  __swig_setmethods__ = {}
4526  for _s in [Harmonic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4527  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicUpperBound, name, value)
4528  __swig_getmethods__ = {}
4529  for _s in [Harmonic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4530  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicUpperBound, name)
4531  def __init__(self, *args):
4532  """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
4533  this = _IMP_core.new_HarmonicUpperBound(*args)
4534  try: self.this.append(this)
4535  except: self.this = this
4536  __swig_destroy__ = _IMP_core.delete_HarmonicUpperBound
4537  __del__ = lambda self : None;
4538  def __str__(self):
4539  """__str__(HarmonicUpperBound self) -> std::string"""
4540  return _IMP_core.HarmonicUpperBound___str__(self)
4541 
4542  def __repr__(self):
4543  """__repr__(HarmonicUpperBound self) -> std::string"""
4544  return _IMP_core.HarmonicUpperBound___repr__(self)
4545 
4546  def get_from(o):
4547  return _object_cast_to_HarmonicUpperBound(o)
4548  get_from = staticmethod(get_from)
4549 
4550 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
4551 HarmonicUpperBound_swigregister(HarmonicUpperBound)
4552 
4553 class MSConnectivityRestraint(IMP.kernel.Restraint):
4554  """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
4555  __swig_setmethods__ = {}
4556  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4557  __setattr__ = lambda self, name, value: _swig_setattr(self, MSConnectivityRestraint, name, value)
4558  __swig_getmethods__ = {}
4559  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4560  __getattr__ = lambda self, name: _swig_getattr(self, MSConnectivityRestraint, name)
4561  def __init__(self, *args):
4562  """
4563  __init__(IMP::core::MSConnectivityRestraint self, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
4564  __init__(IMP::core::MSConnectivityRestraint self, PairScore ps) -> MSConnectivityRestraint
4565  """
4566  this = _IMP_core.new_MSConnectivityRestraint(*args)
4567  try: self.this.append(this)
4568  except: self.this = this
4569  def add_type(self, *args):
4570  """add_type(MSConnectivityRestraint self, IMP::kernel::ParticlesTemp const & ps) -> unsigned int"""
4571  return _IMP_core.MSConnectivityRestraint_add_type(self, *args)
4572 
4573  def add_composite(self, *args):
4574  """
4575  add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
4576  add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
4577  """
4578  return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
4579 
4580  def get_connected_pairs(self):
4581  """get_connected_pairs(MSConnectivityRestraint self) -> IMP::kernel::ParticlePairsTemp"""
4582  return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
4583 
4584  def get_pair_score(self):
4585  """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
4586  return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
4587 
4588  def do_create_current_decomposition(self):
4589  """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::kernel::Restraints"""
4590  return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
4591 
4592  def do_get_inputs(self):
4593  """do_get_inputs(MSConnectivityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
4594  return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
4595 
4596  def get_version_info(self):
4597  """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
4598  return _IMP_core.MSConnectivityRestraint_get_version_info(self)
4599 
4600  __swig_destroy__ = _IMP_core.delete_MSConnectivityRestraint
4601  __del__ = lambda self : None;
4602  def __str__(self):
4603  """__str__(MSConnectivityRestraint self) -> std::string"""
4604  return _IMP_core.MSConnectivityRestraint___str__(self)
4605 
4606  def __repr__(self):
4607  """__repr__(MSConnectivityRestraint self) -> std::string"""
4608  return _IMP_core.MSConnectivityRestraint___repr__(self)
4609 
4610  def get_from(o):
4611  return _object_cast_to_MSConnectivityRestraint(o)
4612  get_from = staticmethod(get_from)
4613 
4614 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
4615 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
4616 
4617 class HierarchyTraits(_object):
4618  """Proxy of C++ IMP::core::HierarchyTraits class"""
4619  __swig_setmethods__ = {}
4620  __setattr__ = lambda self, name, value: _swig_setattr(self, HierarchyTraits, name, value)
4621  __swig_getmethods__ = {}
4622  __getattr__ = lambda self, name: _swig_getattr(self, HierarchyTraits, name)
4623  def __init__(self, *args):
4624  """
4625  __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
4626  __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
4627  """
4628  this = _IMP_core.new_HierarchyTraits(*args)
4629  try: self.this.append(this)
4630  except: self.this = this
4631  def get_children_key(self):
4632  """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
4633  return _IMP_core.HierarchyTraits_get_children_key(self)
4634 
4635  def get_parent_key(self):
4636  """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
4637  return _IMP_core.HierarchyTraits_get_parent_key(self)
4638 
4639  def __eq__(self, *args):
4640  """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
4641  return _IMP_core.HierarchyTraits___eq__(self, *args)
4642 
4643  def show(self, *args):
4644  """
4645  show(HierarchyTraits self, _ostream out=std::cout)
4646  show(HierarchyTraits self)
4647  """
4648  return _IMP_core.HierarchyTraits_show(self, *args)
4649 
4650  def __str__(self):
4651  """__str__(HierarchyTraits self) -> std::string"""
4652  return _IMP_core.HierarchyTraits___str__(self)
4653 
4654  def __repr__(self):
4655  """__repr__(HierarchyTraits self) -> std::string"""
4656  return _IMP_core.HierarchyTraits___repr__(self)
4657 
4658  __swig_destroy__ = _IMP_core.delete_HierarchyTraits
4659  __del__ = lambda self : None;
4660 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
4661 HierarchyTraits_swigregister(HierarchyTraits)
4662 
4663 class Hierarchy(IMP.kernel.Decorator):
4664  """Proxy of C++ IMP::core::Hierarchy class"""
4665  __swig_setmethods__ = {}
4666  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
4667  __setattr__ = lambda self, name, value: _swig_setattr(self, Hierarchy, name, value)
4668  __swig_getmethods__ = {}
4669  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
4670  __getattr__ = lambda self, name: _swig_getattr(self, Hierarchy, name)
4671  def get_decorator_traits(self):
4672  """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
4673  return _IMP_core.Hierarchy_get_decorator_traits(self)
4674 
4675  def get_default_decorator_traits():
4676  """get_default_decorator_traits() -> HierarchyTraits"""
4677  return _IMP_core.Hierarchy_get_default_decorator_traits()
4678 
4679  if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
4680  __swig_getmethods__["get_default_decorator_traits"] = lambda x: get_default_decorator_traits
4681  def __init__(self, *args):
4682  """
4683  __init__(IMP::core::Hierarchy self) -> Hierarchy
4684  __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4685  __init__(IMP::core::Hierarchy self, Model m, ::IMP::kernel::ParticleIndex id) -> Hierarchy
4686  __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4687  __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
4688  """
4689  this = _IMP_core.new_Hierarchy(*args)
4690  try: self.this.append(this)
4691  except: self.this = this
4692  def decorate_particle(*args):
4693  """
4694  decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4695  decorate_particle(Particle p) -> Hierarchy
4696  """
4697  return _IMP_core.Hierarchy_decorate_particle(*args)
4698 
4699  if _newclass:decorate_particle = staticmethod(decorate_particle)
4700  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
4701  def particle_is_instance(*args):
4702  """
4703  particle_is_instance(Particle p, HierarchyTraits tr=get_default_traits()) -> bool
4704  particle_is_instance(Particle p) -> bool
4705  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=get_default_traits()) -> bool
4706  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
4707  """
4708  return _IMP_core.Hierarchy_particle_is_instance(*args)
4709 
4710  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
4711  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
4712  def show(self, *args):
4713  """
4714  show(Hierarchy self, _ostream out=std::cout)
4715  show(Hierarchy self)
4716  """
4717  return _IMP_core.Hierarchy_show(self, *args)
4718 
4719  def setup_particle(*args):
4720  """
4721  setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4722  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4723  setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4724  setup_particle(_ParticleAdaptor d) -> Hierarchy
4725  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4726  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4727  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4728  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4729  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4730  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4731  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4732  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4733  """
4734  return _IMP_core.Hierarchy_setup_particle(*args)
4735 
4736  if _newclass:setup_particle = staticmethod(setup_particle)
4737  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
4738  def get_is_setup(*args):
4739  """
4740  get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4741  get_is_setup(_ParticleAdaptor p) -> bool
4742  get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4743  get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4744  """
4745  return _IMP_core.Hierarchy_get_is_setup(*args)
4746 
4747  if _newclass:get_is_setup = staticmethod(get_is_setup)
4748  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
4749  def get_parent(self):
4750  """get_parent(Hierarchy self) -> Hierarchy"""
4751  return _IMP_core.Hierarchy_get_parent(self)
4752 
4753  def get_number_of_children(self):
4754  """get_number_of_children(Hierarchy self) -> unsigned int"""
4755  return _IMP_core.Hierarchy_get_number_of_children(self)
4756 
4757  def get_child(self, *args):
4758  """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
4759  return _IMP_core.Hierarchy_get_child(self, *args)
4760 
4761  def get_children(self):
4762  """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
4763  return _IMP_core.Hierarchy_get_children(self)
4764 
4765  def remove_child(self, *args):
4766  """
4767  remove_child(Hierarchy self, unsigned int i)
4768  remove_child(Hierarchy self, Hierarchy h)
4769  """
4770  return _IMP_core.Hierarchy_remove_child(self, *args)
4771 
4772  def clear_children(self):
4773  """clear_children(Hierarchy self)"""
4774  return _IMP_core.Hierarchy_clear_children(self)
4775 
4776  def add_child(self, *args):
4777  """add_child(Hierarchy self, Hierarchy h)"""
4778  return _IMP_core.Hierarchy_add_child(self, *args)
4779 
4780  def add_child_at(self, *args):
4781  """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
4782  return _IMP_core.Hierarchy_add_child_at(self, *args)
4783 
4784  def get_child_index(self, *args):
4785  """
4786  get_child_index(Hierarchy self, unsigned int i) -> IMP::kernel::ParticleIndex
4787  get_child_index(Hierarchy self) -> int
4788  """
4789  return _IMP_core.Hierarchy_get_child_index(self, *args)
4790 
4791  def get_default_traits():
4792  """get_default_traits() -> HierarchyTraits"""
4793  return _IMP_core.Hierarchy_get_default_traits()
4794 
4795  if _newclass:get_default_traits = staticmethod(get_default_traits)
4796  __swig_getmethods__["get_default_traits"] = lambda x: get_default_traits
4797  def get_traits(self):
4798  """get_traits(Hierarchy self) -> HierarchyTraits"""
4799  return _IMP_core.Hierarchy_get_traits(self)
4800 
4801  def add_attribute(self, *args):
4802  """
4803  add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
4804  add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
4805  add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
4806  add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
4807  add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
4808  add_attribute(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4809  """
4810  return _IMP_core.Hierarchy_add_attribute(self, *args)
4811 
4812  def get_value(self, *args):
4813  """
4814  get_value(Hierarchy self, FloatKey a0) -> IMP::Float
4815  get_value(Hierarchy self, IntKey a0) -> IMP::Int
4816  get_value(Hierarchy self, StringKey a0) -> IMP::String
4817  get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
4818  get_value(Hierarchy self, ObjectKey a0) -> IMP::Object *
4819  """
4820  return _IMP_core.Hierarchy_get_value(self, *args)
4821 
4822  def set_value(self, *args):
4823  """
4824  set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
4825  set_value(Hierarchy self, IntKey a0, IMP::Int a1)
4826  set_value(Hierarchy self, StringKey a0, IMP::String a1)
4827  set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
4828  set_value(Hierarchy self, ObjectKey a0, IMP::Object * a1)
4829  """
4830  return _IMP_core.Hierarchy_set_value(self, *args)
4831 
4832  def remove_attribute(self, *args):
4833  """
4834  remove_attribute(Hierarchy self, FloatKey a0)
4835  remove_attribute(Hierarchy self, IntKey a0)
4836  remove_attribute(Hierarchy self, StringKey a0)
4837  remove_attribute(Hierarchy self, ParticleIndexKey a0)
4838  remove_attribute(Hierarchy self, ObjectKey a0)
4839  """
4840  return _IMP_core.Hierarchy_remove_attribute(self, *args)
4841 
4842  def has_attribute(self, *args):
4843  """
4844  has_attribute(Hierarchy self, FloatKey a0) -> bool
4845  has_attribute(Hierarchy self, IntKey a0) -> bool
4846  has_attribute(Hierarchy self, StringKey a0) -> bool
4847  has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
4848  has_attribute(Hierarchy self, ObjectKey a0) -> bool
4849  """
4850  return _IMP_core.Hierarchy_has_attribute(self, *args)
4851 
4852  def get_derivative(self, *args):
4853  """get_derivative(Hierarchy self, FloatKey a0) -> double"""
4854  return _IMP_core.Hierarchy_get_derivative(self, *args)
4855 
4856  def get_name(self):
4857  """get_name(Hierarchy self) -> std::string"""
4858  return _IMP_core.Hierarchy_get_name(self)
4859 
4860  def clear_caches(self):
4861  """clear_caches(Hierarchy self)"""
4862  return _IMP_core.Hierarchy_clear_caches(self)
4863 
4864  def set_name(self, *args):
4865  """set_name(Hierarchy self, std::string a0)"""
4866  return _IMP_core.Hierarchy_set_name(self, *args)
4867 
4868  def set_check_level(self, *args):
4869  """set_check_level(Hierarchy self, IMP::base::CheckLevel a0)"""
4870  return _IMP_core.Hierarchy_set_check_level(self, *args)
4871 
4872  def add_to_derivative(self, *args):
4873  """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4874  return _IMP_core.Hierarchy_add_to_derivative(self, *args)
4875 
4876  def set_is_optimized(self, *args):
4877  """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
4878  return _IMP_core.Hierarchy_set_is_optimized(self, *args)
4879 
4880  def get_is_optimized(self, *args):
4881  """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
4882  return _IMP_core.Hierarchy_get_is_optimized(self, *args)
4883 
4884  def get_check_level(self):
4885  """get_check_level(Hierarchy self) -> IMP::base::CheckLevel"""
4886  return _IMP_core.Hierarchy_get_check_level(self)
4887 
4888  def __eq__(self, *args):
4889  """
4890  __eq__(Hierarchy self, Hierarchy o) -> bool
4891  __eq__(Hierarchy self, Particle d) -> bool
4892  """
4893  return _IMP_core.Hierarchy___eq__(self, *args)
4894 
4895  def __ne__(self, *args):
4896  """
4897  __ne__(Hierarchy self, Hierarchy o) -> bool
4898  __ne__(Hierarchy self, Particle d) -> bool
4899  """
4900  return _IMP_core.Hierarchy___ne__(self, *args)
4901 
4902  def __le__(self, *args):
4903  """
4904  __le__(Hierarchy self, Hierarchy o) -> bool
4905  __le__(Hierarchy self, Particle d) -> bool
4906  """
4907  return _IMP_core.Hierarchy___le__(self, *args)
4908 
4909  def __lt__(self, *args):
4910  """
4911  __lt__(Hierarchy self, Hierarchy o) -> bool
4912  __lt__(Hierarchy self, Particle d) -> bool
4913  """
4914  return _IMP_core.Hierarchy___lt__(self, *args)
4915 
4916  def __ge__(self, *args):
4917  """
4918  __ge__(Hierarchy self, Hierarchy o) -> bool
4919  __ge__(Hierarchy self, Particle d) -> bool
4920  """
4921  return _IMP_core.Hierarchy___ge__(self, *args)
4922 
4923  def __gt__(self, *args):
4924  """
4925  __gt__(Hierarchy self, Hierarchy o) -> bool
4926  __gt__(Hierarchy self, Particle d) -> bool
4927  """
4928  return _IMP_core.Hierarchy___gt__(self, *args)
4929 
4930  def __str__(self):
4931  """__str__(Hierarchy self) -> std::string"""
4932  return _IMP_core.Hierarchy___str__(self)
4933 
4934  def __repr__(self):
4935  """__repr__(Hierarchy self) -> std::string"""
4936  return _IMP_core.Hierarchy___repr__(self)
4937 
4938  __swig_destroy__ = _IMP_core.delete_Hierarchy
4939  __del__ = lambda self : None;
4940 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
4941 Hierarchy_swigregister(Hierarchy)
4942 
4943 def Hierarchy_get_default_decorator_traits():
4944  """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
4945  return _IMP_core.Hierarchy_get_default_decorator_traits()
4946 
4947 def Hierarchy_decorate_particle(*args):
4948  """
4949  decorate_particle(Particle p, HierarchyTraits tr=get_default_traits()) -> Hierarchy
4950  Hierarchy_decorate_particle(Particle p) -> Hierarchy
4951  """
4952  return _IMP_core.Hierarchy_decorate_particle(*args)
4953 
4954 def Hierarchy_particle_is_instance(*args):
4955  """
4956  particle_is_instance(Particle p, HierarchyTraits tr=get_default_traits()) -> bool
4957  particle_is_instance(Particle p) -> bool
4958  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=get_default_traits()) -> bool
4959  Hierarchy_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
4960  """
4961  return _IMP_core.Hierarchy_particle_is_instance(*args)
4962 
4963 def Hierarchy_setup_particle(*args):
4964  """
4965  setup_particle(Model m, IMP::kernel::ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4966  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Hierarchy
4967  setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4968  setup_particle(_ParticleAdaptor d) -> Hierarchy
4969  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4970  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticleIndexes children) -> Hierarchy
4971  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4972  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticleIndexes children) -> Hierarchy
4973  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4974  setup_particle(Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::ParticlesTemp children) -> Hierarchy
4975  setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
4976  Hierarchy_setup_particle(_ParticleAdaptor d, IMP::kernel::ParticlesTemp children) -> Hierarchy
4977  """
4978  return _IMP_core.Hierarchy_setup_particle(*args)
4979 
4980 def Hierarchy_get_is_setup(*args):
4981  """
4982  get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
4983  get_is_setup(_ParticleAdaptor p) -> bool
4984  get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
4985  Hierarchy_get_is_setup(Model arg1, IMP::kernel::ParticleIndex arg2) -> bool
4986  """
4987  return _IMP_core.Hierarchy_get_is_setup(*args)
4988 
4989 def Hierarchy_get_default_traits():
4990  """Hierarchy_get_default_traits() -> HierarchyTraits"""
4991  return _IMP_core.Hierarchy_get_default_traits()
4992 
4993 class HierarchyVisitor(_object):
4994  """Proxy of C++ IMP::core::HierarchyVisitor class"""
4995  __swig_setmethods__ = {}
4996  __setattr__ = lambda self, name, value: _swig_setattr(self, HierarchyVisitor, name, value)
4997  __swig_getmethods__ = {}
4998  __getattr__ = lambda self, name: _swig_getattr(self, HierarchyVisitor, name)
4999  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
5000  __repr__ = _swig_repr
5001  def __call__(self, *args):
5002  """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
5003  return _IMP_core.HierarchyVisitor___call__(self, *args)
5004 
5005  __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
5006  __del__ = lambda self : None;
5007 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
5008 HierarchyVisitor_swigregister(HierarchyVisitor)
5009 
5010 class ModifierVisitor(HierarchyVisitor):
5011  """Proxy of C++ IMP::core::ModifierVisitor class"""
5012  __swig_setmethods__ = {}
5013  for _s in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5014  __setattr__ = lambda self, name, value: _swig_setattr(self, ModifierVisitor, name, value)
5015  __swig_getmethods__ = {}
5016  for _s in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5017  __getattr__ = lambda self, name: _swig_getattr(self, ModifierVisitor, name)
5018  __repr__ = _swig_repr
5019  def __init__(self, *args):
5020  """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
5021  this = _IMP_core.new_ModifierVisitor(*args)
5022  try: self.this.append(this)
5023  except: self.this = this
5024  __swig_destroy__ = _IMP_core.delete_ModifierVisitor
5025  __del__ = lambda self : None;
5026 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
5027 ModifierVisitor_swigregister(ModifierVisitor)
5028 
5029 class HierarchyCounter(HierarchyVisitor):
5030  """Proxy of C++ IMP::core::HierarchyCounter class"""
5031  __swig_setmethods__ = {}
5032  for _s in [HierarchyVisitor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5033  __setattr__ = lambda self, name, value: _swig_setattr(self, HierarchyCounter, name, value)
5034  __swig_getmethods__ = {}
5035  for _s in [HierarchyVisitor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5036  __getattr__ = lambda self, name: _swig_getattr(self, HierarchyCounter, name)
5037  def __init__(self):
5038  """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
5039  this = _IMP_core.new_HierarchyCounter()
5040  try: self.this.append(this)
5041  except: self.this = this
5042  def get_count(self):
5043  """get_count(HierarchyCounter self) -> unsigned int"""
5044  return _IMP_core.HierarchyCounter_get_count(self)
5045 
5046  def show(self, *args):
5047  """
5048  show(HierarchyCounter self, _ostream out=std::cout)
5049  show(HierarchyCounter self)
5050  """
5051  return _IMP_core.HierarchyCounter_show(self, *args)
5052 
5053  def __str__(self):
5054  """__str__(HierarchyCounter self) -> std::string"""
5055  return _IMP_core.HierarchyCounter___str__(self)
5056 
5057  def __repr__(self):
5058  """__repr__(HierarchyCounter self) -> std::string"""
5059  return _IMP_core.HierarchyCounter___repr__(self)
5060 
5061  __swig_destroy__ = _IMP_core.delete_HierarchyCounter
5062  __del__ = lambda self : None;
5063 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
5064 HierarchyCounter_swigregister(HierarchyCounter)
5065 
5066 
5067 def get_leaves(*args):
5068  """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5069  return _IMP_core.get_leaves(*args)
5070 
5071 def get_internal(*args):
5072  """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5073  return _IMP_core.get_internal(*args)
5074 
5075 def get_all_descendants(*args):
5076  """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
5077  return _IMP_core.get_all_descendants(*args)
5078 
5079 def get_root(*args):
5080  """get_root(Hierarchy h) -> Hierarchy"""
5081  return _IMP_core.get_root(*args)
5082 
5083 def visit_breadth_first(*args):
5084  """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
5085  return _IMP_core.visit_breadth_first(*args)
5086 
5087 def visit_depth_first(*args):
5088  """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
5089  return _IMP_core.visit_depth_first(*args)
5090 class LeavesRefiner(IMP.kernel.Refiner):
5091  """Proxy of C++ IMP::core::LeavesRefiner class"""
5092  __swig_setmethods__ = {}
5093  for _s in [IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5094  __setattr__ = lambda self, name, value: _swig_setattr(self, LeavesRefiner, name, value)
5095  __swig_getmethods__ = {}
5096  for _s in [IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5097  __getattr__ = lambda self, name: _swig_getattr(self, LeavesRefiner, name)
5098  def __init__(self, *args):
5099  """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
5100  this = _IMP_core.new_LeavesRefiner(*args)
5101  try: self.this.append(this)
5102  except: self.this = this
5103  def do_get_inputs(self, *args):
5104  """do_get_inputs(LeavesRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5105  return _IMP_core.LeavesRefiner_do_get_inputs(self, *args)
5106 
5107  def get_version_info(self):
5108  """get_version_info(LeavesRefiner self) -> VersionInfo"""
5109  return _IMP_core.LeavesRefiner_get_version_info(self)
5110 
5111  __swig_destroy__ = _IMP_core.delete_LeavesRefiner
5112  __del__ = lambda self : None;
5113  def __str__(self):
5114  """__str__(LeavesRefiner self) -> std::string"""
5115  return _IMP_core.LeavesRefiner___str__(self)
5116 
5117  def __repr__(self):
5118  """__repr__(LeavesRefiner self) -> std::string"""
5119  return _IMP_core.LeavesRefiner___repr__(self)
5120 
5121  def get_from(o):
5122  return _object_cast_to_LeavesRefiner(o)
5123  get_from = staticmethod(get_from)
5124 
5125 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
5126 LeavesRefiner_swigregister(LeavesRefiner)
5127 
5128 class Linear(IMP.kernel.UnaryFunction):
5129  """Proxy of C++ IMP::core::Linear class"""
5130  __swig_setmethods__ = {}
5131  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5132  __setattr__ = lambda self, name, value: _swig_setattr(self, Linear, name, value)
5133  __swig_getmethods__ = {}
5134  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5135  __getattr__ = lambda self, name: _swig_getattr(self, Linear, name)
5136  def __init__(self, *args):
5137  """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
5138  this = _IMP_core.new_Linear(*args)
5139  try: self.this.append(this)
5140  except: self.this = this
5141  def set_slope(self, *args):
5142  """set_slope(Linear self, double f)"""
5143  return _IMP_core.Linear_set_slope(self, *args)
5144 
5145  def set_offset(self, *args):
5146  """set_offset(Linear self, double f)"""
5147  return _IMP_core.Linear_set_offset(self, *args)
5148 
5149  def get_version_info(self):
5150  """get_version_info(Linear self) -> VersionInfo"""
5151  return _IMP_core.Linear_get_version_info(self)
5152 
5153  __swig_destroy__ = _IMP_core.delete_Linear
5154  __del__ = lambda self : None;
5155  def __str__(self):
5156  """__str__(Linear self) -> std::string"""
5157  return _IMP_core.Linear___str__(self)
5158 
5159  def __repr__(self):
5160  """__repr__(Linear self) -> std::string"""
5161  return _IMP_core.Linear___repr__(self)
5162 
5163  def get_from(o):
5164  return _object_cast_to_Linear(o)
5165  get_from = staticmethod(get_from)
5166 
5167 Linear_swigregister = _IMP_core.Linear_swigregister
5168 Linear_swigregister(Linear)
5169 
5170 class IncrementalScoringFunction(IMP.kernel.ScoringFunction):
5171  """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
5172  __swig_setmethods__ = {}
5173  for _s in [IMP.kernel.ScoringFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5174  __setattr__ = lambda self, name, value: _swig_setattr(self, IncrementalScoringFunction, name, value)
5175  __swig_getmethods__ = {}
5176  for _s in [IMP.kernel.ScoringFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5177  __getattr__ = lambda self, name: _swig_getattr(self, IncrementalScoringFunction, name)
5178  def __init__(self, *args):
5179  """
5180  __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5181  double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction
5182  __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5183  double weight=1.0, double max=NO_MAX) -> IncrementalScoringFunction
5184  __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs,
5185  double weight=1.0) -> IncrementalScoringFunction
5186  __init__(IMP::core::IncrementalScoringFunction self, IMP::kernel::ParticlesTemp const & to_move, IMP::kernel::RestraintsTemp const & rs) -> IncrementalScoringFunction
5187  """
5188  this = _IMP_core.new_IncrementalScoringFunction(*args)
5189  try: self.this.append(this)
5190  except: self.this = this
5191  def reset_moved_particles(self):
5192  """reset_moved_particles(IncrementalScoringFunction self)"""
5193  return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
5194 
5195  def set_moved_particles(self, *args):
5196  """set_moved_particles(IncrementalScoringFunction self, IMP::kernel::ParticleIndexes const & p)"""
5197  return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, *args)
5198 
5199  def add_close_pair_score(self, *args):
5200  """
5201  add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles, IMP::kernel::PairPredicates const & filters)
5202  add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::kernel::ParticlesTemp const & particles)
5203  """
5204  return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
5205 
5206  def clear_close_pair_scores(self):
5207  """clear_close_pair_scores(IncrementalScoringFunction self)"""
5208  return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
5209 
5210  def get_movable_particles(self):
5211  """get_movable_particles(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5212  return _IMP_core.IncrementalScoringFunction_get_movable_particles(self)
5213 
5214  def get_movable_indexes(self):
5215  """get_movable_indexes(IncrementalScoringFunction self) -> IMP::kernel::ParticleIndexes"""
5216  return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
5217 
5218  def do_add_score_and_derivatives(self, *args):
5219  """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
5220  return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, *args)
5221 
5222  def do_get_inputs(self):
5223  """do_get_inputs(IncrementalScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
5224  return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
5225 
5226  def handle_set_has_required_score_states(self, *args):
5227  """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
5228  return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, *args)
5229 
5230  def get_version_info(self):
5231  """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
5232  return _IMP_core.IncrementalScoringFunction_get_version_info(self)
5233 
5234  __swig_destroy__ = _IMP_core.delete_IncrementalScoringFunction
5235  __del__ = lambda self : None;
5236  def __str__(self):
5237  """__str__(IncrementalScoringFunction self) -> std::string"""
5238  return _IMP_core.IncrementalScoringFunction___str__(self)
5239 
5240  def __repr__(self):
5241  """__repr__(IncrementalScoringFunction self) -> std::string"""
5242  return _IMP_core.IncrementalScoringFunction___repr__(self)
5243 
5244  def get_from(o):
5245  return _object_cast_to_IncrementalScoringFunction(o)
5246  get_from = staticmethod(get_from)
5247 
5248 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
5249 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
5250 
5251 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
5252 class MonteCarlo(IMP.kernel.Optimizer):
5253  """Proxy of C++ IMP::core::MonteCarlo class"""
5254  __swig_setmethods__ = {}
5255  for _s in [IMP.kernel.Optimizer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5256  __setattr__ = lambda self, name, value: _swig_setattr(self, MonteCarlo, name, value)
5257  __swig_getmethods__ = {}
5258  for _s in [IMP.kernel.Optimizer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5259  __getattr__ = lambda self, name: _swig_getattr(self, MonteCarlo, name)
5260  def __init__(self, *args):
5261  """
5262  __init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo
5263  __init__(IMP::core::MonteCarlo self) -> MonteCarlo
5264  """
5265  this = _IMP_core.new_MonteCarlo(*args)
5266  try: self.this.append(this)
5267  except: self.this = this
5268  def get_version_info(self):
5269  """get_version_info(MonteCarlo self) -> VersionInfo"""
5270  return _IMP_core.MonteCarlo_get_version_info(self)
5271 
5272  __swig_destroy__ = _IMP_core.delete_MonteCarlo
5273  __del__ = lambda self : None;
5274  def set_return_best(self, *args):
5275  """set_return_best(MonteCarlo self, bool tf)"""
5276  return _IMP_core.MonteCarlo_set_return_best(self, *args)
5277 
5278  def set_kt(self, *args):
5279  """set_kt(MonteCarlo self, IMP::Float t)"""
5280  return _IMP_core.MonteCarlo_set_kt(self, *args)
5281 
5282  def get_kt(self):
5283  """get_kt(MonteCarlo self) -> IMP::Float"""
5284  return _IMP_core.MonteCarlo_get_kt(self)
5285 
5286  def get_last_accepted_energy(self):
5287  """get_last_accepted_energy(MonteCarlo self) -> double"""
5288  return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
5289 
5290  def get_best_accepted_energy(self):
5291  """get_best_accepted_energy(MonteCarlo self) -> double"""
5292  return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
5293 
5294  def get_number_of_forward_steps(self):
5295  """get_number_of_forward_steps(MonteCarlo self) -> unsigned int"""
5296  return _IMP_core.MonteCarlo_get_number_of_forward_steps(self)
5297 
5298  def get_number_of_upward_steps(self):
5299  """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
5300  return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
5301 
5302  def get_number_of_proposed_steps(self):
5303  """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
5304  return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
5305 
5306  def get_number_of_accepted_steps(self):
5307  """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
5308  return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
5309 
5310  def reset_statistics(self):
5311  """reset_statistics(MonteCarlo self)"""
5312  return _IMP_core.MonteCarlo_reset_statistics(self)
5313 
5314  def set_maximum_difference(self, *args):
5315  """set_maximum_difference(MonteCarlo self, double d)"""
5316  return _IMP_core.MonteCarlo_set_maximum_difference(self, *args)
5317 
5318  def get_maximum_difference(self):
5319  """get_maximum_difference(MonteCarlo self) -> double"""
5320  return _IMP_core.MonteCarlo_get_maximum_difference(self)
5321 
5322  def remove_mover(self, *args):
5323  """remove_mover(MonteCarlo self, MonteCarloMover d)"""
5324  return _IMP_core.MonteCarlo_remove_mover(self, *args)
5325 
5326  def remove_movers(self, *args):
5327  """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
5328  return _IMP_core.MonteCarlo_remove_movers(self, *args)
5329 
5330  def set_movers(self, *args):
5331  """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
5332  return _IMP_core.MonteCarlo_set_movers(self, *args)
5333 
5334  def set_movers_order(self, *args):
5335  """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5336  return _IMP_core.MonteCarlo_set_movers_order(self, *args)
5337 
5338  def add_mover(self, *args):
5339  """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
5340  return _IMP_core.MonteCarlo_add_mover(self, *args)
5341 
5342  def add_movers(self, *args):
5343  """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
5344  return _IMP_core.MonteCarlo_add_movers(self, *args)
5345 
5346  def clear_movers(self):
5347  """clear_movers(MonteCarlo self)"""
5348  return _IMP_core.MonteCarlo_clear_movers(self)
5349 
5350  def get_number_of_movers(self):
5351  """get_number_of_movers(MonteCarlo self) -> unsigned int"""
5352  return _IMP_core.MonteCarlo_get_number_of_movers(self)
5353 
5354  def get_has_movers(self):
5355  """get_has_movers(MonteCarlo self) -> bool"""
5356  return _IMP_core.MonteCarlo_get_has_movers(self)
5357 
5358  def get_mover(self, *args):
5359  """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
5360  return _IMP_core.MonteCarlo_get_mover(self, *args)
5361 
5362  def get_movers(self):
5363  """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
5364  return _IMP_core.MonteCarlo_get_movers(self)
5365 
5366  def reserve_movers(self, *args):
5367  """reserve_movers(MonteCarlo self, unsigned int sz)"""
5368  return _IMP_core.MonteCarlo_reserve_movers(self, *args)
5369 
5370  def set_incremental_scoring_function(self, *args):
5371  """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
5372  return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, *args)
5373 
5374  def get_use_incremental_scoring_function(self):
5375  """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
5376  return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
5377 
5378  def get_incremental_scoring_function(self):
5379  """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
5380  return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
5381 
5382  def __str__(self):
5383  """__str__(MonteCarlo self) -> std::string"""
5384  return _IMP_core.MonteCarlo___str__(self)
5385 
5386  def __repr__(self):
5387  """__repr__(MonteCarlo self) -> std::string"""
5388  return _IMP_core.MonteCarlo___repr__(self)
5389 
5390  def get_from(o):
5391  return _object_cast_to_MonteCarlo(o)
5392  get_from = staticmethod(get_from)
5393 
5394 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
5395 MonteCarlo_swigregister(MonteCarlo)
5396 
5397 class MonteCarloWithLocalOptimization(MonteCarlo):
5398  """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
5399  __swig_setmethods__ = {}
5400  for _s in [MonteCarlo]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5401  __setattr__ = lambda self, name, value: _swig_setattr(self, MonteCarloWithLocalOptimization, name, value)
5402  __swig_getmethods__ = {}
5403  for _s in [MonteCarlo]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5404  __getattr__ = lambda self, name: _swig_getattr(self, MonteCarloWithLocalOptimization, name)
5405  def __init__(self, *args):
5406  """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
5407  this = _IMP_core.new_MonteCarloWithLocalOptimization(*args)
5408  try: self.this.append(this)
5409  except: self.this = this
5410  def get_number_of_steps(self):
5411  """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
5412  return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
5413 
5414  def get_local_optimizer(self):
5415  """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
5416  return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
5417 
5418  __swig_destroy__ = _IMP_core.delete_MonteCarloWithLocalOptimization
5419  __del__ = lambda self : None;
5420  def __str__(self):
5421  """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
5422  return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
5423 
5424  def __repr__(self):
5425  """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
5426  return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
5427 
5428  def get_from(o):
5429  return _object_cast_to_MonteCarloWithLocalOptimization(o)
5430  get_from = staticmethod(get_from)
5431 
5432 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
5433 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
5434 
5435 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
5436  """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
5437  __swig_setmethods__ = {}
5438  for _s in [MonteCarloWithLocalOptimization]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5439  __setattr__ = lambda self, name, value: _swig_setattr(self, MonteCarloWithBasinHopping, name, value)
5440  __swig_getmethods__ = {}
5441  for _s in [MonteCarloWithLocalOptimization]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5442  __getattr__ = lambda self, name: _swig_getattr(self, MonteCarloWithBasinHopping, name)
5443  def __init__(self, *args):
5444  """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
5445  this = _IMP_core.new_MonteCarloWithBasinHopping(*args)
5446  try: self.this.append(this)
5447  except: self.this = this
5448  __swig_destroy__ = _IMP_core.delete_MonteCarloWithBasinHopping
5449  __del__ = lambda self : None;
5450  def __str__(self):
5451  """__str__(MonteCarloWithBasinHopping self) -> std::string"""
5452  return _IMP_core.MonteCarloWithBasinHopping___str__(self)
5453 
5454  def __repr__(self):
5455  """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
5456  return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
5457 
5458  def get_from(o):
5459  return _object_cast_to_MonteCarloWithBasinHopping(o)
5460  get_from = staticmethod(get_from)
5461 
5462 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
5463 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
5464 
5465 class NeighborsTable(IMP.kernel.ScoreState):
5466  """Proxy of C++ IMP::core::NeighborsTable class"""
5467  __swig_setmethods__ = {}
5468  for _s in [IMP.kernel.ScoreState]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5469  __setattr__ = lambda self, name, value: _swig_setattr(self, NeighborsTable, name, value)
5470  __swig_getmethods__ = {}
5471  for _s in [IMP.kernel.ScoreState]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5472  __getattr__ = lambda self, name: _swig_getattr(self, NeighborsTable, name)
5473  def __init__(self, *args):
5474  """
5475  __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable
5476  __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
5477  """
5478  this = _IMP_core.new_NeighborsTable(*args)
5479  try: self.this.append(this)
5480  except: self.this = this
5481  def get_neighbors(self, *args):
5482  """get_neighbors(NeighborsTable self, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes const &"""
5483  return _IMP_core.NeighborsTable_get_neighbors(self, *args)
5484 
5485  def get_version_info(self):
5486  """get_version_info(NeighborsTable self) -> VersionInfo"""
5487  return _IMP_core.NeighborsTable_get_version_info(self)
5488 
5489  __swig_destroy__ = _IMP_core.delete_NeighborsTable
5490  __del__ = lambda self : None;
5491  def __str__(self):
5492  """__str__(NeighborsTable self) -> std::string"""
5493  return _IMP_core.NeighborsTable___str__(self)
5494 
5495  def __repr__(self):
5496  """__repr__(NeighborsTable self) -> std::string"""
5497  return _IMP_core.NeighborsTable___repr__(self)
5498 
5499  def get_from(o):
5500  return _object_cast_to_NeighborsTable(o)
5501  get_from = staticmethod(get_from)
5502 
5503 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
5504 NeighborsTable_swigregister(NeighborsTable)
5505 
5506 class NormalMover(MonteCarloMover):
5507  """Proxy of C++ IMP::core::NormalMover class"""
5508  __swig_setmethods__ = {}
5509  for _s in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5510  __setattr__ = lambda self, name, value: _swig_setattr(self, NormalMover, name, value)
5511  __swig_getmethods__ = {}
5512  for _s in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5513  __getattr__ = lambda self, name: _swig_getattr(self, NormalMover, name)
5514  def __init__(self, *args):
5515  """
5516  __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::kernel::FloatKeys const & vars, double stddev) -> NormalMover
5517  __init__(IMP::core::NormalMover self, Model m, IMP::kernel::ParticleIndex pi, double stddev) -> NormalMover
5518  __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::kernel::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
5519  __init__(IMP::core::NormalMover self, IMP::kernel::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
5520  """
5521  this = _IMP_core.new_NormalMover(*args)
5522  try: self.this.append(this)
5523  except: self.this = this
5524  def set_sigma(self, *args):
5525  """set_sigma(NormalMover self, IMP::Float sigma)"""
5526  return _IMP_core.NormalMover_set_sigma(self, *args)
5527 
5528  def get_sigma(self):
5529  """get_sigma(NormalMover self) -> IMP::Float"""
5530  return _IMP_core.NormalMover_get_sigma(self)
5531 
5532  def get_version_info(self):
5533  """get_version_info(NormalMover self) -> VersionInfo"""
5534  return _IMP_core.NormalMover_get_version_info(self)
5535 
5536  __swig_destroy__ = _IMP_core.delete_NormalMover
5537  __del__ = lambda self : None;
5538  def __str__(self):
5539  """__str__(NormalMover self) -> std::string"""
5540  return _IMP_core.NormalMover___str__(self)
5541 
5542  def __repr__(self):
5543  """__repr__(NormalMover self) -> std::string"""
5544  return _IMP_core.NormalMover___repr__(self)
5545 
5546  def get_from(o):
5547  return _object_cast_to_NormalMover(o)
5548  get_from = staticmethod(get_from)
5549 
5550 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
5551 NormalMover_swigregister(NormalMover)
5552 
5553 class OpenCubicSpline(_OpenCubicSplineBase):
5554  """Proxy of C++ IMP::core::OpenCubicSpline class"""
5555  __swig_setmethods__ = {}
5556  for _s in [_OpenCubicSplineBase]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5557  __setattr__ = lambda self, name, value: _swig_setattr(self, OpenCubicSpline, name, value)
5558  __swig_getmethods__ = {}
5559  for _s in [_OpenCubicSplineBase]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5560  __getattr__ = lambda self, name: _swig_getattr(self, OpenCubicSpline, name)
5561  def __init__(self, *args):
5562  """
5563  __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
5564  __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
5565  """
5566  this = _IMP_core.new_OpenCubicSpline(*args)
5567  try: self.this.append(this)
5568  except: self.this = this
5569  def __str__(self):
5570  """__str__(OpenCubicSpline self) -> std::string"""
5571  return _IMP_core.OpenCubicSpline___str__(self)
5572 
5573  def __repr__(self):
5574  """__repr__(OpenCubicSpline self) -> std::string"""
5575  return _IMP_core.OpenCubicSpline___repr__(self)
5576 
5577  def get_from(o):
5578  return _object_cast_to_OpenCubicSpline(o)
5579  get_from = staticmethod(get_from)
5580 
5581  __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
5582  __del__ = lambda self : None;
5583 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
5584 OpenCubicSpline_swigregister(OpenCubicSpline)
5585 
5586 class QuadraticClosePairsFinder(ClosePairsFinder):
5587  """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
5588  __swig_setmethods__ = {}
5589  for _s in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5590  __setattr__ = lambda self, name, value: _swig_setattr(self, QuadraticClosePairsFinder, name, value)
5591  __swig_getmethods__ = {}
5592  for _s in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5593  __getattr__ = lambda self, name: _swig_getattr(self, QuadraticClosePairsFinder, name)
5594  def __init__(self):
5595  """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
5596  this = _IMP_core.new_QuadraticClosePairsFinder()
5597  try: self.this.append(this)
5598  except: self.this = this
5599  def get_are_close(self, *args):
5600  """
5601  get_are_close(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
5602  get_are_close(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b) -> bool
5603  """
5604  return _IMP_core.QuadraticClosePairsFinder_get_are_close(self, *args)
5605 
5606  def get_close_pairs(self, *args):
5607  """
5608  get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
5609  get_close_pairs(QuadraticClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
5610  get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5611  get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5612  get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
5613  get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
5614  """
5615  return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
5616 
5617  def do_get_inputs(self, *args):
5618  """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5619  return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, *args)
5620 
5621  def get_version_info(self):
5622  """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
5623  return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
5624 
5625  __swig_destroy__ = _IMP_core.delete_QuadraticClosePairsFinder
5626  __del__ = lambda self : None;
5627  def __str__(self):
5628  """__str__(QuadraticClosePairsFinder self) -> std::string"""
5629  return _IMP_core.QuadraticClosePairsFinder___str__(self)
5630 
5631  def __repr__(self):
5632  """__repr__(QuadraticClosePairsFinder self) -> std::string"""
5633  return _IMP_core.QuadraticClosePairsFinder___repr__(self)
5634 
5635  def get_from(o):
5636  return _object_cast_to_QuadraticClosePairsFinder(o)
5637  get_from = staticmethod(get_from)
5638 
5639 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
5640 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
5641 
5642 class RefinedPairsPairScore(IMP.kernel.PairScore):
5643  """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
5644  __swig_setmethods__ = {}
5645  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5646  __setattr__ = lambda self, name, value: _swig_setattr(self, RefinedPairsPairScore, name, value)
5647  __swig_getmethods__ = {}
5648  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5649  __getattr__ = lambda self, name: _swig_getattr(self, RefinedPairsPairScore, name)
5650  def __init__(self, *args):
5651  """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
5652  this = _IMP_core.new_RefinedPairsPairScore(*args)
5653  try: self.this.append(this)
5654  except: self.this = this
5655  def do_get_inputs(self, *args):
5656  """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5657  return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, *args)
5658 
5659  def get_version_info(self):
5660  """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
5661  return _IMP_core.RefinedPairsPairScore_get_version_info(self)
5662 
5663  __swig_destroy__ = _IMP_core.delete_RefinedPairsPairScore
5664  __del__ = lambda self : None;
5665  def __str__(self):
5666  """__str__(RefinedPairsPairScore self) -> std::string"""
5667  return _IMP_core.RefinedPairsPairScore___str__(self)
5668 
5669  def __repr__(self):
5670  """__repr__(RefinedPairsPairScore self) -> std::string"""
5671  return _IMP_core.RefinedPairsPairScore___repr__(self)
5672 
5673  def get_from(o):
5674  return _object_cast_to_RefinedPairsPairScore(o)
5675  get_from = staticmethod(get_from)
5676 
5677 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
5678 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
5679 
5680 class RigidBody(XYZ):
5681  """Proxy of C++ IMP::core::RigidBody class"""
5682  __swig_setmethods__ = {}
5683  for _s in [XYZ]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
5684  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBody, name, value)
5685  __swig_getmethods__ = {}
5686  for _s in [XYZ]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
5687  __getattr__ = lambda self, name: _swig_getattr(self, RigidBody, name)
5688  def get_members(self):
5689  """get_members(RigidBody self) -> IMP::core::RigidMembers"""
5690  return _IMP_core.RigidBody_get_members(self)
5691 
5692  def get_member_particle_indexes(self):
5693  """get_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5694  return _IMP_core.RigidBody_get_member_particle_indexes(self)
5695 
5696  def get_body_member_particle_indexes(self):
5697  """get_body_member_particle_indexes(RigidBody self) -> IMP::kernel::ParticleIndexes const &"""
5698  return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
5699 
5700  def __init__(self, *args):
5701  """
5702  __init__(IMP::core::RigidBody self) -> RigidBody
5703  __init__(IMP::core::RigidBody self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBody
5704  __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
5705  """
5706  this = _IMP_core.new_RigidBody(*args)
5707  try: self.this.append(this)
5708  except: self.this = this
5709  def decorate_particle(*args):
5710  """decorate_particle(Particle p) -> RigidBody"""
5711  return _IMP_core.RigidBody_decorate_particle(*args)
5712 
5713  if _newclass:decorate_particle = staticmethod(decorate_particle)
5714  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
5715  def particle_is_instance(*args):
5716  """
5717  particle_is_instance(Particle p) -> bool
5718  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5719  """
5720  return _IMP_core.RigidBody_particle_is_instance(*args)
5721 
5722  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
5723  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
5724  def show(self, *args):
5725  """
5726  show(RigidBody self, _ostream out=std::cout)
5727  show(RigidBody self)
5728  """
5729  return _IMP_core.RigidBody_show(self, *args)
5730 
5731  def setup_particle(*args):
5732  """
5733  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5734  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5735  setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5736  setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5737  """
5738  return _IMP_core.RigidBody_setup_particle(*args)
5739 
5740  if _newclass:setup_particle = staticmethod(setup_particle)
5741  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
5742  def teardown_particle(*args):
5743  """teardown_particle(RigidBody rb)"""
5744  return _IMP_core.RigidBody_teardown_particle(*args)
5745 
5746  if _newclass:teardown_particle = staticmethod(teardown_particle)
5747  __swig_getmethods__["teardown_particle"] = lambda x: teardown_particle
5748  __swig_destroy__ = _IMP_core.delete_RigidBody
5749  __del__ = lambda self : None;
5750  def get_is_setup(*args):
5751  """
5752  get_is_setup(_ParticleAdaptor p) -> bool
5753  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5754  """
5755  return _IMP_core.RigidBody_get_is_setup(*args)
5756 
5757  if _newclass:get_is_setup = staticmethod(get_is_setup)
5758  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
5759  def get_coordinates(self):
5760  """get_coordinates(RigidBody self) -> Vector3D"""
5761  return _IMP_core.RigidBody_get_coordinates(self)
5762 
5763  def get_reference_frame(self):
5764  """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
5765  return _IMP_core.RigidBody_get_reference_frame(self)
5766 
5767  def set_reference_frame(self, *args):
5768  """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
5769  return _IMP_core.RigidBody_set_reference_frame(self, *args)
5770 
5771  def set_reference_frame_lazy(self, *args):
5772  """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
5773  return _IMP_core.RigidBody_set_reference_frame_lazy(self, *args)
5774 
5775  def set_reference_frame_from_members(self, *args):
5776  """set_reference_frame_from_members(RigidBody self, IMP::kernel::ParticleIndexes const & members)"""
5777  return _IMP_core.RigidBody_set_reference_frame_from_members(self, *args)
5778 
5779  def add_to_derivatives(self, *args):
5780  """
5781  add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D local_location, DerivativeAccumulator da)
5782  add_to_derivatives(RigidBody self, Vector3D derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot,
5783  DerivativeAccumulator da)
5784  """
5785  return _IMP_core.RigidBody_add_to_derivatives(self, *args)
5786 
5787  def get_torque(self):
5788  """get_torque(RigidBody self) -> Vector3D"""
5789  return _IMP_core.RigidBody_get_torque(self)
5790 
5791  def get_coordinates_are_optimized(self):
5792  """get_coordinates_are_optimized(RigidBody self) -> bool"""
5793  return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
5794 
5795  def set_coordinates_are_optimized(self, *args):
5796  """set_coordinates_are_optimized(RigidBody self, bool tf)"""
5797  return _IMP_core.RigidBody_set_coordinates_are_optimized(self, *args)
5798 
5799  def normalize_rotation(self):
5800  """normalize_rotation(RigidBody self)"""
5801  return _IMP_core.RigidBody_normalize_rotation(self)
5802 
5803  def update_members(self):
5804  """update_members(RigidBody self)"""
5805  return _IMP_core.RigidBody_update_members(self)
5806 
5807  def get_rotational_derivatives(self):
5808  """get_rotational_derivatives(RigidBody self) -> Vector4D"""
5809  return _IMP_core.RigidBody_get_rotational_derivatives(self)
5810 
5811  def get_number_of_members(self):
5812  """get_number_of_members(RigidBody self) -> unsigned int"""
5813  return _IMP_core.RigidBody_get_number_of_members(self)
5814 
5815  def get_member(self, *args):
5816  """get_member(RigidBody self, unsigned int i) -> RigidMember"""
5817  return _IMP_core.RigidBody_get_member(self, *args)
5818 
5819  def add_member(self, *args):
5820  """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
5821  return _IMP_core.RigidBody_add_member(self, *args)
5822 
5823  def add_non_rigid_member(self, *args):
5824  """add_non_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi)"""
5825  return _IMP_core.RigidBody_add_non_rigid_member(self, *args)
5826 
5827  def set_is_rigid_member(self, *args):
5828  """set_is_rigid_member(RigidBody self, IMP::kernel::ParticleIndex pi, bool tf)"""
5829  return _IMP_core.RigidBody_set_is_rigid_member(self, *args)
5830 
5831  def add_attribute(self, *args):
5832  """
5833  add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
5834  add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
5835  add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
5836  add_attribute(RigidBody self, StringKey a0, IMP::String a1)
5837  add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
5838  add_attribute(RigidBody self, ObjectKey a0, IMP::Object * a1)
5839  """
5840  return _IMP_core.RigidBody_add_attribute(self, *args)
5841 
5842  def get_value(self, *args):
5843  """
5844  get_value(RigidBody self, FloatKey a0) -> IMP::Float
5845  get_value(RigidBody self, IntKey a0) -> IMP::Int
5846  get_value(RigidBody self, StringKey a0) -> IMP::String
5847  get_value(RigidBody self, ParticleIndexKey a0) -> Particle
5848  get_value(RigidBody self, ObjectKey a0) -> IMP::Object *
5849  """
5850  return _IMP_core.RigidBody_get_value(self, *args)
5851 
5852  def set_value(self, *args):
5853  """
5854  set_value(RigidBody self, FloatKey a0, IMP::Float a1)
5855  set_value(RigidBody self, IntKey a0, IMP::Int a1)
5856  set_value(RigidBody self, StringKey a0, IMP::String a1)
5857  set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
5858  set_value(RigidBody self, ObjectKey a0, IMP::Object * a1)
5859  """
5860  return _IMP_core.RigidBody_set_value(self, *args)
5861 
5862  def remove_attribute(self, *args):
5863  """
5864  remove_attribute(RigidBody self, FloatKey a0)
5865  remove_attribute(RigidBody self, IntKey a0)
5866  remove_attribute(RigidBody self, StringKey a0)
5867  remove_attribute(RigidBody self, ParticleIndexKey a0)
5868  remove_attribute(RigidBody self, ObjectKey a0)
5869  """
5870  return _IMP_core.RigidBody_remove_attribute(self, *args)
5871 
5872  def has_attribute(self, *args):
5873  """
5874  has_attribute(RigidBody self, FloatKey a0) -> bool
5875  has_attribute(RigidBody self, IntKey a0) -> bool
5876  has_attribute(RigidBody self, StringKey a0) -> bool
5877  has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
5878  has_attribute(RigidBody self, ObjectKey a0) -> bool
5879  """
5880  return _IMP_core.RigidBody_has_attribute(self, *args)
5881 
5882  def get_derivative(self, *args):
5883  """get_derivative(RigidBody self, FloatKey a0) -> double"""
5884  return _IMP_core.RigidBody_get_derivative(self, *args)
5885 
5886  def get_name(self):
5887  """get_name(RigidBody self) -> std::string"""
5888  return _IMP_core.RigidBody_get_name(self)
5889 
5890  def clear_caches(self):
5891  """clear_caches(RigidBody self)"""
5892  return _IMP_core.RigidBody_clear_caches(self)
5893 
5894  def set_name(self, *args):
5895  """set_name(RigidBody self, std::string a0)"""
5896  return _IMP_core.RigidBody_set_name(self, *args)
5897 
5898  def set_check_level(self, *args):
5899  """set_check_level(RigidBody self, IMP::base::CheckLevel a0)"""
5900  return _IMP_core.RigidBody_set_check_level(self, *args)
5901 
5902  def add_to_derivative(self, *args):
5903  """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5904  return _IMP_core.RigidBody_add_to_derivative(self, *args)
5905 
5906  def set_is_optimized(self, *args):
5907  """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
5908  return _IMP_core.RigidBody_set_is_optimized(self, *args)
5909 
5910  def get_is_optimized(self, *args):
5911  """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
5912  return _IMP_core.RigidBody_get_is_optimized(self, *args)
5913 
5914  def get_check_level(self):
5915  """get_check_level(RigidBody self) -> IMP::base::CheckLevel"""
5916  return _IMP_core.RigidBody_get_check_level(self)
5917 
5918  def __eq__(self, *args):
5919  """
5920  __eq__(RigidBody self, RigidBody o) -> bool
5921  __eq__(RigidBody self, Particle d) -> bool
5922  """
5923  return _IMP_core.RigidBody___eq__(self, *args)
5924 
5925  def __ne__(self, *args):
5926  """
5927  __ne__(RigidBody self, RigidBody o) -> bool
5928  __ne__(RigidBody self, Particle d) -> bool
5929  """
5930  return _IMP_core.RigidBody___ne__(self, *args)
5931 
5932  def __le__(self, *args):
5933  """
5934  __le__(RigidBody self, RigidBody o) -> bool
5935  __le__(RigidBody self, Particle d) -> bool
5936  """
5937  return _IMP_core.RigidBody___le__(self, *args)
5938 
5939  def __lt__(self, *args):
5940  """
5941  __lt__(RigidBody self, RigidBody o) -> bool
5942  __lt__(RigidBody self, Particle d) -> bool
5943  """
5944  return _IMP_core.RigidBody___lt__(self, *args)
5945 
5946  def __ge__(self, *args):
5947  """
5948  __ge__(RigidBody self, RigidBody o) -> bool
5949  __ge__(RigidBody self, Particle d) -> bool
5950  """
5951  return _IMP_core.RigidBody___ge__(self, *args)
5952 
5953  def __gt__(self, *args):
5954  """
5955  __gt__(RigidBody self, RigidBody o) -> bool
5956  __gt__(RigidBody self, Particle d) -> bool
5957  """
5958  return _IMP_core.RigidBody___gt__(self, *args)
5959 
5960  def __str__(self):
5961  """__str__(RigidBody self) -> std::string"""
5962  return _IMP_core.RigidBody___str__(self)
5963 
5964  def __repr__(self):
5965  """__repr__(RigidBody self) -> std::string"""
5966  return _IMP_core.RigidBody___repr__(self)
5967 
5968 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
5969 RigidBody_swigregister(RigidBody)
5970 
5971 def RigidBody_decorate_particle(*args):
5972  """RigidBody_decorate_particle(Particle p) -> RigidBody"""
5973  return _IMP_core.RigidBody_decorate_particle(*args)
5974 
5975 def RigidBody_particle_is_instance(*args):
5976  """
5977  particle_is_instance(Particle p) -> bool
5978  RigidBody_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
5979  """
5980  return _IMP_core.RigidBody_particle_is_instance(*args)
5981 
5982 def RigidBody_setup_particle(*args):
5983  """
5984  setup_particle(Model m, IMP::kernel::ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
5985  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
5986  setup_particle(Model m, IMP::kernel::ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
5987  RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
5988  """
5989  return _IMP_core.RigidBody_setup_particle(*args)
5990 
5991 def RigidBody_teardown_particle(*args):
5992  """RigidBody_teardown_particle(RigidBody rb)"""
5993  return _IMP_core.RigidBody_teardown_particle(*args)
5994 
5995 def RigidBody_get_is_setup(*args):
5996  """
5997  get_is_setup(_ParticleAdaptor p) -> bool
5998  RigidBody_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
5999  """
6000  return _IMP_core.RigidBody_get_is_setup(*args)
6001 
6002 
6003 def add_rigid_body_cache_key(*args):
6004  """add_rigid_body_cache_key(ObjectKey k)"""
6005  return _IMP_core.add_rigid_body_cache_key(*args)
6006 class RigidBodyMember(XYZ):
6007  """Proxy of C++ IMP::core::RigidBodyMember class"""
6008  __swig_setmethods__ = {}
6009  for _s in [XYZ]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6010  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyMember, name, value)
6011  __swig_getmethods__ = {}
6012  for _s in [XYZ]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6013  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyMember, name)
6014  def __init__(self, *args):
6015  """
6016  __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
6017  __init__(IMP::core::RigidBodyMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidBodyMember
6018  __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
6019  """
6020  this = _IMP_core.new_RigidBodyMember(*args)
6021  try: self.this.append(this)
6022  except: self.this = this
6023  def decorate_particle(*args):
6024  """decorate_particle(Particle p) -> RigidBodyMember"""
6025  return _IMP_core.RigidBodyMember_decorate_particle(*args)
6026 
6027  if _newclass:decorate_particle = staticmethod(decorate_particle)
6028  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
6029  def particle_is_instance(*args):
6030  """
6031  particle_is_instance(Particle p) -> bool
6032  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6033  """
6034  return _IMP_core.RigidBodyMember_particle_is_instance(*args)
6035 
6036  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6037  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
6038  def show(self, *args):
6039  """
6040  show(RigidBodyMember self, _ostream out=std::cout)
6041  show(RigidBodyMember self)
6042  """
6043  return _IMP_core.RigidBodyMember_show(self, *args)
6044 
6045  def get_rigid_body(self):
6046  """get_rigid_body(RigidBodyMember self) -> RigidBody"""
6047  return _IMP_core.RigidBodyMember_get_rigid_body(self)
6048 
6049  def get_internal_coordinates(self):
6050  """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
6051  return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
6052 
6053  def set_internal_coordinates(self, *args):
6054  """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
6055  return _IMP_core.RigidBodyMember_set_internal_coordinates(self, *args)
6056 
6057  def set_internal_transformation(self, *args):
6058  """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
6059  return _IMP_core.RigidBodyMember_set_internal_transformation(self, *args)
6060 
6061  def get_internal_transformation(self):
6062  """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
6063  return _IMP_core.RigidBodyMember_get_internal_transformation(self)
6064 
6065  __swig_destroy__ = _IMP_core.delete_RigidBodyMember
6066  __del__ = lambda self : None;
6067  def set_coordinates(self, *args):
6068  """
6069  set_coordinates(RigidBodyMember self, Vector3D center)
6070  set_coordinates(RigidBodyMember self, Transformation3D tr)
6071  """
6072  return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
6073 
6074  def get_is_setup(*args):
6075  """
6076  get_is_setup(_ParticleAdaptor p) -> bool
6077  get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6078  """
6079  return _IMP_core.RigidBodyMember_get_is_setup(*args)
6080 
6081  if _newclass:get_is_setup = staticmethod(get_is_setup)
6082  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
6083  def get_internal_coordinate_keys():
6084  """get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6085  return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6086 
6087  if _newclass:get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
6088  __swig_getmethods__["get_internal_coordinate_keys"] = lambda x: get_internal_coordinate_keys
6089  def add_attribute(self, *args):
6090  """
6091  add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
6092  add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6093  add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
6094  add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
6095  add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6096  add_attribute(RigidBodyMember self, ObjectKey a0, IMP::Object * a1)
6097  """
6098  return _IMP_core.RigidBodyMember_add_attribute(self, *args)
6099 
6100  def get_value(self, *args):
6101  """
6102  get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
6103  get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
6104  get_value(RigidBodyMember self, StringKey a0) -> IMP::String
6105  get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
6106  get_value(RigidBodyMember self, ObjectKey a0) -> IMP::Object *
6107  """
6108  return _IMP_core.RigidBodyMember_get_value(self, *args)
6109 
6110  def set_value(self, *args):
6111  """
6112  set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
6113  set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
6114  set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
6115  set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
6116  set_value(RigidBodyMember self, ObjectKey a0, IMP::Object * a1)
6117  """
6118  return _IMP_core.RigidBodyMember_set_value(self, *args)
6119 
6120  def remove_attribute(self, *args):
6121  """
6122  remove_attribute(RigidBodyMember self, FloatKey a0)
6123  remove_attribute(RigidBodyMember self, IntKey a0)
6124  remove_attribute(RigidBodyMember self, StringKey a0)
6125  remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
6126  remove_attribute(RigidBodyMember self, ObjectKey a0)
6127  """
6128  return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
6129 
6130  def has_attribute(self, *args):
6131  """
6132  has_attribute(RigidBodyMember self, FloatKey a0) -> bool
6133  has_attribute(RigidBodyMember self, IntKey a0) -> bool
6134  has_attribute(RigidBodyMember self, StringKey a0) -> bool
6135  has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
6136  has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
6137  """
6138  return _IMP_core.RigidBodyMember_has_attribute(self, *args)
6139 
6140  def get_derivative(self, *args):
6141  """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
6142  return _IMP_core.RigidBodyMember_get_derivative(self, *args)
6143 
6144  def get_name(self):
6145  """get_name(RigidBodyMember self) -> std::string"""
6146  return _IMP_core.RigidBodyMember_get_name(self)
6147 
6148  def clear_caches(self):
6149  """clear_caches(RigidBodyMember self)"""
6150  return _IMP_core.RigidBodyMember_clear_caches(self)
6151 
6152  def set_name(self, *args):
6153  """set_name(RigidBodyMember self, std::string a0)"""
6154  return _IMP_core.RigidBodyMember_set_name(self, *args)
6155 
6156  def set_check_level(self, *args):
6157  """set_check_level(RigidBodyMember self, IMP::base::CheckLevel a0)"""
6158  return _IMP_core.RigidBodyMember_set_check_level(self, *args)
6159 
6160  def add_to_derivative(self, *args):
6161  """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6162  return _IMP_core.RigidBodyMember_add_to_derivative(self, *args)
6163 
6164  def set_is_optimized(self, *args):
6165  """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
6166  return _IMP_core.RigidBodyMember_set_is_optimized(self, *args)
6167 
6168  def get_is_optimized(self, *args):
6169  """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
6170  return _IMP_core.RigidBodyMember_get_is_optimized(self, *args)
6171 
6172  def get_check_level(self):
6173  """get_check_level(RigidBodyMember self) -> IMP::base::CheckLevel"""
6174  return _IMP_core.RigidBodyMember_get_check_level(self)
6175 
6176  def __eq__(self, *args):
6177  """
6178  __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
6179  __eq__(RigidBodyMember self, Particle d) -> bool
6180  """
6181  return _IMP_core.RigidBodyMember___eq__(self, *args)
6182 
6183  def __ne__(self, *args):
6184  """
6185  __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
6186  __ne__(RigidBodyMember self, Particle d) -> bool
6187  """
6188  return _IMP_core.RigidBodyMember___ne__(self, *args)
6189 
6190  def __le__(self, *args):
6191  """
6192  __le__(RigidBodyMember self, RigidBodyMember o) -> bool
6193  __le__(RigidBodyMember self, Particle d) -> bool
6194  """
6195  return _IMP_core.RigidBodyMember___le__(self, *args)
6196 
6197  def __lt__(self, *args):
6198  """
6199  __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
6200  __lt__(RigidBodyMember self, Particle d) -> bool
6201  """
6202  return _IMP_core.RigidBodyMember___lt__(self, *args)
6203 
6204  def __ge__(self, *args):
6205  """
6206  __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
6207  __ge__(RigidBodyMember self, Particle d) -> bool
6208  """
6209  return _IMP_core.RigidBodyMember___ge__(self, *args)
6210 
6211  def __gt__(self, *args):
6212  """
6213  __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
6214  __gt__(RigidBodyMember self, Particle d) -> bool
6215  """
6216  return _IMP_core.RigidBodyMember___gt__(self, *args)
6217 
6218  def __str__(self):
6219  """__str__(RigidBodyMember self) -> std::string"""
6220  return _IMP_core.RigidBodyMember___str__(self)
6221 
6222  def __repr__(self):
6223  """__repr__(RigidBodyMember self) -> std::string"""
6224  return _IMP_core.RigidBodyMember___repr__(self)
6225 
6226 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
6227 RigidBodyMember_swigregister(RigidBodyMember)
6228 
6229 def RigidBodyMember_decorate_particle(*args):
6230  """RigidBodyMember_decorate_particle(Particle p) -> RigidBodyMember"""
6231  return _IMP_core.RigidBodyMember_decorate_particle(*args)
6232 
6233 def RigidBodyMember_particle_is_instance(*args):
6234  """
6235  particle_is_instance(Particle p) -> bool
6236  RigidBodyMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6237  """
6238  return _IMP_core.RigidBodyMember_particle_is_instance(*args)
6239 
6240 def RigidBodyMember_get_is_setup(*args):
6241  """
6242  get_is_setup(_ParticleAdaptor p) -> bool
6243  RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6244  """
6245  return _IMP_core.RigidBodyMember_get_is_setup(*args)
6246 
6247 def RigidBodyMember_get_internal_coordinate_keys():
6248  """RigidBodyMember_get_internal_coordinate_keys() -> IMP::kernel::FloatKeys"""
6249  return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
6250 
6251 class RigidMember(RigidBodyMember):
6252  """Proxy of C++ IMP::core::RigidMember class"""
6253  __swig_setmethods__ = {}
6254  for _s in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6255  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidMember, name, value)
6256  __swig_getmethods__ = {}
6257  for _s in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6258  __getattr__ = lambda self, name: _swig_getattr(self, RigidMember, name)
6259  def __init__(self, *args):
6260  """
6261  __init__(IMP::core::RigidMember self) -> RigidMember
6262  __init__(IMP::core::RigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> RigidMember
6263  __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
6264  """
6265  this = _IMP_core.new_RigidMember(*args)
6266  try: self.this.append(this)
6267  except: self.this = this
6268  def decorate_particle(*args):
6269  """decorate_particle(Particle p) -> RigidMember"""
6270  return _IMP_core.RigidMember_decorate_particle(*args)
6271 
6272  if _newclass:decorate_particle = staticmethod(decorate_particle)
6273  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
6274  def particle_is_instance(*args):
6275  """
6276  particle_is_instance(Particle p) -> bool
6277  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6278  """
6279  return _IMP_core.RigidMember_particle_is_instance(*args)
6280 
6281  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6282  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
6283  def show(self, *args):
6284  """
6285  show(RigidMember self, _ostream out=std::cout)
6286  show(RigidMember self)
6287  """
6288  return _IMP_core.RigidMember_show(self, *args)
6289 
6290  __swig_destroy__ = _IMP_core.delete_RigidMember
6291  __del__ = lambda self : None;
6292  def get_is_setup(*args):
6293  """
6294  get_is_setup(_ParticleAdaptor p) -> bool
6295  get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6296  """
6297  return _IMP_core.RigidMember_get_is_setup(*args)
6298 
6299  if _newclass:get_is_setup = staticmethod(get_is_setup)
6300  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
6301  def add_attribute(self, *args):
6302  """
6303  add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
6304  add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
6305  add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
6306  add_attribute(RigidMember self, StringKey a0, IMP::String a1)
6307  add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
6308  add_attribute(RigidMember self, ObjectKey a0, IMP::Object * a1)
6309  """
6310  return _IMP_core.RigidMember_add_attribute(self, *args)
6311 
6312  def get_value(self, *args):
6313  """
6314  get_value(RigidMember self, FloatKey a0) -> IMP::Float
6315  get_value(RigidMember self, IntKey a0) -> IMP::Int
6316  get_value(RigidMember self, StringKey a0) -> IMP::String
6317  get_value(RigidMember self, ParticleIndexKey a0) -> Particle
6318  get_value(RigidMember self, ObjectKey a0) -> IMP::Object *
6319  """
6320  return _IMP_core.RigidMember_get_value(self, *args)
6321 
6322  def set_value(self, *args):
6323  """
6324  set_value(RigidMember self, FloatKey a0, IMP::Float a1)
6325  set_value(RigidMember self, IntKey a0, IMP::Int a1)
6326  set_value(RigidMember self, StringKey a0, IMP::String a1)
6327  set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
6328  set_value(RigidMember self, ObjectKey a0, IMP::Object * a1)
6329  """
6330  return _IMP_core.RigidMember_set_value(self, *args)
6331 
6332  def remove_attribute(self, *args):
6333  """
6334  remove_attribute(RigidMember self, FloatKey a0)
6335  remove_attribute(RigidMember self, IntKey a0)
6336  remove_attribute(RigidMember self, StringKey a0)
6337  remove_attribute(RigidMember self, ParticleIndexKey a0)
6338  remove_attribute(RigidMember self, ObjectKey a0)
6339  """
6340  return _IMP_core.RigidMember_remove_attribute(self, *args)
6341 
6342  def has_attribute(self, *args):
6343  """
6344  has_attribute(RigidMember self, FloatKey a0) -> bool
6345  has_attribute(RigidMember self, IntKey a0) -> bool
6346  has_attribute(RigidMember self, StringKey a0) -> bool
6347  has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
6348  has_attribute(RigidMember self, ObjectKey a0) -> bool
6349  """
6350  return _IMP_core.RigidMember_has_attribute(self, *args)
6351 
6352  def get_derivative(self, *args):
6353  """get_derivative(RigidMember self, FloatKey a0) -> double"""
6354  return _IMP_core.RigidMember_get_derivative(self, *args)
6355 
6356  def get_name(self):
6357  """get_name(RigidMember self) -> std::string"""
6358  return _IMP_core.RigidMember_get_name(self)
6359 
6360  def clear_caches(self):
6361  """clear_caches(RigidMember self)"""
6362  return _IMP_core.RigidMember_clear_caches(self)
6363 
6364  def set_name(self, *args):
6365  """set_name(RigidMember self, std::string a0)"""
6366  return _IMP_core.RigidMember_set_name(self, *args)
6367 
6368  def set_check_level(self, *args):
6369  """set_check_level(RigidMember self, IMP::base::CheckLevel a0)"""
6370  return _IMP_core.RigidMember_set_check_level(self, *args)
6371 
6372  def add_to_derivative(self, *args):
6373  """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6374  return _IMP_core.RigidMember_add_to_derivative(self, *args)
6375 
6376  def set_is_optimized(self, *args):
6377  """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
6378  return _IMP_core.RigidMember_set_is_optimized(self, *args)
6379 
6380  def get_is_optimized(self, *args):
6381  """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
6382  return _IMP_core.RigidMember_get_is_optimized(self, *args)
6383 
6384  def get_check_level(self):
6385  """get_check_level(RigidMember self) -> IMP::base::CheckLevel"""
6386  return _IMP_core.RigidMember_get_check_level(self)
6387 
6388  def __eq__(self, *args):
6389  """
6390  __eq__(RigidMember self, RigidMember o) -> bool
6391  __eq__(RigidMember self, Particle d) -> bool
6392  """
6393  return _IMP_core.RigidMember___eq__(self, *args)
6394 
6395  def __ne__(self, *args):
6396  """
6397  __ne__(RigidMember self, RigidMember o) -> bool
6398  __ne__(RigidMember self, Particle d) -> bool
6399  """
6400  return _IMP_core.RigidMember___ne__(self, *args)
6401 
6402  def __le__(self, *args):
6403  """
6404  __le__(RigidMember self, RigidMember o) -> bool
6405  __le__(RigidMember self, Particle d) -> bool
6406  """
6407  return _IMP_core.RigidMember___le__(self, *args)
6408 
6409  def __lt__(self, *args):
6410  """
6411  __lt__(RigidMember self, RigidMember o) -> bool
6412  __lt__(RigidMember self, Particle d) -> bool
6413  """
6414  return _IMP_core.RigidMember___lt__(self, *args)
6415 
6416  def __ge__(self, *args):
6417  """
6418  __ge__(RigidMember self, RigidMember o) -> bool
6419  __ge__(RigidMember self, Particle d) -> bool
6420  """
6421  return _IMP_core.RigidMember___ge__(self, *args)
6422 
6423  def __gt__(self, *args):
6424  """
6425  __gt__(RigidMember self, RigidMember o) -> bool
6426  __gt__(RigidMember self, Particle d) -> bool
6427  """
6428  return _IMP_core.RigidMember___gt__(self, *args)
6429 
6430  def __str__(self):
6431  """__str__(RigidMember self) -> std::string"""
6432  return _IMP_core.RigidMember___str__(self)
6433 
6434  def __repr__(self):
6435  """__repr__(RigidMember self) -> std::string"""
6436  return _IMP_core.RigidMember___repr__(self)
6437 
6438 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
6439 RigidMember_swigregister(RigidMember)
6440 
6441 def RigidMember_decorate_particle(*args):
6442  """RigidMember_decorate_particle(Particle p) -> RigidMember"""
6443  return _IMP_core.RigidMember_decorate_particle(*args)
6444 
6445 def RigidMember_particle_is_instance(*args):
6446  """
6447  particle_is_instance(Particle p) -> bool
6448  RigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6449  """
6450  return _IMP_core.RigidMember_particle_is_instance(*args)
6451 
6452 def RigidMember_get_is_setup(*args):
6453  """
6454  get_is_setup(_ParticleAdaptor p) -> bool
6455  RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
6456  """
6457  return _IMP_core.RigidMember_get_is_setup(*args)
6458 
6459 class NonRigidMember(RigidBodyMember):
6460  """Proxy of C++ IMP::core::NonRigidMember class"""
6461  __swig_setmethods__ = {}
6462  for _s in [RigidBodyMember]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6463  __setattr__ = lambda self, name, value: _swig_setattr(self, NonRigidMember, name, value)
6464  __swig_getmethods__ = {}
6465  for _s in [RigidBodyMember]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6466  __getattr__ = lambda self, name: _swig_getattr(self, NonRigidMember, name)
6467  def __init__(self, *args):
6468  """
6469  __init__(IMP::core::NonRigidMember self) -> NonRigidMember
6470  __init__(IMP::core::NonRigidMember self, Model m, ::IMP::kernel::ParticleIndex id) -> NonRigidMember
6471  __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
6472  """
6473  this = _IMP_core.new_NonRigidMember(*args)
6474  try: self.this.append(this)
6475  except: self.this = this
6476  def decorate_particle(*args):
6477  """decorate_particle(Particle p) -> NonRigidMember"""
6478  return _IMP_core.NonRigidMember_decorate_particle(*args)
6479 
6480  if _newclass:decorate_particle = staticmethod(decorate_particle)
6481  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
6482  def particle_is_instance(*args):
6483  """
6484  particle_is_instance(Particle p) -> bool
6485  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6486  """
6487  return _IMP_core.NonRigidMember_particle_is_instance(*args)
6488 
6489  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
6490  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
6491  def show(self, *args):
6492  """
6493  show(NonRigidMember self, _ostream out=std::cout)
6494  show(NonRigidMember self)
6495  """
6496  return _IMP_core.NonRigidMember_show(self, *args)
6497 
6498  __swig_destroy__ = _IMP_core.delete_NonRigidMember
6499  __del__ = lambda self : None;
6500  def get_is_setup(*args):
6501  """
6502  get_is_setup(_ParticleAdaptor p) -> bool
6503  get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6504  """
6505  return _IMP_core.NonRigidMember_get_is_setup(*args)
6506 
6507  if _newclass:get_is_setup = staticmethod(get_is_setup)
6508  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
6509  def add_attribute(self, *args):
6510  """
6511  add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
6512  add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
6513  add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
6514  add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
6515  add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6516  add_attribute(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6517  """
6518  return _IMP_core.NonRigidMember_add_attribute(self, *args)
6519 
6520  def get_value(self, *args):
6521  """
6522  get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
6523  get_value(NonRigidMember self, IntKey a0) -> IMP::Int
6524  get_value(NonRigidMember self, StringKey a0) -> IMP::String
6525  get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
6526  get_value(NonRigidMember self, ObjectKey a0) -> IMP::Object *
6527  """
6528  return _IMP_core.NonRigidMember_get_value(self, *args)
6529 
6530  def set_value(self, *args):
6531  """
6532  set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
6533  set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
6534  set_value(NonRigidMember self, StringKey a0, IMP::String a1)
6535  set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
6536  set_value(NonRigidMember self, ObjectKey a0, IMP::Object * a1)
6537  """
6538  return _IMP_core.NonRigidMember_set_value(self, *args)
6539 
6540  def remove_attribute(self, *args):
6541  """
6542  remove_attribute(NonRigidMember self, FloatKey a0)
6543  remove_attribute(NonRigidMember self, IntKey a0)
6544  remove_attribute(NonRigidMember self, StringKey a0)
6545  remove_attribute(NonRigidMember self, ParticleIndexKey a0)
6546  remove_attribute(NonRigidMember self, ObjectKey a0)
6547  """
6548  return _IMP_core.NonRigidMember_remove_attribute(self, *args)
6549 
6550  def has_attribute(self, *args):
6551  """
6552  has_attribute(NonRigidMember self, FloatKey a0) -> bool
6553  has_attribute(NonRigidMember self, IntKey a0) -> bool
6554  has_attribute(NonRigidMember self, StringKey a0) -> bool
6555  has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
6556  has_attribute(NonRigidMember self, ObjectKey a0) -> bool
6557  """
6558  return _IMP_core.NonRigidMember_has_attribute(self, *args)
6559 
6560  def get_derivative(self, *args):
6561  """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
6562  return _IMP_core.NonRigidMember_get_derivative(self, *args)
6563 
6564  def get_name(self):
6565  """get_name(NonRigidMember self) -> std::string"""
6566  return _IMP_core.NonRigidMember_get_name(self)
6567 
6568  def clear_caches(self):
6569  """clear_caches(NonRigidMember self)"""
6570  return _IMP_core.NonRigidMember_clear_caches(self)
6571 
6572  def set_name(self, *args):
6573  """set_name(NonRigidMember self, std::string a0)"""
6574  return _IMP_core.NonRigidMember_set_name(self, *args)
6575 
6576  def set_check_level(self, *args):
6577  """set_check_level(NonRigidMember self, IMP::base::CheckLevel a0)"""
6578  return _IMP_core.NonRigidMember_set_check_level(self, *args)
6579 
6580  def add_to_derivative(self, *args):
6581  """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6582  return _IMP_core.NonRigidMember_add_to_derivative(self, *args)
6583 
6584  def set_is_optimized(self, *args):
6585  """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
6586  return _IMP_core.NonRigidMember_set_is_optimized(self, *args)
6587 
6588  def get_is_optimized(self, *args):
6589  """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
6590  return _IMP_core.NonRigidMember_get_is_optimized(self, *args)
6591 
6592  def get_check_level(self):
6593  """get_check_level(NonRigidMember self) -> IMP::base::CheckLevel"""
6594  return _IMP_core.NonRigidMember_get_check_level(self)
6595 
6596  def __eq__(self, *args):
6597  """
6598  __eq__(NonRigidMember self, NonRigidMember o) -> bool
6599  __eq__(NonRigidMember self, Particle d) -> bool
6600  """
6601  return _IMP_core.NonRigidMember___eq__(self, *args)
6602 
6603  def __ne__(self, *args):
6604  """
6605  __ne__(NonRigidMember self, NonRigidMember o) -> bool
6606  __ne__(NonRigidMember self, Particle d) -> bool
6607  """
6608  return _IMP_core.NonRigidMember___ne__(self, *args)
6609 
6610  def __le__(self, *args):
6611  """
6612  __le__(NonRigidMember self, NonRigidMember o) -> bool
6613  __le__(NonRigidMember self, Particle d) -> bool
6614  """
6615  return _IMP_core.NonRigidMember___le__(self, *args)
6616 
6617  def __lt__(self, *args):
6618  """
6619  __lt__(NonRigidMember self, NonRigidMember o) -> bool
6620  __lt__(NonRigidMember self, Particle d) -> bool
6621  """
6622  return _IMP_core.NonRigidMember___lt__(self, *args)
6623 
6624  def __ge__(self, *args):
6625  """
6626  __ge__(NonRigidMember self, NonRigidMember o) -> bool
6627  __ge__(NonRigidMember self, Particle d) -> bool
6628  """
6629  return _IMP_core.NonRigidMember___ge__(self, *args)
6630 
6631  def __gt__(self, *args):
6632  """
6633  __gt__(NonRigidMember self, NonRigidMember o) -> bool
6634  __gt__(NonRigidMember self, Particle d) -> bool
6635  """
6636  return _IMP_core.NonRigidMember___gt__(self, *args)
6637 
6638  def __str__(self):
6639  """__str__(NonRigidMember self) -> std::string"""
6640  return _IMP_core.NonRigidMember___str__(self)
6641 
6642  def __repr__(self):
6643  """__repr__(NonRigidMember self) -> std::string"""
6644  return _IMP_core.NonRigidMember___repr__(self)
6645 
6646 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
6647 NonRigidMember_swigregister(NonRigidMember)
6648 
6649 def NonRigidMember_decorate_particle(*args):
6650  """NonRigidMember_decorate_particle(Particle p) -> NonRigidMember"""
6651  return _IMP_core.NonRigidMember_decorate_particle(*args)
6652 
6653 def NonRigidMember_particle_is_instance(*args):
6654  """
6655  particle_is_instance(Particle p) -> bool
6656  NonRigidMember_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
6657  """
6658  return _IMP_core.NonRigidMember_particle_is_instance(*args)
6659 
6660 def NonRigidMember_get_is_setup(*args):
6661  """
6662  get_is_setup(_ParticleAdaptor p) -> bool
6663  NonRigidMember_get_is_setup(Model m, IMP::kernel::ParticleIndex p) -> bool
6664  """
6665  return _IMP_core.NonRigidMember_get_is_setup(*args)
6666 
6667 class RigidMembersRefiner(IMP.kernel.Refiner):
6668  """Proxy of C++ IMP::core::RigidMembersRefiner class"""
6669  __swig_setmethods__ = {}
6670  for _s in [IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6671  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidMembersRefiner, name, value)
6672  __swig_getmethods__ = {}
6673  for _s in [IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6674  __getattr__ = lambda self, name: _swig_getattr(self, RigidMembersRefiner, name)
6675  def __init__(self, name="RigidMembersRefiner%d"):
6676  """
6677  __init__(IMP::core::RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner
6678  __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
6679  """
6680  this = _IMP_core.new_RigidMembersRefiner(name)
6681  try: self.this.append(this)
6682  except: self.this = this
6683  def do_get_inputs(self, *args):
6684  """do_get_inputs(RigidMembersRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6685  return _IMP_core.RigidMembersRefiner_do_get_inputs(self, *args)
6686 
6687  def get_version_info(self):
6688  """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
6689  return _IMP_core.RigidMembersRefiner_get_version_info(self)
6690 
6691  __swig_destroy__ = _IMP_core.delete_RigidMembersRefiner
6692  __del__ = lambda self : None;
6693  def __str__(self):
6694  """__str__(RigidMembersRefiner self) -> std::string"""
6695  return _IMP_core.RigidMembersRefiner___str__(self)
6696 
6697  def __repr__(self):
6698  """__repr__(RigidMembersRefiner self) -> std::string"""
6699  return _IMP_core.RigidMembersRefiner___repr__(self)
6700 
6701  def get_from(o):
6702  return _object_cast_to_RigidMembersRefiner(o)
6703  get_from = staticmethod(get_from)
6704 
6705 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
6706 RigidMembersRefiner_swigregister(RigidMembersRefiner)
6707 
6708 
6709 def get_rigid_members_refiner():
6710  """get_rigid_members_refiner() -> RigidMembersRefiner"""
6711  return _IMP_core.get_rigid_members_refiner()
6712 
6713 def transform(*args):
6714  """
6715  transform(XYZ a, Transformation3D tr)
6716  transform(RigidBody a, Transformation3D tr)
6717  """
6718  return _IMP_core.transform(*args)
6719 
6720 def get_initial_reference_frame(*args):
6721  """
6722  get_initial_reference_frame(Model m, IMP::kernel::ParticleIndexes const & pis) -> ReferenceFrame3D
6723  get_initial_reference_frame(IMP::kernel::ParticlesTemp const & ps) -> ReferenceFrame3D
6724  """
6725  return _IMP_core.get_initial_reference_frame(*args)
6726 
6727 def create_rigid_bodies(*args):
6728  """
6729  create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::kernel::ParticlesTemp
6730  create_rigid_bodies(Model m, unsigned int n) -> IMP::kernel::ParticlesTemp
6731  """
6732  return _IMP_core.create_rigid_bodies(*args)
6733 class RigidBodyHierarchyGeometry(IMP.display.SingletonGeometry):
6734  """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
6735  __swig_setmethods__ = {}
6736  for _s in [IMP.display.SingletonGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6737  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyHierarchyGeometry, name, value)
6738  __swig_getmethods__ = {}
6739  for _s in [IMP.display.SingletonGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6740  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyHierarchyGeometry, name)
6741  def __init__(self, *args):
6742  """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::kernel::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
6743  this = _IMP_core.new_RigidBodyHierarchyGeometry(*args)
6744  try: self.this.append(this)
6745  except: self.this = this
6746  def get_version_info(self):
6747  """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
6748  return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
6749 
6750  __swig_destroy__ = _IMP_core.delete_RigidBodyHierarchyGeometry
6751  __del__ = lambda self : None;
6752  def __str__(self):
6753  """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
6754  return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
6755 
6756  def __repr__(self):
6757  """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
6758  return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
6759 
6760  def get_from(o):
6761  return _object_cast_to_RigidBodyHierarchyGeometry(o)
6762  get_from = staticmethod(get_from)
6763 
6764 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
6765 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
6766 
6767 class RigidBodyDerivativeGeometry(IMP.display.SingletonGeometry):
6768  """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
6769  __swig_setmethods__ = {}
6770  for _s in [IMP.display.SingletonGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6771  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyDerivativeGeometry, name, value)
6772  __swig_getmethods__ = {}
6773  for _s in [IMP.display.SingletonGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6774  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyDerivativeGeometry, name)
6775  def __init__(self, *args):
6776  """
6777  __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
6778  __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
6779  """
6780  this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
6781  try: self.this.append(this)
6782  except: self.this = this
6783  def get_version_info(self):
6784  """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
6785  return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
6786 
6787  __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativeGeometry
6788  __del__ = lambda self : None;
6789  def __str__(self):
6790  """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
6791  return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
6792 
6793  def __repr__(self):
6794  """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
6795  return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
6796 
6797  def get_from(o):
6798  return _object_cast_to_RigidBodyDerivativeGeometry(o)
6799  get_from = staticmethod(get_from)
6800 
6801 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
6802 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
6803 
6804 class RigidBodyDerivativesGeometry(IMP.display.SingletonsGeometry):
6805  """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
6806  __swig_setmethods__ = {}
6807  for _s in [IMP.display.SingletonsGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6808  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyDerivativesGeometry, name, value)
6809  __swig_getmethods__ = {}
6810  for _s in [IMP.display.SingletonsGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6811  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyDerivativesGeometry, name)
6812  def __init__(self, *args):
6813  """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
6814  this = _IMP_core.new_RigidBodyDerivativesGeometry(*args)
6815  try: self.this.append(this)
6816  except: self.this = this
6817  def get_version_info(self):
6818  """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
6819  return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
6820 
6821  __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativesGeometry
6822  __del__ = lambda self : None;
6823  def __str__(self):
6824  """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
6825  return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
6826 
6827  def __repr__(self):
6828  """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
6829  return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
6830 
6831  def get_from(o):
6832  return _object_cast_to_RigidBodyDerivativesGeometry(o)
6833  get_from = staticmethod(get_from)
6834 
6835 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
6836 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
6837 
6838 class RigidBodyFrameGeometry(IMP.display.SingletonGeometry):
6839  """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
6840  __swig_setmethods__ = {}
6841  for _s in [IMP.display.SingletonGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6842  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyFrameGeometry, name, value)
6843  __swig_getmethods__ = {}
6844  for _s in [IMP.display.SingletonGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6845  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyFrameGeometry, name)
6846  def __init__(self, *args):
6847  """
6848  __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
6849  __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
6850  """
6851  this = _IMP_core.new_RigidBodyFrameGeometry(*args)
6852  try: self.this.append(this)
6853  except: self.this = this
6854  def get_version_info(self):
6855  """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
6856  return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
6857 
6858  __swig_destroy__ = _IMP_core.delete_RigidBodyFrameGeometry
6859  __del__ = lambda self : None;
6860  def __str__(self):
6861  """__str__(RigidBodyFrameGeometry self) -> std::string"""
6862  return _IMP_core.RigidBodyFrameGeometry___str__(self)
6863 
6864  def __repr__(self):
6865  """__repr__(RigidBodyFrameGeometry self) -> std::string"""
6866  return _IMP_core.RigidBodyFrameGeometry___repr__(self)
6867 
6868  def get_from(o):
6869  return _object_cast_to_RigidBodyFrameGeometry(o)
6870  get_from = staticmethod(get_from)
6871 
6872 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
6873 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
6874 
6875 class RigidBodyFramesGeometry(IMP.display.SingletonsGeometry):
6876  """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
6877  __swig_setmethods__ = {}
6878  for _s in [IMP.display.SingletonsGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6879  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyFramesGeometry, name, value)
6880  __swig_getmethods__ = {}
6881  for _s in [IMP.display.SingletonsGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6882  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyFramesGeometry, name)
6883  def __init__(self, *args):
6884  """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
6885  this = _IMP_core.new_RigidBodyFramesGeometry(*args)
6886  try: self.this.append(this)
6887  except: self.this = this
6888  def get_version_info(self):
6889  """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
6890  return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
6891 
6892  __swig_destroy__ = _IMP_core.delete_RigidBodyFramesGeometry
6893  __del__ = lambda self : None;
6894  def __str__(self):
6895  """__str__(RigidBodyFramesGeometry self) -> std::string"""
6896  return _IMP_core.RigidBodyFramesGeometry___str__(self)
6897 
6898  def __repr__(self):
6899  """__repr__(RigidBodyFramesGeometry self) -> std::string"""
6900  return _IMP_core.RigidBodyFramesGeometry___repr__(self)
6901 
6902  def get_from(o):
6903  return _object_cast_to_RigidBodyFramesGeometry(o)
6904  get_from = staticmethod(get_from)
6905 
6906 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
6907 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
6908 
6909 class RigidBodyTorque(IMP.display.SegmentGeometry):
6910  """Proxy of C++ IMP::core::RigidBodyTorque class"""
6911  __swig_setmethods__ = {}
6912  for _s in [IMP.display.SegmentGeometry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6913  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyTorque, name, value)
6914  __swig_getmethods__ = {}
6915  for _s in [IMP.display.SegmentGeometry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6916  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyTorque, name)
6917  def __init__(self, *args):
6918  """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
6919  this = _IMP_core.new_RigidBodyTorque(*args)
6920  try: self.this.append(this)
6921  except: self.this = this
6922  def __str__(self):
6923  """__str__(RigidBodyTorque self) -> std::string"""
6924  return _IMP_core.RigidBodyTorque___str__(self)
6925 
6926  def __repr__(self):
6927  """__repr__(RigidBodyTorque self) -> std::string"""
6928  return _IMP_core.RigidBodyTorque___repr__(self)
6929 
6930  def get_from(o):
6931  return _object_cast_to_RigidBodyTorque(o)
6932  get_from = staticmethod(get_from)
6933 
6934  __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
6935  __del__ = lambda self : None;
6936 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
6937 RigidBodyTorque_swigregister(RigidBodyTorque)
6938 
6939 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
6940  """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
6941  __swig_setmethods__ = {}
6942  for _s in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6943  __setattr__ = lambda self, name, value: _swig_setattr(self, NearestNeighborsClosePairsFinder, name, value)
6944  __swig_getmethods__ = {}
6945  for _s in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6946  __getattr__ = lambda self, name: _swig_getattr(self, NearestNeighborsClosePairsFinder, name)
6947  def __init__(self):
6948  """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
6949  this = _IMP_core.new_NearestNeighborsClosePairsFinder()
6950  try: self.this.append(this)
6951  except: self.this = this
6952  def get_close_pairs(self, *args):
6953  """
6954  get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
6955  get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
6956  get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6957  get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6958  get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
6959  get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
6960  """
6961  return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
6962 
6963  def do_get_inputs(self, *args):
6964  """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
6965  return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, *args)
6966 
6967  def get_version_info(self):
6968  """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
6969  return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
6970 
6971  __swig_destroy__ = _IMP_core.delete_NearestNeighborsClosePairsFinder
6972  __del__ = lambda self : None;
6973  def __str__(self):
6974  """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
6975  return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
6976 
6977  def __repr__(self):
6978  """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
6979  return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
6980 
6981  def get_from(o):
6982  return _object_cast_to_NearestNeighborsClosePairsFinder(o)
6983  get_from = staticmethod(get_from)
6984 
6985 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
6986 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
6987 
6988 class RestraintsScoringFunction(IMP.kernel.ScoringFunction):
6989  """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
6990  __swig_setmethods__ = {}
6991  for _s in [IMP.kernel.ScoringFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
6992  __setattr__ = lambda self, name, value: _swig_setattr(self, RestraintsScoringFunction, name, value)
6993  __swig_getmethods__ = {}
6994  for _s in [IMP.kernel.ScoringFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
6995  __getattr__ = lambda self, name: _swig_getattr(self, RestraintsScoringFunction, name)
6996  def __init__(self, *args):
6997  """
6998  __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
6999  __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX) -> RestraintsScoringFunction
7000  __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
7001  __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
7002  __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
7003  """
7004  this = _IMP_core.new_RestraintsScoringFunction(*args)
7005  try: self.this.append(this)
7006  except: self.this = this
7007  def do_add_score_and_derivatives(self, *args):
7008  """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
7009  return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, *args)
7010 
7011  def do_get_inputs(self):
7012  """do_get_inputs(RestraintsScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
7013  return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
7014 
7015  def get_version_info(self):
7016  """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
7017  return _IMP_core.RestraintsScoringFunction_get_version_info(self)
7018 
7019  __swig_destroy__ = _IMP_core.delete_RestraintsScoringFunction
7020  __del__ = lambda self : None;
7021  def __str__(self):
7022  """__str__(RestraintsScoringFunction self) -> std::string"""
7023  return _IMP_core.RestraintsScoringFunction___str__(self)
7024 
7025  def __repr__(self):
7026  """__repr__(RestraintsScoringFunction self) -> std::string"""
7027  return _IMP_core.RestraintsScoringFunction___repr__(self)
7028 
7029  def get_from(o):
7030  return _object_cast_to_RestraintsScoringFunction(o)
7031  get_from = staticmethod(get_from)
7032 
7033 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
7034 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
7035 
7036 class RigidClosePairsFinder(ClosePairsFinder):
7037  """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
7038  __swig_setmethods__ = {}
7039  for _s in [ClosePairsFinder]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7040  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidClosePairsFinder, name, value)
7041  __swig_getmethods__ = {}
7042  for _s in [ClosePairsFinder]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7043  __getattr__ = lambda self, name: _swig_getattr(self, RigidClosePairsFinder, name)
7044  def __init__(self, *args):
7045  """
7046  __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=nullptr) -> RigidClosePairsFinder
7047  __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
7048  """
7049  this = _IMP_core.new_RigidClosePairsFinder(*args)
7050  try: self.this.append(this)
7051  except: self.this = this
7052  def do_get_inputs(self, *args):
7053  """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7054  return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, *args)
7055 
7056  def get_close_pairs(self, *args):
7057  """
7058  get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndex a, IMP::kernel::ParticleIndex b, IMP::kernel::ParticleIndexes const & pa,
7059  IMP::kernel::ParticleIndexes const & pb) -> IMP::kernel::ParticleIndexPairs
7060  get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pc) -> IMP::kernel::ParticlePairsTemp
7061  get_close_pairs(RigidClosePairsFinder self, IMP::kernel::ParticlesTemp const & pca, IMP::kernel::ParticlesTemp const & pcb) -> IMP::kernel::ParticlePairsTemp
7062  get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7063  get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7064  get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pc) -> IMP::kernel::ParticleIndexPairs
7065  get_close_pairs(RigidClosePairsFinder self, Model m, IMP::kernel::ParticleIndexes const & pca, IMP::kernel::ParticleIndexes const & pcb) -> IMP::kernel::ParticleIndexPairs
7066  """
7067  return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
7068 
7069  def get_version_info(self):
7070  """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
7071  return _IMP_core.RigidClosePairsFinder_get_version_info(self)
7072 
7073  __swig_destroy__ = _IMP_core.delete_RigidClosePairsFinder
7074  __del__ = lambda self : None;
7075  def __str__(self):
7076  """__str__(RigidClosePairsFinder self) -> std::string"""
7077  return _IMP_core.RigidClosePairsFinder___str__(self)
7078 
7079  def __repr__(self):
7080  """__repr__(RigidClosePairsFinder self) -> std::string"""
7081  return _IMP_core.RigidClosePairsFinder___repr__(self)
7082 
7083  def get_from(o):
7084  return _object_cast_to_RigidClosePairsFinder(o)
7085  get_from = staticmethod(get_from)
7086 
7087 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
7088 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
7089 
7090 class SphereDistancePairScore(IMP.kernel.PairScore):
7091  """Proxy of C++ IMP::core::SphereDistancePairScore class"""
7092  __swig_setmethods__ = {}
7093  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7094  __setattr__ = lambda self, name, value: _swig_setattr(self, SphereDistancePairScore, name, value)
7095  __swig_getmethods__ = {}
7096  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7097  __getattr__ = lambda self, name: _swig_getattr(self, SphereDistancePairScore, name)
7098  def __init__(self, *args):
7099  """
7100  __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
7101  __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
7102  """
7103  this = _IMP_core.new_SphereDistancePairScore(*args)
7104  try: self.this.append(this)
7105  except: self.this = this
7106  def do_get_inputs(self, *args):
7107  """do_get_inputs(SphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7108  return _IMP_core.SphereDistancePairScore_do_get_inputs(self, *args)
7109 
7110  def get_version_info(self):
7111  """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
7112  return _IMP_core.SphereDistancePairScore_get_version_info(self)
7113 
7114  __swig_destroy__ = _IMP_core.delete_SphereDistancePairScore
7115  __del__ = lambda self : None;
7116  def __str__(self):
7117  """__str__(SphereDistancePairScore self) -> std::string"""
7118  return _IMP_core.SphereDistancePairScore___str__(self)
7119 
7120  def __repr__(self):
7121  """__repr__(SphereDistancePairScore self) -> std::string"""
7122  return _IMP_core.SphereDistancePairScore___repr__(self)
7123 
7124  def get_from(o):
7125  return _object_cast_to_SphereDistancePairScore(o)
7126  get_from = staticmethod(get_from)
7127 
7128 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
7129 SphereDistancePairScore_swigregister(SphereDistancePairScore)
7130 
7131 class HarmonicUpperBoundSphereDistancePairScore(IMP.kernel.PairScore):
7132  """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
7133  __swig_setmethods__ = {}
7134  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7135  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDistancePairScore, name, value)
7136  __swig_getmethods__ = {}
7137  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7138  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDistancePairScore, name)
7139  def __init__(self, *args):
7140  """
7141  __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
7142  __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
7143  """
7144  this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
7145  try: self.this.append(this)
7146  except: self.this = this
7147  def do_get_inputs(self, *args):
7148  """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7149  return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, *args)
7150 
7151  def get_version_info(self):
7152  """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
7153  return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
7154 
7155  __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDistancePairScore
7156  __del__ = lambda self : None;
7157  def __str__(self):
7158  """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7159  return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
7160 
7161  def __repr__(self):
7162  """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
7163  return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
7164 
7165  def get_from(o):
7166  return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
7167  get_from = staticmethod(get_from)
7168 
7169 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
7170 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
7171 
7172 class HarmonicUpperBoundSphereDiameterPairScore(IMP.kernel.PairScore):
7173  """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
7174  __swig_setmethods__ = {}
7175  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7176  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicUpperBoundSphereDiameterPairScore, name, value)
7177  __swig_getmethods__ = {}
7178  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7179  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicUpperBoundSphereDiameterPairScore, name)
7180  def __init__(self, *args):
7181  """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
7182  this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(*args)
7183  try: self.this.append(this)
7184  except: self.this = this
7185  def get_rest_length(self):
7186  """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7187  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
7188 
7189  def get_stiffness(self):
7190  """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
7191  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
7192 
7193  def do_get_inputs(self, *args):
7194  """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7195  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, *args)
7196 
7197  def get_version_info(self):
7198  """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
7199  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
7200 
7201  __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDiameterPairScore
7202  __del__ = lambda self : None;
7203  def __str__(self):
7204  """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7205  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
7206 
7207  def __repr__(self):
7208  """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
7209  return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
7210 
7211  def get_from(o):
7212  return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
7213  get_from = staticmethod(get_from)
7214 
7215 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
7216 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
7217 
7218 class HarmonicSphereDistancePairScore(IMP.kernel.PairScore):
7219  """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
7220  __swig_setmethods__ = {}
7221  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7222  __setattr__ = lambda self, name, value: _swig_setattr(self, HarmonicSphereDistancePairScore, name, value)
7223  __swig_getmethods__ = {}
7224  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7225  __getattr__ = lambda self, name: _swig_getattr(self, HarmonicSphereDistancePairScore, name)
7226  def __init__(self, *args):
7227  """
7228  __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
7229  __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
7230  """
7231  this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
7232  try: self.this.append(this)
7233  except: self.this = this
7234  def do_get_inputs(self, *args):
7235  """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7236  return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, *args)
7237 
7238  def get_version_info(self):
7239  """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
7240  return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
7241 
7242  __swig_destroy__ = _IMP_core.delete_HarmonicSphereDistancePairScore
7243  __del__ = lambda self : None;
7244  def __str__(self):
7245  """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
7246  return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
7247 
7248  def __repr__(self):
7249  """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
7250  return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
7251 
7252  def get_from(o):
7253  return _object_cast_to_HarmonicSphereDistancePairScore(o)
7254  get_from = staticmethod(get_from)
7255 
7256 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
7257 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
7258 
7259 class NormalizedSphereDistancePairScore(IMP.kernel.PairScore):
7260  """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
7261  __swig_setmethods__ = {}
7262  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7263  __setattr__ = lambda self, name, value: _swig_setattr(self, NormalizedSphereDistancePairScore, name, value)
7264  __swig_getmethods__ = {}
7265  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7266  __getattr__ = lambda self, name: _swig_getattr(self, NormalizedSphereDistancePairScore, name)
7267  def __init__(self, *args):
7268  """
7269  __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore
7270  __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
7271  """
7272  this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
7273  try: self.this.append(this)
7274  except: self.this = this
7275  def do_get_inputs(self, *args):
7276  """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7277  return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, *args)
7278 
7279  def get_version_info(self):
7280  """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
7281  return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
7282 
7283  __swig_destroy__ = _IMP_core.delete_NormalizedSphereDistancePairScore
7284  __del__ = lambda self : None;
7285  def __str__(self):
7286  """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
7287  return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
7288 
7289  def __repr__(self):
7290  """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
7291  return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
7292 
7293  def get_from(o):
7294  return _object_cast_to_NormalizedSphereDistancePairScore(o)
7295  get_from = staticmethod(get_from)
7296 
7297 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
7298 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
7299 
7300 class WeightedSphereDistancePairScore(IMP.kernel.PairScore):
7301  """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
7302  __swig_setmethods__ = {}
7303  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7304  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightedSphereDistancePairScore, name, value)
7305  __swig_getmethods__ = {}
7306  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7307  __getattr__ = lambda self, name: _swig_getattr(self, WeightedSphereDistancePairScore, name)
7308  def __init__(self, *args):
7309  """
7310  __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore
7311  __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
7312  """
7313  this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
7314  try: self.this.append(this)
7315  except: self.this = this
7316  def do_get_inputs(self, *args):
7317  """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7318  return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, *args)
7319 
7320  def get_version_info(self):
7321  """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
7322  return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
7323 
7324  __swig_destroy__ = _IMP_core.delete_WeightedSphereDistancePairScore
7325  __del__ = lambda self : None;
7326  def __str__(self):
7327  """__str__(WeightedSphereDistancePairScore self) -> std::string"""
7328  return _IMP_core.WeightedSphereDistancePairScore___str__(self)
7329 
7330  def __repr__(self):
7331  """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
7332  return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
7333 
7334  def get_from(o):
7335  return _object_cast_to_WeightedSphereDistancePairScore(o)
7336  get_from = staticmethod(get_from)
7337 
7338 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
7339 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
7340 
7341 class SoftSpherePairScore(IMP.kernel.PairScore):
7342  """Proxy of C++ IMP::core::SoftSpherePairScore class"""
7343  __swig_setmethods__ = {}
7344  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7345  __setattr__ = lambda self, name, value: _swig_setattr(self, SoftSpherePairScore, name, value)
7346  __swig_getmethods__ = {}
7347  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7348  __getattr__ = lambda self, name: _swig_getattr(self, SoftSpherePairScore, name)
7349  def __init__(self, *args):
7350  """
7351  __init__(IMP::core::SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
7352  __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
7353  """
7354  this = _IMP_core.new_SoftSpherePairScore(*args)
7355  try: self.this.append(this)
7356  except: self.this = this
7357  def do_get_inputs(self, *args):
7358  """do_get_inputs(SoftSpherePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7359  return _IMP_core.SoftSpherePairScore_do_get_inputs(self, *args)
7360 
7361  def get_version_info(self):
7362  """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
7363  return _IMP_core.SoftSpherePairScore_get_version_info(self)
7364 
7365  __swig_destroy__ = _IMP_core.delete_SoftSpherePairScore
7366  __del__ = lambda self : None;
7367  def __str__(self):
7368  """__str__(SoftSpherePairScore self) -> std::string"""
7369  return _IMP_core.SoftSpherePairScore___str__(self)
7370 
7371  def __repr__(self):
7372  """__repr__(SoftSpherePairScore self) -> std::string"""
7373  return _IMP_core.SoftSpherePairScore___repr__(self)
7374 
7375  def get_from(o):
7376  return _object_cast_to_SoftSpherePairScore(o)
7377  get_from = staticmethod(get_from)
7378 
7379 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
7380 SoftSpherePairScore_swigregister(SoftSpherePairScore)
7381 
7382 class SteepestDescent(IMP.kernel.AttributeOptimizer):
7383  """Proxy of C++ IMP::core::SteepestDescent class"""
7384  __swig_setmethods__ = {}
7385  for _s in [IMP.kernel.AttributeOptimizer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7386  __setattr__ = lambda self, name, value: _swig_setattr(self, SteepestDescent, name, value)
7387  __swig_getmethods__ = {}
7388  for _s in [IMP.kernel.AttributeOptimizer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7389  __getattr__ = lambda self, name: _swig_getattr(self, SteepestDescent, name)
7390  def __init__(self, *args):
7391  """
7392  __init__(IMP::core::SteepestDescent self) -> SteepestDescent
7393  __init__(IMP::core::SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent
7394  __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
7395  """
7396  this = _IMP_core.new_SteepestDescent(*args)
7397  try: self.this.append(this)
7398  except: self.this = this
7399  def do_optimize(self, *args):
7400  """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
7401  return _IMP_core.SteepestDescent_do_optimize(self, *args)
7402 
7403  def get_version_info(self):
7404  """get_version_info(SteepestDescent self) -> VersionInfo"""
7405  return _IMP_core.SteepestDescent_get_version_info(self)
7406 
7407  __swig_destroy__ = _IMP_core.delete_SteepestDescent
7408  __del__ = lambda self : None;
7409  def set_threshold(self, *args):
7410  """set_threshold(SteepestDescent self, IMP::Float t)"""
7411  return _IMP_core.SteepestDescent_set_threshold(self, *args)
7412 
7413  def set_step_size(self, *args):
7414  """set_step_size(SteepestDescent self, IMP::Float t)"""
7415  return _IMP_core.SteepestDescent_set_step_size(self, *args)
7416 
7417  def set_maximum_step_size(self, *args):
7418  """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
7419  return _IMP_core.SteepestDescent_set_maximum_step_size(self, *args)
7420 
7421  def __str__(self):
7422  """__str__(SteepestDescent self) -> std::string"""
7423  return _IMP_core.SteepestDescent___str__(self)
7424 
7425  def __repr__(self):
7426  """__repr__(SteepestDescent self) -> std::string"""
7427  return _IMP_core.SteepestDescent___repr__(self)
7428 
7429  def get_from(o):
7430  return _object_cast_to_SteepestDescent(o)
7431  get_from = staticmethod(get_from)
7432 
7433 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
7434 SteepestDescent_swigregister(SteepestDescent)
7435 
7436 class TransformedDistancePairScore(IMP.kernel.PairScore):
7437  """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
7438  __swig_setmethods__ = {}
7439  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7440  __setattr__ = lambda self, name, value: _swig_setattr(self, TransformedDistancePairScore, name, value)
7441  __swig_getmethods__ = {}
7442  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7443  __getattr__ = lambda self, name: _swig_getattr(self, TransformedDistancePairScore, name)
7444  def __init__(self, *args):
7445  """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
7446  this = _IMP_core.new_TransformedDistancePairScore(*args)
7447  try: self.this.append(this)
7448  except: self.this = this
7449  def set_transformation(self, *args):
7450  """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
7451  return _IMP_core.TransformedDistancePairScore_set_transformation(self, *args)
7452 
7453  def do_get_inputs(self, *args):
7454  """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7455  return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, *args)
7456 
7457  def get_version_info(self):
7458  """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
7459  return _IMP_core.TransformedDistancePairScore_get_version_info(self)
7460 
7461  __swig_destroy__ = _IMP_core.delete_TransformedDistancePairScore
7462  __del__ = lambda self : None;
7463  def __str__(self):
7464  """__str__(TransformedDistancePairScore self) -> std::string"""
7465  return _IMP_core.TransformedDistancePairScore___str__(self)
7466 
7467  def __repr__(self):
7468  """__repr__(TransformedDistancePairScore self) -> std::string"""
7469  return _IMP_core.TransformedDistancePairScore___repr__(self)
7470 
7471  def get_from(o):
7472  return _object_cast_to_TransformedDistancePairScore(o)
7473  get_from = staticmethod(get_from)
7474 
7475 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
7476 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
7477 
7478 class TypedPairScore(IMP.kernel.PairScore):
7479  """Proxy of C++ IMP::core::TypedPairScore class"""
7480  __swig_setmethods__ = {}
7481  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7482  __setattr__ = lambda self, name, value: _swig_setattr(self, TypedPairScore, name, value)
7483  __swig_getmethods__ = {}
7484  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7485  __getattr__ = lambda self, name: _swig_getattr(self, TypedPairScore, name)
7486  def __init__(self, *args):
7487  """
7488  __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
7489  __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
7490  """
7491  this = _IMP_core.new_TypedPairScore(*args)
7492  try: self.this.append(this)
7493  except: self.this = this
7494  def set_particle_type(self, *args):
7495  """set_particle_type(TypedPairScore self, Particle arg2)"""
7496  return _IMP_core.TypedPairScore_set_particle_type(self, *args)
7497 
7498  def set_pair_score(self, *args):
7499  """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
7500  return _IMP_core.TypedPairScore_set_pair_score(self, *args)
7501 
7502  def do_get_inputs(self, *args):
7503  """do_get_inputs(TypedPairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7504  return _IMP_core.TypedPairScore_do_get_inputs(self, *args)
7505 
7506  def get_version_info(self):
7507  """get_version_info(TypedPairScore self) -> VersionInfo"""
7508  return _IMP_core.TypedPairScore_get_version_info(self)
7509 
7510  __swig_destroy__ = _IMP_core.delete_TypedPairScore
7511  __del__ = lambda self : None;
7512  def __str__(self):
7513  """__str__(TypedPairScore self) -> std::string"""
7514  return _IMP_core.TypedPairScore___str__(self)
7515 
7516  def __repr__(self):
7517  """__repr__(TypedPairScore self) -> std::string"""
7518  return _IMP_core.TypedPairScore___repr__(self)
7519 
7520  def get_from(o):
7521  return _object_cast_to_TypedPairScore(o)
7522  get_from = staticmethod(get_from)
7523 
7524 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
7525 TypedPairScore_swigregister(TypedPairScore)
7526 
7527 class RigidBodyDistancePairScore(KClosePairsPairScore):
7528  """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
7529  __swig_setmethods__ = {}
7530  for _s in [KClosePairsPairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7531  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyDistancePairScore, name, value)
7532  __swig_getmethods__ = {}
7533  for _s in [KClosePairsPairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7534  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyDistancePairScore, name)
7535  def __init__(self, *args):
7536  """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
7537  this = _IMP_core.new_RigidBodyDistancePairScore(*args)
7538  try: self.this.append(this)
7539  except: self.this = this
7540  def __str__(self):
7541  """__str__(RigidBodyDistancePairScore self) -> std::string"""
7542  return _IMP_core.RigidBodyDistancePairScore___str__(self)
7543 
7544  def __repr__(self):
7545  """__repr__(RigidBodyDistancePairScore self) -> std::string"""
7546  return _IMP_core.RigidBodyDistancePairScore___repr__(self)
7547 
7548  def get_from(o):
7549  return _object_cast_to_RigidBodyDistancePairScore(o)
7550  get_from = staticmethod(get_from)
7551 
7552  __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
7553  __del__ = lambda self : None;
7554 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
7555 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
7556 
7557 class TableRefiner(IMP.kernel.Refiner):
7558  """Proxy of C++ IMP::core::TableRefiner class"""
7559  __swig_setmethods__ = {}
7560  for _s in [IMP.kernel.Refiner]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7561  __setattr__ = lambda self, name, value: _swig_setattr(self, TableRefiner, name, value)
7562  __swig_getmethods__ = {}
7563  for _s in [IMP.kernel.Refiner]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7564  __getattr__ = lambda self, name: _swig_getattr(self, TableRefiner, name)
7565  def __init__(self):
7566  """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
7567  this = _IMP_core.new_TableRefiner()
7568  try: self.this.append(this)
7569  except: self.this = this
7570  def add_particle(self, *args):
7571  """add_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7572  return _IMP_core.TableRefiner_add_particle(self, *args)
7573 
7574  def remove_particle(self, *args):
7575  """remove_particle(TableRefiner self, Particle p)"""
7576  return _IMP_core.TableRefiner_remove_particle(self, *args)
7577 
7578  def set_particle(self, *args):
7579  """set_particle(TableRefiner self, Particle p, IMP::kernel::ParticlesTemp const & ps)"""
7580  return _IMP_core.TableRefiner_set_particle(self, *args)
7581 
7582  def do_get_inputs(self, *args):
7583  """do_get_inputs(TableRefiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
7584  return _IMP_core.TableRefiner_do_get_inputs(self, *args)
7585 
7586  def get_version_info(self):
7587  """get_version_info(TableRefiner self) -> VersionInfo"""
7588  return _IMP_core.TableRefiner_get_version_info(self)
7589 
7590  __swig_destroy__ = _IMP_core.delete_TableRefiner
7591  __del__ = lambda self : None;
7592  def __str__(self):
7593  """__str__(TableRefiner self) -> std::string"""
7594  return _IMP_core.TableRefiner___str__(self)
7595 
7596  def __repr__(self):
7597  """__repr__(TableRefiner self) -> std::string"""
7598  return _IMP_core.TableRefiner___repr__(self)
7599 
7600  def get_from(o):
7601  return _object_cast_to_TableRefiner(o)
7602  get_from = staticmethod(get_from)
7603 
7604 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
7605 TableRefiner_swigregister(TableRefiner)
7606 
7607 LOWER = _IMP_core.LOWER
7608 BOTH = _IMP_core.BOTH
7609 UPPER = _IMP_core.UPPER
7610 class MCCGSampler(IMP.kernel.Sampler):
7611  """Proxy of C++ IMP::core::MCCGSampler class"""
7612  __swig_setmethods__ = {}
7613  for _s in [IMP.kernel.Sampler]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7614  __setattr__ = lambda self, name, value: _swig_setattr(self, MCCGSampler, name, value)
7615  __swig_getmethods__ = {}
7616  for _s in [IMP.kernel.Sampler]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7617  __getattr__ = lambda self, name: _swig_getattr(self, MCCGSampler, name)
7618  def __init__(self, *args):
7619  """
7620  __init__(IMP::core::MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler
7621  __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
7622  """
7623  this = _IMP_core.new_MCCGSampler(*args)
7624  try: self.this.append(this)
7625  except: self.this = this
7626  def set_bounding_box(self, *args):
7627  """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
7628  return _IMP_core.MCCGSampler_set_bounding_box(self, *args)
7629 
7630  def set_number_of_attempts(self, *args):
7631  """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
7632  return _IMP_core.MCCGSampler_set_number_of_attempts(self, *args)
7633 
7634  def set_number_of_monte_carlo_steps(self, *args):
7635  """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
7636  return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, *args)
7637 
7638  def set_number_of_conjugate_gradient_steps(self, *args):
7639  """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
7640  return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, *args)
7641 
7642  def set_max_monte_carlo_step_size(self, *args):
7643  """
7644  set_max_monte_carlo_step_size(MCCGSampler self, double d)
7645  set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
7646  """
7647  return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
7648 
7649  def set_is_refining(self, *args):
7650  """set_is_refining(MCCGSampler self, bool tf)"""
7651  return _IMP_core.MCCGSampler_set_is_refining(self, *args)
7652 
7653  def set_local_optimizer(self, *args):
7654  """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
7655  return _IMP_core.MCCGSampler_set_local_optimizer(self, *args)
7656 
7657  def set_save_rejected_configurations(self, *args):
7658  """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
7659  return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, *args)
7660 
7661  def get_rejected_configurations(self):
7662  """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
7663  return _IMP_core.MCCGSampler_get_rejected_configurations(self)
7664 
7665  def remove_optimizer_state(self, *args):
7666  """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
7667  return _IMP_core.MCCGSampler_remove_optimizer_state(self, *args)
7668 
7669  def remove_optimizer_states(self, *args):
7670  """remove_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & d)"""
7671  return _IMP_core.MCCGSampler_remove_optimizer_states(self, *args)
7672 
7673  def set_optimizer_states(self, *args):
7674  """set_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & ps)"""
7675  return _IMP_core.MCCGSampler_set_optimizer_states(self, *args)
7676 
7677  def set_optimizer_states_order(self, *args):
7678  """set_optimizer_states_order(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7679  return _IMP_core.MCCGSampler_set_optimizer_states_order(self, *args)
7680 
7681  def add_optimizer_state(self, *args):
7682  """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
7683  return _IMP_core.MCCGSampler_add_optimizer_state(self, *args)
7684 
7685  def add_optimizer_states(self, *args):
7686  """add_optimizer_states(MCCGSampler self, IMP::kernel::OptimizerStates const & objs)"""
7687  return _IMP_core.MCCGSampler_add_optimizer_states(self, *args)
7688 
7689  def clear_optimizer_states(self):
7690  """clear_optimizer_states(MCCGSampler self)"""
7691  return _IMP_core.MCCGSampler_clear_optimizer_states(self)
7692 
7693  def get_number_of_optimizer_states(self):
7694  """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
7695  return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
7696 
7697  def get_has_optimizer_states(self):
7698  """get_has_optimizer_states(MCCGSampler self) -> bool"""
7699  return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
7700 
7701  def get_optimizer_state(self, *args):
7702  """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
7703  return _IMP_core.MCCGSampler_get_optimizer_state(self, *args)
7704 
7705  def get_optimizer_states(self):
7706  """get_optimizer_states(MCCGSampler self) -> IMP::kernel::OptimizerStates"""
7707  return _IMP_core.MCCGSampler_get_optimizer_states(self)
7708 
7709  def reserve_optimizer_states(self, *args):
7710  """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
7711  return _IMP_core.MCCGSampler_reserve_optimizer_states(self, *args)
7712 
7713  def do_sample(self):
7714  """do_sample(MCCGSampler self) -> ConfigurationSet"""
7715  return _IMP_core.MCCGSampler_do_sample(self)
7716 
7717  def get_version_info(self):
7718  """get_version_info(MCCGSampler self) -> VersionInfo"""
7719  return _IMP_core.MCCGSampler_get_version_info(self)
7720 
7721  __swig_destroy__ = _IMP_core.delete_MCCGSampler
7722  __del__ = lambda self : None;
7723  def __str__(self):
7724  """__str__(MCCGSampler self) -> std::string"""
7725  return _IMP_core.MCCGSampler___str__(self)
7726 
7727  def __repr__(self):
7728  """__repr__(MCCGSampler self) -> std::string"""
7729  return _IMP_core.MCCGSampler___repr__(self)
7730 
7731  def get_from(o):
7732  return _object_cast_to_MCCGSampler(o)
7733  get_from = staticmethod(get_from)
7734 
7735 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
7736 MCCGSampler_swigregister(MCCGSampler)
7737 
7738 class MinimumRestraint(IMP.kernel.Restraint):
7739  """Proxy of C++ IMP::core::MinimumRestraint class"""
7740  __swig_setmethods__ = {}
7741  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7742  __setattr__ = lambda self, name, value: _swig_setattr(self, MinimumRestraint, name, value)
7743  __swig_getmethods__ = {}
7744  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7745  __getattr__ = lambda self, name: _swig_getattr(self, MinimumRestraint, name)
7746  def __init__(self, *args):
7747  """
7748  __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint
7749  __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::kernel::Restraints const & rs=IMP::kernel::Restraints()) -> MinimumRestraint
7750  __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
7751  """
7752  this = _IMP_core.new_MinimumRestraint(*args)
7753  try: self.this.append(this)
7754  except: self.this = this
7755  def do_get_inputs(self):
7756  """do_get_inputs(MinimumRestraint self) -> IMP::kernel::ModelObjectsTemp"""
7757  return _IMP_core.MinimumRestraint_do_get_inputs(self)
7758 
7759  def get_version_info(self):
7760  """get_version_info(MinimumRestraint self) -> VersionInfo"""
7761  return _IMP_core.MinimumRestraint_get_version_info(self)
7762 
7763  __swig_destroy__ = _IMP_core.delete_MinimumRestraint
7764  __del__ = lambda self : None;
7765  def remove_restraint(self, *args):
7766  """remove_restraint(MinimumRestraint self, Restraint d)"""
7767  return _IMP_core.MinimumRestraint_remove_restraint(self, *args)
7768 
7769  def remove_restraints(self, *args):
7770  """remove_restraints(MinimumRestraint self, IMP::kernel::Restraints const & d)"""
7771  return _IMP_core.MinimumRestraint_remove_restraints(self, *args)
7772 
7773  def set_restraints(self, *args):
7774  """set_restraints(MinimumRestraint self, IMP::kernel::Restraints const & ps)"""
7775  return _IMP_core.MinimumRestraint_set_restraints(self, *args)
7776 
7777  def set_restraints_order(self, *args):
7778  """set_restraints_order(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7779  return _IMP_core.MinimumRestraint_set_restraints_order(self, *args)
7780 
7781  def add_restraint(self, *args):
7782  """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
7783  return _IMP_core.MinimumRestraint_add_restraint(self, *args)
7784 
7785  def add_restraints(self, *args):
7786  """add_restraints(MinimumRestraint self, IMP::kernel::Restraints const & objs)"""
7787  return _IMP_core.MinimumRestraint_add_restraints(self, *args)
7788 
7789  def clear_restraints(self):
7790  """clear_restraints(MinimumRestraint self)"""
7791  return _IMP_core.MinimumRestraint_clear_restraints(self)
7792 
7793  def get_number_of_restraints(self):
7794  """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
7795  return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
7796 
7797  def get_has_restraints(self):
7798  """get_has_restraints(MinimumRestraint self) -> bool"""
7799  return _IMP_core.MinimumRestraint_get_has_restraints(self)
7800 
7801  def get_restraint(self, *args):
7802  """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
7803  return _IMP_core.MinimumRestraint_get_restraint(self, *args)
7804 
7805  def get_restraints(self):
7806  """get_restraints(MinimumRestraint self) -> IMP::kernel::Restraints"""
7807  return _IMP_core.MinimumRestraint_get_restraints(self)
7808 
7809  def reserve_restraints(self, *args):
7810  """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
7811  return _IMP_core.MinimumRestraint_reserve_restraints(self, *args)
7812 
7813  def __str__(self):
7814  """__str__(MinimumRestraint self) -> std::string"""
7815  return _IMP_core.MinimumRestraint___str__(self)
7816 
7817  def __repr__(self):
7818  """__repr__(MinimumRestraint self) -> std::string"""
7819  return _IMP_core.MinimumRestraint___repr__(self)
7820 
7821  def get_from(o):
7822  return _object_cast_to_MinimumRestraint(o)
7823  get_from = staticmethod(get_from)
7824 
7825 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
7826 MinimumRestraint_swigregister(MinimumRestraint)
7827 
7828 class PairRestraint(IMP.kernel.Restraint):
7829  """Proxy of C++ IMP::core::PairRestraint class"""
7830  __swig_setmethods__ = {}
7831  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7832  __setattr__ = lambda self, name, value: _swig_setattr(self, PairRestraint, name, value)
7833  __swig_getmethods__ = {}
7834  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7835  __getattr__ = lambda self, name: _swig_getattr(self, PairRestraint, name)
7836  def __init__(self, *args):
7837  """
7838  __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
7839  __init__(IMP::core::PairRestraint self, PairScore ss, IMP::kernel::ParticlePair const & vt) -> PairRestraint
7840  """
7841  this = _IMP_core.new_PairRestraint(*args)
7842  try: self.this.append(this)
7843  except: self.this = this
7844  def get_version_info(self):
7845  """get_version_info(PairRestraint self) -> VersionInfo"""
7846  return _IMP_core.PairRestraint_get_version_info(self)
7847 
7848  __swig_destroy__ = _IMP_core.delete_PairRestraint
7849  __del__ = lambda self : None;
7850  def __str__(self):
7851  """__str__(PairRestraint self) -> std::string"""
7852  return _IMP_core.PairRestraint___str__(self)
7853 
7854  def __repr__(self):
7855  """__repr__(PairRestraint self) -> std::string"""
7856  return _IMP_core.PairRestraint___repr__(self)
7857 
7858  def get_from(o):
7859  return _object_cast_to_PairRestraint(o)
7860  get_from = staticmethod(get_from)
7861 
7862 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
7863 PairRestraint_swigregister(PairRestraint)
7864 
7865 class SingletonRestraint(IMP.kernel.Restraint):
7866  """Proxy of C++ IMP::core::SingletonRestraint class"""
7867  __swig_setmethods__ = {}
7868  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7869  __setattr__ = lambda self, name, value: _swig_setattr(self, SingletonRestraint, name, value)
7870  __swig_getmethods__ = {}
7871  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7872  __getattr__ = lambda self, name: _swig_getattr(self, SingletonRestraint, name)
7873  def __init__(self, *args):
7874  """
7875  __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
7876  __init__(IMP::core::SingletonRestraint self, SingletonScore ss, Particle vt) -> SingletonRestraint
7877  """
7878  this = _IMP_core.new_SingletonRestraint(*args)
7879  try: self.this.append(this)
7880  except: self.this = this
7881  def get_version_info(self):
7882  """get_version_info(SingletonRestraint self) -> VersionInfo"""
7883  return _IMP_core.SingletonRestraint_get_version_info(self)
7884 
7885  __swig_destroy__ = _IMP_core.delete_SingletonRestraint
7886  __del__ = lambda self : None;
7887  def __str__(self):
7888  """__str__(SingletonRestraint self) -> std::string"""
7889  return _IMP_core.SingletonRestraint___str__(self)
7890 
7891  def __repr__(self):
7892  """__repr__(SingletonRestraint self) -> std::string"""
7893  return _IMP_core.SingletonRestraint___repr__(self)
7894 
7895  def get_from(o):
7896  return _object_cast_to_SingletonRestraint(o)
7897  get_from = staticmethod(get_from)
7898 
7899 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
7900 SingletonRestraint_swigregister(SingletonRestraint)
7901 
7902 class TripletRestraint(IMP.kernel.Restraint):
7903  """Proxy of C++ IMP::core::TripletRestraint class"""
7904  __swig_setmethods__ = {}
7905  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7906  __setattr__ = lambda self, name, value: _swig_setattr(self, TripletRestraint, name, value)
7907  __swig_getmethods__ = {}
7908  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7909  __getattr__ = lambda self, name: _swig_getattr(self, TripletRestraint, name)
7910  def __init__(self, *args):
7911  """
7912  __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
7913  __init__(IMP::core::TripletRestraint self, TripletScore ss, IMP::kernel::ParticleTriplet const & vt) -> TripletRestraint
7914  """
7915  this = _IMP_core.new_TripletRestraint(*args)
7916  try: self.this.append(this)
7917  except: self.this = this
7918  def get_version_info(self):
7919  """get_version_info(TripletRestraint self) -> VersionInfo"""
7920  return _IMP_core.TripletRestraint_get_version_info(self)
7921 
7922  __swig_destroy__ = _IMP_core.delete_TripletRestraint
7923  __del__ = lambda self : None;
7924  def __str__(self):
7925  """__str__(TripletRestraint self) -> std::string"""
7926  return _IMP_core.TripletRestraint___str__(self)
7927 
7928  def __repr__(self):
7929  """__repr__(TripletRestraint self) -> std::string"""
7930  return _IMP_core.TripletRestraint___repr__(self)
7931 
7932  def get_from(o):
7933  return _object_cast_to_TripletRestraint(o)
7934  get_from = staticmethod(get_from)
7935 
7936 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
7937 TripletRestraint_swigregister(TripletRestraint)
7938 
7939 class QuadRestraint(IMP.kernel.Restraint):
7940  """Proxy of C++ IMP::core::QuadRestraint class"""
7941  __swig_setmethods__ = {}
7942  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7943  __setattr__ = lambda self, name, value: _swig_setattr(self, QuadRestraint, name, value)
7944  __swig_getmethods__ = {}
7945  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7946  __getattr__ = lambda self, name: _swig_getattr(self, QuadRestraint, name)
7947  def __init__(self, *args):
7948  """
7949  __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
7950  __init__(IMP::core::QuadRestraint self, QuadScore ss, IMP::kernel::ParticleQuad const & vt) -> QuadRestraint
7951  """
7952  this = _IMP_core.new_QuadRestraint(*args)
7953  try: self.this.append(this)
7954  except: self.this = this
7955  def get_version_info(self):
7956  """get_version_info(QuadRestraint self) -> VersionInfo"""
7957  return _IMP_core.QuadRestraint_get_version_info(self)
7958 
7959  __swig_destroy__ = _IMP_core.delete_QuadRestraint
7960  __del__ = lambda self : None;
7961  def __str__(self):
7962  """__str__(QuadRestraint self) -> std::string"""
7963  return _IMP_core.QuadRestraint___str__(self)
7964 
7965  def __repr__(self):
7966  """__repr__(QuadRestraint self) -> std::string"""
7967  return _IMP_core.QuadRestraint___repr__(self)
7968 
7969  def get_from(o):
7970  return _object_cast_to_QuadRestraint(o)
7971  get_from = staticmethod(get_from)
7972 
7973 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
7974 QuadRestraint_swigregister(QuadRestraint)
7975 
7976 class SingletonConstraint(IMP.kernel.Constraint):
7977  """Proxy of C++ IMP::core::SingletonConstraint class"""
7978  __swig_setmethods__ = {}
7979  for _s in [IMP.kernel.Constraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
7980  __setattr__ = lambda self, name, value: _swig_setattr(self, SingletonConstraint, name, value)
7981  __swig_getmethods__ = {}
7982  for _s in [IMP.kernel.Constraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
7983  __getattr__ = lambda self, name: _swig_getattr(self, SingletonConstraint, name)
7984  def __init__(self, *args):
7985  """
7986  __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name="SingletonConstraint %1%") -> SingletonConstraint
7987  __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
7988  __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt,
7989  std::string name="SingletonConstraint %1%") -> SingletonConstraint
7990  __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, IMP::kernel::ParticleIndex vt) -> SingletonConstraint
7991  """
7992  this = _IMP_core.new_SingletonConstraint(*args)
7993  try: self.this.append(this)
7994  except: self.this = this
7995  def get_version_info(self):
7996  """get_version_info(SingletonConstraint self) -> VersionInfo"""
7997  return _IMP_core.SingletonConstraint_get_version_info(self)
7998 
7999  __swig_destroy__ = _IMP_core.delete_SingletonConstraint
8000  __del__ = lambda self : None;
8001  def __str__(self):
8002  """__str__(SingletonConstraint self) -> std::string"""
8003  return _IMP_core.SingletonConstraint___str__(self)
8004 
8005  def __repr__(self):
8006  """__repr__(SingletonConstraint self) -> std::string"""
8007  return _IMP_core.SingletonConstraint___repr__(self)
8008 
8009  def get_from(o):
8010  return _object_cast_to_SingletonConstraint(o)
8011  get_from = staticmethod(get_from)
8012 
8013 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
8014 SingletonConstraint_swigregister(SingletonConstraint)
8015 
8016 class PairConstraint(IMP.kernel.Constraint):
8017  """Proxy of C++ IMP::core::PairConstraint class"""
8018  __swig_setmethods__ = {}
8019  for _s in [IMP.kernel.Constraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8020  __setattr__ = lambda self, name, value: _swig_setattr(self, PairConstraint, name, value)
8021  __swig_getmethods__ = {}
8022  for _s in [IMP.kernel.Constraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8023  __getattr__ = lambda self, name: _swig_getattr(self, PairConstraint, name)
8024  def __init__(self, *args):
8025  """
8026  __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt, std::string name="PairConstraint %1%") -> PairConstraint
8027  __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::kernel::ParticlePair const & vt) -> PairConstraint
8028  __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt,
8029  std::string name="PairConstraint %1%") -> PairConstraint
8030  __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::kernel::ParticleIndexPair const & vt) -> PairConstraint
8031  """
8032  this = _IMP_core.new_PairConstraint(*args)
8033  try: self.this.append(this)
8034  except: self.this = this
8035  def get_version_info(self):
8036  """get_version_info(PairConstraint self) -> VersionInfo"""
8037  return _IMP_core.PairConstraint_get_version_info(self)
8038 
8039  __swig_destroy__ = _IMP_core.delete_PairConstraint
8040  __del__ = lambda self : None;
8041  def __str__(self):
8042  """__str__(PairConstraint self) -> std::string"""
8043  return _IMP_core.PairConstraint___str__(self)
8044 
8045  def __repr__(self):
8046  """__repr__(PairConstraint self) -> std::string"""
8047  return _IMP_core.PairConstraint___repr__(self)
8048 
8049  def get_from(o):
8050  return _object_cast_to_PairConstraint(o)
8051  get_from = staticmethod(get_from)
8052 
8053 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
8054 PairConstraint_swigregister(PairConstraint)
8055 
8056 class TripletConstraint(IMP.kernel.Constraint):
8057  """Proxy of C++ IMP::core::TripletConstraint class"""
8058  __swig_setmethods__ = {}
8059  for _s in [IMP.kernel.Constraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8060  __setattr__ = lambda self, name, value: _swig_setattr(self, TripletConstraint, name, value)
8061  __swig_getmethods__ = {}
8062  for _s in [IMP.kernel.Constraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8063  __getattr__ = lambda self, name: _swig_getattr(self, TripletConstraint, name)
8064  def __init__(self, *args):
8065  """
8066  __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt,
8067  std::string name="TripletConstraint %1%") -> TripletConstraint
8068  __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::kernel::ParticleTriplet const & vt) -> TripletConstraint
8069  __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt,
8070  std::string name="TripletConstraint %1%") -> TripletConstraint
8071  __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> TripletConstraint
8072  """
8073  this = _IMP_core.new_TripletConstraint(*args)
8074  try: self.this.append(this)
8075  except: self.this = this
8076  def get_version_info(self):
8077  """get_version_info(TripletConstraint self) -> VersionInfo"""
8078  return _IMP_core.TripletConstraint_get_version_info(self)
8079 
8080  __swig_destroy__ = _IMP_core.delete_TripletConstraint
8081  __del__ = lambda self : None;
8082  def __str__(self):
8083  """__str__(TripletConstraint self) -> std::string"""
8084  return _IMP_core.TripletConstraint___str__(self)
8085 
8086  def __repr__(self):
8087  """__repr__(TripletConstraint self) -> std::string"""
8088  return _IMP_core.TripletConstraint___repr__(self)
8089 
8090  def get_from(o):
8091  return _object_cast_to_TripletConstraint(o)
8092  get_from = staticmethod(get_from)
8093 
8094 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
8095 TripletConstraint_swigregister(TripletConstraint)
8096 
8097 class QuadConstraint(IMP.kernel.Constraint):
8098  """Proxy of C++ IMP::core::QuadConstraint class"""
8099  __swig_setmethods__ = {}
8100  for _s in [IMP.kernel.Constraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8101  __setattr__ = lambda self, name, value: _swig_setattr(self, QuadConstraint, name, value)
8102  __swig_getmethods__ = {}
8103  for _s in [IMP.kernel.Constraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8104  __getattr__ = lambda self, name: _swig_getattr(self, QuadConstraint, name)
8105  def __init__(self, *args):
8106  """
8107  __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt, std::string name="QuadConstraint %1%") -> QuadConstraint
8108  __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::kernel::ParticleQuad const & vt) -> QuadConstraint
8109  __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt,
8110  std::string name="QuadConstraint %1%") -> QuadConstraint
8111  __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> QuadConstraint
8112  """
8113  this = _IMP_core.new_QuadConstraint(*args)
8114  try: self.this.append(this)
8115  except: self.this = this
8116  def get_version_info(self):
8117  """get_version_info(QuadConstraint self) -> VersionInfo"""
8118  return _IMP_core.QuadConstraint_get_version_info(self)
8119 
8120  __swig_destroy__ = _IMP_core.delete_QuadConstraint
8121  __del__ = lambda self : None;
8122  def __str__(self):
8123  """__str__(QuadConstraint self) -> std::string"""
8124  return _IMP_core.QuadConstraint___str__(self)
8125 
8126  def __repr__(self):
8127  """__repr__(QuadConstraint self) -> std::string"""
8128  return _IMP_core.QuadConstraint___repr__(self)
8129 
8130  def get_from(o):
8131  return _object_cast_to_QuadConstraint(o)
8132  get_from = staticmethod(get_from)
8133 
8134 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
8135 QuadConstraint_swigregister(QuadConstraint)
8136 
8137 class ConstantSingletonPredicate(IMP.kernel.SingletonPredicate):
8138  """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
8139  __swig_setmethods__ = {}
8140  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8141  __setattr__ = lambda self, name, value: _swig_setattr(self, ConstantSingletonPredicate, name, value)
8142  __swig_getmethods__ = {}
8143  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8144  __getattr__ = lambda self, name: _swig_getattr(self, ConstantSingletonPredicate, name)
8145  def __init__(self, *args):
8146  """
8147  __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
8148  __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
8149  """
8150  this = _IMP_core.new_ConstantSingletonPredicate(*args)
8151  try: self.this.append(this)
8152  except: self.this = this
8153  def do_get_inputs(self, *args):
8154  """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8155  return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, *args)
8156 
8157  def get_value(self, *args):
8158  """
8159  get_value(ConstantSingletonPredicate self, Particle a) -> int
8160  get_value(ConstantSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8161  """
8162  return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
8163 
8164  def get_value_index(self, *args):
8165  """
8166  get_value_index(ConstantSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8167  get_value_index(ConstantSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8168  """
8169  return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
8170 
8171  def get_version_info(self):
8172  """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
8173  return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
8174 
8175  __swig_destroy__ = _IMP_core.delete_ConstantSingletonPredicate
8176  __del__ = lambda self : None;
8177  def __str__(self):
8178  """__str__(ConstantSingletonPredicate self) -> std::string"""
8179  return _IMP_core.ConstantSingletonPredicate___str__(self)
8180 
8181  def __repr__(self):
8182  """__repr__(ConstantSingletonPredicate self) -> std::string"""
8183  return _IMP_core.ConstantSingletonPredicate___repr__(self)
8184 
8185  def get_from(o):
8186  return _object_cast_to_ConstantSingletonPredicate(o)
8187  get_from = staticmethod(get_from)
8188 
8189 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
8190 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
8191 
8192 class UnorderedTypeSingletonPredicate(IMP.kernel.SingletonPredicate):
8193  """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
8194  __swig_setmethods__ = {}
8195  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8196  __setattr__ = lambda self, name, value: _swig_setattr(self, UnorderedTypeSingletonPredicate, name, value)
8197  __swig_getmethods__ = {}
8198  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8199  __getattr__ = lambda self, name: _swig_getattr(self, UnorderedTypeSingletonPredicate, name)
8200  def __init__(self, name="UnorderedTypeSingletonPredicate%1%"):
8201  """
8202  __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate
8203  __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
8204  """
8205  this = _IMP_core.new_UnorderedTypeSingletonPredicate(name)
8206  try: self.this.append(this)
8207  except: self.this = this
8208  def do_get_inputs(self, *args):
8209  """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8210  return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, *args)
8211 
8212  def get_value(self, *args):
8213  """
8214  get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
8215  get_value(UnorderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8216  """
8217  return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
8218 
8219  def get_value_index(self, *args):
8220  """
8221  get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8222  get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8223  """
8224  return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
8225 
8226  def get_version_info(self):
8227  """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
8228  return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
8229 
8230  __swig_destroy__ = _IMP_core.delete_UnorderedTypeSingletonPredicate
8231  __del__ = lambda self : None;
8232  def __str__(self):
8233  """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
8234  return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
8235 
8236  def __repr__(self):
8237  """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
8238  return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
8239 
8240  def get_from(o):
8241  return _object_cast_to_UnorderedTypeSingletonPredicate(o)
8242  get_from = staticmethod(get_from)
8243 
8244 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
8245 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
8246 
8247 class OrderedTypeSingletonPredicate(IMP.kernel.SingletonPredicate):
8248  """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
8249  __swig_setmethods__ = {}
8250  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8251  __setattr__ = lambda self, name, value: _swig_setattr(self, OrderedTypeSingletonPredicate, name, value)
8252  __swig_getmethods__ = {}
8253  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8254  __getattr__ = lambda self, name: _swig_getattr(self, OrderedTypeSingletonPredicate, name)
8255  def __init__(self, name="OrderedTypeSingletonPredicate%1%"):
8256  """
8257  __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate
8258  __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
8259  """
8260  this = _IMP_core.new_OrderedTypeSingletonPredicate(name)
8261  try: self.this.append(this)
8262  except: self.this = this
8263  def do_get_inputs(self, *args):
8264  """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8265  return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, *args)
8266 
8267  def get_value(self, *args):
8268  """
8269  get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
8270  get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
8271  get_value(OrderedTypeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8272  """
8273  return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
8274 
8275  def get_value_index(self, *args):
8276  """
8277  get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8278  get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8279  """
8280  return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
8281 
8282  def get_version_info(self):
8283  """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
8284  return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
8285 
8286  __swig_destroy__ = _IMP_core.delete_OrderedTypeSingletonPredicate
8287  __del__ = lambda self : None;
8288  def __str__(self):
8289  """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
8290  return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
8291 
8292  def __repr__(self):
8293  """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
8294  return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
8295 
8296  def get_from(o):
8297  return _object_cast_to_OrderedTypeSingletonPredicate(o)
8298  get_from = staticmethod(get_from)
8299 
8300 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
8301 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
8302 
8303 class AllSameSingletonPredicate(IMP.kernel.SingletonPredicate):
8304  """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
8305  __swig_setmethods__ = {}
8306  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8307  __setattr__ = lambda self, name, value: _swig_setattr(self, AllSameSingletonPredicate, name, value)
8308  __swig_getmethods__ = {}
8309  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8310  __getattr__ = lambda self, name: _swig_getattr(self, AllSameSingletonPredicate, name)
8311  def __init__(self, name="AllSameSingletonPredicate%1%"):
8312  """
8313  __init__(IMP::core::AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate
8314  __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
8315  """
8316  this = _IMP_core.new_AllSameSingletonPredicate(name)
8317  try: self.this.append(this)
8318  except: self.this = this
8319  def do_get_inputs(self, *args):
8320  """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8321  return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, *args)
8322 
8323  def get_value(self, *args):
8324  """
8325  get_value(AllSameSingletonPredicate self, Particle a) -> int
8326  get_value(AllSameSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8327  """
8328  return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
8329 
8330  def get_value_index(self, *args):
8331  """
8332  get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
8333  get_value_index(AllSameSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8334  """
8335  return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
8336 
8337  def get_version_info(self):
8338  """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
8339  return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
8340 
8341  __swig_destroy__ = _IMP_core.delete_AllSameSingletonPredicate
8342  __del__ = lambda self : None;
8343  def __str__(self):
8344  """__str__(AllSameSingletonPredicate self) -> std::string"""
8345  return _IMP_core.AllSameSingletonPredicate___str__(self)
8346 
8347  def __repr__(self):
8348  """__repr__(AllSameSingletonPredicate self) -> std::string"""
8349  return _IMP_core.AllSameSingletonPredicate___repr__(self)
8350 
8351  def get_from(o):
8352  return _object_cast_to_AllSameSingletonPredicate(o)
8353  get_from = staticmethod(get_from)
8354 
8355 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
8356 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
8357 
8358 class CoinFlipSingletonPredicate(IMP.kernel.SingletonPredicate):
8359  """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
8360  __swig_setmethods__ = {}
8361  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8362  __setattr__ = lambda self, name, value: _swig_setattr(self, CoinFlipSingletonPredicate, name, value)
8363  __swig_getmethods__ = {}
8364  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8365  __getattr__ = lambda self, name: _swig_getattr(self, CoinFlipSingletonPredicate, name)
8366  def __init__(self, *args):
8367  """
8368  __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate
8369  __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
8370  """
8371  this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
8372  try: self.this.append(this)
8373  except: self.this = this
8374  def do_get_inputs(self, *args):
8375  """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8376  return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, *args)
8377 
8378  def get_value(self, *args):
8379  """
8380  get_value(CoinFlipSingletonPredicate self, Particle a) -> int
8381  get_value(CoinFlipSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
8382  """
8383  return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
8384 
8385  def get_value_index(self, *args):
8386  """
8387  get_value_index(CoinFlipSingletonPredicate self, Model arg2, IMP::kernel::ParticleIndex arg3) -> int
8388  get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
8389  """
8390  return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
8391 
8392  def get_version_info(self):
8393  """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
8394  return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
8395 
8396  __swig_destroy__ = _IMP_core.delete_CoinFlipSingletonPredicate
8397  __del__ = lambda self : None;
8398  def __str__(self):
8399  """__str__(CoinFlipSingletonPredicate self) -> std::string"""
8400  return _IMP_core.CoinFlipSingletonPredicate___str__(self)
8401 
8402  def __repr__(self):
8403  """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
8404  return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
8405 
8406  def get_from(o):
8407  return _object_cast_to_CoinFlipSingletonPredicate(o)
8408  get_from = staticmethod(get_from)
8409 
8410 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
8411 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
8412 
8413 class ConstantPairPredicate(IMP.kernel.PairPredicate):
8414  """Proxy of C++ IMP::core::ConstantPairPredicate class"""
8415  __swig_setmethods__ = {}
8416  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8417  __setattr__ = lambda self, name, value: _swig_setattr(self, ConstantPairPredicate, name, value)
8418  __swig_getmethods__ = {}
8419  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8420  __getattr__ = lambda self, name: _swig_getattr(self, ConstantPairPredicate, name)
8421  def __init__(self, *args):
8422  """
8423  __init__(IMP::core::ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
8424  __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
8425  """
8426  this = _IMP_core.new_ConstantPairPredicate(*args)
8427  try: self.this.append(this)
8428  except: self.this = this
8429  def do_get_inputs(self, *args):
8430  """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8431  return _IMP_core.ConstantPairPredicate_do_get_inputs(self, *args)
8432 
8433  def get_value(self, *args):
8434  """
8435  get_value(ConstantPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8436  get_value(ConstantPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8437  """
8438  return _IMP_core.ConstantPairPredicate_get_value(self, *args)
8439 
8440  def get_value_index(self, *args):
8441  """
8442  get_value_index(ConstantPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8443  get_value_index(ConstantPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8444  """
8445  return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
8446 
8447  def get_version_info(self):
8448  """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
8449  return _IMP_core.ConstantPairPredicate_get_version_info(self)
8450 
8451  __swig_destroy__ = _IMP_core.delete_ConstantPairPredicate
8452  __del__ = lambda self : None;
8453  def __str__(self):
8454  """__str__(ConstantPairPredicate self) -> std::string"""
8455  return _IMP_core.ConstantPairPredicate___str__(self)
8456 
8457  def __repr__(self):
8458  """__repr__(ConstantPairPredicate self) -> std::string"""
8459  return _IMP_core.ConstantPairPredicate___repr__(self)
8460 
8461  def get_from(o):
8462  return _object_cast_to_ConstantPairPredicate(o)
8463  get_from = staticmethod(get_from)
8464 
8465 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
8466 ConstantPairPredicate_swigregister(ConstantPairPredicate)
8467 
8468 class UnorderedTypePairPredicate(IMP.kernel.PairPredicate):
8469  """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
8470  __swig_setmethods__ = {}
8471  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8472  __setattr__ = lambda self, name, value: _swig_setattr(self, UnorderedTypePairPredicate, name, value)
8473  __swig_getmethods__ = {}
8474  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8475  __getattr__ = lambda self, name: _swig_getattr(self, UnorderedTypePairPredicate, name)
8476  def __init__(self, name="UnorderedTypePairPredicate%1%"):
8477  """
8478  __init__(IMP::core::UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate
8479  __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
8480  """
8481  this = _IMP_core.new_UnorderedTypePairPredicate(name)
8482  try: self.this.append(this)
8483  except: self.this = this
8484  def do_get_inputs(self, *args):
8485  """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8486  return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, *args)
8487 
8488  def get_value(self, *args):
8489  """
8490  get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8491  get_value(UnorderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8492  """
8493  return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
8494 
8495  def get_value_index(self, *args):
8496  """
8497  get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8498  get_value_index(UnorderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8499  """
8500  return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
8501 
8502  def get_version_info(self):
8503  """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
8504  return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
8505 
8506  __swig_destroy__ = _IMP_core.delete_UnorderedTypePairPredicate
8507  __del__ = lambda self : None;
8508  def __str__(self):
8509  """__str__(UnorderedTypePairPredicate self) -> std::string"""
8510  return _IMP_core.UnorderedTypePairPredicate___str__(self)
8511 
8512  def __repr__(self):
8513  """__repr__(UnorderedTypePairPredicate self) -> std::string"""
8514  return _IMP_core.UnorderedTypePairPredicate___repr__(self)
8515 
8516  def get_from(o):
8517  return _object_cast_to_UnorderedTypePairPredicate(o)
8518  get_from = staticmethod(get_from)
8519 
8520 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
8521 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
8522 
8523 class OrderedTypePairPredicate(IMP.kernel.PairPredicate):
8524  """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
8525  __swig_setmethods__ = {}
8526  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8527  __setattr__ = lambda self, name, value: _swig_setattr(self, OrderedTypePairPredicate, name, value)
8528  __swig_getmethods__ = {}
8529  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8530  __getattr__ = lambda self, name: _swig_getattr(self, OrderedTypePairPredicate, name)
8531  def __init__(self, name="OrderedTypePairPredicate%1%"):
8532  """
8533  __init__(IMP::core::OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate
8534  __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
8535  """
8536  this = _IMP_core.new_OrderedTypePairPredicate(name)
8537  try: self.this.append(this)
8538  except: self.this = this
8539  def do_get_inputs(self, *args):
8540  """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8541  return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, *args)
8542 
8543  def get_value(self, *args):
8544  """
8545  get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
8546  get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8547  get_value(OrderedTypePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8548  """
8549  return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
8550 
8551  def get_value_index(self, *args):
8552  """
8553  get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8554  get_value_index(OrderedTypePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8555  """
8556  return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
8557 
8558  def get_version_info(self):
8559  """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
8560  return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
8561 
8562  __swig_destroy__ = _IMP_core.delete_OrderedTypePairPredicate
8563  __del__ = lambda self : None;
8564  def __str__(self):
8565  """__str__(OrderedTypePairPredicate self) -> std::string"""
8566  return _IMP_core.OrderedTypePairPredicate___str__(self)
8567 
8568  def __repr__(self):
8569  """__repr__(OrderedTypePairPredicate self) -> std::string"""
8570  return _IMP_core.OrderedTypePairPredicate___repr__(self)
8571 
8572  def get_from(o):
8573  return _object_cast_to_OrderedTypePairPredicate(o)
8574  get_from = staticmethod(get_from)
8575 
8576 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
8577 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
8578 
8579 class AllSamePairPredicate(IMP.kernel.PairPredicate):
8580  """Proxy of C++ IMP::core::AllSamePairPredicate class"""
8581  __swig_setmethods__ = {}
8582  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8583  __setattr__ = lambda self, name, value: _swig_setattr(self, AllSamePairPredicate, name, value)
8584  __swig_getmethods__ = {}
8585  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8586  __getattr__ = lambda self, name: _swig_getattr(self, AllSamePairPredicate, name)
8587  def __init__(self, name="AllSamePairPredicate%1%"):
8588  """
8589  __init__(IMP::core::AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate
8590  __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
8591  """
8592  this = _IMP_core.new_AllSamePairPredicate(name)
8593  try: self.this.append(this)
8594  except: self.this = this
8595  def do_get_inputs(self, *args):
8596  """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8597  return _IMP_core.AllSamePairPredicate_do_get_inputs(self, *args)
8598 
8599  def get_value(self, *args):
8600  """
8601  get_value(AllSamePairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8602  get_value(AllSamePairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8603  """
8604  return _IMP_core.AllSamePairPredicate_get_value(self, *args)
8605 
8606  def get_value_index(self, *args):
8607  """
8608  get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
8609  get_value_index(AllSamePairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8610  """
8611  return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
8612 
8613  def get_version_info(self):
8614  """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
8615  return _IMP_core.AllSamePairPredicate_get_version_info(self)
8616 
8617  __swig_destroy__ = _IMP_core.delete_AllSamePairPredicate
8618  __del__ = lambda self : None;
8619  def __str__(self):
8620  """__str__(AllSamePairPredicate self) -> std::string"""
8621  return _IMP_core.AllSamePairPredicate___str__(self)
8622 
8623  def __repr__(self):
8624  """__repr__(AllSamePairPredicate self) -> std::string"""
8625  return _IMP_core.AllSamePairPredicate___repr__(self)
8626 
8627  def get_from(o):
8628  return _object_cast_to_AllSamePairPredicate(o)
8629  get_from = staticmethod(get_from)
8630 
8631 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
8632 AllSamePairPredicate_swigregister(AllSamePairPredicate)
8633 
8634 class CoinFlipPairPredicate(IMP.kernel.PairPredicate):
8635  """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
8636  __swig_setmethods__ = {}
8637  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8638  __setattr__ = lambda self, name, value: _swig_setattr(self, CoinFlipPairPredicate, name, value)
8639  __swig_getmethods__ = {}
8640  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8641  __getattr__ = lambda self, name: _swig_getattr(self, CoinFlipPairPredicate, name)
8642  def __init__(self, *args):
8643  """
8644  __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate
8645  __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
8646  """
8647  this = _IMP_core.new_CoinFlipPairPredicate(*args)
8648  try: self.this.append(this)
8649  except: self.this = this
8650  def do_get_inputs(self, *args):
8651  """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8652  return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, *args)
8653 
8654  def get_value(self, *args):
8655  """
8656  get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
8657  get_value(CoinFlipPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
8658  """
8659  return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
8660 
8661  def get_value_index(self, *args):
8662  """
8663  get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::kernel::ParticleIndexPair const & arg3) -> int
8664  get_value_index(CoinFlipPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
8665  """
8666  return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
8667 
8668  def get_version_info(self):
8669  """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
8670  return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
8671 
8672  __swig_destroy__ = _IMP_core.delete_CoinFlipPairPredicate
8673  __del__ = lambda self : None;
8674  def __str__(self):
8675  """__str__(CoinFlipPairPredicate self) -> std::string"""
8676  return _IMP_core.CoinFlipPairPredicate___str__(self)
8677 
8678  def __repr__(self):
8679  """__repr__(CoinFlipPairPredicate self) -> std::string"""
8680  return _IMP_core.CoinFlipPairPredicate___repr__(self)
8681 
8682  def get_from(o):
8683  return _object_cast_to_CoinFlipPairPredicate(o)
8684  get_from = staticmethod(get_from)
8685 
8686 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
8687 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
8688 
8689 class ConstantTripletPredicate(IMP.kernel.TripletPredicate):
8690  """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
8691  __swig_setmethods__ = {}
8692  for _s in [IMP.kernel.TripletPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8693  __setattr__ = lambda self, name, value: _swig_setattr(self, ConstantTripletPredicate, name, value)
8694  __swig_getmethods__ = {}
8695  for _s in [IMP.kernel.TripletPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8696  __getattr__ = lambda self, name: _swig_getattr(self, ConstantTripletPredicate, name)
8697  def __init__(self, *args):
8698  """
8699  __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
8700  __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
8701  """
8702  this = _IMP_core.new_ConstantTripletPredicate(*args)
8703  try: self.this.append(this)
8704  except: self.this = this
8705  def do_get_inputs(self, *args):
8706  """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8707  return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, *args)
8708 
8709  def get_value(self, *args):
8710  """
8711  get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8712  get_value(ConstantTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8713  """
8714  return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
8715 
8716  def get_value_index(self, *args):
8717  """
8718  get_value_index(ConstantTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8719  get_value_index(ConstantTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8720  """
8721  return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
8722 
8723  def get_version_info(self):
8724  """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
8725  return _IMP_core.ConstantTripletPredicate_get_version_info(self)
8726 
8727  __swig_destroy__ = _IMP_core.delete_ConstantTripletPredicate
8728  __del__ = lambda self : None;
8729  def __str__(self):
8730  """__str__(ConstantTripletPredicate self) -> std::string"""
8731  return _IMP_core.ConstantTripletPredicate___str__(self)
8732 
8733  def __repr__(self):
8734  """__repr__(ConstantTripletPredicate self) -> std::string"""
8735  return _IMP_core.ConstantTripletPredicate___repr__(self)
8736 
8737  def get_from(o):
8738  return _object_cast_to_ConstantTripletPredicate(o)
8739  get_from = staticmethod(get_from)
8740 
8741 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
8742 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
8743 
8744 class UnorderedTypeTripletPredicate(IMP.kernel.TripletPredicate):
8745  """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
8746  __swig_setmethods__ = {}
8747  for _s in [IMP.kernel.TripletPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8748  __setattr__ = lambda self, name, value: _swig_setattr(self, UnorderedTypeTripletPredicate, name, value)
8749  __swig_getmethods__ = {}
8750  for _s in [IMP.kernel.TripletPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8751  __getattr__ = lambda self, name: _swig_getattr(self, UnorderedTypeTripletPredicate, name)
8752  def __init__(self, name="UnorderedTypeTripletPredicate%1%"):
8753  """
8754  __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate
8755  __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
8756  """
8757  this = _IMP_core.new_UnorderedTypeTripletPredicate(name)
8758  try: self.this.append(this)
8759  except: self.this = this
8760  def do_get_inputs(self, *args):
8761  """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8762  return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, *args)
8763 
8764  def get_value(self, *args):
8765  """
8766  get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8767  get_value(UnorderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8768  """
8769  return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
8770 
8771  def get_value_index(self, *args):
8772  """
8773  get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8774  get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8775  """
8776  return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
8777 
8778  def get_version_info(self):
8779  """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
8780  return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
8781 
8782  __swig_destroy__ = _IMP_core.delete_UnorderedTypeTripletPredicate
8783  __del__ = lambda self : None;
8784  def __str__(self):
8785  """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
8786  return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
8787 
8788  def __repr__(self):
8789  """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
8790  return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
8791 
8792  def get_from(o):
8793  return _object_cast_to_UnorderedTypeTripletPredicate(o)
8794  get_from = staticmethod(get_from)
8795 
8796 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
8797 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
8798 
8799 class OrderedTypeTripletPredicate(IMP.kernel.TripletPredicate):
8800  """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
8801  __swig_setmethods__ = {}
8802  for _s in [IMP.kernel.TripletPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8803  __setattr__ = lambda self, name, value: _swig_setattr(self, OrderedTypeTripletPredicate, name, value)
8804  __swig_getmethods__ = {}
8805  for _s in [IMP.kernel.TripletPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8806  __getattr__ = lambda self, name: _swig_getattr(self, OrderedTypeTripletPredicate, name)
8807  def __init__(self, name="OrderedTypeTripletPredicate%1%"):
8808  """
8809  __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate
8810  __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
8811  """
8812  this = _IMP_core.new_OrderedTypeTripletPredicate(name)
8813  try: self.this.append(this)
8814  except: self.this = this
8815  def do_get_inputs(self, *args):
8816  """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
8817  return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, *args)
8818 
8819  def get_value(self, *args):
8820  """
8821  get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
8822  get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8823  get_value(OrderedTypeTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8824  """
8825  return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
8826 
8827  def get_value_index(self, *args):
8828  """
8829  get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8830  get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8831  """
8832  return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
8833 
8834  def get_version_info(self):
8835  """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
8836  return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
8837 
8838  __swig_destroy__ = _IMP_core.delete_OrderedTypeTripletPredicate
8839  __del__ = lambda self : None;
8840  def __str__(self):
8841  """__str__(OrderedTypeTripletPredicate self) -> std::string"""
8842  return _IMP_core.OrderedTypeTripletPredicate___str__(self)
8843 
8844  def __repr__(self):
8845  """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
8846  return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
8847 
8848  def get_from(o):
8849  return _object_cast_to_OrderedTypeTripletPredicate(o)
8850  get_from = staticmethod(get_from)
8851 
8852 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
8853 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
8854 
8855 class AllSameTripletPredicate(IMP.kernel.TripletPredicate):
8856  """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
8857  __swig_setmethods__ = {}
8858  for _s in [IMP.kernel.TripletPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8859  __setattr__ = lambda self, name, value: _swig_setattr(self, AllSameTripletPredicate, name, value)
8860  __swig_getmethods__ = {}
8861  for _s in [IMP.kernel.TripletPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8862  __getattr__ = lambda self, name: _swig_getattr(self, AllSameTripletPredicate, name)
8863  def __init__(self, name="AllSameTripletPredicate%1%"):
8864  """
8865  __init__(IMP::core::AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate
8866  __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
8867  """
8868  this = _IMP_core.new_AllSameTripletPredicate(name)
8869  try: self.this.append(this)
8870  except: self.this = this
8871  def do_get_inputs(self, *args):
8872  """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8873  return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, *args)
8874 
8875  def get_value(self, *args):
8876  """
8877  get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8878  get_value(AllSameTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8879  """
8880  return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
8881 
8882  def get_value_index(self, *args):
8883  """
8884  get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & pi) -> int
8885  get_value_index(AllSameTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8886  """
8887  return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
8888 
8889  def get_version_info(self):
8890  """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
8891  return _IMP_core.AllSameTripletPredicate_get_version_info(self)
8892 
8893  __swig_destroy__ = _IMP_core.delete_AllSameTripletPredicate
8894  __del__ = lambda self : None;
8895  def __str__(self):
8896  """__str__(AllSameTripletPredicate self) -> std::string"""
8897  return _IMP_core.AllSameTripletPredicate___str__(self)
8898 
8899  def __repr__(self):
8900  """__repr__(AllSameTripletPredicate self) -> std::string"""
8901  return _IMP_core.AllSameTripletPredicate___repr__(self)
8902 
8903  def get_from(o):
8904  return _object_cast_to_AllSameTripletPredicate(o)
8905  get_from = staticmethod(get_from)
8906 
8907 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
8908 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
8909 
8910 class CoinFlipTripletPredicate(IMP.kernel.TripletPredicate):
8911  """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
8912  __swig_setmethods__ = {}
8913  for _s in [IMP.kernel.TripletPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8914  __setattr__ = lambda self, name, value: _swig_setattr(self, CoinFlipTripletPredicate, name, value)
8915  __swig_getmethods__ = {}
8916  for _s in [IMP.kernel.TripletPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8917  __getattr__ = lambda self, name: _swig_getattr(self, CoinFlipTripletPredicate, name)
8918  def __init__(self, *args):
8919  """
8920  __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate
8921  __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
8922  """
8923  this = _IMP_core.new_CoinFlipTripletPredicate(*args)
8924  try: self.this.append(this)
8925  except: self.this = this
8926  def do_get_inputs(self, *args):
8927  """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8928  return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, *args)
8929 
8930  def get_value(self, *args):
8931  """
8932  get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTriplet const & a) -> int
8933  get_value(CoinFlipTripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
8934  """
8935  return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
8936 
8937  def get_value_index(self, *args):
8938  """
8939  get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::kernel::ParticleIndexTriplet const & arg3) -> int
8940  get_value_index(CoinFlipTripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
8941  """
8942  return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
8943 
8944  def get_version_info(self):
8945  """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
8946  return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
8947 
8948  __swig_destroy__ = _IMP_core.delete_CoinFlipTripletPredicate
8949  __del__ = lambda self : None;
8950  def __str__(self):
8951  """__str__(CoinFlipTripletPredicate self) -> std::string"""
8952  return _IMP_core.CoinFlipTripletPredicate___str__(self)
8953 
8954  def __repr__(self):
8955  """__repr__(CoinFlipTripletPredicate self) -> std::string"""
8956  return _IMP_core.CoinFlipTripletPredicate___repr__(self)
8957 
8958  def get_from(o):
8959  return _object_cast_to_CoinFlipTripletPredicate(o)
8960  get_from = staticmethod(get_from)
8961 
8962 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
8963 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
8964 
8965 class ConstantQuadPredicate(IMP.kernel.QuadPredicate):
8966  """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
8967  __swig_setmethods__ = {}
8968  for _s in [IMP.kernel.QuadPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
8969  __setattr__ = lambda self, name, value: _swig_setattr(self, ConstantQuadPredicate, name, value)
8970  __swig_getmethods__ = {}
8971  for _s in [IMP.kernel.QuadPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
8972  __getattr__ = lambda self, name: _swig_getattr(self, ConstantQuadPredicate, name)
8973  def __init__(self, *args):
8974  """
8975  __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
8976  __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
8977  """
8978  this = _IMP_core.new_ConstantQuadPredicate(*args)
8979  try: self.this.append(this)
8980  except: self.this = this
8981  def do_get_inputs(self, *args):
8982  """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
8983  return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, *args)
8984 
8985  def get_value(self, *args):
8986  """
8987  get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
8988  get_value(ConstantQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
8989  """
8990  return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
8991 
8992  def get_value_index(self, *args):
8993  """
8994  get_value_index(ConstantQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
8995  get_value_index(ConstantQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
8996  """
8997  return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
8998 
8999  def get_version_info(self):
9000  """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
9001  return _IMP_core.ConstantQuadPredicate_get_version_info(self)
9002 
9003  __swig_destroy__ = _IMP_core.delete_ConstantQuadPredicate
9004  __del__ = lambda self : None;
9005  def __str__(self):
9006  """__str__(ConstantQuadPredicate self) -> std::string"""
9007  return _IMP_core.ConstantQuadPredicate___str__(self)
9008 
9009  def __repr__(self):
9010  """__repr__(ConstantQuadPredicate self) -> std::string"""
9011  return _IMP_core.ConstantQuadPredicate___repr__(self)
9012 
9013  def get_from(o):
9014  return _object_cast_to_ConstantQuadPredicate(o)
9015  get_from = staticmethod(get_from)
9016 
9017 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
9018 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
9019 
9020 class UnorderedTypeQuadPredicate(IMP.kernel.QuadPredicate):
9021  """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
9022  __swig_setmethods__ = {}
9023  for _s in [IMP.kernel.QuadPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9024  __setattr__ = lambda self, name, value: _swig_setattr(self, UnorderedTypeQuadPredicate, name, value)
9025  __swig_getmethods__ = {}
9026  for _s in [IMP.kernel.QuadPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9027  __getattr__ = lambda self, name: _swig_getattr(self, UnorderedTypeQuadPredicate, name)
9028  def __init__(self, name="UnorderedTypeQuadPredicate%1%"):
9029  """
9030  __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate
9031  __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
9032  """
9033  this = _IMP_core.new_UnorderedTypeQuadPredicate(name)
9034  try: self.this.append(this)
9035  except: self.this = this
9036  def do_get_inputs(self, *args):
9037  """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9038  return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, *args)
9039 
9040  def get_value(self, *args):
9041  """
9042  get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9043  get_value(UnorderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9044  """
9045  return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
9046 
9047  def get_value_index(self, *args):
9048  """
9049  get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9050  get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9051  """
9052  return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
9053 
9054  def get_version_info(self):
9055  """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
9056  return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
9057 
9058  __swig_destroy__ = _IMP_core.delete_UnorderedTypeQuadPredicate
9059  __del__ = lambda self : None;
9060  def __str__(self):
9061  """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
9062  return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
9063 
9064  def __repr__(self):
9065  """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
9066  return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
9067 
9068  def get_from(o):
9069  return _object_cast_to_UnorderedTypeQuadPredicate(o)
9070  get_from = staticmethod(get_from)
9071 
9072 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
9073 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
9074 
9075 class OrderedTypeQuadPredicate(IMP.kernel.QuadPredicate):
9076  """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
9077  __swig_setmethods__ = {}
9078  for _s in [IMP.kernel.QuadPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9079  __setattr__ = lambda self, name, value: _swig_setattr(self, OrderedTypeQuadPredicate, name, value)
9080  __swig_getmethods__ = {}
9081  for _s in [IMP.kernel.QuadPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9082  __getattr__ = lambda self, name: _swig_getattr(self, OrderedTypeQuadPredicate, name)
9083  def __init__(self, name="OrderedTypeQuadPredicate%1%"):
9084  """
9085  __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate
9086  __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
9087  """
9088  this = _IMP_core.new_OrderedTypeQuadPredicate(name)
9089  try: self.this.append(this)
9090  except: self.this = this
9091  def do_get_inputs(self, *args):
9092  """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
9093  return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, *args)
9094 
9095  def get_value(self, *args):
9096  """
9097  get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
9098  get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9099  get_value(OrderedTypeQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9100  """
9101  return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
9102 
9103  def get_value_index(self, *args):
9104  """
9105  get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9106  get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9107  """
9108  return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
9109 
9110  def get_version_info(self):
9111  """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
9112  return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
9113 
9114  __swig_destroy__ = _IMP_core.delete_OrderedTypeQuadPredicate
9115  __del__ = lambda self : None;
9116  def __str__(self):
9117  """__str__(OrderedTypeQuadPredicate self) -> std::string"""
9118  return _IMP_core.OrderedTypeQuadPredicate___str__(self)
9119 
9120  def __repr__(self):
9121  """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
9122  return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
9123 
9124  def get_from(o):
9125  return _object_cast_to_OrderedTypeQuadPredicate(o)
9126  get_from = staticmethod(get_from)
9127 
9128 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
9129 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
9130 
9131 class AllSameQuadPredicate(IMP.kernel.QuadPredicate):
9132  """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
9133  __swig_setmethods__ = {}
9134  for _s in [IMP.kernel.QuadPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9135  __setattr__ = lambda self, name, value: _swig_setattr(self, AllSameQuadPredicate, name, value)
9136  __swig_getmethods__ = {}
9137  for _s in [IMP.kernel.QuadPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9138  __getattr__ = lambda self, name: _swig_getattr(self, AllSameQuadPredicate, name)
9139  def __init__(self, name="AllSameQuadPredicate%1%"):
9140  """
9141  __init__(IMP::core::AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate
9142  __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
9143  """
9144  this = _IMP_core.new_AllSameQuadPredicate(name)
9145  try: self.this.append(this)
9146  except: self.this = this
9147  def do_get_inputs(self, *args):
9148  """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
9149  return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, *args)
9150 
9151  def get_value(self, *args):
9152  """
9153  get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9154  get_value(AllSameQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9155  """
9156  return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
9157 
9158  def get_value_index(self, *args):
9159  """
9160  get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & pi) -> int
9161  get_value_index(AllSameQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9162  """
9163  return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
9164 
9165  def get_version_info(self):
9166  """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
9167  return _IMP_core.AllSameQuadPredicate_get_version_info(self)
9168 
9169  __swig_destroy__ = _IMP_core.delete_AllSameQuadPredicate
9170  __del__ = lambda self : None;
9171  def __str__(self):
9172  """__str__(AllSameQuadPredicate self) -> std::string"""
9173  return _IMP_core.AllSameQuadPredicate___str__(self)
9174 
9175  def __repr__(self):
9176  """__repr__(AllSameQuadPredicate self) -> std::string"""
9177  return _IMP_core.AllSameQuadPredicate___repr__(self)
9178 
9179  def get_from(o):
9180  return _object_cast_to_AllSameQuadPredicate(o)
9181  get_from = staticmethod(get_from)
9182 
9183 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
9184 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
9185 
9186 class CoinFlipQuadPredicate(IMP.kernel.QuadPredicate):
9187  """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
9188  __swig_setmethods__ = {}
9189  for _s in [IMP.kernel.QuadPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9190  __setattr__ = lambda self, name, value: _swig_setattr(self, CoinFlipQuadPredicate, name, value)
9191  __swig_getmethods__ = {}
9192  for _s in [IMP.kernel.QuadPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9193  __getattr__ = lambda self, name: _swig_getattr(self, CoinFlipQuadPredicate, name)
9194  def __init__(self, *args):
9195  """
9196  __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate
9197  __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
9198  """
9199  this = _IMP_core.new_CoinFlipQuadPredicate(*args)
9200  try: self.this.append(this)
9201  except: self.this = this
9202  def do_get_inputs(self, *args):
9203  """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
9204  return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, *args)
9205 
9206  def get_value(self, *args):
9207  """
9208  get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuad const & a) -> int
9209  get_value(CoinFlipQuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
9210  """
9211  return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
9212 
9213  def get_value_index(self, *args):
9214  """
9215  get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::kernel::ParticleIndexQuad const & arg3) -> int
9216  get_value_index(CoinFlipQuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
9217  """
9218  return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
9219 
9220  def get_version_info(self):
9221  """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
9222  return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
9223 
9224  __swig_destroy__ = _IMP_core.delete_CoinFlipQuadPredicate
9225  __del__ = lambda self : None;
9226  def __str__(self):
9227  """__str__(CoinFlipQuadPredicate self) -> std::string"""
9228  return _IMP_core.CoinFlipQuadPredicate___str__(self)
9229 
9230  def __repr__(self):
9231  """__repr__(CoinFlipQuadPredicate self) -> std::string"""
9232  return _IMP_core.CoinFlipQuadPredicate___repr__(self)
9233 
9234  def get_from(o):
9235  return _object_cast_to_CoinFlipQuadPredicate(o)
9236  get_from = staticmethod(get_from)
9237 
9238 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
9239 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
9240 
9241 class InBoundingBox3DSingletonPredicate(IMP.kernel.SingletonPredicate):
9242  """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
9243  __swig_setmethods__ = {}
9244  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9245  __setattr__ = lambda self, name, value: _swig_setattr(self, InBoundingBox3DSingletonPredicate, name, value)
9246  __swig_getmethods__ = {}
9247  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9248  __getattr__ = lambda self, name: _swig_getattr(self, InBoundingBox3DSingletonPredicate, name)
9249  def __init__(self, *args):
9250  """
9251  __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate
9252  __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
9253  """
9254  this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
9255  try: self.this.append(this)
9256  except: self.this = this
9257  def do_get_inputs(self, *args):
9258  """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9259  return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, *args)
9260 
9261  def get_value(self, *args):
9262  """
9263  get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
9264  get_value(InBoundingBox3DSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9265  """
9266  return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
9267 
9268  def get_value_index(self, *args):
9269  """
9270  get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9271  get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9272  """
9273  return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
9274 
9275  def get_version_info(self):
9276  """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
9277  return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
9278 
9279  __swig_destroy__ = _IMP_core.delete_InBoundingBox3DSingletonPredicate
9280  __del__ = lambda self : None;
9281  def __str__(self):
9282  """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9283  return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
9284 
9285  def __repr__(self):
9286  """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
9287  return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
9288 
9289  def get_from(o):
9290  return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
9291  get_from = staticmethod(get_from)
9292 
9293 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
9294 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
9295 
9296 class AttributeSingletonPredicate(IMP.kernel.SingletonPredicate):
9297  """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
9298  __swig_setmethods__ = {}
9299  for _s in [IMP.kernel.SingletonPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9300  __setattr__ = lambda self, name, value: _swig_setattr(self, AttributeSingletonPredicate, name, value)
9301  __swig_getmethods__ = {}
9302  for _s in [IMP.kernel.SingletonPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9303  __getattr__ = lambda self, name: _swig_getattr(self, AttributeSingletonPredicate, name)
9304  def __init__(self, *args):
9305  """
9306  __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate
9307  __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
9308  """
9309  this = _IMP_core.new_AttributeSingletonPredicate(*args)
9310  try: self.this.append(this)
9311  except: self.this = this
9312  def do_get_inputs(self, *args):
9313  """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9314  return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, *args)
9315 
9316  def get_value(self, *args):
9317  """
9318  get_value(AttributeSingletonPredicate self, Particle a) -> int
9319  get_value(AttributeSingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
9320  """
9321  return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
9322 
9323  def get_value_index(self, *args):
9324  """
9325  get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndex pi) -> int
9326  get_value_index(AttributeSingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
9327  """
9328  return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
9329 
9330  def get_version_info(self):
9331  """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
9332  return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
9333 
9334  __swig_destroy__ = _IMP_core.delete_AttributeSingletonPredicate
9335  __del__ = lambda self : None;
9336  def __str__(self):
9337  """__str__(AttributeSingletonPredicate self) -> std::string"""
9338  return _IMP_core.AttributeSingletonPredicate___str__(self)
9339 
9340  def __repr__(self):
9341  """__repr__(AttributeSingletonPredicate self) -> std::string"""
9342  return _IMP_core.AttributeSingletonPredicate___repr__(self)
9343 
9344  def get_from(o):
9345  return _object_cast_to_AttributeSingletonPredicate(o)
9346  get_from = staticmethod(get_from)
9347 
9348 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
9349 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
9350 
9351 class IsCollisionPairPredicate(IMP.kernel.PairPredicate):
9352  """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
9353  __swig_setmethods__ = {}
9354  for _s in [IMP.kernel.PairPredicate]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9355  __setattr__ = lambda self, name, value: _swig_setattr(self, IsCollisionPairPredicate, name, value)
9356  __swig_getmethods__ = {}
9357  for _s in [IMP.kernel.PairPredicate]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9358  __getattr__ = lambda self, name: _swig_getattr(self, IsCollisionPairPredicate, name)
9359  def __init__(self, name="CollisionPairPredicate%1%"):
9360  """
9361  __init__(IMP::core::IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate
9362  __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
9363  """
9364  this = _IMP_core.new_IsCollisionPairPredicate(name)
9365  try: self.this.append(this)
9366  except: self.this = this
9367  def do_get_inputs(self, *args):
9368  """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pi) -> IMP::kernel::ModelObjectsTemp"""
9369  return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, *args)
9370 
9371  def get_value(self, *args):
9372  """
9373  get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePair const & a) -> int
9374  get_value(IsCollisionPairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
9375  """
9376  return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
9377 
9378  def get_value_index(self, *args):
9379  """
9380  get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & pi) -> int
9381  get_value_index(IsCollisionPairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
9382  """
9383  return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
9384 
9385  def get_version_info(self):
9386  """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
9387  return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
9388 
9389  __swig_destroy__ = _IMP_core.delete_IsCollisionPairPredicate
9390  __del__ = lambda self : None;
9391  def __str__(self):
9392  """__str__(IsCollisionPairPredicate self) -> std::string"""
9393  return _IMP_core.IsCollisionPairPredicate___str__(self)
9394 
9395  def __repr__(self):
9396  """__repr__(IsCollisionPairPredicate self) -> std::string"""
9397  return _IMP_core.IsCollisionPairPredicate___repr__(self)
9398 
9399  def get_from(o):
9400  return _object_cast_to_IsCollisionPairPredicate(o)
9401  get_from = staticmethod(get_from)
9402 
9403 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
9404 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
9405 
9406 class AngleRestraint(TripletRestraint):
9407  """Proxy of C++ IMP::core::AngleRestraint class"""
9408  __swig_setmethods__ = {}
9409  for _s in [TripletRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9410  __setattr__ = lambda self, name, value: _swig_setattr(self, AngleRestraint, name, value)
9411  __swig_getmethods__ = {}
9412  for _s in [TripletRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9413  __getattr__ = lambda self, name: _swig_getattr(self, AngleRestraint, name)
9414  def __init__(self, *args):
9415  """
9416  __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, Particle p1, Particle p2, Particle p3) -> AngleRestraint
9417  __init__(IMP::core::AngleRestraint self, UnaryFunction score_func, XYZ p0, XYZ p1, XYZ p2) -> AngleRestraint
9418  """
9419  this = _IMP_core.new_AngleRestraint(*args)
9420  try: self.this.append(this)
9421  except: self.this = this
9422  __swig_destroy__ = _IMP_core.delete_AngleRestraint
9423  __del__ = lambda self : None;
9424  def __str__(self):
9425  """__str__(AngleRestraint self) -> std::string"""
9426  return _IMP_core.AngleRestraint___str__(self)
9427 
9428  def __repr__(self):
9429  """__repr__(AngleRestraint self) -> std::string"""
9430  return _IMP_core.AngleRestraint___repr__(self)
9431 
9432  def get_from(o):
9433  return _object_cast_to_AngleRestraint(o)
9434  get_from = staticmethod(get_from)
9435 
9436 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
9437 AngleRestraint_swigregister(AngleRestraint)
9438 
9439 class RigidBodyMover(MonteCarloMover):
9440  """Proxy of C++ IMP::core::RigidBodyMover class"""
9441  __swig_setmethods__ = {}
9442  for _s in [MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9443  __setattr__ = lambda self, name, value: _swig_setattr(self, RigidBodyMover, name, value)
9444  __swig_getmethods__ = {}
9445  for _s in [MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9446  __getattr__ = lambda self, name: _swig_getattr(self, RigidBodyMover, name)
9447  def __init__(self, *args):
9448  """
9449  __init__(IMP::core::RigidBodyMover self, Model m, IMP::kernel::ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9450  __init__(IMP::core::RigidBodyMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
9451  """
9452  this = _IMP_core.new_RigidBodyMover(*args)
9453  try: self.this.append(this)
9454  except: self.this = this
9455  def set_maximum_translation(self, *args):
9456  """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
9457  return _IMP_core.RigidBodyMover_set_maximum_translation(self, *args)
9458 
9459  def set_maximum_rotation(self, *args):
9460  """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
9461  return _IMP_core.RigidBodyMover_set_maximum_rotation(self, *args)
9462 
9463  def get_maximum_translation(self):
9464  """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
9465  return _IMP_core.RigidBodyMover_get_maximum_translation(self)
9466 
9467  def get_maximum_rotation(self):
9468  """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
9469  return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
9470 
9471  def get_version_info(self):
9472  """get_version_info(RigidBodyMover self) -> VersionInfo"""
9473  return _IMP_core.RigidBodyMover_get_version_info(self)
9474 
9475  __swig_destroy__ = _IMP_core.delete_RigidBodyMover
9476  __del__ = lambda self : None;
9477  def __str__(self):
9478  """__str__(RigidBodyMover self) -> std::string"""
9479  return _IMP_core.RigidBodyMover___str__(self)
9480 
9481  def __repr__(self):
9482  """__repr__(RigidBodyMover self) -> std::string"""
9483  return _IMP_core.RigidBodyMover___repr__(self)
9484 
9485  def get_from(o):
9486  return _object_cast_to_RigidBodyMover(o)
9487  get_from = staticmethod(get_from)
9488 
9489 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
9490 RigidBodyMover_swigregister(RigidBodyMover)
9491 
9492 class VolumeRestraint(IMP.kernel.Restraint):
9493  """Proxy of C++ IMP::core::VolumeRestraint class"""
9494  __swig_setmethods__ = {}
9495  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9496  __setattr__ = lambda self, name, value: _swig_setattr(self, VolumeRestraint, name, value)
9497  __swig_getmethods__ = {}
9498  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9499  __getattr__ = lambda self, name: _swig_getattr(self, VolumeRestraint, name)
9500  def __init__(self, *args):
9501  """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
9502  this = _IMP_core.new_VolumeRestraint(*args)
9503  try: self.this.append(this)
9504  except: self.this = this
9505  def do_get_inputs(self):
9506  """do_get_inputs(VolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
9507  return _IMP_core.VolumeRestraint_do_get_inputs(self)
9508 
9509  def get_version_info(self):
9510  """get_version_info(VolumeRestraint self) -> VersionInfo"""
9511  return _IMP_core.VolumeRestraint_get_version_info(self)
9512 
9513  __swig_destroy__ = _IMP_core.delete_VolumeRestraint
9514  __del__ = lambda self : None;
9515  def __str__(self):
9516  """__str__(VolumeRestraint self) -> std::string"""
9517  return _IMP_core.VolumeRestraint___str__(self)
9518 
9519  def __repr__(self):
9520  """__repr__(VolumeRestraint self) -> std::string"""
9521  return _IMP_core.VolumeRestraint___repr__(self)
9522 
9523  def get_from(o):
9524  return _object_cast_to_VolumeRestraint(o)
9525  get_from = staticmethod(get_from)
9526 
9527 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
9528 VolumeRestraint_swigregister(VolumeRestraint)
9529 
9530 
9531 def get_centroid(*args):
9532  """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
9533  return _IMP_core.get_centroid(*args)
9534 
9535 def get_bounding_box(*args):
9536  """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
9537  return _IMP_core.get_bounding_box(*args)
9538 class MoveStatisticsScoreState(IMP.kernel.ScoreState):
9539  """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
9540  __swig_setmethods__ = {}
9541  for _s in [IMP.kernel.ScoreState]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9542  __setattr__ = lambda self, name, value: _swig_setattr(self, MoveStatisticsScoreState, name, value)
9543  __swig_getmethods__ = {}
9544  for _s in [IMP.kernel.ScoreState]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9545  __getattr__ = lambda self, name: _swig_getattr(self, MoveStatisticsScoreState, name)
9546  def __init__(self, *args):
9547  """__init__(IMP::core::MoveStatisticsScoreState self, IMP::kernel::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
9548  this = _IMP_core.new_MoveStatisticsScoreState(*args)
9549  try: self.this.append(this)
9550  except: self.this = this
9551  def show_statistics(self, *args):
9552  """
9553  show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)
9554  show_statistics(MoveStatisticsScoreState self)
9555  """
9556  return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
9557 
9558  def reset(self):
9559  """reset(MoveStatisticsScoreState self)"""
9560  return _IMP_core.MoveStatisticsScoreState_reset(self)
9561 
9562  def do_before_evaluate(self):
9563  """do_before_evaluate(MoveStatisticsScoreState self)"""
9564  return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
9565 
9566  def do_after_evaluate(self, *args):
9567  """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
9568  return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, *args)
9569 
9570  def do_get_inputs(self):
9571  """do_get_inputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9572  return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
9573 
9574  def do_get_outputs(self):
9575  """do_get_outputs(MoveStatisticsScoreState self) -> IMP::kernel::ModelObjectsTemp"""
9576  return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
9577 
9578  def get_version_info(self):
9579  """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
9580  return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
9581 
9582  __swig_destroy__ = _IMP_core.delete_MoveStatisticsScoreState
9583  __del__ = lambda self : None;
9584  def __str__(self):
9585  """__str__(MoveStatisticsScoreState self) -> std::string"""
9586  return _IMP_core.MoveStatisticsScoreState___str__(self)
9587 
9588  def __repr__(self):
9589  """__repr__(MoveStatisticsScoreState self) -> std::string"""
9590  return _IMP_core.MoveStatisticsScoreState___repr__(self)
9591 
9592  def get_from(o):
9593  return _object_cast_to_MoveStatisticsScoreState(o)
9594  get_from = staticmethod(get_from)
9595 
9596 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
9597 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
9598 
9599 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
9600 class Typed(IMP.kernel.Decorator):
9601  """Proxy of C++ IMP::core::Typed class"""
9602  __swig_setmethods__ = {}
9603  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9604  __setattr__ = lambda self, name, value: _swig_setattr(self, Typed, name, value)
9605  __swig_getmethods__ = {}
9606  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9607  __getattr__ = lambda self, name: _swig_getattr(self, Typed, name)
9608  def get_type_key():
9609  """get_type_key() -> IntKey"""
9610  return _IMP_core.Typed_get_type_key()
9611 
9612  if _newclass:get_type_key = staticmethod(get_type_key)
9613  __swig_getmethods__["get_type_key"] = lambda x: get_type_key
9614  def __init__(self, *args):
9615  """
9616  __init__(IMP::core::Typed self) -> Typed
9617  __init__(IMP::core::Typed self, Model m, ::IMP::kernel::ParticleIndex id) -> Typed
9618  __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
9619  """
9620  this = _IMP_core.new_Typed(*args)
9621  try: self.this.append(this)
9622  except: self.this = this
9623  def decorate_particle(*args):
9624  """decorate_particle(Particle p) -> Typed"""
9625  return _IMP_core.Typed_decorate_particle(*args)
9626 
9627  if _newclass:decorate_particle = staticmethod(decorate_particle)
9628  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
9629  def particle_is_instance(*args):
9630  """
9631  particle_is_instance(Particle p) -> bool
9632  particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9633  """
9634  return _IMP_core.Typed_particle_is_instance(*args)
9635 
9636  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
9637  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
9638  def show(self, *args):
9639  """
9640  show(Typed self, _ostream out=std::cout)
9641  show(Typed self)
9642  """
9643  return _IMP_core.Typed_show(self, *args)
9644 
9645  def setup_particle(*args):
9646  """
9647  setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9648  setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9649  """
9650  return _IMP_core.Typed_setup_particle(*args)
9651 
9652  if _newclass:setup_particle = staticmethod(setup_particle)
9653  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
9654  def get_is_setup(*args):
9655  """
9656  get_is_setup(_ParticleAdaptor p) -> bool
9657  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9658  """
9659  return _IMP_core.Typed_get_is_setup(*args)
9660 
9661  if _newclass:get_is_setup = staticmethod(get_is_setup)
9662  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
9663  def get_type(self):
9664  """get_type(Typed self) -> ParticleType"""
9665  return _IMP_core.Typed_get_type(self)
9666 
9667  def add_attribute(self, *args):
9668  """
9669  add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
9670  add_attribute(Typed self, FloatKey a0, IMP::Float a1)
9671  add_attribute(Typed self, IntKey a0, IMP::Int a1)
9672  add_attribute(Typed self, StringKey a0, IMP::String a1)
9673  add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
9674  add_attribute(Typed self, ObjectKey a0, IMP::Object * a1)
9675  """
9676  return _IMP_core.Typed_add_attribute(self, *args)
9677 
9678  def get_value(self, *args):
9679  """
9680  get_value(Typed self, FloatKey a0) -> IMP::Float
9681  get_value(Typed self, IntKey a0) -> IMP::Int
9682  get_value(Typed self, StringKey a0) -> IMP::String
9683  get_value(Typed self, ParticleIndexKey a0) -> Particle
9684  get_value(Typed self, ObjectKey a0) -> IMP::Object *
9685  """
9686  return _IMP_core.Typed_get_value(self, *args)
9687 
9688  def set_value(self, *args):
9689  """
9690  set_value(Typed self, FloatKey a0, IMP::Float a1)
9691  set_value(Typed self, IntKey a0, IMP::Int a1)
9692  set_value(Typed self, StringKey a0, IMP::String a1)
9693  set_value(Typed self, ParticleIndexKey a0, Particle a1)
9694  set_value(Typed self, ObjectKey a0, IMP::Object * a1)
9695  """
9696  return _IMP_core.Typed_set_value(self, *args)
9697 
9698  def remove_attribute(self, *args):
9699  """
9700  remove_attribute(Typed self, FloatKey a0)
9701  remove_attribute(Typed self, IntKey a0)
9702  remove_attribute(Typed self, StringKey a0)
9703  remove_attribute(Typed self, ParticleIndexKey a0)
9704  remove_attribute(Typed self, ObjectKey a0)
9705  """
9706  return _IMP_core.Typed_remove_attribute(self, *args)
9707 
9708  def has_attribute(self, *args):
9709  """
9710  has_attribute(Typed self, FloatKey a0) -> bool
9711  has_attribute(Typed self, IntKey a0) -> bool
9712  has_attribute(Typed self, StringKey a0) -> bool
9713  has_attribute(Typed self, ParticleIndexKey a0) -> bool
9714  has_attribute(Typed self, ObjectKey a0) -> bool
9715  """
9716  return _IMP_core.Typed_has_attribute(self, *args)
9717 
9718  def get_derivative(self, *args):
9719  """get_derivative(Typed self, FloatKey a0) -> double"""
9720  return _IMP_core.Typed_get_derivative(self, *args)
9721 
9722  def get_name(self):
9723  """get_name(Typed self) -> std::string"""
9724  return _IMP_core.Typed_get_name(self)
9725 
9726  def clear_caches(self):
9727  """clear_caches(Typed self)"""
9728  return _IMP_core.Typed_clear_caches(self)
9729 
9730  def set_name(self, *args):
9731  """set_name(Typed self, std::string a0)"""
9732  return _IMP_core.Typed_set_name(self, *args)
9733 
9734  def set_check_level(self, *args):
9735  """set_check_level(Typed self, IMP::base::CheckLevel a0)"""
9736  return _IMP_core.Typed_set_check_level(self, *args)
9737 
9738  def add_to_derivative(self, *args):
9739  """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9740  return _IMP_core.Typed_add_to_derivative(self, *args)
9741 
9742  def set_is_optimized(self, *args):
9743  """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
9744  return _IMP_core.Typed_set_is_optimized(self, *args)
9745 
9746  def get_is_optimized(self, *args):
9747  """get_is_optimized(Typed self, FloatKey a0) -> bool"""
9748  return _IMP_core.Typed_get_is_optimized(self, *args)
9749 
9750  def get_check_level(self):
9751  """get_check_level(Typed self) -> IMP::base::CheckLevel"""
9752  return _IMP_core.Typed_get_check_level(self)
9753 
9754  def __eq__(self, *args):
9755  """
9756  __eq__(Typed self, Typed o) -> bool
9757  __eq__(Typed self, Particle d) -> bool
9758  """
9759  return _IMP_core.Typed___eq__(self, *args)
9760 
9761  def __ne__(self, *args):
9762  """
9763  __ne__(Typed self, Typed o) -> bool
9764  __ne__(Typed self, Particle d) -> bool
9765  """
9766  return _IMP_core.Typed___ne__(self, *args)
9767 
9768  def __le__(self, *args):
9769  """
9770  __le__(Typed self, Typed o) -> bool
9771  __le__(Typed self, Particle d) -> bool
9772  """
9773  return _IMP_core.Typed___le__(self, *args)
9774 
9775  def __lt__(self, *args):
9776  """
9777  __lt__(Typed self, Typed o) -> bool
9778  __lt__(Typed self, Particle d) -> bool
9779  """
9780  return _IMP_core.Typed___lt__(self, *args)
9781 
9782  def __ge__(self, *args):
9783  """
9784  __ge__(Typed self, Typed o) -> bool
9785  __ge__(Typed self, Particle d) -> bool
9786  """
9787  return _IMP_core.Typed___ge__(self, *args)
9788 
9789  def __gt__(self, *args):
9790  """
9791  __gt__(Typed self, Typed o) -> bool
9792  __gt__(Typed self, Particle d) -> bool
9793  """
9794  return _IMP_core.Typed___gt__(self, *args)
9795 
9796  def __str__(self):
9797  """__str__(Typed self) -> std::string"""
9798  return _IMP_core.Typed___str__(self)
9799 
9800  def __repr__(self):
9801  """__repr__(Typed self) -> std::string"""
9802  return _IMP_core.Typed___repr__(self)
9803 
9804  __swig_destroy__ = _IMP_core.delete_Typed
9805  __del__ = lambda self : None;
9806 Typed_swigregister = _IMP_core.Typed_swigregister
9807 Typed_swigregister(Typed)
9808 
9809 def Typed_get_type_key():
9810  """Typed_get_type_key() -> IntKey"""
9811  return _IMP_core.Typed_get_type_key()
9812 
9813 def Typed_decorate_particle(*args):
9814  """Typed_decorate_particle(Particle p) -> Typed"""
9815  return _IMP_core.Typed_decorate_particle(*args)
9816 
9817 def Typed_particle_is_instance(*args):
9818  """
9819  particle_is_instance(Particle p) -> bool
9820  Typed_particle_is_instance(Model m, IMP::kernel::ParticleIndex pi) -> bool
9821  """
9822  return _IMP_core.Typed_particle_is_instance(*args)
9823 
9824 def Typed_setup_particle(*args):
9825  """
9826  setup_particle(Model m, IMP::kernel::ParticleIndex pi, ParticleType t) -> Typed
9827  Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
9828  """
9829  return _IMP_core.Typed_setup_particle(*args)
9830 
9831 def Typed_get_is_setup(*args):
9832  """
9833  get_is_setup(_ParticleAdaptor p) -> bool
9834  Typed_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
9835  """
9836  return _IMP_core.Typed_get_is_setup(*args)
9837 
9838 
9839 def __lshift__(*args):
9840  """
9841  __lshift__(_ostream out, XYZ n) -> _ostream
9842  __lshift__(_ostream out, XYZR n) -> _ostream
9843  __lshift__(_ostream out, Centroid n) -> _ostream
9844  __lshift__(_ostream out, Cover n) -> _ostream
9845  __lshift__(_ostream out, Reference n) -> _ostream
9846  __lshift__(_ostream out, RigidMember n) -> _ostream
9847  __lshift__(_ostream out, RigidBody n) -> _ostream
9848  __lshift__(_ostream out, Typed n) -> _ostream
9849  """
9850  return _IMP_core.__lshift__(*args)
9851 class WriteRestraintScoresOptimizerState(IMP.kernel.OptimizerState):
9852  """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
9853  __swig_setmethods__ = {}
9854  for _s in [IMP.kernel.OptimizerState]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9855  __setattr__ = lambda self, name, value: _swig_setattr(self, WriteRestraintScoresOptimizerState, name, value)
9856  __swig_getmethods__ = {}
9857  for _s in [IMP.kernel.OptimizerState]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9858  __getattr__ = lambda self, name: _swig_getattr(self, WriteRestraintScoresOptimizerState, name)
9859  def __init__(self, *args):
9860  """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::kernel::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
9861  this = _IMP_core.new_WriteRestraintScoresOptimizerState(*args)
9862  try: self.this.append(this)
9863  except: self.this = this
9864  def get_version_info(self):
9865  """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
9866  return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
9867 
9868  __swig_destroy__ = _IMP_core.delete_WriteRestraintScoresOptimizerState
9869  __del__ = lambda self : None;
9870  def __str__(self):
9871  """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
9872  return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
9873 
9874  def __repr__(self):
9875  """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
9876  return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
9877 
9878  def get_from(o):
9879  return _object_cast_to_WriteRestraintScoresOptimizerState(o)
9880  get_from = staticmethod(get_from)
9881 
9882 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
9883 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
9884 
9885 
9886 def assign_blame(*args):
9887  """assign_blame(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, FloatKey attribute)"""
9888  return _IMP_core.assign_blame(*args)
9889 
9890 def create_blame_geometries(*args):
9891  """
9892  create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX,
9893  std::string name=std::string()) -> IMP::display::Geometries
9894  create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps, double max=NO_MAX) -> IMP::display::Geometries
9895  create_blame_geometries(IMP::kernel::RestraintsTemp const & rs, IMP::kernel::ParticlesTemp const & ps) -> IMP::display::Geometries
9896  """
9897  return _IMP_core.create_blame_geometries(*args)
9898 
9900  """
9901  get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9902  get_transformation_aligning_first_to_second(IMP::kernel::ParticlesTemp const & a, IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
9903  get_transformation_aligning_first_to_second(IMP::base::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::kernel::ParticlesTemp const & b) -> Transformation3D
9904  """
9905  return _IMP_core.get_transformation_aligning_first_to_second(*args)
9907  """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
9908  __swig_setmethods__ = {}
9909  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9910  __setattr__ = lambda self, name, value: _swig_setattr(self, TruncatedHarmonicLowerBound, name, value)
9911  __swig_getmethods__ = {}
9912  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9913  __getattr__ = lambda self, name: _swig_getattr(self, TruncatedHarmonicLowerBound, name)
9914  def __init__(self, *args):
9915  """
9916  __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
9917  __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
9918  """
9919  this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
9920  try: self.this.append(this)
9921  except: self.this = this
9922  def get_version_info(self):
9923  """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
9924  return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
9925 
9926  __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicLowerBound
9927  __del__ = lambda self : None;
9928  def __str__(self):
9929  """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
9930  return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
9931 
9932  def __repr__(self):
9933  """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
9934  return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
9935 
9936  def get_from(o):
9937  return _object_cast_to_TruncatedHarmonic(o)
9938  get_from = staticmethod(get_from)
9939 
9940 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
9941 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
9942 
9944  """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
9945  __swig_setmethods__ = {}
9946  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9947  __setattr__ = lambda self, name, value: _swig_setattr(self, TruncatedHarmonicUpperBound, name, value)
9948  __swig_getmethods__ = {}
9949  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9950  __getattr__ = lambda self, name: _swig_getattr(self, TruncatedHarmonicUpperBound, name)
9951  def __init__(self, *args):
9952  """
9953  __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
9954  __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
9955  """
9956  this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
9957  try: self.this.append(this)
9958  except: self.this = this
9959  def get_version_info(self):
9960  """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
9961  return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
9962 
9963  __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicUpperBound
9964  __del__ = lambda self : None;
9965  def __str__(self):
9966  """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
9967  return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
9968 
9969  def __repr__(self):
9970  """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
9971  return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
9972 
9973  def get_from(o):
9974  return _object_cast_to_TruncatedHarmonic(o)
9975  get_from = staticmethod(get_from)
9976 
9977 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
9978 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
9979 
9981  """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
9982  __swig_setmethods__ = {}
9983  for _s in [IMP.kernel.UnaryFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
9984  __setattr__ = lambda self, name, value: _swig_setattr(self, TruncatedHarmonicBound, name, value)
9985  __swig_getmethods__ = {}
9986  for _s in [IMP.kernel.UnaryFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
9987  __getattr__ = lambda self, name: _swig_getattr(self, TruncatedHarmonicBound, name)
9988  def __init__(self, *args):
9989  """
9990  __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
9991  __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
9992  """
9993  this = _IMP_core.new_TruncatedHarmonicBound(*args)
9994  try: self.this.append(this)
9995  except: self.this = this
9996  def get_version_info(self):
9997  """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
9998  return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
9999 
10000  __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicBound
10001  __del__ = lambda self : None;
10002  def __str__(self):
10003  """__str__(TruncatedHarmonicBound self) -> std::string"""
10004  return _IMP_core.TruncatedHarmonicBound___str__(self)
10005 
10006  def __repr__(self):
10007  """__repr__(TruncatedHarmonicBound self) -> std::string"""
10008  return _IMP_core.TruncatedHarmonicBound___repr__(self)
10009 
10010  def get_from(o):
10011  return _object_cast_to_TruncatedHarmonic(o)
10012  get_from = staticmethod(get_from)
10013 
10014 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
10015 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
10016 
10017 class ParticleType(IMP.base._Value):
10018  """Proxy of C++ IMP::Key<(34897493,true)> class"""
10019  __swig_setmethods__ = {}
10020  for _s in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10021  __setattr__ = lambda self, name, value: _swig_setattr(self, ParticleType, name, value)
10022  __swig_getmethods__ = {}
10023  for _s in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10024  __getattr__ = lambda self, name: _swig_getattr(self, ParticleType, name)
10025  def __init__(self, *args):
10026  """
10027  __init__(IMP::Key<(34897493,true)> self) -> ParticleType
10028  __init__(IMP::Key<(34897493,true)> self, std::string c) -> ParticleType
10029  __init__(IMP::Key<(34897493,true)> self, unsigned int i) -> ParticleType
10030  """
10031  this = _IMP_core.new_ParticleType(*args)
10032  try: self.this.append(this)
10033  except: self.this = this
10034  def add_key(*args):
10035  """add_key(std::string sc) -> unsigned int"""
10036  return _IMP_core.ParticleType_add_key(*args)
10037 
10038  if _newclass:add_key = staticmethod(add_key)
10039  __swig_getmethods__["add_key"] = lambda x: add_key
10040  def get_key_exists(*args):
10041  """get_key_exists(std::string sc) -> bool"""
10042  return _IMP_core.ParticleType_get_key_exists(*args)
10043 
10044  if _newclass:get_key_exists = staticmethod(get_key_exists)
10045  __swig_getmethods__["get_key_exists"] = lambda x: get_key_exists
10046  def get_string(self):
10047  """get_string(ParticleType self) -> std::string const"""
10048  return _IMP_core.ParticleType_get_string(self)
10049 
10050  def __eq__(self, *args):
10051  """__eq__(ParticleType self, ParticleType o) -> bool"""
10052  return _IMP_core.ParticleType___eq__(self, *args)
10053 
10054  def __ne__(self, *args):
10055  """__ne__(ParticleType self, ParticleType o) -> bool"""
10056  return _IMP_core.ParticleType___ne__(self, *args)
10057 
10058  def __lt__(self, *args):
10059  """__lt__(ParticleType self, ParticleType o) -> bool"""
10060  return _IMP_core.ParticleType___lt__(self, *args)
10061 
10062  def __gt__(self, *args):
10063  """__gt__(ParticleType self, ParticleType o) -> bool"""
10064  return _IMP_core.ParticleType___gt__(self, *args)
10065 
10066  def __ge__(self, *args):
10067  """__ge__(ParticleType self, ParticleType o) -> bool"""
10068  return _IMP_core.ParticleType___ge__(self, *args)
10069 
10070  def __le__(self, *args):
10071  """__le__(ParticleType self, ParticleType o) -> bool"""
10072  return _IMP_core.ParticleType___le__(self, *args)
10073 
10074  def __hash__(self):
10075  """__hash__(ParticleType self) -> std::size_t"""
10076  return _IMP_core.ParticleType___hash__(self)
10077 
10078  def show(self, *args):
10079  """
10080  show(ParticleType self, _ostream out=std::cout)
10081  show(ParticleType self)
10082  """
10083  return _IMP_core.ParticleType_show(self, *args)
10084 
10085  def add_alias(*args):
10086  """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10087  return _IMP_core.ParticleType_add_alias(*args)
10088 
10089  if _newclass:add_alias = staticmethod(add_alias)
10090  __swig_getmethods__["add_alias"] = lambda x: add_alias
10091  def get_index(self):
10092  """get_index(ParticleType self) -> unsigned int"""
10093  return _IMP_core.ParticleType_get_index(self)
10094 
10095  def show_all(*args):
10096  """show_all(_ostream out)"""
10097  return _IMP_core.ParticleType_show_all(*args)
10098 
10099  if _newclass:show_all = staticmethod(show_all)
10100  __swig_getmethods__["show_all"] = lambda x: show_all
10101  def get_all_strings():
10102  """get_all_strings() -> IMP::base::Vector< std::string >"""
10103  return _IMP_core.ParticleType_get_all_strings()
10104 
10105  if _newclass:get_all_strings = staticmethod(get_all_strings)
10106  __swig_getmethods__["get_all_strings"] = lambda x: get_all_strings
10107  def get_number_unique():
10108  """get_number_unique() -> unsigned int"""
10109  return _IMP_core.ParticleType_get_number_unique()
10110 
10111  if _newclass:get_number_unique = staticmethod(get_number_unique)
10112  __swig_getmethods__["get_number_unique"] = lambda x: get_number_unique
10113  def __str__(self):
10114  """__str__(ParticleType self) -> std::string"""
10115  return _IMP_core.ParticleType___str__(self)
10116 
10117  def __repr__(self):
10118  """__repr__(ParticleType self) -> std::string"""
10119  return _IMP_core.ParticleType___repr__(self)
10120 
10121  __swig_destroy__ = _IMP_core.delete_ParticleType
10122  __del__ = lambda self : None;
10123 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
10124 ParticleType_swigregister(ParticleType)
10125 
10126 def ParticleType_add_key(*args):
10127  """ParticleType_add_key(std::string sc) -> unsigned int"""
10128  return _IMP_core.ParticleType_add_key(*args)
10129 
10130 def ParticleType_get_key_exists(*args):
10131  """ParticleType_get_key_exists(std::string sc) -> bool"""
10132  return _IMP_core.ParticleType_get_key_exists(*args)
10133 
10134 def ParticleType_add_alias(*args):
10135  """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
10136  return _IMP_core.ParticleType_add_alias(*args)
10137 
10138 def ParticleType_show_all(*args):
10139  """ParticleType_show_all(_ostream out)"""
10140  return _IMP_core.ParticleType_show_all(*args)
10141 
10142 def ParticleType_get_all_strings():
10143  """ParticleType_get_all_strings() -> IMP::base::Vector< std::string >"""
10144  return _IMP_core.ParticleType_get_all_strings()
10145 
10146 def ParticleType_get_number_unique():
10147  """ParticleType_get_number_unique() -> unsigned int"""
10148  return _IMP_core.ParticleType_get_number_unique()
10149 
10151  """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
10152  __swig_setmethods__ = {}
10153  for _s in [IMP.kernel.SingletonScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10154  __setattr__ = lambda self, name, value: _swig_setattr(self, AttributeSingletonScore, name, value)
10155  __swig_getmethods__ = {}
10156  for _s in [IMP.kernel.SingletonScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10157  __getattr__ = lambda self, name: _swig_getattr(self, AttributeSingletonScore, name)
10158  __repr__ = _swig_repr
10159  def __init__(self, *args):
10160  """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
10161  this = _IMP_core.new_AttributeSingletonScore(*args)
10162  try: self.this.append(this)
10163  except: self.this = this
10164  def do_get_inputs(self, *args):
10165  """do_get_inputs(AttributeSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10166  return _IMP_core.AttributeSingletonScore_do_get_inputs(self, *args)
10167 
10168  def get_version_info(self):
10169  """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
10170  return _IMP_core.AttributeSingletonScore_get_version_info(self)
10171 
10172  __swig_destroy__ = _IMP_core.delete_AttributeSingletonScore
10173  __del__ = lambda self : None;
10174 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
10175 AttributeSingletonScore_swigregister(AttributeSingletonScore)
10176 
10177 
10179  """create_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
10180  return _IMP_core.create_attribute_singleton_score(*args)
10181 class BoundingBox3DSingletonScore(IMP.kernel.SingletonScore):
10182  """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
10183  __swig_setmethods__ = {}
10184  for _s in [IMP.kernel.SingletonScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10185  __setattr__ = lambda self, name, value: _swig_setattr(self, BoundingBox3DSingletonScore, name, value)
10186  __swig_getmethods__ = {}
10187  for _s in [IMP.kernel.SingletonScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10188  __getattr__ = lambda self, name: _swig_getattr(self, BoundingBox3DSingletonScore, name)
10189  __repr__ = _swig_repr
10190  def __init__(self, *args):
10191  """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10192  this = _IMP_core.new_BoundingBox3DSingletonScore(*args)
10193  try: self.this.append(this)
10194  except: self.this = this
10195  def do_get_inputs(self, *args):
10196  """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10197  return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, *args)
10198 
10199  def get_version_info(self):
10200  """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
10201  return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
10202 
10203  __swig_destroy__ = _IMP_core.delete_BoundingBox3DSingletonScore
10204  __del__ = lambda self : None;
10205 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
10206 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
10207 
10208 
10209 def create_bounding_box_3d_singleton_score(*args):
10210  """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
10211  return _IMP_core.create_bounding_box_3d_singleton_score(*args)
10213  """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
10214  __swig_setmethods__ = {}
10215  for _s in [IMP.kernel.SingletonScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
10216  __setattr__ = lambda self, name, value: _swig_setattr(self, DistanceToSingletonScore, name, value)
10217  __swig_getmethods__ = {}
10218  for _s in [IMP.kernel.SingletonScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
10219  __getattr__ = lambda self, name: _swig_getattr(self, DistanceToSingletonScore, name)
10220  __repr__ = _swig_repr
10221  def __init__(self, *args):
10222  """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10223  this = _IMP_core.new_DistanceToSingletonScore(*args)
10224  try: self.this.append(this)
10225  except: self.this = this
10226  def do_get_inputs(self, *args):
10227  """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
10228  return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, *args)
10229 
10230  def get_version_info(self):
10231  """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
10232  return _IMP_core.DistanceToSingletonScore_get_version_info(self)
10233 
10234  __swig_destroy__ = _IMP_core.delete_DistanceToSingletonScore
10235  __del__ = lambda self : None;
10236 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
10237 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
10238 
10239 
10240 def create_distance_to_singleton_score(*args):
10241  """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
10242  return _IMP_core.create_distance_to_singleton_score(*args)
10243 
10244 def get_module_version():
10245  """get_module_version() -> std::string const"""
10246  return _IMP_core.get_module_version()
10247 
10248 def get_example_path(*args):
10249  """get_example_path(std::string fname) -> std::string"""
10250  return _IMP_core.get_example_path(*args)
10251 
10252 def get_data_path(*args):
10253  """get_data_path(std::string fname) -> std::string"""
10254  return _IMP_core.get_data_path(*args)
10255 import _version_check
10256 _version_check.check_version(get_module_version())
10257 
10258 # This file is compatible with both classic and new-style classes.
10259 
10260 
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)
ParticleIndexes get_indexes(const ParticlesTemp &ps)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
ParticlesTemp get_output_particles(const ModelObjectsTemp &mos)
void set_vector_d_geometry(VectorD< D > &g, const VectorD< D > &v)
Definition: VectorD.h:614
Sphere3D get_enclosing_sphere(const Sphere3Ds &ss)
Return a sphere containing the listed spheres.
A base class for geometry contained in particles.
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
Shared optimizer state that is invoked upon commitment of new coordinates.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
Definition: XYZ.h:143
See IMP.cgal for more information.
Definition: cgal_config.h:107
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
algebra::ReferenceFrame3D get_initial_reference_frame(kernel::Model *m, const kernel::ParticleIndexes &pis)
See IMP.base for more information.
Definition: base/Array.h:20
Abstract predicate function.
void add_rigid_body_cache_key(ObjectKey k)
kernel::RestraintsTemp get_restraints(const Subset &s, const ParticleStatesTable *pst, const DependencyGraph &dg, kernel::RestraintSet *rs)
Abstract single variable functor class for score functions.
ScoreStates maintian invariants in the Model.
See IMP.score_functor for more information.
Definition: AddScores.h:14
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
A base class for modifiers of ParticlesTemp.
Abstract predicate function.
void assign_blame(const kernel::RestraintsTemp &rs, const kernel::ParticlesTemp &ps, FloatKey attribute)
Abstract score function.
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.
Definition: Plane3D.h:68
void transform(Hierarchy h, const algebra::Transformation3D &tr)
F visit_depth_first(HD d, F f)
Apply functor F to each particle, traversing the hierarchy depth first.
void add_particles(RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
See IMP.kernel for more information.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
A restraint is a term in an IMP ScoringFunction.
XYZRs create_xyzr_particles(kernel::Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
Abstract predicate function.
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Common base class for heavy weight IMP objects.
Base class for all optimizers.
Abstract predicate function.
const SphereD< D > & get_sphere_d_geometry(const SphereD< D > &g)
Definition: SphereD.h:89
Base class for optimizers that act on individual attributes.
void set_sphere_d_geometry(SphereD< D > &g, const SphereD< D > &v)
Definition: SphereD.h:89
Key< 34897493, true > ParticleType
Definition: Typed.h:31
Vector3D get_centroid(const Vector3Ds &ps)
Returns the centroid of a set of vectors.
Definition: Vector3D.h:56
See IMP.algebra for more information.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
Abstract score function.
Base class for all samplers.
kernel::ParticlesTemp create_rigid_bodies(kernel::Model *m, unsigned int n, bool no_members=false)
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Implement a constraint on the Model.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
A specialization.
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
A specialization for the upper bound.
BallMover
Definition: BallMover.py:1
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
See IMP.display for more information.
Definition: BildWriter.h:20
CheckLevel get_check_level()
Get the current audit mode.
Abstract class to implement hierarchical methods.
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
Abstract score function.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
A specialization for the lower bound.
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
Definition: BoundingBoxD.h:160
GenericAttributeSingletonScore< UF > * create_attribute_singleton_score(UF *uf, FloatKey k)