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:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_EXAMPLE_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_EXAMPLE_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_EXAMPLE_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_EXAMPLE_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_example.delete_IMP_EXAMPLE_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
91 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_value(self)
95 incr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
96 incr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
98 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_incr(self, n)
102 decr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
103 decr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
105 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
113 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_equal(self, *args)
116 """copy(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator"""
117 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_copy(self)
120 """next(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
121 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_next(self)
124 """__next__(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
125 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___next__(self)
128 """previous(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
129 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
133 return _IMP_example.IMP_EXAMPLE_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
137 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
141 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
145 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
149 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
153 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator
158 __sub__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_example.IMP_EXAMPLE_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_EXAMPLE_SwigPyIterator_swigregister = _IMP_example.IMP_EXAMPLE_SwigPyIterator_swigregister
164 IMP_EXAMPLE_SwigPyIterator_swigregister(IMP_EXAMPLE_SwigPyIterator)
171 IMP_DEBUG = _IMP_example.IMP_DEBUG
172 IMP_RELEASE = _IMP_example.IMP_RELEASE
173 IMP_SILENT = _IMP_example.IMP_SILENT
174 IMP_PROGRESS = _IMP_example.IMP_PROGRESS
175 IMP_TERSE = _IMP_example.IMP_TERSE
176 IMP_VERBOSE = _IMP_example.IMP_VERBOSE
177 IMP_MEMORY = _IMP_example.IMP_MEMORY
178 IMP_NONE = _IMP_example.IMP_NONE
179 IMP_USAGE = _IMP_example.IMP_USAGE
180 IMP_INTERNAL = _IMP_example.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_example.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_example.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_example.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_example.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_example.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_example.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_example.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_example.DEFAULT_CHECK
216 NONE = _IMP_example.NONE
217 USAGE = _IMP_example.USAGE
218 USAGE_AND_INTERNAL = _IMP_example.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_example.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_example.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_example._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_example._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_example.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_example.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_example.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_example.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_example.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_example.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_example.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_example.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
286 IMP_STATISTICS_HAS_IMP_BASE = _IMP_example.IMP_STATISTICS_HAS_IMP_BASE
287 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
288 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
289 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
290 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
291 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
292 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
293 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
295 IMP_CORE_HAS_IMP_BASE = _IMP_example.IMP_CORE_HAS_IMP_BASE
296 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
297 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
298 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
299 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
300 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
301 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
302 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
303 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
304 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
306 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
307 IMP_CONTAINER_HAS_IMP_BASE = _IMP_example.IMP_CONTAINER_HAS_IMP_BASE
308 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
309 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
310 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
311 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
312 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
313 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
314 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
315 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
316 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
317 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
318 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
320 IMP_ATOM_HAS_IMP_BASE = _IMP_example.IMP_ATOM_HAS_IMP_BASE
321 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
322 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
323 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
324 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
325 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
326 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
327 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
328 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
329 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
330 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
331 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
332 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
333 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
335 IMP_RMF_HAS_IMP_BASE = _IMP_example.IMP_RMF_HAS_IMP_BASE
336 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
337 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
338 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
339 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
340 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
341 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
342 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
343 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
344 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
345 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
348 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
349 IMP_DOMINO_HAS_IMP_BASE = _IMP_example.IMP_DOMINO_HAS_IMP_BASE
350 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
351 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
352 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
353 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
354 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
355 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
356 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
357 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
358 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
359 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
360 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
361 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
362 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
365 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
366 IMP_EXAMPLE_HAS_IMP_BASE = _IMP_example.IMP_EXAMPLE_HAS_IMP_BASE
367 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
368 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
369 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
370 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
371 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
372 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
373 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
374 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
375 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
376 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
377 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
378 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
379 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
380 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
381 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
382 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
383 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
384 _object_types.append(
"ExampleRestraint")
387 def _object_cast_to_ExampleRestraint(*args):
388 """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
389 return _IMP_example._object_cast_to_ExampleRestraint(*args)
390 def ExampleDecorators(l=[]):
391 return [ExampleDecorator(x)
for x
in l]
392 _plural_types.append(
"ExampleDecorators")
394 _value_types.append(
"ExampleDecorator")
396 _object_types.append(
"ExampleUnaryFunction")
399 def _object_cast_to_ExampleUnaryFunction(*args):
400 """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
401 return _IMP_example._object_cast_to_ExampleUnaryFunction(*args)
402 _object_types.append(
"ExampleSingletonModifier")
405 def _object_cast_to_ExampleSingletonModifier(*args):
406 """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
407 return _IMP_example._object_cast_to_ExampleSingletonModifier(*args)
408 _object_types.append(
"ExamplePairScore")
411 def _object_cast_to_ExamplePairScore(*args):
412 """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
413 return _IMP_example._object_cast_to_ExamplePairScore(*args)
414 _object_types.append(
"ExampleSubsetFilterTable")
417 def _object_cast_to_ExampleSubsetFilterTable(*args):
418 """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
419 return _IMP_example._object_cast_to_ExampleSubsetFilterTable(*args)
420 _object_types.append(
"ExampleConstraint")
423 def _object_cast_to_ExampleConstraint(*args):
424 """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
425 return _IMP_example._object_cast_to_ExampleConstraint(*args)
426 _object_types.append(
"ExampleObject")
429 def _object_cast_to_ExampleObject(*args):
430 """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
431 return _IMP_example._object_cast_to_ExampleObject(*args)
432 ExampleTemplateClass3Ds=list
433 _plural_types.append(
"ExampleTemplateClass3Ds")
434 _value_types.append(
"ExampleTemplateClass3D")
436 def create_model_and_particles():
441 for i
in range(0,100):
445 d.set_coordinates_are_optimized(
True)
449 """Proxy of C++ IMP::example::ExampleRestraint class"""
450 __swig_setmethods__ = {}
451 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
452 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleRestraint, name, value)
453 __swig_getmethods__ = {}
454 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
455 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleRestraint, name)
456 def __init__(self, *args):
457 """__init__(IMP::example::ExampleRestraint self, Model m, IMP::kernel::ParticleIndex p, double k) -> ExampleRestraint"""
458 this = _IMP_example.new_ExampleRestraint(*args)
459 try: self.this.append(this)
460 except: self.this = this
461 def do_add_score_and_derivatives(self, *args):
462 """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
463 return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, *args)
465 def do_get_inputs(self):
466 """do_get_inputs(ExampleRestraint self) -> IMP::kernel::ModelObjectsTemp"""
467 return _IMP_example.ExampleRestraint_do_get_inputs(self)
469 def get_version_info(self):
470 """get_version_info(ExampleRestraint self) -> VersionInfo"""
471 return _IMP_example.ExampleRestraint_get_version_info(self)
474 """__str__(ExampleRestraint self) -> std::string"""
475 return _IMP_example.ExampleRestraint___str__(self)
478 """__repr__(ExampleRestraint self) -> std::string"""
479 return _IMP_example.ExampleRestraint___repr__(self)
482 return _object_cast_to_ExampleRestraint(o)
483 get_from = staticmethod(get_from)
485 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
486 ExampleRestraint_swigregister(ExampleRestraint)
489 """Proxy of C++ IMP::example::ExampleDecorator class"""
490 __swig_setmethods__ = {}
491 for _s
in [
IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
492 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleDecorator, name, value)
493 __swig_getmethods__ = {}
494 for _s
in [
IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
495 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleDecorator, name)
496 def get_decorator_name(self):
497 """get_decorator_name(ExampleDecorator self) -> std::string"""
498 return _IMP_example.ExampleDecorator_get_decorator_name(self)
500 def set_decorator_name(self, *args):
501 """set_decorator_name(ExampleDecorator self, std::string nm)"""
502 return _IMP_example.ExampleDecorator_set_decorator_name(self, *args)
504 def __init__(self, *args):
506 __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
507 __init__(IMP::example::ExampleDecorator self, Model m, ::IMP::kernel::ParticleIndex id) -> ExampleDecorator
508 __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
510 this = _IMP_example.new_ExampleDecorator(*args)
511 try: self.this.append(this)
512 except: self.this = this
513 def get_is_setup(*args):
515 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
516 get_is_setup(_ParticleAdaptor p) -> bool
518 return _IMP_example.ExampleDecorator_get_is_setup(*args)
520 if _newclass:get_is_setup = staticmethod(get_is_setup)
521 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
522 def show(self, *args):
524 show(ExampleDecorator self, _ostream out=std::cout)
525 show(ExampleDecorator self)
527 return _IMP_example.ExampleDecorator_show(self, *args)
529 def setup_particle(*args):
531 setup_particle(Model m, IMP::kernel::ParticleIndex pi, std::string name) -> ExampleDecorator
532 setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
534 return _IMP_example.ExampleDecorator_setup_particle(*args)
536 if _newclass:setup_particle = staticmethod(setup_particle)
537 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
538 def add_attribute(self, *args):
540 add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
541 add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
542 add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
543 add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
544 add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
545 add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
547 return _IMP_example.ExampleDecorator_add_attribute(self, *args)
549 def get_value(self, *args):
551 get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
552 get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
553 get_value(ExampleDecorator self, StringKey a0) -> IMP::String
554 get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
555 get_value(ExampleDecorator self, ObjectKey a0) -> Object
557 return _IMP_example.ExampleDecorator_get_value(self, *args)
559 def set_value(self, *args):
561 set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
562 set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
563 set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
564 set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
565 set_value(ExampleDecorator self, ObjectKey a0, Object a1)
567 return _IMP_example.ExampleDecorator_set_value(self, *args)
569 def remove_attribute(self, *args):
571 remove_attribute(ExampleDecorator self, FloatKey a0)
572 remove_attribute(ExampleDecorator self, IntKey a0)
573 remove_attribute(ExampleDecorator self, StringKey a0)
574 remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
575 remove_attribute(ExampleDecorator self, ObjectKey a0)
577 return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
579 def has_attribute(self, *args):
581 has_attribute(ExampleDecorator self, FloatKey a0) -> bool
582 has_attribute(ExampleDecorator self, IntKey a0) -> bool
583 has_attribute(ExampleDecorator self, StringKey a0) -> bool
584 has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
585 has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
587 return _IMP_example.ExampleDecorator_has_attribute(self, *args)
589 def get_derivative(self, *args):
590 """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
591 return _IMP_example.ExampleDecorator_get_derivative(self, *args)
594 """get_name(ExampleDecorator self) -> std::string"""
595 return _IMP_example.ExampleDecorator_get_name(self)
597 def clear_caches(self):
598 """clear_caches(ExampleDecorator self)"""
599 return _IMP_example.ExampleDecorator_clear_caches(self)
601 def set_name(self, *args):
602 """set_name(ExampleDecorator self, std::string a0)"""
603 return _IMP_example.ExampleDecorator_set_name(self, *args)
606 """set_check_level(ExampleDecorator self, IMP::base::CheckLevel a0)"""
607 return _IMP_example.ExampleDecorator_set_check_level(self, *args)
609 def add_to_derivative(self, *args):
610 """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
611 return _IMP_example.ExampleDecorator_add_to_derivative(self, *args)
613 def set_is_optimized(self, *args):
614 """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
615 return _IMP_example.ExampleDecorator_set_is_optimized(self, *args)
617 def get_is_optimized(self, *args):
618 """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
619 return _IMP_example.ExampleDecorator_get_is_optimized(self, *args)
622 """get_check_level(ExampleDecorator self) -> IMP::base::CheckLevel"""
623 return _IMP_example.ExampleDecorator_get_check_level(self)
625 def __eq__(self, *args):
627 __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
628 __eq__(ExampleDecorator self, Particle d) -> bool
630 return _IMP_example.ExampleDecorator___eq__(self, *args)
632 def __ne__(self, *args):
634 __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
635 __ne__(ExampleDecorator self, Particle d) -> bool
637 return _IMP_example.ExampleDecorator___ne__(self, *args)
639 def __le__(self, *args):
641 __le__(ExampleDecorator self, ExampleDecorator o) -> bool
642 __le__(ExampleDecorator self, Particle d) -> bool
644 return _IMP_example.ExampleDecorator___le__(self, *args)
646 def __lt__(self, *args):
648 __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
649 __lt__(ExampleDecorator self, Particle d) -> bool
651 return _IMP_example.ExampleDecorator___lt__(self, *args)
653 def __ge__(self, *args):
655 __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
656 __ge__(ExampleDecorator self, Particle d) -> bool
658 return _IMP_example.ExampleDecorator___ge__(self, *args)
660 def __gt__(self, *args):
662 __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
663 __gt__(ExampleDecorator self, Particle d) -> bool
665 return _IMP_example.ExampleDecorator___gt__(self, *args)
668 """__str__(ExampleDecorator self) -> std::string"""
669 return _IMP_example.ExampleDecorator___str__(self)
672 """__repr__(ExampleDecorator self) -> std::string"""
673 return _IMP_example.ExampleDecorator___repr__(self)
675 __swig_destroy__ = _IMP_example.delete_ExampleDecorator
676 __del__ =
lambda self :
None;
677 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
678 ExampleDecorator_swigregister(ExampleDecorator)
680 def ExampleDecorator_get_is_setup(*args):
682 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
683 ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
685 return _IMP_example.ExampleDecorator_get_is_setup(*args)
687 def ExampleDecorator_setup_particle(*args):
689 setup_particle(Model m, IMP::kernel::ParticleIndex pi, std::string name) -> ExampleDecorator
690 ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
692 return _IMP_example.ExampleDecorator_setup_particle(*args)
695 def __lshift__(*args):
696 """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
697 return _IMP_example.__lshift__(*args)
699 """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
700 __swig_setmethods__ = {}
702 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleUnaryFunction, name, value)
703 __swig_getmethods__ = {}
705 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleUnaryFunction, name)
706 def __init__(self, *args):
707 """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
708 this = _IMP_example.new_ExampleUnaryFunction(*args)
709 try: self.this.append(this)
710 except: self.this = this
711 def get_version_info(self):
712 """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
713 return _IMP_example.ExampleUnaryFunction_get_version_info(self)
716 """__str__(ExampleUnaryFunction self) -> std::string"""
717 return _IMP_example.ExampleUnaryFunction___str__(self)
720 """__repr__(ExampleUnaryFunction self) -> std::string"""
721 return _IMP_example.ExampleUnaryFunction___repr__(self)
724 return _object_cast_to_ExampleUnaryFunction(o)
725 get_from = staticmethod(get_from)
727 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
728 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
731 """Proxy of C++ IMP::example::ExampleObject class"""
732 __swig_setmethods__ = {}
733 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
734 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleObject, name, value)
735 __swig_getmethods__ = {}
736 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
737 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleObject, name)
738 def __init__(self, *args):
739 """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
740 this = _IMP_example.new_ExampleObject(*args)
741 try: self.this.append(this)
742 except: self.this = this
743 def get_data(self, *args):
744 """get_data(ExampleObject self, unsigned int i) -> double"""
745 return _IMP_example.ExampleObject_get_data(self, *args)
747 def get_version_info(self):
748 """get_version_info(ExampleObject self) -> VersionInfo"""
749 return _IMP_example.ExampleObject_get_version_info(self)
752 """__str__(ExampleObject self) -> std::string"""
753 return _IMP_example.ExampleObject___str__(self)
756 """__repr__(ExampleObject self) -> std::string"""
757 return _IMP_example.ExampleObject___repr__(self)
760 return _object_cast_to_ExampleObject(o)
761 get_from = staticmethod(get_from)
763 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
764 ExampleObject_swigregister(ExampleObject)
767 """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
768 __swig_setmethods__ = {}
770 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleSingletonModifier, name, value)
771 __swig_getmethods__ = {}
773 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleSingletonModifier, name)
774 def __init__(self, *args):
775 """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
776 this = _IMP_example.new_ExampleSingletonModifier(*args)
777 try: self.this.append(this)
778 except: self.this = this
779 def do_get_inputs(self, *args):
780 """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
781 return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, *args)
783 def do_get_outputs(self, *args):
784 """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
785 return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, *args)
787 def get_version_info(self):
788 """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
789 return _IMP_example.ExampleSingletonModifier_get_version_info(self)
792 """__str__(ExampleSingletonModifier self) -> std::string"""
793 return _IMP_example.ExampleSingletonModifier___str__(self)
796 """__repr__(ExampleSingletonModifier self) -> std::string"""
797 return _IMP_example.ExampleSingletonModifier___repr__(self)
800 return _object_cast_to_ExampleSingletonModifier(o)
801 get_from = staticmethod(get_from)
803 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
804 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
807 """Proxy of C++ IMP::example::ExamplePairScore class"""
808 __swig_setmethods__ = {}
809 for _s
in [
IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
810 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExamplePairScore, name, value)
811 __swig_getmethods__ = {}
812 for _s
in [
IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
813 __getattr__ =
lambda self, name: _swig_getattr(self, ExamplePairScore, name)
814 def __init__(self, *args):
815 """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
816 this = _IMP_example.new_ExamplePairScore(*args)
817 try: self.this.append(this)
818 except: self.this = this
819 def do_get_inputs(self, *args):
820 """do_get_inputs(ExamplePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
821 return _IMP_example.ExamplePairScore_do_get_inputs(self, *args)
823 def get_version_info(self):
824 """get_version_info(ExamplePairScore self) -> VersionInfo"""
825 return _IMP_example.ExamplePairScore_get_version_info(self)
828 """__str__(ExamplePairScore self) -> std::string"""
829 return _IMP_example.ExamplePairScore___str__(self)
832 """__repr__(ExamplePairScore self) -> std::string"""
833 return _IMP_example.ExamplePairScore___repr__(self)
836 return _object_cast_to_ExamplePairScore(o)
837 get_from = staticmethod(get_from)
839 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
840 ExamplePairScore_swigregister(ExamplePairScore)
843 """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
844 __swig_setmethods__ = {}
846 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleSubsetFilterTable, name, value)
847 __swig_getmethods__ = {}
849 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleSubsetFilterTable, name)
850 def __init__(self, *args):
851 """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::kernel::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
852 this = _IMP_example.new_ExampleSubsetFilterTable(*args)
853 try: self.this.append(this)
854 except: self.this = this
855 def get_version_info(self):
856 """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
857 return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
860 """__str__(ExampleSubsetFilterTable self) -> std::string"""
861 return _IMP_example.ExampleSubsetFilterTable___str__(self)
864 """__repr__(ExampleSubsetFilterTable self) -> std::string"""
865 return _IMP_example.ExampleSubsetFilterTable___repr__(self)
868 return _object_cast_to_ExampleSubsetFilterTable(o)
869 get_from = staticmethod(get_from)
871 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
872 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
875 """Proxy of C++ IMP::example::ExampleConstraint class"""
876 __swig_setmethods__ = {}
878 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleConstraint, name, value)
879 __swig_getmethods__ = {}
881 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleConstraint, name)
882 def __init__(self, *args):
883 """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
884 this = _IMP_example.new_ExampleConstraint(*args)
885 try: self.this.append(this)
886 except: self.this = this
887 def do_get_inputs(self):
888 """do_get_inputs(ExampleConstraint self) -> IMP::kernel::ModelObjectsTemp"""
889 return _IMP_example.ExampleConstraint_do_get_inputs(self)
891 def do_get_outputs(self):
892 """do_get_outputs(ExampleConstraint self) -> IMP::kernel::ModelObjectsTemp"""
893 return _IMP_example.ExampleConstraint_do_get_outputs(self)
895 def get_version_info(self):
896 """get_version_info(ExampleConstraint self) -> VersionInfo"""
897 return _IMP_example.ExampleConstraint_get_version_info(self)
900 """__str__(ExampleConstraint self) -> std::string"""
901 return _IMP_example.ExampleConstraint___str__(self)
904 """__repr__(ExampleConstraint self) -> std::string"""
905 return _IMP_example.ExampleConstraint___repr__(self)
908 return _object_cast_to_ExampleConstraint(o)
909 get_from = staticmethod(get_from)
911 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
912 ExampleConstraint_swigregister(ExampleConstraint)
916 """create_serial_mover(IMP::kernel::ParticlesTemp const & ps) -> MonteCarloMover"""
917 return _IMP_example.create_serial_mover(*args)
921 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
922 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates(),
923 IMP::kernel::OptimizerStates const & opt_states=IMP::kernel::OptimizerStates(),
924 IMP::base::LogLevel ll=DEFAULT)
925 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
926 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates(),
927 IMP::kernel::OptimizerStates const & opt_states=IMP::kernel::OptimizerStates())
928 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp(),
929 IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates())
930 optimize_balls(IMP::kernel::ParticlesTemp const & ps, IMP::kernel::RestraintsTemp const & rs=IMP::kernel::RestraintsTemp())
931 optimize_balls(IMP::kernel::ParticlesTemp const & ps)
933 return _IMP_example.optimize_balls(*args)
937 optimize_assembly(Model m, IMP::kernel::ParticlesTemp const & components, IMP::kernel::RestraintsTemp const & interactions,
938 IMP::kernel::RestraintsTemp const & other_restraints,
939 BoundingBox3D bb, PairScore ev, double cutoff, IMP::kernel::PairPredicates const & excluded=IMP::kernel::PairPredicates())
940 optimize_assembly(Model m, IMP::kernel::ParticlesTemp const & components, IMP::kernel::RestraintsTemp const & interactions,
941 IMP::kernel::RestraintsTemp const & other_restraints,
942 BoundingBox3D bb, PairScore ev, double cutoff)
944 return _IMP_example.optimize_assembly(*args)
947 """get_number_of_incidences(IMP::kernel::ParticlesTemp const & psa, IMP::kernel::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
948 return _IMP_example.get_number_of_incidences(*args)
951 """create_chain_restraint(IMP::kernel::ParticlesTemp const & ps, double length_factor, double k, std::string name) -> Restraint"""
952 return _IMP_example.create_chain_restraint(*args)
955 """create_excluded_volume(IMP::kernel::ParticlesTemp const & ps, double k, std::string name) -> ClosePairContainer"""
956 return _IMP_example.create_excluded_volume(*args)
957 class ExampleTemplateClass3D(_object):
958 """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
959 __swig_setmethods__ = {}
960 __setattr__ =
lambda self, name, value: _swig_setattr(self, ExampleTemplateClass3D, name, value)
961 __swig_getmethods__ = {}
962 __getattr__ =
lambda self, name: _swig_getattr(self, ExampleTemplateClass3D, name)
963 def __init__(self, *args):
965 __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
966 __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
968 this = _IMP_example.new_ExampleTemplateClass3D(*args)
969 try: self.this.append(this)
970 except: self.this = this
971 def get_point(self, *args):
972 """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
973 return _IMP_example.ExampleTemplateClass3D_get_point(self, *args)
975 def show(self, *args):
977 show(ExampleTemplateClass3D self, _ostream out=std::cout)
978 show(ExampleTemplateClass3D self)
980 return _IMP_example.ExampleTemplateClass3D_show(self, *args)
983 """__str__(ExampleTemplateClass3D self) -> std::string"""
984 return _IMP_example.ExampleTemplateClass3D___str__(self)
987 """__repr__(ExampleTemplateClass3D self) -> std::string"""
988 return _IMP_example.ExampleTemplateClass3D___repr__(self)
990 __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
991 __del__ =
lambda self :
None;
992 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
993 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
995 from _randomize
import *
998 def get_module_version():
999 """get_module_version() -> std::string const"""
1000 return _IMP_example.get_module_version()
1003 """get_example_path(std::string fname) -> std::string"""
1004 return _IMP_example.get_example_path(*args)
1007 """get_data_path(std::string fname) -> std::string"""
1008 return _IMP_example.get_data_path(*args)
1009 import _version_check
1010 _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.
Output IMP model data in various file formats.
CheckLevel get_check_level()
Get the current audit mode.
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.