IMP logo
IMP Reference Guide  develop.18ca3ba1ae,2021/02/28
The Integrative Modeling Platform
example/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
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 # This wrapper is part of IMP,
8 # Copyright 2007-2021 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_example', [dirname(__file__)])
23  except ImportError:
24  import _IMP_example
25  return _IMP_example
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_example', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_example = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_example
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_EXAMPLE_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_EXAMPLE_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_example.delete_IMP_EXAMPLE_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
125  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
131  incr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
132  """
133  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
139  decr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
140  """
141  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
151  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator"""
156  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
161  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
166  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
171  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
176  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
181  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
186  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
191  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
196  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
201  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator
207  __sub__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_EXAMPLE_SwigPyIterator_swigregister = _IMP_example.IMP_EXAMPLE_SwigPyIterator_swigregister
214 IMP_EXAMPLE_SwigPyIterator_swigregister(IMP_EXAMPLE_SwigPyIterator)
215 
216 
217 _value_types=[]
218 _object_types=[]
219 _raii_types=[]
220 _plural_types=[]
221 
222 
223 _IMP_example.IMP_DEBUG_swigconstant(_IMP_example)
224 IMP_DEBUG = _IMP_example.IMP_DEBUG
225 
226 _IMP_example.IMP_RELEASE_swigconstant(_IMP_example)
227 IMP_RELEASE = _IMP_example.IMP_RELEASE
228 
229 _IMP_example.IMP_SILENT_swigconstant(_IMP_example)
230 IMP_SILENT = _IMP_example.IMP_SILENT
231 
232 _IMP_example.IMP_PROGRESS_swigconstant(_IMP_example)
233 IMP_PROGRESS = _IMP_example.IMP_PROGRESS
234 
235 _IMP_example.IMP_TERSE_swigconstant(_IMP_example)
236 IMP_TERSE = _IMP_example.IMP_TERSE
237 
238 _IMP_example.IMP_VERBOSE_swigconstant(_IMP_example)
239 IMP_VERBOSE = _IMP_example.IMP_VERBOSE
240 
241 _IMP_example.IMP_MEMORY_swigconstant(_IMP_example)
242 IMP_MEMORY = _IMP_example.IMP_MEMORY
243 
244 _IMP_example.IMP_NONE_swigconstant(_IMP_example)
245 IMP_NONE = _IMP_example.IMP_NONE
246 
247 _IMP_example.IMP_USAGE_swigconstant(_IMP_example)
248 IMP_USAGE = _IMP_example.IMP_USAGE
249 
250 _IMP_example.IMP_INTERNAL_swigconstant(_IMP_example)
251 IMP_INTERNAL = _IMP_example.IMP_INTERNAL
252 
253 _IMP_example.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_example)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_example.IMP_KERNEL_HAS_LOG4CXX
255 
256 _IMP_example.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_example)
257 IMP_COMPILER_HAS_AUTO = _IMP_example.IMP_COMPILER_HAS_AUTO
258 
259 _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_example)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR
261 
262 _IMP_example.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_example)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_example.IMP_COMPILER_HAS_UNIQUE_PTR
264 
265 _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM
267 
268 _IMP_example.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_example)
269 IMP_KERNEL_HAS_NUMPY = _IMP_example.IMP_KERNEL_HAS_NUMPY
270 
271 _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_example)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS
273 
274 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_example)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
276 
277 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_example)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
279 
280 _IMP_example.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_example)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_example.IMPKERNEL_SHOW_WARNINGS
282 
283 import sys
284 class _DirectorObjects(object):
285  """@internal Simple class to keep references to director objects
286  to prevent premature deletion."""
287  def __init__(self):
288  self._objects = []
289  def register(self, obj):
290  """Take a reference to a director object; will only work for
291  refcounted C++ classes"""
292  if hasattr(obj, 'get_ref_count'):
293  self._objects.append(obj)
294  def cleanup(self):
295  """Only drop our reference and allow cleanup by Python if no other
296  Python references exist (we hold 3 references: one in self._objects,
297  one in x, and one in the argument list for getrefcount) *and* no
298  other C++ references exist (the Python object always holds one)"""
299  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
300  or x.get_ref_count() > 1]
301 # Do in two steps so the references are kept until the end of the
302 # function (deleting references may trigger a fresh call to this method)
303  self._objects = objs
304  def get_object_count(self):
305  """Get number of director objects (useful for testing only)"""
306  return len(self._objects)
307 _director_objects = _DirectorObjects()
308 
309 class _ostream(object):
310  """Proxy of C++ std::ostream class"""
311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
312 
313  def __init__(self, *args, **kwargs):
314  raise AttributeError("No constructor defined")
315  __repr__ = _swig_repr
316 
317  def write(self, osa_buf):
318  """write(_ostream self, char const * osa_buf)"""
319  return _IMP_example._ostream_write(self, osa_buf)
320 
321 _ostream_swigregister = _IMP_example._ostream_swigregister
322 _ostream_swigregister(_ostream)
323 
324 
325 _IMP_example.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_example)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_example.IMP_COMPILER_HAS_OVERRIDE
327 
328 _IMP_example.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_example)
329 IMP_COMPILER_HAS_FINAL = _IMP_example.IMP_COMPILER_HAS_FINAL
330 
331 _IMP_example.IMP_HAS_NOEXCEPT_swigconstant(_IMP_example)
332 IMP_HAS_NOEXCEPT = _IMP_example.IMP_HAS_NOEXCEPT
333 
334 _IMP_example.IMP_C_OPEN_BINARY_swigconstant(_IMP_example)
335 IMP_C_OPEN_BINARY = _IMP_example.IMP_C_OPEN_BINARY
336 import IMP
337 
338 _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM
340 
341 _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
343 
344 _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM
346 
347 _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
349 
350 _IMP_example.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_example)
351 IMP_CGAL_HAS_NUMPY = _IMP_example.IMP_CGAL_HAS_NUMPY
352 
353 _IMP_example.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_example)
354 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
355 import IMP.cgal
356 
357 _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_example)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
359 
360 _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 
363 _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 
366 _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 
369 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
371 
372 _IMP_example.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_example)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
374 
375 _IMP_example.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_example)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_example.IMP_ALGEBRA_HAS_NUMPY
377 
378 _IMP_example.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_example)
379 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
380 
381 _IMP_example.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_example)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
383 import IMP.algebra
384 
385 _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_example)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
387 
388 _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
390 
391 _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
393 
394 _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
396 
397 _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
399 
400 _IMP_example.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_example)
401 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
402 
403 _IMP_example.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_example)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_example.IMP_DISPLAY_HAS_NUMPY
405 
406 _IMP_example.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_example)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
408 import IMP.display
409 
410 _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_example)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
412 
413 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
415 
416 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
418 
419 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
421 
422 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
424 
425 _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_example)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
427 
428 _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_example)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
430 
431 _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_example)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY
433 
434 _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_example)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
436 import IMP.score_functor
437 
438 _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_example)
439 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
440 
441 _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
442 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
443 
444 _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
445 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
446 
447 _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
448 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
449 
450 _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
451 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
452 
453 _IMP_example.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_example)
454 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
455 
456 _IMP_example.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_example)
457 IMP_STATISTICS_HAS_NUMPY = _IMP_example.IMP_STATISTICS_HAS_NUMPY
458 
459 _IMP_example.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_example)
460 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
461 import IMP.statistics
462 
463 _IMP_example.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_example)
464 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
465 
466 _IMP_example.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
467 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
468 
469 _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
470 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
471 
472 _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
473 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
474 
475 _IMP_example.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
476 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
477 
478 _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
479 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
480 
481 _IMP_example.IMP_CORE_HAS_CGAL_swigconstant(_IMP_example)
482 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
483 
484 _IMP_example.IMP_CORE_HAS_HDF5_swigconstant(_IMP_example)
485 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
486 
487 _IMP_example.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_example)
488 IMP_CORE_HAS_NUMPY = _IMP_example.IMP_CORE_HAS_NUMPY
489 
490 _IMP_example.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_example)
491 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
492 import IMP.core
493 
494 _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
495 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
496 
497 _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_example)
498 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
499 
500 _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
501 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
502 
503 _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_example)
504 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
505 
506 _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
507 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
508 
509 _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
510 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
511 
512 _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
513 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
514 
515 _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
516 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
517 
518 _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
519 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
520 
521 _IMP_example.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_example)
522 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
523 
524 _IMP_example.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_example)
525 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
526 
527 _IMP_example.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_example)
528 IMP_CONTAINER_HAS_NUMPY = _IMP_example.IMP_CONTAINER_HAS_NUMPY
529 
530 _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_example)
531 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM
532 
533 _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_example)
534 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
535 
536 _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_example)
537 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP
538 
539 _IMP_example.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_example)
540 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
541 import IMP.container
542 
543 _IMP_example.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_example)
544 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
545 
546 _IMP_example.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_example)
547 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
548 
549 _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
550 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
551 
552 _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
553 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
554 
555 _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
556 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
557 
558 _IMP_example.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
559 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
560 
561 _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
562 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
563 
564 _IMP_example.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_example)
565 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
566 
567 _IMP_example.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_example)
568 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
569 
570 _IMP_example.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_example)
571 IMP_ATOM_HAS_NUMPY = _IMP_example.IMP_ATOM_HAS_NUMPY
572 
573 _IMP_example.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
574 IMP_ATOM_HAS_PYTHON_IHM = _IMP_example.IMP_ATOM_HAS_PYTHON_IHM
575 
576 _IMP_example.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_example)
577 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
578 
579 _IMP_example.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_example)
580 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
581 
582 _IMP_example.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_example)
583 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
584 
585 _IMP_example.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_example)
586 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
587 
588 _IMP_example.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_example)
589 IMP_CHAIN_TYPE_INDEX = _IMP_example.IMP_CHAIN_TYPE_INDEX
590 import IMP.atom
591 
592 _IMP_example.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_example)
593 IMP_EM_HAS_IMP_CGAL = _IMP_example.IMP_EM_HAS_IMP_CGAL
594 
595 _IMP_example.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
596 IMP_EM_HAS_IMP_CONTAINER = _IMP_example.IMP_EM_HAS_IMP_CONTAINER
597 
598 _IMP_example.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
599 IMP_EM_HAS_IMP_DISPLAY = _IMP_example.IMP_EM_HAS_IMP_DISPLAY
600 
601 _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
602 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR
603 
604 _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
605 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM
606 
607 _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
608 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
609 
610 _IMP_example.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
611 IMP_EM_HAS_BOOST_RANDOM = _IMP_example.IMP_EM_HAS_BOOST_RANDOM
612 
613 _IMP_example.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
614 IMP_EM_HAS_BOOST_REGEX = _IMP_example.IMP_EM_HAS_BOOST_REGEX
615 
616 _IMP_example.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
617 IMP_EM_HAS_BOOST_SYSTEM = _IMP_example.IMP_EM_HAS_BOOST_SYSTEM
618 
619 _IMP_example.IMP_EM_HAS_CGAL_swigconstant(_IMP_example)
620 IMP_EM_HAS_CGAL = _IMP_example.IMP_EM_HAS_CGAL
621 
622 _IMP_example.IMP_EM_HAS_HDF5_swigconstant(_IMP_example)
623 IMP_EM_HAS_HDF5 = _IMP_example.IMP_EM_HAS_HDF5
624 
625 _IMP_example.IMP_EM_HAS_NUMPY_swigconstant(_IMP_example)
626 IMP_EM_HAS_NUMPY = _IMP_example.IMP_EM_HAS_NUMPY
627 
628 _IMP_example.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
629 IMP_EM_HAS_PYTHON_IHM = _IMP_example.IMP_EM_HAS_PYTHON_IHM
630 
631 _IMP_example.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_example)
632 IMPEM_SHOW_WARNINGS = _IMP_example.IMPEM_SHOW_WARNINGS
633 import IMP.em
634 
635 _IMP_example.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_example)
636 IMP_SAXS_HAS_IMP_CGAL = _IMP_example.IMP_SAXS_HAS_IMP_CGAL
637 
638 _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
639 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER
640 
641 _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
642 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY
643 
644 _IMP_example.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_example)
645 IMP_SAXS_HAS_IMP_KERNEL = _IMP_example.IMP_SAXS_HAS_IMP_KERNEL
646 
647 _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
648 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
649 
650 _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
651 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM
652 
653 _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
654 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
655 
656 _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
657 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM
658 
659 _IMP_example.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_example)
660 IMP_SAXS_HAS_BOOST_REGEX = _IMP_example.IMP_SAXS_HAS_BOOST_REGEX
661 
662 _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
663 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM
664 
665 _IMP_example.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_example)
666 IMP_SAXS_HAS_CGAL = _IMP_example.IMP_SAXS_HAS_CGAL
667 
668 _IMP_example.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_example)
669 IMP_SAXS_HAS_HDF5 = _IMP_example.IMP_SAXS_HAS_HDF5
670 
671 _IMP_example.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_example)
672 IMP_SAXS_HAS_NUMPY = _IMP_example.IMP_SAXS_HAS_NUMPY
673 
674 _IMP_example.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_example)
675 IMP_SAXS_HAS_PYTHON_IHM = _IMP_example.IMP_SAXS_HAS_PYTHON_IHM
676 
677 _IMP_example.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_example)
678 IMPSAXS_SHOW_WARNINGS = _IMP_example.IMPSAXS_SHOW_WARNINGS
679 import IMP.saxs
680 
681 _IMP_example.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_example)
682 IMP_ISD_HAS_IMP_CGAL = _IMP_example.IMP_ISD_HAS_IMP_CGAL
683 
684 _IMP_example.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
685 IMP_ISD_HAS_IMP_DISPLAY = _IMP_example.IMP_ISD_HAS_IMP_DISPLAY
686 
687 _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
688 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
689 
690 _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
691 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM
692 
693 _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
694 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
695 
696 _IMP_example.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
697 IMP_ISD_HAS_BOOST_RANDOM = _IMP_example.IMP_ISD_HAS_BOOST_RANDOM
698 
699 _IMP_example.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_example)
700 IMP_ISD_HAS_BOOST_REGEX = _IMP_example.IMP_ISD_HAS_BOOST_REGEX
701 
702 _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
703 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM
704 
705 _IMP_example.IMP_ISD_HAS_CGAL_swigconstant(_IMP_example)
706 IMP_ISD_HAS_CGAL = _IMP_example.IMP_ISD_HAS_CGAL
707 
708 _IMP_example.IMP_ISD_HAS_HDF5_swigconstant(_IMP_example)
709 IMP_ISD_HAS_HDF5 = _IMP_example.IMP_ISD_HAS_HDF5
710 
711 _IMP_example.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_example)
712 IMP_ISD_HAS_NUMPY = _IMP_example.IMP_ISD_HAS_NUMPY
713 
714 _IMP_example.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_example)
715 IMP_ISD_HAS_PYTHON_IHM = _IMP_example.IMP_ISD_HAS_PYTHON_IHM
716 
717 _IMP_example.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_example)
718 IMPISD_SHOW_WARNINGS = _IMP_example.IMPISD_SHOW_WARNINGS
719 import IMP.isd
720 
721 _IMP_example.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_example)
722 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
723 
724 _IMP_example.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_example)
725 IMP_RMF_HAS_IMP_EM = _IMP_example.IMP_RMF_HAS_IMP_EM
726 
727 _IMP_example.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_example)
728 IMP_RMF_HAS_IMP_SAXS = _IMP_example.IMP_RMF_HAS_IMP_SAXS
729 
730 _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
731 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
732 
733 _IMP_example.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
734 IMP_RMF_HAS_IMP_STATISTICS = _IMP_example.IMP_RMF_HAS_IMP_STATISTICS
735 
736 _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
737 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
738 
739 _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
740 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
741 
742 _IMP_example.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
743 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
744 
745 _IMP_example.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_example)
746 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
747 
748 _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
749 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
750 
751 _IMP_example.IMP_RMF_HAS_CGAL_swigconstant(_IMP_example)
752 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
753 
754 _IMP_example.IMP_RMF_HAS_HDF5_swigconstant(_IMP_example)
755 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
756 
757 _IMP_example.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_example)
758 IMP_RMF_HAS_NUMPY = _IMP_example.IMP_RMF_HAS_NUMPY
759 
760 _IMP_example.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_example)
761 IMP_RMF_HAS_PYTHON_IHM = _IMP_example.IMP_RMF_HAS_PYTHON_IHM
762 
763 _IMP_example.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_example)
764 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
765 import IMP.rmf
766 import RMF
767 
768 _IMP_example.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_example)
769 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
770 
771 _IMP_example.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_example)
772 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
773 
774 _IMP_example.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_example)
775 IMP_DOMINO_HAS_IMP_EM = _IMP_example.IMP_DOMINO_HAS_IMP_EM
776 
777 _IMP_example.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_example)
778 IMP_DOMINO_HAS_IMP_ISD = _IMP_example.IMP_DOMINO_HAS_IMP_ISD
779 
780 _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_example)
781 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
782 
783 _IMP_example.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_example)
784 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
785 
786 _IMP_example.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_example)
787 IMP_DOMINO_HAS_IMP_SAXS = _IMP_example.IMP_DOMINO_HAS_IMP_SAXS
788 
789 _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
790 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
791 
792 _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
793 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
794 
795 _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
796 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
797 
798 _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
799 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
800 
801 _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_example)
802 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
803 
804 _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
805 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
806 
807 _IMP_example.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_example)
808 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
809 
810 _IMP_example.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_example)
811 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
812 
813 _IMP_example.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_example)
814 IMP_DOMINO_HAS_NUMPY = _IMP_example.IMP_DOMINO_HAS_NUMPY
815 
816 _IMP_example.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_example)
817 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
818 
819 _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_example)
820 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM
821 
822 _IMP_example.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_example)
823 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
824 import RMF_HDF5
825 import IMP.domino
826 
827 _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
828 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
829 
830 _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL_swigconstant(_IMP_example)
831 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
832 
833 _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
834 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
835 
836 _IMP_example.IMP_EXAMPLE_HAS_IMP_EM_swigconstant(_IMP_example)
837 IMP_EXAMPLE_HAS_IMP_EM = _IMP_example.IMP_EXAMPLE_HAS_IMP_EM
838 
839 _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD_swigconstant(_IMP_example)
840 IMP_EXAMPLE_HAS_IMP_ISD = _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD
841 
842 _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
843 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
844 
845 _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF_swigconstant(_IMP_example)
846 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
847 
848 _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS_swigconstant(_IMP_example)
849 IMP_EXAMPLE_HAS_IMP_SAXS = _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS
850 
851 _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
852 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
853 
854 _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
855 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
856 
857 _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
858 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
859 
860 _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH_swigconstant(_IMP_example)
861 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
862 
863 _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
864 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
865 
866 _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
867 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
868 
869 _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX_swigconstant(_IMP_example)
870 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
871 
872 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
873 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
874 
875 _IMP_example.IMP_EXAMPLE_HAS_CGAL_swigconstant(_IMP_example)
876 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
877 
878 _IMP_example.IMP_EXAMPLE_HAS_HDF5_swigconstant(_IMP_example)
879 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
880 
881 _IMP_example.IMP_EXAMPLE_HAS_NUMPY_swigconstant(_IMP_example)
882 IMP_EXAMPLE_HAS_NUMPY = _IMP_example.IMP_EXAMPLE_HAS_NUMPY
883 
884 _IMP_example.IMP_EXAMPLE_HAS_RMF_swigconstant(_IMP_example)
885 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
886 
887 _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM_swigconstant(_IMP_example)
888 IMP_EXAMPLE_HAS_PYTHON_IHM = _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM
889 
890 _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY_swigconstant(_IMP_example)
891 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
892 
893 _IMP_example.IMPEXAMPLE_SHOW_WARNINGS_swigconstant(_IMP_example)
894 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
895 
896 _object_types.append("ExampleRestraint")
897 
898 
899 def _object_cast_to_ExampleRestraint(o):
900  """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
901  return _IMP_example._object_cast_to_ExampleRestraint(o)
902 
903 def ExampleDecorators(l=[]):
904  return [ExampleDecorator(x) for x in l]
905 _plural_types.append("ExampleDecorators")
906 
907 
908 _value_types.append("ExampleDecorator")
909 
910 
911 _object_types.append("ExampleUnaryFunction")
912 
913 
914 def _object_cast_to_ExampleUnaryFunction(o):
915  """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
916  return _IMP_example._object_cast_to_ExampleUnaryFunction(o)
917 
918 _object_types.append("ExampleSingletonModifier")
919 
920 
921 def _object_cast_to_ExampleSingletonModifier(o):
922  """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
923  return _IMP_example._object_cast_to_ExampleSingletonModifier(o)
924 
925 _object_types.append("ExamplePairScore")
926 
927 
928 def _object_cast_to_ExamplePairScore(o):
929  """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
930  return _IMP_example._object_cast_to_ExamplePairScore(o)
931 
932 _object_types.append("ExampleSubsetFilterTable")
933 
934 
935 def _object_cast_to_ExampleSubsetFilterTable(o):
936  """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
937  return _IMP_example._object_cast_to_ExampleSubsetFilterTable(o)
938 
939 _object_types.append("ExampleConstraint")
940 
941 
942 def _object_cast_to_ExampleConstraint(o):
943  """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
944  return _IMP_example._object_cast_to_ExampleConstraint(o)
945 
946 _object_types.append("ExampleObject")
947 
948 
949 def _object_cast_to_ExampleObject(o):
950  """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
951  return _IMP_example._object_cast_to_ExampleObject(o)
952 
953 ExampleTemplateClass3Ds=list
954 _plural_types.append("ExampleTemplateClass3Ds")
955 _value_types.append("ExampleTemplateClass3D")
956 
957 
958 def create_model_and_particles():
959  m = IMP.Model()
962  IMP.algebra.Vector3D(10,10,10))
963  for i in range(0,100):
964  p = m.add_particle("p")
965  sc.add(p)
968  d.set_coordinates_are_optimized(True)
969  return (m, sc)
970 
971 
972 
974  """An example restraint written in Python.
975  This should be functionally equivalent to the C++ ExampleRestraint.
976  """
977  def __init__(self, m, p, k):
978  IMP.Restraint.__init__(self, m, "PythonExampleRestraint%1%")
979  self.p, self.k = p, k
980 
981  def do_add_score_and_derivatives(self, sa):
982  d = IMP.core.XYZ(self.get_model(), self.p)
983  score = .5 * self.k * d.get_z() * d.get_z()
984  if sa.get_derivative_accumulator():
985  deriv = self.k * d.get_z()
986  d.add_to_derivative(2, deriv, sa.get_derivative_accumulator())
987  sa.add_score(score)
988 
989  def do_get_inputs(self):
990  return [self.get_model().get_particle(self.p)]
991 
992 
993 
994 
996  """An example PairScore written in Python.
997  This should be functionally equivalent to the C++ ExamplePairScore.
998  """
999  def __init__(self, x0, k):
1000  IMP.PairScore.__init__(self)
1001  self.x0, self.k = x0, k
1002 
1003  def evaluate_index(self, m, pip, da):
1004  d0 = IMP.core.XYZ(m, pip[0])
1005  d1 = IMP.core.XYZ(m, pip[1])
1006  diff = (d0.get_coordinates()
1007  - d1.get_coordinates()).get_magnitude() - self.x0
1008  score = .5 * self.k * diff * diff
1009  if da:
1010 # derivatives are requested
1011  delta = d0.get_coordinates() - d1.get_coordinates()
1012  udelta = delta.get_unit_vector()
1013  dv = self.k * diff
1014  d0.add_to_derivatives(udelta * dv, da)
1015  d1.add_to_derivatives(-udelta * dv, da)
1016  return score
1017 
1018  def do_get_inputs(self, m, pis):
1019  return IMP.get_particles(m, pis)
1020 
1021 
1022 
1023 
1025  """An example UnaryFunction written in Python.
1026  This should be functionally equivalent to the C++ ExampleUnaryFunction.
1027  """
1028  def __init__(self, center, k):
1029  IMP.UnaryFunction.__init__(self)
1030  self.center, self.k = center, k
1031 
1032  def evaluate_with_derivative(self, feature):
1033  return (self.evaluate(feature), self.k * (feature - self.center))
1034 
1035  def evaluate(self, feature):
1036  return .5 * self.k * (feature - self.center) * (feature - self.center)
1037 
1038 
1039 
1040 
1042  """An example Constraint written in Python.
1043  This should be functionally equivalent to the C++ ExampleConstraint.
1044  """
1045 
1046  k = None
1047 
1048  def __init__(self, p):
1049  IMP.Constraint.__init__(self, p.get_model(), "ExampleConstraint%1%")
1050  self.p = p
1051  if self.k is None:
1052  PythonExampleConstraint.k = IMP.IntKey("Constraint key")
1053  if not p.has_attribute(self.k):
1054  p.add_attribute(self.k, 0)
1055 
1056  def do_update_attributes(self):
1057  self.p.set_value(self.k, self.p.get_value(self.k) + 1)
1058 
1059  def do_update_derivatives(self, da):
1060  pass
1061 
1062  def do_get_inputs(self):
1063  return [self.p]
1064 
1065  def do_get_outputs(self):
1066  return [self.p]
1067 
1068 
1069 
1070 
1072  """An example SingletonModifier written in Python.
1073  This should be functionally equivalent to the C++
1074  ExampleSingletonModifier.
1075  """
1076 
1077  def __init__(self, bb):
1078  IMP.SingletonModifier.__init__(self, "ExampleSingletonModifier%1%")
1079  self.bb = bb
1080 
1081  def apply_index(self, m, pi):
1082  d = IMP.core.XYZ(m, pi)
1083  for i in range(3):
1084 # shift the coordinate until it is in the box
1085  while d.get_coordinate(i) < self.bb.get_corner(0)[i]:
1086  d.set_coordinate(i,d.get_coordinate(i) + \
1087  (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1088  while d.get_coordinate(i) > self.bb.get_corner(1)[i]:
1089  d.set_coordinate(i,d.get_coordinate(i) - \
1090  (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1091 
1092  def do_get_inputs(self, m, pis):
1093  return IMP.get_particles(m, pis)
1094 
1095  def do_get_outputs(self, m, pis):
1096  return self.do_get_inputs(m, pis)
1097 
1098 
1100  """Proxy of C++ IMP::example::ExampleRestraint class"""
1101  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1102 
1103  def __init__(self, m, p, k):
1104  """__init__(IMP::example::ExampleRestraint self, Model m, ParticleIndex p, double k) -> ExampleRestraint"""
1105  this = _IMP_example.new_ExampleRestraint(m, p, k)
1106  try:
1107  self.this.append(this)
1108  except:
1109  self.this = this
1110 
1111  def do_add_score_and_derivatives(self, sa):
1112  """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
1113  return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, sa)
1114 
1115 
1116  def do_get_inputs(self):
1117  """do_get_inputs(ExampleRestraint self) -> IMP::ModelObjectsTemp"""
1118  return _IMP_example.ExampleRestraint_do_get_inputs(self)
1119 
1120 
1121  def get_version_info(self):
1122  """get_version_info(ExampleRestraint self) -> VersionInfo"""
1123  return _IMP_example.ExampleRestraint_get_version_info(self)
1124 
1125 
1126  def __str__(self):
1127  """__str__(ExampleRestraint self) -> std::string"""
1128  return _IMP_example.ExampleRestraint___str__(self)
1129 
1130 
1131  def __repr__(self):
1132  """__repr__(ExampleRestraint self) -> std::string"""
1133  return _IMP_example.ExampleRestraint___repr__(self)
1134 
1135 
1136  @staticmethod
1137  def get_from(o):
1138  return _object_cast_to_ExampleRestraint(o)
1139 
1140 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
1141 ExampleRestraint_swigregister(ExampleRestraint)
1142 
1144  """Proxy of C++ IMP::example::ExampleDecorator class"""
1145  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1146 
1147  def get_decorator_name(self):
1148  """get_decorator_name(ExampleDecorator self) -> std::string"""
1149  return _IMP_example.ExampleDecorator_get_decorator_name(self)
1150 
1151 
1152  def set_decorator_name(self, nm):
1153  """set_decorator_name(ExampleDecorator self, std::string nm)"""
1154  return _IMP_example.ExampleDecorator_set_decorator_name(self, nm)
1155 
1156 
1157  def __init__(self, *args):
1158  """
1159  __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
1160  __init__(IMP::example::ExampleDecorator self, Model m, ParticleIndex id) -> ExampleDecorator
1161  __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
1162  """
1163  this = _IMP_example.new_ExampleDecorator(*args)
1164  try:
1165  self.this.append(this)
1166  except:
1167  self.this = this
1168 
1169  def get_is_setup(*args):
1170  """
1171  get_is_setup(Model m, ParticleIndex pi) -> bool
1172  get_is_setup(_ParticleAdaptor p) -> bool
1173  """
1174  return _IMP_example.ExampleDecorator_get_is_setup(*args)
1175 
1176  get_is_setup = staticmethod(get_is_setup)
1177 
1178  def show(self, *args):
1179  """
1180  show(ExampleDecorator self, _ostream out)
1181  show(ExampleDecorator self)
1182  """
1183  return _IMP_example.ExampleDecorator_show(self, *args)
1184 
1185 
1186  def setup_particle(*args):
1187  """
1188  setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1189  setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1190  """
1191  return _IMP_example.ExampleDecorator_setup_particle(*args)
1192 
1193  setup_particle = staticmethod(setup_particle)
1194 
1195  def add_attribute(self, *args):
1196  """
1197  add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
1198  add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1199  add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
1200  add_attribute(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1201  add_attribute(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1202  add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
1203  add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1204  add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
1205  """
1206  return _IMP_example.ExampleDecorator_add_attribute(self, *args)
1207 
1208 
1209  def get_value(self, *args):
1210  """
1211  get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
1212  get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
1213  get_value(ExampleDecorator self, FloatsKey a0) -> IMP::Floats
1214  get_value(ExampleDecorator self, IntsKey a0) -> IMP::Ints
1215  get_value(ExampleDecorator self, StringKey a0) -> IMP::String
1216  get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
1217  get_value(ExampleDecorator self, ObjectKey a0) -> Object
1218  """
1219  return _IMP_example.ExampleDecorator_get_value(self, *args)
1220 
1221 
1222  def set_value(self, *args):
1223  """
1224  set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1225  set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
1226  set_value(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1227  set_value(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1228  set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
1229  set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1230  set_value(ExampleDecorator self, ObjectKey a0, Object a1)
1231  """
1232  return _IMP_example.ExampleDecorator_set_value(self, *args)
1233 
1234 
1235  def remove_attribute(self, *args):
1236  """
1237  remove_attribute(ExampleDecorator self, FloatKey a0)
1238  remove_attribute(ExampleDecorator self, IntKey a0)
1239  remove_attribute(ExampleDecorator self, FloatsKey a0)
1240  remove_attribute(ExampleDecorator self, IntsKey a0)
1241  remove_attribute(ExampleDecorator self, StringKey a0)
1242  remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
1243  remove_attribute(ExampleDecorator self, ObjectKey a0)
1244  """
1245  return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
1246 
1247 
1248  def has_attribute(self, *args):
1249  """
1250  has_attribute(ExampleDecorator self, FloatKey a0) -> bool
1251  has_attribute(ExampleDecorator self, IntKey a0) -> bool
1252  has_attribute(ExampleDecorator self, FloatsKey a0) -> bool
1253  has_attribute(ExampleDecorator self, IntsKey a0) -> bool
1254  has_attribute(ExampleDecorator self, StringKey a0) -> bool
1255  has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
1256  has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
1257  """
1258  return _IMP_example.ExampleDecorator_has_attribute(self, *args)
1259 
1260 
1261  def get_derivative(self, a0):
1262  """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
1263  return _IMP_example.ExampleDecorator_get_derivative(self, a0)
1264 
1265 
1266  def get_name(self):
1267  """get_name(ExampleDecorator self) -> std::string"""
1268  return _IMP_example.ExampleDecorator_get_name(self)
1269 
1270 
1271  def clear_caches(self):
1272  """clear_caches(ExampleDecorator self)"""
1273  return _IMP_example.ExampleDecorator_clear_caches(self)
1274 
1275 
1276  def set_name(self, a0):
1277  """set_name(ExampleDecorator self, std::string a0)"""
1278  return _IMP_example.ExampleDecorator_set_name(self, a0)
1279 
1280 
1281  def set_check_level(self, a0):
1282  """set_check_level(ExampleDecorator self, IMP::CheckLevel a0)"""
1283  return _IMP_example.ExampleDecorator_set_check_level(self, a0)
1284 
1285 
1286  def add_to_derivative(self, a0, a1, a2):
1287  """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1288  return _IMP_example.ExampleDecorator_add_to_derivative(self, a0, a1, a2)
1289 
1290 
1291  def set_is_optimized(self, a0, a1):
1292  """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
1293  return _IMP_example.ExampleDecorator_set_is_optimized(self, a0, a1)
1294 
1295 
1296  def get_is_optimized(self, a0):
1297  """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
1298  return _IMP_example.ExampleDecorator_get_is_optimized(self, a0)
1299 
1300 
1301  def get_check_level(self):
1302  """get_check_level(ExampleDecorator self) -> IMP::CheckLevel"""
1303  return _IMP_example.ExampleDecorator_get_check_level(self)
1304 
1305 
1306  def __eq__(self, *args):
1307  """
1308  __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
1309  __eq__(ExampleDecorator self, Particle d) -> bool
1310  """
1311  return _IMP_example.ExampleDecorator___eq__(self, *args)
1312 
1313 
1314  def __ne__(self, *args):
1315  """
1316  __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
1317  __ne__(ExampleDecorator self, Particle d) -> bool
1318  """
1319  return _IMP_example.ExampleDecorator___ne__(self, *args)
1320 
1321 
1322  def __le__(self, *args):
1323  """
1324  __le__(ExampleDecorator self, ExampleDecorator o) -> bool
1325  __le__(ExampleDecorator self, Particle d) -> bool
1326  """
1327  return _IMP_example.ExampleDecorator___le__(self, *args)
1328 
1329 
1330  def __lt__(self, *args):
1331  """
1332  __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
1333  __lt__(ExampleDecorator self, Particle d) -> bool
1334  """
1335  return _IMP_example.ExampleDecorator___lt__(self, *args)
1336 
1337 
1338  def __ge__(self, *args):
1339  """
1340  __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
1341  __ge__(ExampleDecorator self, Particle d) -> bool
1342  """
1343  return _IMP_example.ExampleDecorator___ge__(self, *args)
1344 
1345 
1346  def __gt__(self, *args):
1347  """
1348  __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
1349  __gt__(ExampleDecorator self, Particle d) -> bool
1350  """
1351  return _IMP_example.ExampleDecorator___gt__(self, *args)
1352 
1353 
1354  def __hash__(self):
1355  """__hash__(ExampleDecorator self) -> std::size_t"""
1356  return _IMP_example.ExampleDecorator___hash__(self)
1357 
1358 
1359  def __str__(self):
1360  """__str__(ExampleDecorator self) -> std::string"""
1361  return _IMP_example.ExampleDecorator___str__(self)
1362 
1363 
1364  def __repr__(self):
1365  """__repr__(ExampleDecorator self) -> std::string"""
1366  return _IMP_example.ExampleDecorator___repr__(self)
1367 
1368  __swig_destroy__ = _IMP_example.delete_ExampleDecorator
1369  __del__ = lambda self: None
1370 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
1371 ExampleDecorator_swigregister(ExampleDecorator)
1372 
1373 def ExampleDecorator_get_is_setup(*args):
1374  """
1375  get_is_setup(Model m, ParticleIndex pi) -> bool
1376  ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
1377  """
1378  return _IMP_example.ExampleDecorator_get_is_setup(*args)
1379 
1380 def ExampleDecorator_setup_particle(*args):
1381  """
1382  setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1383  ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1384  """
1385  return _IMP_example.ExampleDecorator_setup_particle(*args)
1386 
1387 
1388 def __lshift__(out, n):
1389  """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
1390  return _IMP_example.__lshift__(out, n)
1392  """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
1393  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1394 
1395  def __init__(self, center, k):
1396  """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
1397  this = _IMP_example.new_ExampleUnaryFunction(center, k)
1398  try:
1399  self.this.append(this)
1400  except:
1401  self.this = this
1402 
1403  def get_version_info(self):
1404  """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
1405  return _IMP_example.ExampleUnaryFunction_get_version_info(self)
1406 
1407 
1408  def __str__(self):
1409  """__str__(ExampleUnaryFunction self) -> std::string"""
1410  return _IMP_example.ExampleUnaryFunction___str__(self)
1411 
1412 
1413  def __repr__(self):
1414  """__repr__(ExampleUnaryFunction self) -> std::string"""
1415  return _IMP_example.ExampleUnaryFunction___repr__(self)
1416 
1417 
1418  @staticmethod
1419  def get_from(o):
1420  return _object_cast_to_ExampleUnaryFunction(o)
1421 
1422 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
1423 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
1424 
1425 class ExampleObject(IMP.Object):
1426  """Proxy of C++ IMP::example::ExampleObject class"""
1427  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1428 
1429  def __init__(self, data):
1430  """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
1431  this = _IMP_example.new_ExampleObject(data)
1432  try:
1433  self.this.append(this)
1434  except:
1435  self.this = this
1436 
1437  def get_data(self, i):
1438  """get_data(ExampleObject self, unsigned int i) -> double"""
1439  return _IMP_example.ExampleObject_get_data(self, i)
1440 
1441 
1442  def get_version_info(self):
1443  """get_version_info(ExampleObject self) -> VersionInfo"""
1444  return _IMP_example.ExampleObject_get_version_info(self)
1445 
1446 
1447  def __str__(self):
1448  """__str__(ExampleObject self) -> std::string"""
1449  return _IMP_example.ExampleObject___str__(self)
1450 
1451 
1452  def __repr__(self):
1453  """__repr__(ExampleObject self) -> std::string"""
1454  return _IMP_example.ExampleObject___repr__(self)
1455 
1456 
1457  @staticmethod
1458  def get_from(o):
1459  return _object_cast_to_ExampleObject(o)
1460 
1461 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
1462 ExampleObject_swigregister(ExampleObject)
1463 
1465  """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
1466  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1467 
1468  def __init__(self, bb):
1469  """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
1470  this = _IMP_example.new_ExampleSingletonModifier(bb)
1471  try:
1472  self.this.append(this)
1473  except:
1474  self.this = this
1475 
1476  def do_get_inputs(self, m, pis):
1477  """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1478  return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, m, pis)
1479 
1480 
1481  def do_get_outputs(self, m, pis):
1482  """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1483  return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, m, pis)
1484 
1485 
1486  def get_version_info(self):
1487  """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
1488  return _IMP_example.ExampleSingletonModifier_get_version_info(self)
1489 
1490 
1491  def __str__(self):
1492  """__str__(ExampleSingletonModifier self) -> std::string"""
1493  return _IMP_example.ExampleSingletonModifier___str__(self)
1494 
1495 
1496  def __repr__(self):
1497  """__repr__(ExampleSingletonModifier self) -> std::string"""
1498  return _IMP_example.ExampleSingletonModifier___repr__(self)
1499 
1500 
1501  @staticmethod
1502  def get_from(o):
1503  return _object_cast_to_ExampleSingletonModifier(o)
1504 
1505 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
1506 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
1507 
1509  """Proxy of C++ IMP::example::ExamplePairScore class"""
1510  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1511 
1512  def __init__(self, x0, k):
1513  """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
1514  this = _IMP_example.new_ExamplePairScore(x0, k)
1515  try:
1516  self.this.append(this)
1517  except:
1518  self.this = this
1519 
1520  def do_get_inputs(self, m, pis):
1521  """do_get_inputs(ExamplePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1522  return _IMP_example.ExamplePairScore_do_get_inputs(self, m, pis)
1523 
1524 
1525  def get_version_info(self):
1526  """get_version_info(ExamplePairScore self) -> VersionInfo"""
1527  return _IMP_example.ExamplePairScore_get_version_info(self)
1528 
1529 
1530  def __str__(self):
1531  """__str__(ExamplePairScore self) -> std::string"""
1532  return _IMP_example.ExamplePairScore___str__(self)
1533 
1534 
1535  def __repr__(self):
1536  """__repr__(ExamplePairScore self) -> std::string"""
1537  return _IMP_example.ExamplePairScore___repr__(self)
1538 
1539 
1540  @staticmethod
1541  def get_from(o):
1542  return _object_cast_to_ExamplePairScore(o)
1543 
1544 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
1545 ExamplePairScore_swigregister(ExamplePairScore)
1546 
1548  """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
1549  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1550 
1551  def __init__(self, max_diff, pt):
1552  """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
1553  this = _IMP_example.new_ExampleSubsetFilterTable(max_diff, pt)
1554  try:
1555  self.this.append(this)
1556  except:
1557  self.this = this
1558 
1559  def get_version_info(self):
1560  """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
1561  return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
1562 
1563 
1564  def __str__(self):
1565  """__str__(ExampleSubsetFilterTable self) -> std::string"""
1566  return _IMP_example.ExampleSubsetFilterTable___str__(self)
1567 
1568 
1569  def __repr__(self):
1570  """__repr__(ExampleSubsetFilterTable self) -> std::string"""
1571  return _IMP_example.ExampleSubsetFilterTable___repr__(self)
1572 
1573 
1574  @staticmethod
1575  def get_from(o):
1576  return _object_cast_to_ExampleSubsetFilterTable(o)
1577 
1578 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
1579 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
1580 
1582  """Proxy of C++ IMP::example::ExampleConstraint class"""
1583  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1584 
1585  def __init__(self, p):
1586  """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
1587  this = _IMP_example.new_ExampleConstraint(p)
1588  try:
1589  self.this.append(this)
1590  except:
1591  self.this = this
1592 
1593  def do_get_inputs(self):
1594  """do_get_inputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1595  return _IMP_example.ExampleConstraint_do_get_inputs(self)
1596 
1597 
1598  def do_get_outputs(self):
1599  """do_get_outputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1600  return _IMP_example.ExampleConstraint_do_get_outputs(self)
1601 
1602 
1603  def get_key():
1604  """get_key() -> IntKey"""
1605  return _IMP_example.ExampleConstraint_get_key()
1606 
1607  get_key = staticmethod(get_key)
1608 
1609  def get_version_info(self):
1610  """get_version_info(ExampleConstraint self) -> VersionInfo"""
1611  return _IMP_example.ExampleConstraint_get_version_info(self)
1612 
1613 
1614  def __str__(self):
1615  """__str__(ExampleConstraint self) -> std::string"""
1616  return _IMP_example.ExampleConstraint___str__(self)
1617 
1618 
1619  def __repr__(self):
1620  """__repr__(ExampleConstraint self) -> std::string"""
1621  return _IMP_example.ExampleConstraint___repr__(self)
1622 
1623 
1624  @staticmethod
1625  def get_from(o):
1626  return _object_cast_to_ExampleConstraint(o)
1627 
1628 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
1629 ExampleConstraint_swigregister(ExampleConstraint)
1630 
1631 def ExampleConstraint_get_key():
1632  """ExampleConstraint_get_key() -> IntKey"""
1633  return _IMP_example.ExampleConstraint_get_key()
1634 
1635 
1636 def create_serial_mover(m, pis):
1637  """create_serial_mover(Model m, IMP::ParticleIndexes const & pis) -> MonteCarloMover"""
1638  return _IMP_example.create_serial_mover(m, pis)
1639 
1640 def optimize_balls(*args):
1641  """
1642  optimize_balls(Model m, IMP::ParticleIndexes const & pis, IMP::RestraintsTemp const & rs, IMP::PairPredicates const & excluded, IMP::OptimizerStates const & opt_states, IMP::LogLevel ll)
1643  optimize_balls(Model m, IMP::ParticleIndexes const & pis, IMP::RestraintsTemp const & rs, IMP::PairPredicates const & excluded, IMP::OptimizerStates const & opt_states)
1644  optimize_balls(Model m, IMP::ParticleIndexes const & pis, IMP::RestraintsTemp const & rs, IMP::PairPredicates const & excluded)
1645  optimize_balls(Model m, IMP::ParticleIndexes const & pis, IMP::RestraintsTemp const & rs)
1646  optimize_balls(Model m, IMP::ParticleIndexes const & pis)
1647  """
1648  return _IMP_example.optimize_balls(*args)
1649 
1650 def optimize_assembly(*args):
1651  """
1652  optimize_assembly(Model m, IMP::ParticleIndexes const & components, IMP::RestraintsTemp const & interactions, IMP::RestraintsTemp const & other_restraints, BoundingBox3D bb, PairScore ev, double cutoff, IMP::PairPredicates const & excluded)
1653  optimize_assembly(Model m, IMP::ParticleIndexes const & components, IMP::RestraintsTemp const & interactions, IMP::RestraintsTemp const & other_restraints, BoundingBox3D bb, PairScore ev, double cutoff)
1654  """
1655  return _IMP_example.optimize_assembly(*args)
1656 
1657 def get_number_of_incidences(psa, psb, point_distance):
1658  """get_number_of_incidences(IMP::ParticlesTemp const & psa, IMP::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
1659  return _IMP_example.get_number_of_incidences(psa, psb, point_distance)
1660 
1661 def create_chain_restraint(m, ps, length_factor, k, name):
1662  """create_chain_restraint(Model m, IMP::ParticleIndexes const & ps, double length_factor, double k, std::string name) -> Restraint"""
1663  return _IMP_example.create_chain_restraint(m, ps, length_factor, k, name)
1664 
1665 def create_excluded_volume(m, ps, k, name):
1666  """create_excluded_volume(Model m, IMP::ParticleIndexes const & ps, double k, std::string name) -> Restraint"""
1667  return _IMP_example.create_excluded_volume(m, ps, k, name)
1668 class ExampleTemplateClass3D(object):
1669  """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
1670  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1671 
1672  def __init__(self, *args):
1673  """
1674  __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
1675  __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
1676  """
1677  this = _IMP_example.new_ExampleTemplateClass3D(*args)
1678  try:
1679  self.this.append(this)
1680  except:
1681  self.this = this
1682 
1683  def get_point(self, i):
1684  """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
1685  return _IMP_example.ExampleTemplateClass3D_get_point(self, i)
1686 
1687 
1688  def show(self, *args):
1689  """
1690  show(ExampleTemplateClass3D self, _ostream out)
1691  show(ExampleTemplateClass3D self)
1692  """
1693  return _IMP_example.ExampleTemplateClass3D_show(self, *args)
1694 
1695 
1696  def __str__(self):
1697  """__str__(ExampleTemplateClass3D self) -> std::string"""
1698  return _IMP_example.ExampleTemplateClass3D___str__(self)
1699 
1700 
1701  def __repr__(self):
1702  """__repr__(ExampleTemplateClass3D self) -> std::string"""
1703  return _IMP_example.ExampleTemplateClass3D___repr__(self)
1704 
1705  __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
1706  __del__ = lambda self: None
1707 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
1708 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
1709 
1710 
1711 def get_module_version():
1712  """get_module_version() -> std::string const"""
1713  return _IMP_example.get_module_version()
1714 
1715 def get_example_path(fname):
1716  """get_example_path(std::string fname) -> std::string"""
1717  return _IMP_example.get_example_path(fname)
1718 
1719 def get_data_path(fname):
1720  """get_data_path(std::string fname) -> std::string"""
1721  return _IMP_example.get_data_path(fname)
1722 
1723 from . import _version_check
1724 _version_check.check_version(get_module_version())
1725 __version__ = get_module_version()
1726 
1727 
1728 
unsigned int get_number_of_incidences(const ParticlesTemp &psa, const ParticlesTemp &psb, double point_distance)
Definition: counting.h:23
A base class for modifiers of ParticlesTemp.
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
virtual double evaluate(double feature) const
Calculate score with respect to the given feature.
Definition: UnaryFunction.h:33
An example PairScore written in Python.
An example SingletonModifier written in Python.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Definition: XYZR.h:48
An example UnaryFunction written in Python.
virtual void do_add_score_and_derivatives(ScoreAccumulator sa) const
A restraint should override this to compute the score and derivatives.
Make CGAL functionality available to IMP.
A line segment templated on the dimension.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
virtual void clear_caches()
Definition: Object.h:227
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
Restraint * create_excluded_volume(Model *m, const ParticleIndexes &ps, double k, std::string name)
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
core::MonteCarloMover * create_serial_mover(Model *m, const ParticleIndexes &pis)
Code to compute statistical measures.
Implement a constraint on the Model.
Definition: Constraint.h:49
Class for storing model, its restraints, constraints, and particles.
Definition: Model.h:72
An example simple object which is reference counted.
Definition: ExampleObject.h:29
A simple decorator which adds a name to a particle.
An example Constraint written in Python.
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Store a list of ParticleIndexes.
An example restraint written in Python.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
void optimize_balls(Model *m, const ParticleIndexes &pis, const RestraintsTemp &rs=RestraintsTemp(), const PairPredicates &excluded=PairPredicates(), const OptimizerStates &opt_states=OptimizerStates(), LogLevel ll=DEFAULT)
Restrain a particle to be in the x,y plane.
void optimize_assembly(Model *m, const ParticleIndexes &components, const RestraintsTemp &interactions, const RestraintsTemp &other_restraints, const algebra::BoundingBox3D &bb, PairScore *ev, double cutoff, const PairPredicates &excluded=PairPredicates())
Basic utilities for handling cryo-electron microscopy 3D density maps.
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
virtual ModelObjectsTemp do_get_outputs() const =0
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
virtual void apply_index(Model *m, ParticleIndex v) const =0
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Definition: Object.h:173
virtual DerivativePair evaluate_with_derivative(double feature) const
Calculate score and derivative with respect to the given feature.
Definition: UnaryFunction.h:48
VectorD< 3 > Vector3D
Definition: VectorD.h:421
void set_check_level(CheckLevel l)
Apply a harmonic to the distance between two particles.
Restraint * create_chain_restraint(Model *m, const ParticleIndexes &ps, double length_factor, double k, std::string name)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Model * get_model() const
Definition: ModelObject.h:42
A trivial constraint that just increments a counter.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Support for the RMF file format for storing hierarchical molecular data and markup.
Abstract single variable functor class for score functions.
Definition: UnaryFunction.h:25
virtual ModelObjectsTemp do_get_inputs() const =0
Divide-and-conquer inferential optimization in discrete space.
virtual double evaluate_index(Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Support for small angle X-ray scattering (SAXS) data.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:54