11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_npc', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_npc', fp, pathname, description)
34 _IMP_npc = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
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)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
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)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_NPC_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_NPC_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
127 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
132 incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
133 incr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
135 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
140 decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
141 decr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
143 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
152 """equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
153 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
157 """copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
158 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
162 """next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
163 return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
167 """__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
168 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
172 """previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
173 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
178 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
183 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
188 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
193 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
198 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
203 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
209 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
215 IMP_NPC_SwigPyIterator_swigregister = _IMP_npc.IMP_NPC_SwigPyIterator_swigregister
216 IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
225 _IMP_npc.IMP_DEBUG_swigconstant(_IMP_npc)
226 IMP_DEBUG = _IMP_npc.IMP_DEBUG
228 _IMP_npc.IMP_RELEASE_swigconstant(_IMP_npc)
229 IMP_RELEASE = _IMP_npc.IMP_RELEASE
231 _IMP_npc.IMP_SILENT_swigconstant(_IMP_npc)
232 IMP_SILENT = _IMP_npc.IMP_SILENT
234 _IMP_npc.IMP_PROGRESS_swigconstant(_IMP_npc)
235 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
237 _IMP_npc.IMP_TERSE_swigconstant(_IMP_npc)
238 IMP_TERSE = _IMP_npc.IMP_TERSE
240 _IMP_npc.IMP_VERBOSE_swigconstant(_IMP_npc)
241 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
243 _IMP_npc.IMP_MEMORY_swigconstant(_IMP_npc)
244 IMP_MEMORY = _IMP_npc.IMP_MEMORY
246 _IMP_npc.IMP_NONE_swigconstant(_IMP_npc)
247 IMP_NONE = _IMP_npc.IMP_NONE
249 _IMP_npc.IMP_USAGE_swigconstant(_IMP_npc)
250 IMP_USAGE = _IMP_npc.IMP_USAGE
252 _IMP_npc.IMP_INTERNAL_swigconstant(_IMP_npc)
253 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
255 _IMP_npc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_npc)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_npc)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_npc)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_npc.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_npc)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_npc.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_npc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_npc)
271 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
273 _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_npc)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_npc)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_npc)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_npc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_npc)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
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)
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]
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()
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')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_npc._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_npc._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_npc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_npc)
328 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
330 _IMP_npc.IMP_C_OPEN_BINARY_swigconstant(_IMP_npc)
331 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
334 _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_npc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_npc)
347 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
349 _IMP_npc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_npc)
350 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
353 _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_npc)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_npc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_npc)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
371 _IMP_npc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_npc)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_npc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_npc)
375 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
377 _IMP_npc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_npc)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_npc)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_npc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_npc)
397 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
399 _IMP_npc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_npc)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
402 _IMP_npc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_npc)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_npc)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_npc)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_npc)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_npc)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_npc)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_npc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_npc)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
437 _IMP_npc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
440 _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
443 _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
446 _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
449 _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
452 _IMP_npc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_npc)
453 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
455 _IMP_npc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_npc)
456 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
458 _IMP_npc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_npc)
459 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
461 _IMP_npc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_npc)
462 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
465 _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA_swigconstant(_IMP_npc)
466 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
468 _IMP_npc.IMP_NPC_HAS_IMP_CGAL_swigconstant(_IMP_npc)
469 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
471 _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY_swigconstant(_IMP_npc)
472 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
474 _IMP_npc.IMP_NPC_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
475 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
477 _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_npc)
478 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
480 _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
481 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
483 _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
484 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
487 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
489 _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
490 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
492 _IMP_npc.IMP_NPC_HAS_CGAL_swigconstant(_IMP_npc)
493 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
495 _IMP_npc.IMP_NPC_HAS_HDF5_swigconstant(_IMP_npc)
496 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
498 _IMP_npc.IMP_NPC_HAS_NUMPY_swigconstant(_IMP_npc)
499 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
501 _IMP_npc.IMP_NPC_HAS_PYTHON_IHM_swigconstant(_IMP_npc)
502 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
504 _IMP_npc.IMPNPC_SHOW_WARNINGS_swigconstant(_IMP_npc)
505 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
507 _object_types.append(
"ZAxialPositionLowerRestraint")
510 def _object_cast_to_ZAxialPositionLowerRestraint(o):
511 """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
512 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
514 _object_types.append(
"ZAxialPositionUpperRestraint")
517 def _object_cast_to_ZAxialPositionUpperRestraint(o):
518 """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
519 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
521 _object_types.append(
"XYRadialPositionLowerRestraint")
524 def _object_cast_to_XYRadialPositionLowerRestraint(o):
525 """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
526 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
528 _object_types.append(
"XYRadialPositionUpperRestraint")
531 def _object_cast_to_XYRadialPositionUpperRestraint(o):
532 """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
533 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
535 _object_types.append(
"ProteinContactRestraint")
538 def _object_cast_to_ProteinContactRestraint(o):
539 """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
540 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
542 _object_types.append(
"ProteinChainRestraint")
545 def _object_cast_to_ProteinChainRestraint(o):
546 """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
547 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
549 _object_types.append(
"MembraneSurfaceLocationRestraint")
552 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
553 """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
554 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
556 _object_types.append(
"PoreSideVolumeLocationRestraint")
559 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
560 """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
561 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
563 _object_types.append(
"PerinuclearVolumeLocationRestraint")
566 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
567 """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
568 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
570 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
573 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
574 """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
575 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
577 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
580 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
581 """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
582 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
584 _object_types.append(
"ProteinProximityRestraint")
587 def _object_cast_to_ProteinProximityRestraint(o):
588 """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
589 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
591 _object_types.append(
"CompositeRestraint")
594 def _object_cast_to_CompositeRestraint(o):
595 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
596 return _IMP_npc._object_cast_to_CompositeRestraint(o)
598 _object_types.append(
"MinimumSphereDistancePairScore")
601 def _object_cast_to_MinimumSphereDistancePairScore(o):
602 """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
603 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
605 _object_types.append(
"MembraneExclusionRestraint")
608 def _object_cast_to_MembraneExclusionRestraint(o):
609 """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
610 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
612 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
615 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
616 """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
617 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
619 _object_types.append(
"XYRadialPositionRestraint")
622 def _object_cast_to_XYRadialPositionRestraint(o):
623 """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
624 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
626 _object_types.append(
"YAxialPositionLowerRestraint")
629 def _object_cast_to_YAxialPositionLowerRestraint(o):
630 """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
631 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
633 _object_types.append(
"YAxialPositionRestraint")
636 def _object_cast_to_YAxialPositionRestraint(o):
637 """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
638 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
640 _object_types.append(
"YAxialPositionUpperRestraint")
643 def _object_cast_to_YAxialPositionUpperRestraint(o):
644 """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
645 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
647 _object_types.append(
"ZAxialPositionRestraint")
650 def _object_cast_to_ZAxialPositionRestraint(o):
651 """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
652 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
654 """Proxy of C++ IMP::npc::ZAxialPositionRestraint class"""
655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
659 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
660 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
661 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
662 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
664 this = _IMP_npc.new_ZAxialPositionRestraint(*args)
666 self.this.append(this)
671 """add_particle(ZAxialPositionRestraint self, Particle p)"""
672 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
676 """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
677 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
680 def set_particles(self, ps):
681 """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
682 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
685 def do_get_inputs(self):
686 """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
687 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
690 def get_version_info(self):
691 """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
692 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
696 """__str__(ZAxialPositionRestraint self) -> std::string"""
697 return _IMP_npc.ZAxialPositionRestraint___str__(self)
701 """__repr__(ZAxialPositionRestraint self) -> std::string"""
702 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
707 return _object_cast_to_ZAxialPositionRestraint(o)
709 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
710 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
713 """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class"""
714 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
718 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
719 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
720 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
721 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
723 this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
725 self.this.append(this)
730 """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
731 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
735 """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
736 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
739 def set_particles(self, ps):
740 """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
741 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
744 def do_get_inputs(self):
745 """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
746 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
749 def get_version_info(self):
750 """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
751 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
755 """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
756 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
760 """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
761 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
766 return _object_cast_to_ZAxialPositionLowerRestraint(o)
768 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
769 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
772 """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class"""
773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
777 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
778 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
779 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
780 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
782 this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
784 self.this.append(this)
789 """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
790 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
794 """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
795 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
798 def set_particles(self, ps):
799 """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
800 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
803 def do_get_inputs(self):
804 """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
805 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
808 def get_version_info(self):
809 """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
810 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
814 """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
815 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
819 """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
820 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
825 return _object_cast_to_ZAxialPositionUpperRestraint(o)
827 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
828 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
831 """Proxy of C++ IMP::npc::YAxialPositionRestraint class"""
832 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
836 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
837 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
838 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
839 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
841 this = _IMP_npc.new_YAxialPositionRestraint(*args)
843 self.this.append(this)
848 """add_particle(YAxialPositionRestraint self, Particle p)"""
849 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
853 """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
854 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
857 def set_particles(self, ps):
858 """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
859 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
862 def do_get_inputs(self):
863 """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
864 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
867 def get_version_info(self):
868 """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
869 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
873 """__str__(YAxialPositionRestraint self) -> std::string"""
874 return _IMP_npc.YAxialPositionRestraint___str__(self)
878 """__repr__(YAxialPositionRestraint self) -> std::string"""
879 return _IMP_npc.YAxialPositionRestraint___repr__(self)
884 return _object_cast_to_YAxialPositionRestraint(o)
886 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
887 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
890 """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class"""
891 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
895 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
896 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
897 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
898 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
900 this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
902 self.this.append(this)
907 """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
908 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
912 """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
913 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
916 def set_particles(self, ps):
917 """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
918 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
921 def do_get_inputs(self):
922 """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
923 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
926 def get_version_info(self):
927 """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
928 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
932 """__str__(YAxialPositionLowerRestraint self) -> std::string"""
933 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
937 """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
938 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
943 return _object_cast_to_YAxialPositionLowerRestraint(o)
945 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
946 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
949 """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class"""
950 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
954 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
955 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
956 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
957 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
959 this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
961 self.this.append(this)
966 """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
967 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
971 """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
972 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
975 def set_particles(self, ps):
976 """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
977 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
980 def do_get_inputs(self):
981 """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
982 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
985 def get_version_info(self):
986 """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
987 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
991 """__str__(YAxialPositionUpperRestraint self) -> std::string"""
992 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
996 """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
997 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
1002 return _object_cast_to_YAxialPositionUpperRestraint(o)
1004 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
1005 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1008 """Proxy of C++ IMP::npc::XYRadialPositionRestraint class"""
1009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1013 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1014 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1015 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1016 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1018 this = _IMP_npc.new_XYRadialPositionRestraint(*args)
1020 self.this.append(this)
1025 """add_particle(XYRadialPositionRestraint self, Particle p)"""
1026 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1030 """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1031 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1034 def set_particles(self, ps):
1035 """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1036 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1039 def do_get_inputs(self):
1040 """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1041 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1044 def get_version_info(self):
1045 """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1046 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1050 """__str__(XYRadialPositionRestraint self) -> std::string"""
1051 return _IMP_npc.XYRadialPositionRestraint___str__(self)
1055 """__repr__(XYRadialPositionRestraint self) -> std::string"""
1056 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1061 return _object_cast_to_XYRadialPositionRestraint(o)
1063 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
1064 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1067 """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class"""
1068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1072 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1073 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1074 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1075 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1077 this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
1079 self.this.append(this)
1084 """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1085 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1089 """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1090 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1093 def set_particles(self, ps):
1094 """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1095 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1098 def do_get_inputs(self):
1099 """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1100 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1103 def get_version_info(self):
1104 """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1105 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1109 """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1110 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1114 """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1115 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1120 return _object_cast_to_XYRadialPositionLowerRestraint(o)
1122 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
1123 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1126 """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class"""
1127 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1131 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1132 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1133 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1134 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1136 this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
1138 self.this.append(this)
1143 """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1144 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1148 """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1149 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1152 def set_particles(self, ps):
1153 """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1154 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1157 def do_get_inputs(self):
1158 """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1159 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1162 def get_version_info(self):
1163 """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1164 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1168 """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1169 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1173 """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1174 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1179 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1181 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1182 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1185 """Proxy of C++ IMP::npc::ProteinContactRestraint class"""
1186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1190 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1191 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1192 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1193 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1195 this = _IMP_npc.new_ProteinContactRestraint(*args)
1197 self.this.append(this)
1202 """add_particle(ProteinContactRestraint self, Particle p)"""
1203 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1207 """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1208 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1211 def set_particles(self, ps):
1212 """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1213 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1216 def do_get_inputs(self):
1217 """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1218 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1221 def get_version_info(self):
1222 """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1223 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1227 """__str__(ProteinContactRestraint self) -> std::string"""
1228 return _IMP_npc.ProteinContactRestraint___str__(self)
1232 """__repr__(ProteinContactRestraint self) -> std::string"""
1233 return _IMP_npc.ProteinContactRestraint___repr__(self)
1238 return _object_cast_to_ProteinContactRestraint(o)
1240 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1241 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1244 """Proxy of C++ IMP::npc::ProteinChainRestraint class"""
1245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1249 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1250 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1251 __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1252 __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1254 this = _IMP_npc.new_ProteinChainRestraint(*args)
1256 self.this.append(this)
1261 """add_particle(ProteinChainRestraint self, Particle p)"""
1262 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1266 """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1267 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1270 def set_particles(self, ps):
1271 """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1272 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1275 def do_get_inputs(self):
1276 """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1277 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1280 def get_version_info(self):
1281 """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1282 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1286 """__str__(ProteinChainRestraint self) -> std::string"""
1287 return _IMP_npc.ProteinChainRestraint___str__(self)
1291 """__repr__(ProteinChainRestraint self) -> std::string"""
1292 return _IMP_npc.ProteinChainRestraint___repr__(self)
1297 return _object_cast_to_ProteinChainRestraint(o)
1299 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1300 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1303 """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class"""
1304 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1308 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1309 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1310 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1311 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1313 this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1315 self.this.append(this)
1320 """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1321 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1325 """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1326 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1329 def set_particles(self, ps):
1330 """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1331 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1334 def do_get_inputs(self):
1335 """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1336 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1339 def get_version_info(self):
1340 """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1341 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1345 """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1346 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1350 """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1351 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1356 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1358 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1359 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1361 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1362 """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class"""
1363 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1367 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1368 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1369 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1370 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1372 this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1374 self.this.append(this)
1378 def add_particle1(self, p):
1379 """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1380 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1383 def add_particle2(self, p):
1384 """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1385 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1388 def add_particles1(self, ps):
1389 """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1390 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1393 def add_particles2(self, ps):
1394 """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1395 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1398 def set_particles1(self, ps):
1399 """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1400 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1403 def set_particles2(self, ps):
1404 """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1405 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1408 def do_get_inputs(self):
1409 """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1410 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1413 def get_version_info(self):
1414 """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1415 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1419 """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1420 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1424 """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1425 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1430 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1432 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1433 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1436 """Proxy of C++ IMP::npc::MembraneExclusionRestraint class"""
1437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1441 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1442 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1443 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1444 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1446 this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1448 self.this.append(this)
1453 """add_particle(MembraneExclusionRestraint self, Particle p)"""
1454 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1458 """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1459 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1462 def set_particles(self, ps):
1463 """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1464 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1467 def do_get_inputs(self):
1468 """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1469 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1472 def get_version_info(self):
1473 """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1474 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1478 """__str__(MembraneExclusionRestraint self) -> std::string"""
1479 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1483 """__repr__(MembraneExclusionRestraint self) -> std::string"""
1484 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1489 return _object_cast_to_MembraneExclusionRestraint(o)
1491 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1492 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1495 """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class"""
1496 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1500 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1501 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1502 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1503 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1505 this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1507 self.this.append(this)
1512 """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1513 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1517 """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1518 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1521 def set_particles(self, ps):
1522 """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1523 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1526 def do_get_inputs(self):
1527 """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1528 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1531 def get_version_info(self):
1532 """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1533 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1537 """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1538 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1542 """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1543 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1548 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1550 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1551 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1554 """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class"""
1555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1559 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1560 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1561 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1562 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1564 this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1566 self.this.append(this)
1571 """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1572 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1576 """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1577 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1580 def set_particles(self, ps):
1581 """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1582 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1585 def do_get_inputs(self):
1586 """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1587 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1590 def get_version_info(self):
1591 """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1592 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1596 """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1597 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1601 """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1602 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1607 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1609 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1610 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1613 """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class"""
1614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1618 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1619 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1620 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1621 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1623 this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1625 self.this.append(this)
1630 """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1631 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1635 """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1636 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1639 def set_particles(self, ps):
1640 """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1641 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1644 def do_get_inputs(self):
1645 """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1646 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1649 def get_version_info(self):
1650 """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1651 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1655 """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1656 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1660 """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1661 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1666 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1668 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1669 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1672 """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class"""
1673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1677 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1678 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1679 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1680 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1682 this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1684 self.this.append(this)
1689 """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1690 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1694 """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1695 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1698 def set_particles(self, ps):
1699 """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1700 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1703 def do_get_inputs(self):
1704 """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1705 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1708 def get_version_info(self):
1709 """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1710 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1714 """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1715 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1719 """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1720 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1725 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1727 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1728 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1731 """Proxy of C++ IMP::npc::ProteinProximityRestraint class"""
1732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1736 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1737 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1738 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1739 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1741 this = _IMP_npc.new_ProteinProximityRestraint(*args)
1743 self.this.append(this)
1748 """add_particle(ProteinProximityRestraint self, Particle p)"""
1749 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1753 """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1754 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1757 def set_particles(self, ps):
1758 """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1759 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1762 def do_get_inputs(self):
1763 """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1764 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1767 def get_version_info(self):
1768 """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1769 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1773 """__str__(ProteinProximityRestraint self) -> std::string"""
1774 return _IMP_npc.ProteinProximityRestraint___str__(self)
1778 """__repr__(ProteinProximityRestraint self) -> std::string"""
1779 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1784 return _object_cast_to_ProteinProximityRestraint(o)
1786 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1787 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1790 """Proxy of C++ IMP::npc::CompositeRestraint class"""
1791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1794 """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1795 this = _IMP_npc.new_CompositeRestraint(m, ps)
1797 self.this.append(this)
1801 def add_type(self, ps):
1802 """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1803 return _IMP_npc.CompositeRestraint_add_type(self, ps)
1806 def get_connected_pairs(self):
1807 """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1808 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1811 def do_get_inputs(self):
1812 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1813 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1816 def get_version_info(self):
1817 """get_version_info(CompositeRestraint self) -> VersionInfo"""
1818 return _IMP_npc.CompositeRestraint_get_version_info(self)
1822 """__str__(CompositeRestraint self) -> std::string"""
1823 return _IMP_npc.CompositeRestraint___str__(self)
1827 """__repr__(CompositeRestraint self) -> std::string"""
1828 return _IMP_npc.CompositeRestraint___repr__(self)
1833 return _object_cast_to_CompositeRestraint(o)
1835 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1836 CompositeRestraint_swigregister(CompositeRestraint)
1839 """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class"""
1840 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1843 """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1844 this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1846 self.this.append(this)
1850 def do_get_inputs(self, m, pis):
1851 """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1852 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1855 def get_version_info(self):
1856 """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1857 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1861 """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1862 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1866 """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1867 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1872 return _object_cast_to_MinimumSphereDistancePairScore(o)
1874 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1875 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1879 """get_module_version() -> std::string const"""
1880 return _IMP_npc.get_module_version()
1883 """get_example_path(std::string fname) -> std::string"""
1884 return _IMP_npc.get_example_path(fname)
1887 """get_data_path(std::string fname) -> std::string"""
1888 return _IMP_npc.get_data_path(fname)
1890 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Make CGAL functionality available to IMP.
std::string get_module_version()
Return the version of this module, as a string.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_particle(RMF::FileHandle fh, Particle *hs)
Composable functors to implement scores via compile-time composition.
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...
Output IMP model data in various file formats.
A restraint is a term in an IMP ScoringFunction.