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