11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_example', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_example', fp, pathname, description)
28 _IMP_example = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
72 def _swig_setattr_nondynamic_method(set):
73 def set_attr(self,name,value):
74 if (name ==
"thisown"):
return self.this.own(value)
75 if hasattr(self,name)
or (name ==
"this"):
78 raise AttributeError(
"You cannot add attributes to %s" % self)
84 weakref_proxy = weakref.proxy
86 weakref_proxy =
lambda x: x
89 class IMP_EXAMPLE_SwigPyIterator(object):
90 """Proxy of C++ swig::IMP_EXAMPLE_SwigPyIterator class"""
91 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
92 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
94 __swig_destroy__ = _IMP_example.delete_IMP_EXAMPLE_SwigPyIterator
95 __del__ =
lambda self :
None;
97 """value(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
98 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_value(self)
102 incr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
103 incr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
105 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_incr(self, n)
109 decr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
110 decr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
112 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_decr(self, n)
114 def distance(self, *args):
115 """distance(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t"""
116 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_distance(self, *args)
118 def equal(self, *args):
119 """equal(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
120 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_equal(self, *args)
123 """copy(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator"""
124 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_copy(self)
127 """next(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
128 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_next(self)
131 """__next__(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
132 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___next__(self)
135 """previous(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
136 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_previous(self)
138 def advance(self, *args):
139 """advance(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
140 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_advance(self, *args)
142 def __eq__(self, *args):
143 """__eq__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
144 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___eq__(self, *args)
146 def __ne__(self, *args):
147 """__ne__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
148 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___ne__(self, *args)
150 def __iadd__(self, *args):
151 """__iadd__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
152 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___iadd__(self, *args)
154 def __isub__(self, *args):
155 """__isub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
156 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___isub__(self, *args)
158 def __add__(self, *args):
159 """__add__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
160 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___add__(self, *args)
162 def __sub__(self, *args):
164 __sub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator
165 __sub__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t
167 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___sub__(self, *args)
169 def __iter__(self):
return self
170 IMP_EXAMPLE_SwigPyIterator_swigregister = _IMP_example.IMP_EXAMPLE_SwigPyIterator_swigregister
171 IMP_EXAMPLE_SwigPyIterator_swigregister(IMP_EXAMPLE_SwigPyIterator)
178 IMP_DEBUG = _IMP_example.IMP_DEBUG
179 IMP_RELEASE = _IMP_example.IMP_RELEASE
180 IMP_SILENT = _IMP_example.IMP_SILENT
181 IMP_PROGRESS = _IMP_example.IMP_PROGRESS
182 IMP_TERSE = _IMP_example.IMP_TERSE
183 IMP_VERBOSE = _IMP_example.IMP_VERBOSE
184 IMP_MEMORY = _IMP_example.IMP_MEMORY
185 IMP_NONE = _IMP_example.IMP_NONE
186 IMP_USAGE = _IMP_example.IMP_USAGE
187 IMP_INTERNAL = _IMP_example.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_example.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_example.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_example.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_example.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_example.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_example.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_example.IMPBASE_SHOW_WARNINGS
197 class _DirectorObjects(object):
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 """Proxy of C++ std::ostream class"""
224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
225 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
226 __repr__ = _swig_repr
227 def write(self, *args):
228 """write(_ostream self, char const * osa_buf)"""
229 return _IMP_example._ostream_write(self, *args)
231 _ostream_swigregister = _IMP_example._ostream_swigregister
232 _ostream_swigregister(_ostream)
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_example.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_example.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_example.IMP_HAS_NOEXCEPT
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_example.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_example.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_example.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_example.IMPKERNEL_SHOW_WARNINGS
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_example.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
278 IMP_STATISTICS_HAS_IMP_BASE = _IMP_example.IMP_STATISTICS_HAS_IMP_BASE
279 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
280 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
281 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
282 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
283 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
284 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
285 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
287 IMP_CORE_HAS_IMP_BASE = _IMP_example.IMP_CORE_HAS_IMP_BASE
288 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
289 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
290 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
291 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
293 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
294 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
295 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
296 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
298 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
299 IMP_CONTAINER_HAS_IMP_BASE = _IMP_example.IMP_CONTAINER_HAS_IMP_BASE
300 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
301 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
302 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
303 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
304 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
305 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
306 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
307 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
308 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
309 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
310 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
312 IMP_ATOM_HAS_IMP_BASE = _IMP_example.IMP_ATOM_HAS_IMP_BASE
313 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
314 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
315 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
316 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
317 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
318 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
319 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
320 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
321 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
322 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
323 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
324 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
325 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
327 IMP_RMF_HAS_IMP_BASE = _IMP_example.IMP_RMF_HAS_IMP_BASE
328 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
329 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
330 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
331 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
332 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
333 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
334 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
335 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
336 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
337 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
340 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
341 IMP_DOMINO_HAS_IMP_BASE = _IMP_example.IMP_DOMINO_HAS_IMP_BASE
342 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
343 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
344 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
345 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
346 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
347 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
348 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
349 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
350 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
351 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
352 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
353 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
354 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
357 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
358 IMP_EXAMPLE_HAS_IMP_BASE = _IMP_example.IMP_EXAMPLE_HAS_IMP_BASE
359 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
360 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
361 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
362 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
363 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
364 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
365 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
366 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
367 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
368 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
369 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
370 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
371 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
372 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
373 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
374 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
375 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
376 _object_types.append(
"ExampleRestraint")
379 def _object_cast_to_ExampleRestraint(*args):
380 """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
381 return _IMP_example._object_cast_to_ExampleRestraint(*args)
382 def ExampleDecorators(l=[]):
383 return [ExampleDecorator(x)
for x
in l]
384 _plural_types.append(
"ExampleDecorators")
386 _value_types.append(
"ExampleDecorator")
388 _object_types.append(
"ExampleUnaryFunction")
391 def _object_cast_to_ExampleUnaryFunction(*args):
392 """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
393 return _IMP_example._object_cast_to_ExampleUnaryFunction(*args)
394 _object_types.append(
"ExampleSingletonModifier")
397 def _object_cast_to_ExampleSingletonModifier(*args):
398 """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
399 return _IMP_example._object_cast_to_ExampleSingletonModifier(*args)
400 _object_types.append(
"ExamplePairScore")
403 def _object_cast_to_ExamplePairScore(*args):
404 """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
405 return _IMP_example._object_cast_to_ExamplePairScore(*args)
406 _object_types.append(
"ExampleSubsetFilterTable")
409 def _object_cast_to_ExampleSubsetFilterTable(*args):
410 """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
411 return _IMP_example._object_cast_to_ExampleSubsetFilterTable(*args)
412 _object_types.append(
"ExampleConstraint")
415 def _object_cast_to_ExampleConstraint(*args):
416 """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
417 return _IMP_example._object_cast_to_ExampleConstraint(*args)
418 _object_types.append(
"ExampleObject")
421 def _object_cast_to_ExampleObject(*args):
422 """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
423 return _IMP_example._object_cast_to_ExampleObject(*args)
424 ExampleTemplateClass3Ds=list
425 _plural_types.append(
"ExampleTemplateClass3Ds")
426 _value_types.append(
"ExampleTemplateClass3D")
428 def create_model_and_particles():
433 for i
in range(0,100):
437 d.set_coordinates_are_optimized(
True)
441 """Proxy of C++ IMP::example::ExampleRestraint class"""
442 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
443 def __init__(self, *args):
444 """__init__(IMP::example::ExampleRestraint self, Model m, IMP::kernel::ParticleIndex p, double k) -> ExampleRestraint"""
445 this = _IMP_example.new_ExampleRestraint(*args)
446 try: self.this.append(this)
447 except: self.this = this
448 def do_add_score_and_derivatives(self, *args):
449 """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
450 return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, *args)
452 def do_get_inputs(self):
453 """do_get_inputs(ExampleRestraint self) -> IMP::kernel::ModelObjectsTemp"""
454 return _IMP_example.ExampleRestraint_do_get_inputs(self)
456 def get_version_info(self):
457 """get_version_info(ExampleRestraint self) -> VersionInfo"""
458 return _IMP_example.ExampleRestraint_get_version_info(self)
461 """__str__(ExampleRestraint self) -> std::string"""
462 return _IMP_example.ExampleRestraint___str__(self)
465 """__repr__(ExampleRestraint self) -> std::string"""
466 return _IMP_example.ExampleRestraint___repr__(self)
469 return _object_cast_to_ExampleRestraint(o)
470 get_from = staticmethod(get_from)
472 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
473 ExampleRestraint_swigregister(ExampleRestraint)
476 """Proxy of C++ IMP::example::ExampleDecorator class"""
477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
478 def get_decorator_name(self):
479 """get_decorator_name(ExampleDecorator self) -> std::string"""
480 return _IMP_example.ExampleDecorator_get_decorator_name(self)
482 def set_decorator_name(self, *args):
483 """set_decorator_name(ExampleDecorator self, std::string nm)"""
484 return _IMP_example.ExampleDecorator_set_decorator_name(self, *args)
486 def __init__(self, *args):
488 __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
489 __init__(IMP::example::ExampleDecorator self, Model m, ::IMP::kernel::ParticleIndex id) -> ExampleDecorator
490 __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
492 this = _IMP_example.new_ExampleDecorator(*args)
493 try: self.this.append(this)
494 except: self.this = this
495 def get_is_setup(*args):
497 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
498 get_is_setup(_ParticleAdaptor p) -> bool
500 return _IMP_example.ExampleDecorator_get_is_setup(*args)
502 get_is_setup = staticmethod(get_is_setup)
503 def show(self, *args):
505 show(ExampleDecorator self, _ostream out=std::cout)
506 show(ExampleDecorator self)
508 return _IMP_example.ExampleDecorator_show(self, *args)
510 def setup_particle(*args):
512 setup_particle(Model m, IMP::kernel::ParticleIndex pi, std::string name) -> ExampleDecorator
513 setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
515 return _IMP_example.ExampleDecorator_setup_particle(*args)
517 setup_particle = staticmethod(setup_particle)
518 def add_attribute(self, *args):
520 add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
521 add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
522 add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
523 add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
524 add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
525 add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
527 return _IMP_example.ExampleDecorator_add_attribute(self, *args)
529 def get_value(self, *args):
531 get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
532 get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
533 get_value(ExampleDecorator self, StringKey a0) -> IMP::String
534 get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
535 get_value(ExampleDecorator self, ObjectKey a0) -> Object
537 return _IMP_example.ExampleDecorator_get_value(self, *args)
539 def set_value(self, *args):
541 set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
542 set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
543 set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
544 set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
545 set_value(ExampleDecorator self, ObjectKey a0, Object a1)
547 return _IMP_example.ExampleDecorator_set_value(self, *args)
549 def remove_attribute(self, *args):
551 remove_attribute(ExampleDecorator self, FloatKey a0)
552 remove_attribute(ExampleDecorator self, IntKey a0)
553 remove_attribute(ExampleDecorator self, StringKey a0)
554 remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
555 remove_attribute(ExampleDecorator self, ObjectKey a0)
557 return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
559 def has_attribute(self, *args):
561 has_attribute(ExampleDecorator self, FloatKey a0) -> bool
562 has_attribute(ExampleDecorator self, IntKey a0) -> bool
563 has_attribute(ExampleDecorator self, StringKey a0) -> bool
564 has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
565 has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
567 return _IMP_example.ExampleDecorator_has_attribute(self, *args)
569 def get_derivative(self, *args):
570 """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
571 return _IMP_example.ExampleDecorator_get_derivative(self, *args)
574 """get_name(ExampleDecorator self) -> std::string"""
575 return _IMP_example.ExampleDecorator_get_name(self)
577 def clear_caches(self):
578 """clear_caches(ExampleDecorator self)"""
579 return _IMP_example.ExampleDecorator_clear_caches(self)
581 def set_name(self, *args):
582 """set_name(ExampleDecorator self, std::string a0)"""
583 return _IMP_example.ExampleDecorator_set_name(self, *args)
586 """set_check_level(ExampleDecorator self, IMP::base::CheckLevel a0)"""
587 return _IMP_example.ExampleDecorator_set_check_level(self, *args)
589 def add_to_derivative(self, *args):
590 """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
591 return _IMP_example.ExampleDecorator_add_to_derivative(self, *args)
593 def set_is_optimized(self, *args):
594 """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
595 return _IMP_example.ExampleDecorator_set_is_optimized(self, *args)
597 def get_is_optimized(self, *args):
598 """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
599 return _IMP_example.ExampleDecorator_get_is_optimized(self, *args)
602 """get_check_level(ExampleDecorator self) -> IMP::base::CheckLevel"""
603 return _IMP_example.ExampleDecorator_get_check_level(self)
605 def __eq__(self, *args):
607 __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
608 __eq__(ExampleDecorator self, Particle d) -> bool
610 return _IMP_example.ExampleDecorator___eq__(self, *args)
612 def __ne__(self, *args):
614 __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
615 __ne__(ExampleDecorator self, Particle d) -> bool
617 return _IMP_example.ExampleDecorator___ne__(self, *args)
619 def __le__(self, *args):
621 __le__(ExampleDecorator self, ExampleDecorator o) -> bool
622 __le__(ExampleDecorator self, Particle d) -> bool
624 return _IMP_example.ExampleDecorator___le__(self, *args)
626 def __lt__(self, *args):
628 __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
629 __lt__(ExampleDecorator self, Particle d) -> bool
631 return _IMP_example.ExampleDecorator___lt__(self, *args)
633 def __ge__(self, *args):
635 __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
636 __ge__(ExampleDecorator self, Particle d) -> bool
638 return _IMP_example.ExampleDecorator___ge__(self, *args)
640 def __gt__(self, *args):
642 __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
643 __gt__(ExampleDecorator self, Particle d) -> bool
645 return _IMP_example.ExampleDecorator___gt__(self, *args)
648 """__hash__(ExampleDecorator self) -> std::size_t"""
649 return _IMP_example.ExampleDecorator___hash__(self)
652 """__str__(ExampleDecorator self) -> std::string"""
653 return _IMP_example.ExampleDecorator___str__(self)
656 """__repr__(ExampleDecorator self) -> std::string"""
657 return _IMP_example.ExampleDecorator___repr__(self)
659 __swig_destroy__ = _IMP_example.delete_ExampleDecorator
660 __del__ =
lambda self :
None;
661 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
662 ExampleDecorator_swigregister(ExampleDecorator)
664 def ExampleDecorator_get_is_setup(*args):
666 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
667 ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
669 return _IMP_example.ExampleDecorator_get_is_setup(*args)
671 def ExampleDecorator_setup_particle(*args):
673 setup_particle(Model m, IMP::kernel::ParticleIndex pi, std::string name) -> ExampleDecorator
674 ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
676 return _IMP_example.ExampleDecorator_setup_particle(*args)
679 def __lshift__(*args):
680 """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
681 return _IMP_example.__lshift__(*args)
683 """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
685 def __init__(self, *args):
686 """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
687 this = _IMP_example.new_ExampleUnaryFunction(*args)
688 try: self.this.append(this)
689 except: self.this = this
690 def get_version_info(self):
691 """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
692 return _IMP_example.ExampleUnaryFunction_get_version_info(self)
695 """__str__(ExampleUnaryFunction self) -> std::string"""
696 return _IMP_example.ExampleUnaryFunction___str__(self)
699 """__repr__(ExampleUnaryFunction self) -> std::string"""
700 return _IMP_example.ExampleUnaryFunction___repr__(self)
703 return _object_cast_to_ExampleUnaryFunction(o)
704 get_from = staticmethod(get_from)
706 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
707 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
710 """Proxy of C++ IMP::example::ExampleObject class"""
711 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
712 def __init__(self, *args):
713 """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
714 this = _IMP_example.new_ExampleObject(*args)
715 try: self.this.append(this)
716 except: self.this = this
717 def get_data(self, *args):
718 """get_data(ExampleObject self, unsigned int i) -> double"""
719 return _IMP_example.ExampleObject_get_data(self, *args)
721 def get_version_info(self):
722 """get_version_info(ExampleObject self) -> VersionInfo"""
723 return _IMP_example.ExampleObject_get_version_info(self)
726 """__str__(ExampleObject self) -> std::string"""
727 return _IMP_example.ExampleObject___str__(self)
730 """__repr__(ExampleObject self) -> std::string"""
731 return _IMP_example.ExampleObject___repr__(self)
734 return _object_cast_to_ExampleObject(o)
735 get_from = staticmethod(get_from)
737 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
738 ExampleObject_swigregister(ExampleObject)
741 """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
743 def __init__(self, *args):
744 """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
745 this = _IMP_example.new_ExampleSingletonModifier(*args)
746 try: self.this.append(this)
747 except: self.this = this
748 def do_get_inputs(self, *args):
749 """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
750 return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, *args)
752 def do_get_outputs(self, *args):
753 """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
754 return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, *args)
756 def get_version_info(self):
757 """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
758 return _IMP_example.ExampleSingletonModifier_get_version_info(self)
761 """__str__(ExampleSingletonModifier self) -> std::string"""
762 return _IMP_example.ExampleSingletonModifier___str__(self)
765 """__repr__(ExampleSingletonModifier self) -> std::string"""
766 return _IMP_example.ExampleSingletonModifier___repr__(self)
769 return _object_cast_to_ExampleSingletonModifier(o)
770 get_from = staticmethod(get_from)
772 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
773 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
776 """Proxy of C++ IMP::example::ExamplePairScore class"""
777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
778 def __init__(self, *args):
779 """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
780 this = _IMP_example.new_ExamplePairScore(*args)
781 try: self.this.append(this)
782 except: self.this = this
783 def do_get_inputs(self, *args):
784 """do_get_inputs(ExamplePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
785 return _IMP_example.ExamplePairScore_do_get_inputs(self, *args)
787 def get_version_info(self):
788 """get_version_info(ExamplePairScore self) -> VersionInfo"""
789 return _IMP_example.ExamplePairScore_get_version_info(self)
792 """__str__(ExamplePairScore self) -> std::string"""
793 return _IMP_example.ExamplePairScore___str__(self)
796 """__repr__(ExamplePairScore self) -> std::string"""
797 return _IMP_example.ExamplePairScore___repr__(self)
800 return _object_cast_to_ExamplePairScore(o)
801 get_from = staticmethod(get_from)
803 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
804 ExamplePairScore_swigregister(ExamplePairScore)
807 """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
808 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
809 def __init__(self, *args):
810 """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::kernel::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
811 this = _IMP_example.new_ExampleSubsetFilterTable(*args)
812 try: self.this.append(this)
813 except: self.this = this
814 def get_version_info(self):
815 """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
816 return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
819 """__str__(ExampleSubsetFilterTable self) -> std::string"""
820 return _IMP_example.ExampleSubsetFilterTable___str__(self)
823 """__repr__(ExampleSubsetFilterTable self) -> std::string"""
824 return _IMP_example.ExampleSubsetFilterTable___repr__(self)
827 return _object_cast_to_ExampleSubsetFilterTable(o)
828 get_from = staticmethod(get_from)
830 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
831 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
834 """Proxy of C++ IMP::example::ExampleConstraint class"""
835 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
836 def __init__(self, *args):
837 """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
838 this = _IMP_example.new_ExampleConstraint(*args)
839 try: self.this.append(this)
840 except: self.this = this
841 def do_get_inputs(self):
842 """do_get_inputs(ExampleConstraint self) -> IMP::kernel::ModelObjectsTemp"""
843 return _IMP_example.ExampleConstraint_do_get_inputs(self)
845 def do_get_outputs(self):
846 """do_get_outputs(ExampleConstraint self) -> IMP::kernel::ModelObjectsTemp"""
847 return _IMP_example.ExampleConstraint_do_get_outputs(self)
849 def get_version_info(self):
850 """get_version_info(ExampleConstraint self) -> VersionInfo"""
851 return _IMP_example.ExampleConstraint_get_version_info(self)
854 """__str__(ExampleConstraint self) -> std::string"""
855 return _IMP_example.ExampleConstraint___str__(self)
858 """__repr__(ExampleConstraint self) -> std::string"""
859 return _IMP_example.ExampleConstraint___repr__(self)
862 return _object_cast_to_ExampleConstraint(o)
863 get_from = staticmethod(get_from)
865 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
866 ExampleConstraint_swigregister(ExampleConstraint)
870 """create_serial_mover(IMP::kernel::ParticlesTemp const & ps) -> MonteCarloMover"""
871 return _IMP_example.create_serial_mover(*args)
875 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
876 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates(),
877 IMP::kernel::OptimizerStates const & opt_states=IMP::kernel::OptimizerStates(),
878 IMP::base::LogLevel ll=DEFAULT)
879 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
880 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates(),
881 IMP::kernel::OptimizerStates const & opt_states=IMP::kernel::OptimizerStates())
882 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
883 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates())
884 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp())
885 optimize_balls(IMP::kernel::ParticlesTemp const & ps)
887 return _IMP_example.optimize_balls(*args)
891 optimize_assembly(Model m, IMP::kernel::ParticlesTemp const & components, IMP::kernel::RestraintsTemp const & interactions,
892 IMP::kernel::RestraintsTemp const & other_restraints,
893 BoundingBox3D bb, PairScore ev, double cutoff, IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates())
894 optimize_assembly(Model m, IMP::kernel::ParticlesTemp const & components, IMP::kernel::RestraintsTemp const & interactions,
895 IMP::kernel::RestraintsTemp const & other_restraints,
896 BoundingBox3D bb, PairScore ev, double cutoff)
898 return _IMP_example.optimize_assembly(*args)
901 """get_number_of_incidences(IMP::kernel::ParticlesTemp const & psa, IMP::kernel::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
902 return _IMP_example.get_number_of_incidences(*args)
905 """create_chain_restraint(IMP::kernel::ParticlesTemp const & ps, double length_factor, double k, std::string name) -> Restraint"""
906 return _IMP_example.create_chain_restraint(*args)
909 """create_excluded_volume(IMP::kernel::ParticlesTemp const & ps, double k, std::string name) -> ClosePairContainer"""
910 return _IMP_example.create_excluded_volume(*args)
911 class ExampleTemplateClass3D(object):
912 """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
914 def __init__(self, *args):
916 __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
917 __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
919 this = _IMP_example.new_ExampleTemplateClass3D(*args)
920 try: self.this.append(this)
921 except: self.this = this
922 def get_point(self, *args):
923 """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
924 return _IMP_example.ExampleTemplateClass3D_get_point(self, *args)
926 def show(self, *args):
928 show(ExampleTemplateClass3D self, _ostream out=std::cout)
929 show(ExampleTemplateClass3D self)
931 return _IMP_example.ExampleTemplateClass3D_show(self, *args)
934 """__str__(ExampleTemplateClass3D self) -> std::string"""
935 return _IMP_example.ExampleTemplateClass3D___str__(self)
938 """__repr__(ExampleTemplateClass3D self) -> std::string"""
939 return _IMP_example.ExampleTemplateClass3D___repr__(self)
941 __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
942 __del__ =
lambda self :
None;
943 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
944 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
946 from ._randomize
import *
949 def get_module_version():
950 """get_module_version() -> std::string const"""
951 return _IMP_example.get_module_version()
954 """get_example_path(std::string fname) -> std::string"""
955 return _IMP_example.get_example_path(*args)
958 """get_data_path(std::string fname) -> std::string"""
959 return _IMP_example.get_data_path(*args)
960 from .
import _version_check
961 _version_check.check_version(get_module_version())
Various classes to hold sets of particles.
void optimize_assembly(kernel::Model *m, const kernel::ParticlesTemp &components, const kernel::RestraintsTemp &interactions, const kernel::RestraintsTemp &other_restraints, const algebra::BoundingBox3D &bb, PairScore *ev, double cutoff, const PairPredicates &excluded=PairPredicates())
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
std::string get_data_path(std::string file_name)
Return the full path to installed data.
void optimize_balls(const kernel::ParticlesTemp &ps, const kernel::RestraintsTemp &rs=kernel::RestraintsTemp(), const PairPredicates &excluded=PairPredicates(), const OptimizerStates &opt_states=OptimizerStates(), base::LogLevel ll=base::DEFAULT)
Abstract single variable functor class for score functions.
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
A base class for modifiers of kernel::ParticlesTemp.
Code to compute statistical measures.
kernel::Restraint * create_chain_restraint(const kernel::ParticlesTemp &ps, double length_factor, double k, std::string name)
unsigned int get_number_of_incidences(const kernel::ParticlesTemp &psa, const kernel::ParticlesTemp &psb, double point_distance)
Abstract class for scoring object(s) of type ParticlePair.
static XYZR setup_particle(kernel::Model *m, ParticleIndex pi)
Store a kernel::ParticleIndexes.
Base functionality and abstract base classes for representation, scoring and sampling.
A restraint is a term in an IMP ScoringFunction.
Class to handle individual model particles.
Common base class for heavy weight IMP objects.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
container::ClosePairContainer * create_excluded_volume(const kernel::ParticlesTemp &ps, double k, std::string name)
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...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
core::MonteCarloMover * create_serial_mover(const kernel::ParticlesTemp &ps)
Implement a constraint on the Model.
CheckLevel get_check_level()
Get the current audit mode.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for the RMF file format for storing hierarchical molecular data and markup.
Divide-and-conquer inferential optimization in discrete space.
Class for storing model, its restraints, constraints, and particles.