IMP logo
IMP Reference Guide  2.13.0
The Integrative Modeling Platform
npctransport/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2020 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_npctransport')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_npctransport')
25  _IMP_npctransport = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_npctransport', [dirname(__file__)])
34  except ImportError:
35  import _IMP_npctransport
36  return _IMP_npctransport
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_npctransport', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_npctransport = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_npctransport
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_NPCTRANSPORT_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_NPCTRANSPORT_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_npctransport.delete_IMP_NPCTRANSPORT_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
126  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator
132  incr(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator
133  """
134  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_NPCTRANSPORT_SwigPyIterator self, size_t n=1) -> IMP_NPCTRANSPORT_SwigPyIterator
140  decr(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator
141  """
142  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
152  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_NPCTRANSPORT_SwigPyIterator self) -> IMP_NPCTRANSPORT_SwigPyIterator"""
157  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
162  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
167  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_NPCTRANSPORT_SwigPyIterator self) -> PyObject *"""
172  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
177  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
182  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> bool"""
187  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
192  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
197  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator"""
202  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, ptrdiff_t n) -> IMP_NPCTRANSPORT_SwigPyIterator
208  __sub__(IMP_NPCTRANSPORT_SwigPyIterator self, IMP_NPCTRANSPORT_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_NPCTRANSPORT_SwigPyIterator_swigregister = _IMP_npctransport.IMP_NPCTRANSPORT_SwigPyIterator_swigregister
215 IMP_NPCTRANSPORT_SwigPyIterator_swigregister(IMP_NPCTRANSPORT_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_npctransport.IMP_DEBUG
224 IMP_RELEASE = _IMP_npctransport.IMP_RELEASE
225 IMP_SILENT = _IMP_npctransport.IMP_SILENT
226 IMP_PROGRESS = _IMP_npctransport.IMP_PROGRESS
227 IMP_TERSE = _IMP_npctransport.IMP_TERSE
228 IMP_VERBOSE = _IMP_npctransport.IMP_VERBOSE
229 IMP_MEMORY = _IMP_npctransport.IMP_MEMORY
230 IMP_NONE = _IMP_npctransport.IMP_NONE
231 IMP_USAGE = _IMP_npctransport.IMP_USAGE
232 IMP_INTERNAL = _IMP_npctransport.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_npctransport.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_npctransport.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npctransport.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_npctransport.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_npctransport.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npctransport.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npctransport.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_npctransport.IMPKERNEL_SHOW_WARNINGS
243 
244 import sys
245 class _DirectorObjects(object):
246  """@internal Simple class to keep references to director objects
247  to prevent premature deletion."""
248  def __init__(self):
249  self._objects = []
250  def register(self, obj):
251  """Take a reference to a director object; will only work for
252  refcounted C++ classes"""
253  if hasattr(obj, 'get_ref_count'):
254  self._objects.append(obj)
255  def cleanup(self):
256  """Only drop our reference and allow cleanup by Python if no other
257  Python references exist (we hold 3 references: one in self._objects,
258  one in x, and one in the argument list for getrefcount) *and* no
259  other C++ references exist (the Python object always holds one)"""
260  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
261  or x.get_ref_count() > 1]
262 # Do in two steps so the references are kept until the end of the
263 # function (deleting references may trigger a fresh call to this method)
264  self._objects = objs
265  def get_object_count(self):
266  """Get number of director objects (useful for testing only)"""
267  return len(self._objects)
268 _director_objects = _DirectorObjects()
269 
270 class _ostream(object):
271  """Proxy of C++ std::ostream class."""
272 
273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
274 
275  def __init__(self, *args, **kwargs):
276  raise AttributeError("No constructor defined")
277  __repr__ = _swig_repr
278 
279  def write(self, osa_buf):
280  """write(_ostream self, char const * osa_buf)"""
281  return _IMP_npctransport._ostream_write(self, osa_buf)
282 
283 _ostream_swigregister = _IMP_npctransport._ostream_swigregister
284 _ostream_swigregister(_ostream)
285 
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_npctransport.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_npctransport.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_npctransport.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_npctransport.IMP_C_OPEN_BINARY
290 import IMP
291 IMP_BENCHMARK_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_FILESYSTEM
292 IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_PROGRAMOPTIONS
293 IMP_BENCHMARK_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_RANDOM
294 IMP_BENCHMARK_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_BENCHMARK_HAS_BOOST_SYSTEM
295 IMP_BENCHMARK_HAS_NUMPY = _IMP_npctransport.IMP_BENCHMARK_HAS_NUMPY
296 IMPBENCHMARK_SHOW_WARNINGS = _IMP_npctransport.IMPBENCHMARK_SHOW_WARNINGS
297 import IMP.benchmark
298 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_FILESYSTEM
299 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
300 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_RANDOM
301 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CGAL_HAS_BOOST_SYSTEM
302 IMP_CGAL_HAS_NUMPY = _IMP_npctransport.IMP_CGAL_HAS_NUMPY
303 IMPCGAL_SHOW_WARNINGS = _IMP_npctransport.IMPCGAL_SHOW_WARNINGS
304 import IMP.cgal
305 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_IMP_CGAL
306 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
307 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_RANDOM
309 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ALGEBRA_HAS_BOOST_SYSTEM
310 IMP_ALGEBRA_HAS_CGAL = _IMP_npctransport.IMP_ALGEBRA_HAS_CGAL
311 IMP_ALGEBRA_HAS_NUMPY = _IMP_npctransport.IMP_ALGEBRA_HAS_NUMPY
312 IMP_ALGEBRA_HAS_ANN = _IMP_npctransport.IMP_ALGEBRA_HAS_ANN
313 IMPALGEBRA_SHOW_WARNINGS = _IMP_npctransport.IMPALGEBRA_SHOW_WARNINGS
314 import IMP.algebra
315 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_IMP_CGAL
316 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
317 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
318 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_RANDOM
319 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_DISPLAY_HAS_BOOST_SYSTEM
320 IMP_DISPLAY_HAS_CGAL = _IMP_npctransport.IMP_DISPLAY_HAS_CGAL
321 IMP_DISPLAY_HAS_NUMPY = _IMP_npctransport.IMP_DISPLAY_HAS_NUMPY
322 IMPDISPLAY_SHOW_WARNINGS = _IMP_npctransport.IMPDISPLAY_SHOW_WARNINGS
323 import IMP.display
324 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
325 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
326 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
327 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
329 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_CGAL
330 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_HDF5
331 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npctransport.IMP_SCORE_FUNCTOR_HAS_NUMPY
332 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npctransport.IMPSCOREFUNCTOR_SHOW_WARNINGS
333 import IMP.score_functor
334 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_IMP_CGAL
335 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
336 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
337 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_RANDOM
338 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_STATISTICS_HAS_BOOST_SYSTEM
339 IMP_STATISTICS_HAS_CGAL = _IMP_npctransport.IMP_STATISTICS_HAS_CGAL
340 IMP_STATISTICS_HAS_NUMPY = _IMP_npctransport.IMP_STATISTICS_HAS_NUMPY
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_npctransport.IMPSTATISTICS_SHOW_WARNINGS
342 import IMP.statistics
343 IMP_CORE_HAS_IMP_CGAL = _IMP_npctransport.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_npctransport.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_npctransport.IMP_CORE_HAS_HDF5
351 IMP_CORE_HAS_NUMPY = _IMP_npctransport.IMP_CORE_HAS_NUMPY
352 IMPCORE_SHOW_WARNINGS = _IMP_npctransport.IMPCORE_SHOW_WARNINGS
353 import IMP.core
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_npctransport.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_npctransport.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_NUMPY = _IMP_npctransport.IMP_CONTAINER_HAS_NUMPY
366 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_npctransport.IMP_CONTAINER_HAS_PYTHON_IHM
367 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
368 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_npctransport.IMP_CONTAINER_HAS_ROBIN_MAP
369 IMPCONTAINER_SHOW_WARNINGS = _IMP_npctransport.IMPCONTAINER_SHOW_WARNINGS
370 import IMP.container
371 IMP_ATOM_HAS_IMP_CGAL = _IMP_npctransport.IMP_ATOM_HAS_IMP_CGAL
372 IMP_ATOM_HAS_IMP_KERNEL = _IMP_npctransport.IMP_ATOM_HAS_IMP_KERNEL
373 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
374 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ATOM_HAS_BOOST_RANDOM
376 IMP_ATOM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ATOM_HAS_BOOST_REGEX
377 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ATOM_HAS_BOOST_SYSTEM
378 IMP_ATOM_HAS_CGAL = _IMP_npctransport.IMP_ATOM_HAS_CGAL
379 IMP_ATOM_HAS_HDF5 = _IMP_npctransport.IMP_ATOM_HAS_HDF5
380 IMP_ATOM_HAS_NUMPY = _IMP_npctransport.IMP_ATOM_HAS_NUMPY
381 IMP_ATOM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ATOM_HAS_PYTHON_IHM
382 IMPATOM_SHOW_WARNINGS = _IMP_npctransport.IMPATOM_SHOW_WARNINGS
383 IMP_ATOM_TYPE_INDEX = _IMP_npctransport.IMP_ATOM_TYPE_INDEX
384 IMP_RESIDUE_TYPE_INDEX = _IMP_npctransport.IMP_RESIDUE_TYPE_INDEX
385 IMP_HIERARCHY_TYPE_INDEX = _IMP_npctransport.IMP_HIERARCHY_TYPE_INDEX
386 IMP_CHAIN_TYPE_INDEX = _IMP_npctransport.IMP_CHAIN_TYPE_INDEX
387 import IMP.atom
388 IMP_EM_HAS_IMP_CGAL = _IMP_npctransport.IMP_EM_HAS_IMP_CGAL
389 IMP_EM_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_EM_HAS_IMP_CONTAINER
390 IMP_EM_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_EM_HAS_IMP_DISPLAY
391 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_EM_HAS_BOOST_FILESYSTEM
393 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
394 IMP_EM_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_EM_HAS_BOOST_RANDOM
395 IMP_EM_HAS_BOOST_REGEX = _IMP_npctransport.IMP_EM_HAS_BOOST_REGEX
396 IMP_EM_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_EM_HAS_BOOST_SYSTEM
397 IMP_EM_HAS_CGAL = _IMP_npctransport.IMP_EM_HAS_CGAL
398 IMP_EM_HAS_HDF5 = _IMP_npctransport.IMP_EM_HAS_HDF5
399 IMP_EM_HAS_NUMPY = _IMP_npctransport.IMP_EM_HAS_NUMPY
400 IMP_EM_HAS_PYTHON_IHM = _IMP_npctransport.IMP_EM_HAS_PYTHON_IHM
401 IMPEM_SHOW_WARNINGS = _IMP_npctransport.IMPEM_SHOW_WARNINGS
402 import IMP.em
403 IMP_SAXS_HAS_IMP_CGAL = _IMP_npctransport.IMP_SAXS_HAS_IMP_CGAL
404 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_npctransport.IMP_SAXS_HAS_IMP_CONTAINER
405 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_SAXS_HAS_IMP_DISPLAY
406 IMP_SAXS_HAS_IMP_KERNEL = _IMP_npctransport.IMP_SAXS_HAS_IMP_KERNEL
407 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
408 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_FILESYSTEM
409 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
410 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_RANDOM
411 IMP_SAXS_HAS_BOOST_REGEX = _IMP_npctransport.IMP_SAXS_HAS_BOOST_REGEX
412 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_SAXS_HAS_BOOST_SYSTEM
413 IMP_SAXS_HAS_CGAL = _IMP_npctransport.IMP_SAXS_HAS_CGAL
414 IMP_SAXS_HAS_HDF5 = _IMP_npctransport.IMP_SAXS_HAS_HDF5
415 IMP_SAXS_HAS_NUMPY = _IMP_npctransport.IMP_SAXS_HAS_NUMPY
416 IMP_SAXS_HAS_PYTHON_IHM = _IMP_npctransport.IMP_SAXS_HAS_PYTHON_IHM
417 IMPSAXS_SHOW_WARNINGS = _IMP_npctransport.IMPSAXS_SHOW_WARNINGS
418 import IMP.saxs
419 IMP_ISD_HAS_IMP_CGAL = _IMP_npctransport.IMP_ISD_HAS_IMP_CGAL
420 IMP_ISD_HAS_IMP_DISPLAY = _IMP_npctransport.IMP_ISD_HAS_IMP_DISPLAY
421 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
422 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_ISD_HAS_BOOST_FILESYSTEM
423 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
424 IMP_ISD_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_ISD_HAS_BOOST_RANDOM
425 IMP_ISD_HAS_BOOST_REGEX = _IMP_npctransport.IMP_ISD_HAS_BOOST_REGEX
426 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_ISD_HAS_BOOST_SYSTEM
427 IMP_ISD_HAS_CGAL = _IMP_npctransport.IMP_ISD_HAS_CGAL
428 IMP_ISD_HAS_HDF5 = _IMP_npctransport.IMP_ISD_HAS_HDF5
429 IMP_ISD_HAS_NUMPY = _IMP_npctransport.IMP_ISD_HAS_NUMPY
430 IMP_ISD_HAS_PYTHON_IHM = _IMP_npctransport.IMP_ISD_HAS_PYTHON_IHM
431 IMPISD_SHOW_WARNINGS = _IMP_npctransport.IMPISD_SHOW_WARNINGS
432 import IMP.isd
433 IMP_RMF_HAS_IMP_CGAL = _IMP_npctransport.IMP_RMF_HAS_IMP_CGAL
434 IMP_RMF_HAS_IMP_EM = _IMP_npctransport.IMP_RMF_HAS_IMP_EM
435 IMP_RMF_HAS_IMP_SAXS = _IMP_npctransport.IMP_RMF_HAS_IMP_SAXS
436 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_npctransport.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
437 IMP_RMF_HAS_IMP_STATISTICS = _IMP_npctransport.IMP_RMF_HAS_IMP_STATISTICS
438 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_RMF_HAS_BOOST_FILESYSTEM
439 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
440 IMP_RMF_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_RMF_HAS_BOOST_RANDOM
441 IMP_RMF_HAS_BOOST_REGEX = _IMP_npctransport.IMP_RMF_HAS_BOOST_REGEX
442 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_RMF_HAS_BOOST_SYSTEM
443 IMP_RMF_HAS_CGAL = _IMP_npctransport.IMP_RMF_HAS_CGAL
444 IMP_RMF_HAS_HDF5 = _IMP_npctransport.IMP_RMF_HAS_HDF5
445 IMP_RMF_HAS_NUMPY = _IMP_npctransport.IMP_RMF_HAS_NUMPY
446 IMP_RMF_HAS_PYTHON_IHM = _IMP_npctransport.IMP_RMF_HAS_PYTHON_IHM
447 IMPRMF_SHOW_WARNINGS = _IMP_npctransport.IMPRMF_SHOW_WARNINGS
448 import IMP.rmf
449 import RMF
450 IMP_NPCTRANSPORT_HAS_IMP_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_CGAL
451 IMP_NPCTRANSPORT_HAS_IMP_EM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_EM
452 IMP_NPCTRANSPORT_HAS_IMP_ISD = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_ISD
453 IMP_NPCTRANSPORT_HAS_IMP_SAXS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_IMP_SAXS
454 IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_FILESYSTEM
455 IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_PROGRAMOPTIONS
456 IMP_NPCTRANSPORT_HAS_BOOST_RANDOM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_RANDOM
457 IMP_NPCTRANSPORT_HAS_BOOST_REGEX = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_REGEX
458 IMP_NPCTRANSPORT_HAS_BOOST_SYSTEM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_BOOST_SYSTEM
459 IMP_NPCTRANSPORT_HAS_CGAL = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_CGAL
460 IMP_NPCTRANSPORT_HAS_HDF5 = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_HDF5
461 IMP_NPCTRANSPORT_HAS_NUMPY = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_NUMPY
462 IMP_NPCTRANSPORT_HAS_PYTHON_IHM = _IMP_npctransport.IMP_NPCTRANSPORT_HAS_PYTHON_IHM
463 IMPNPCTRANSPORT_SHOW_WARNINGS = _IMP_npctransport.IMPNPCTRANSPORT_SHOW_WARNINGS
464 
465 _object_types.append("SitesPairScore")
466 
467 
468 def _object_cast_to_SitesPairScore(o):
469  """_object_cast_to_SitesPairScore(Object o) -> SitesPairScore"""
470  return _IMP_npctransport._object_cast_to_SitesPairScore(o)
471 
472 _object_types.append("Scoring")
473 
474 
475 def _object_cast_to_Scoring(o):
476  """_object_cast_to_Scoring(Object o) -> Scoring"""
477  return _IMP_npctransport._object_cast_to_Scoring(o)
478 
479 _object_types.append("BrownianDynamicsTAMDWithSlabSupport")
480 
481 
482 def _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o):
483  """_object_cast_to_BrownianDynamicsTAMDWithSlabSupport(Object o) -> BrownianDynamicsTAMDWithSlabSupport"""
484  return _IMP_npctransport._object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
485 
486 _object_types.append("Statistics")
487 
488 
489 def _object_cast_to_Statistics(o):
490  """_object_cast_to_Statistics(Object o) -> Statistics"""
491  return _IMP_npctransport._object_cast_to_Statistics(o)
492 
493 _object_types.append("SimulationData")
494 
495 
496 def _object_cast_to_SimulationData(o):
497  """_object_cast_to_SimulationData(Object o) -> SimulationData"""
498  return _IMP_npctransport._object_cast_to_SimulationData(o)
499 
500 _object_types.append("SitesGeometry")
501 
502 
503 def _object_cast_to_SitesGeometry(o):
504  """_object_cast_to_SitesGeometry(Object o) -> SitesGeometry"""
505  return _IMP_npctransport._object_cast_to_SitesGeometry(o)
506 
507 _object_types.append("TypedSitesGeometry")
508 
509 
510 def _object_cast_to_TypedSitesGeometry(o):
511  """_object_cast_to_TypedSitesGeometry(Object o) -> TypedSitesGeometry"""
512  return _IMP_npctransport._object_cast_to_TypedSitesGeometry(o)
513 
514 _object_types.append("SlabWithCylindricalPorePairScore")
515 
516 
517 def _object_cast_to_SlabWithCylindricalPorePairScore(o):
518  """_object_cast_to_SlabWithCylindricalPorePairScore(Object o) -> SlabWithCylindricalPorePairScore"""
519  return _IMP_npctransport._object_cast_to_SlabWithCylindricalPorePairScore(o)
520 
521 _object_types.append("SlabWithToroidalPorePairScore")
522 
523 
524 def _object_cast_to_SlabWithToroidalPorePairScore(o):
525  """_object_cast_to_SlabWithToroidalPorePairScore(Object o) -> SlabWithToroidalPorePairScore"""
526  return _IMP_npctransport._object_cast_to_SlabWithToroidalPorePairScore(o)
527 
528 _object_types.append("PoreRadiusSingletonScore")
529 
530 
531 def _object_cast_to_PoreRadiusSingletonScore(o):
532  """_object_cast_to_PoreRadiusSingletonScore(Object o) -> PoreRadiusSingletonScore"""
533  return _IMP_npctransport._object_cast_to_PoreRadiusSingletonScore(o)
534 
535 _object_types.append("ExcludeZRangeSingletonScore")
536 
537 
538 def _object_cast_to_ExcludeZRangeSingletonScore(o):
539  """_object_cast_to_ExcludeZRangeSingletonScore(Object o) -> ExcludeZRangeSingletonScore"""
540  return _IMP_npctransport._object_cast_to_ExcludeZRangeSingletonScore(o)
541 
542 _object_types.append("ZBiasSingletonScore")
543 
544 
545 def _object_cast_to_ZBiasSingletonScore(o):
546  """_object_cast_to_ZBiasSingletonScore(Object o) -> ZBiasSingletonScore"""
547  return _IMP_npctransport._object_cast_to_ZBiasSingletonScore(o)
548 
549 _object_types.append("SlabWithCylindricalPoreWireGeometry")
550 
551 
552 def _object_cast_to_SlabWithCylindricalPoreWireGeometry(o):
553  """_object_cast_to_SlabWithCylindricalPoreWireGeometry(Object o) -> SlabWithCylindricalPoreWireGeometry"""
554  return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
555 
556 _object_types.append("SlabWithCylindricalPoreSurfaceGeometry")
557 
558 
559 def _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o):
560  """_object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(Object o) -> SlabWithCylindricalPoreSurfaceGeometry"""
561  return _IMP_npctransport._object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
562 
563 _object_types.append("SlabWithToroidalPoreWireGeometry")
564 
565 
566 def _object_cast_to_SlabWithToroidalPoreWireGeometry(o):
567  """_object_cast_to_SlabWithToroidalPoreWireGeometry(Object o) -> SlabWithToroidalPoreWireGeometry"""
568  return _IMP_npctransport._object_cast_to_SlabWithToroidalPoreWireGeometry(o)
569 
570 _object_types.append("LinearSoftSpherePairScore")
571 
572 
573 def _object_cast_to_LinearSoftSpherePairScore(o):
574  """_object_cast_to_LinearSoftSpherePairScore(Object o) -> LinearSoftSpherePairScore"""
575  return _IMP_npctransport._object_cast_to_LinearSoftSpherePairScore(o)
576 
577 _object_types.append("FunctorLinearSoftSpherePairScore")
578 
579 
580 def _object_cast_to_FunctorLinearSoftSpherePairScore(o):
581  """_object_cast_to_FunctorLinearSoftSpherePairScore(Object o) -> FunctorLinearSoftSpherePairScore"""
582  return _IMP_npctransport._object_cast_to_FunctorLinearSoftSpherePairScore(o)
583 
584 _object_types.append("LinearInteractionPairScore")
585 
586 
587 def _object_cast_to_LinearInteractionPairScore(o):
588  """_object_cast_to_LinearInteractionPairScore(Object o) -> LinearInteractionPairScore"""
589  return _IMP_npctransport._object_cast_to_LinearInteractionPairScore(o)
590 
591 _object_types.append("FunctorLinearInteractionPairScore")
592 
593 
594 def _object_cast_to_FunctorLinearInteractionPairScore(o):
595  """_object_cast_to_FunctorLinearInteractionPairScore(Object o) -> FunctorLinearInteractionPairScore"""
596  return _IMP_npctransport._object_cast_to_FunctorLinearInteractionPairScore(o)
597 
598 _object_types.append("LinearWellPairScore")
599 
600 
601 def _object_cast_to_LinearWellPairScore(o):
602  """_object_cast_to_LinearWellPairScore(Object o) -> LinearWellPairScore"""
603  return _IMP_npctransport._object_cast_to_LinearWellPairScore(o)
604 
605 _object_types.append("HarmonicSpringSingletonScore")
606 
607 
608 def _object_cast_to_HarmonicSpringSingletonScore(o):
609  """_object_cast_to_HarmonicSpringSingletonScore(Object o) -> HarmonicSpringSingletonScore"""
610  return _IMP_npctransport._object_cast_to_HarmonicSpringSingletonScore(o)
611 
612 _object_types.append("HierarchyWithSitesSaveLink")
613 
614 
615 def _object_cast_to_HierarchyWithSitesSaveLink(o):
616  """_object_cast_to_HierarchyWithSitesSaveLink(Object o) -> HierarchyWithSitesSaveLink"""
617  return _IMP_npctransport._object_cast_to_HierarchyWithSitesSaveLink(o)
618 
619 _object_types.append("HierarchyWithSitesLoadLink")
620 
621 
622 def _object_cast_to_HierarchyWithSitesLoadLink(o):
623  """_object_cast_to_HierarchyWithSitesLoadLink(Object o) -> HierarchyWithSitesLoadLink"""
624  return _IMP_npctransport._object_cast_to_HierarchyWithSitesLoadLink(o)
625 
626 _object_types.append("ChainStatisticsOptimizerState")
627 
628 
629 def _object_cast_to_ChainStatisticsOptimizerState(o):
630  """_object_cast_to_ChainStatisticsOptimizerState(Object o) -> ChainStatisticsOptimizerState"""
631  return _IMP_npctransport._object_cast_to_ChainStatisticsOptimizerState(o)
632 
633 _object_types.append("BodyStatisticsOptimizerState")
634 
635 
636 def _object_cast_to_BodyStatisticsOptimizerState(o):
637  """_object_cast_to_BodyStatisticsOptimizerState(Object o) -> BodyStatisticsOptimizerState"""
638  return _IMP_npctransport._object_cast_to_BodyStatisticsOptimizerState(o)
639 
640 _object_types.append("BipartitePairsStatisticsOptimizerState")
641 
642 
643 def _object_cast_to_BipartitePairsStatisticsOptimizerState(o):
644  """_object_cast_to_BipartitePairsStatisticsOptimizerState(Object o) -> BipartitePairsStatisticsOptimizerState"""
645  return _IMP_npctransport._object_cast_to_BipartitePairsStatisticsOptimizerState(o)
646 
647 _object_types.append("ParticleTransportStatisticsOptimizerState")
648 
649 
650 def _object_cast_to_ParticleTransportStatisticsOptimizerState(o):
651  """_object_cast_to_ParticleTransportStatisticsOptimizerState(Object o) -> ParticleTransportStatisticsOptimizerState"""
652  return _IMP_npctransport._object_cast_to_ParticleTransportStatisticsOptimizerState(o)
653 
654 _object_types.append("FGChain")
655 
656 
657 def _object_cast_to_FGChain(o):
658  """_object_cast_to_FGChain(Object o) -> FGChain"""
659  return _IMP_npctransport._object_cast_to_FGChain(o)
660 
661 _object_types.append("ParticleFactory")
662 
663 
664 def _object_cast_to_ParticleFactory(o):
665  """_object_cast_to_ParticleFactory(Object o) -> ParticleFactory"""
666  return _IMP_npctransport._object_cast_to_ParticleFactory(o)
667 
668 Avro2PBReaders=list
669 _plural_types.append("Avro2PBReaders")
670 _value_types.append("Avro2PBReader")
671 
672 
673 SitesPairScoreParametersList=list
674 _plural_types.append("SitesPairScoreParametersList")
675 _value_types.append("SitesPairScoreParameters")
676 
677 
678 def Transportings(l=[]):
679  return [Transporting(x) for x in l]
680 _plural_types.append("Transportings")
681 
682 
683 _value_types.append("Transporting")
684 
685 
686 def SlabWithPores(l=[]):
687  return [SlabWithPore(x) for x in l]
688 _plural_types.append("SlabWithPores")
689 
690 
691 _value_types.append("SlabWithPore")
692 
693 
694 def SlabWithCylindricalPores(l=[]):
695  return [SlabWithCylindricalPore(x) for x in l]
696 _plural_types.append("SlabWithCylindricalPores")
697 
698 
699 _value_types.append("SlabWithCylindricalPore")
700 
701 
702 def RelaxingSprings(l=[]):
703  return [RelaxingSpring(x) for x in l]
704 _plural_types.append("RelaxingSprings")
705 
706 
707 _value_types.append("RelaxingSpring")
708 
709 
710 def SlabWithToroidalPores(l=[]):
711  return [SlabWithToroidalPore(x) for x in l]
712 _plural_types.append("SlabWithToroidalPores")
713 
714 
715 _value_types.append("SlabWithToroidalPore")
716 
717 class _DoubleParameter(object):
718  """Proxy of C++ IMP::npctransport::Parameter<(double)> class."""
719 
720  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
721  __repr__ = _swig_repr
722 
723  def __init__(self, *args):
724  """
725  __init__(IMP::npctransport::Parameter<(double)> self) -> _DoubleParameter
726  __init__(IMP::npctransport::Parameter<(double)> self, double t) -> _DoubleParameter
727  """
728  this = _IMP_npctransport.new__DoubleParameter(*args)
729  try:
730  self.this.append(this)
731  except __builtin__.Exception:
732  self.this = this
733 
734  def get_value(self):
735  """get_value(_DoubleParameter self) -> double"""
736  return _IMP_npctransport._DoubleParameter_get_value(self)
737 
738 
739  def is_init(self):
740  """is_init(_DoubleParameter self) -> bool"""
741  return _IMP_npctransport._DoubleParameter_is_init(self)
742 
743  __swig_destroy__ = _IMP_npctransport.delete__DoubleParameter
744  __del__ = lambda self: None
745 _DoubleParameter_swigregister = _IMP_npctransport._DoubleParameter_swigregister
746 _DoubleParameter_swigregister(_DoubleParameter)
747 
748 class _IntParameter(object):
749  """Proxy of C++ IMP::npctransport::Parameter<(int)> class."""
750 
751  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
752  __repr__ = _swig_repr
753 
754  def __init__(self, *args):
755  """
756  __init__(IMP::npctransport::Parameter<(int)> self) -> _IntParameter
757  __init__(IMP::npctransport::Parameter<(int)> self, int t) -> _IntParameter
758  """
759  this = _IMP_npctransport.new__IntParameter(*args)
760  try:
761  self.this.append(this)
762  except __builtin__.Exception:
763  self.this = this
764 
765  def get_value(self):
766  """get_value(_IntParameter self) -> int"""
767  return _IMP_npctransport._IntParameter_get_value(self)
768 
769 
770  def is_init(self):
771  """is_init(_IntParameter self) -> bool"""
772  return _IMP_npctransport._IntParameter_is_init(self)
773 
774  __swig_destroy__ = _IMP_npctransport.delete__IntParameter
775  __del__ = lambda self: None
776 _IntParameter_swigregister = _IMP_npctransport._IntParameter_swigregister
777 _IntParameter_swigregister(_IntParameter)
778 
779 class _BoolParameter(object):
780  """Proxy of C++ IMP::npctransport::Parameter<(bool)> class."""
781 
782  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
783  __repr__ = _swig_repr
784 
785  def __init__(self, *args):
786  """
787  __init__(IMP::npctransport::Parameter<(bool)> self) -> _BoolParameter
788  __init__(IMP::npctransport::Parameter<(bool)> self, bool t) -> _BoolParameter
789  """
790  this = _IMP_npctransport.new__BoolParameter(*args)
791  try:
792  self.this.append(this)
793  except __builtin__.Exception:
794  self.this = this
795 
796  def get_value(self):
797  """get_value(_BoolParameter self) -> bool"""
798  return _IMP_npctransport._BoolParameter_get_value(self)
799 
800 
801  def is_init(self):
802  """is_init(_BoolParameter self) -> bool"""
803  return _IMP_npctransport._BoolParameter_is_init(self)
804 
805  __swig_destroy__ = _IMP_npctransport.delete__BoolParameter
806  __del__ = lambda self: None
807 _BoolParameter_swigregister = _IMP_npctransport._BoolParameter_swigregister
808 _BoolParameter_swigregister(_BoolParameter)
809 
810 
812  """make_ordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
813  return _IMP_npctransport.make_ordered_interaction_type(t0, t1)
814 
816  """make_unordered_interaction_type(ParticleType t0, ParticleType t1) -> IMP::npctransport::InteractionType"""
817  return _IMP_npctransport.make_unordered_interaction_type(t0, t1)
818 
820  """
821  make_unordered_particle_index_pair(ParticleIndex pi0, ParticleIndex pi1) -> IMP::ParticleIndexPair
822  make_unordered_particle_index_pair(IMP::ParticleIndexPair pip) -> IMP::ParticleIndexPair
823  """
824  return _IMP_npctransport.make_unordered_particle_index_pair(*args)
825 class LinearSoftSpherePairScore(IMP.PairScore):
826  """Proxy of C++ IMP::npctransport::LinearSoftSpherePairScore class."""
827 
828  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
829 
830  def __init__(self, *args):
831  """
832  __init__(IMP::npctransport::LinearSoftSpherePairScore self, double k, std::string name) -> LinearSoftSpherePairScore
833  __init__(IMP::npctransport::LinearSoftSpherePairScore self, double k) -> LinearSoftSpherePairScore
834  """
835  this = _IMP_npctransport.new_LinearSoftSpherePairScore(*args)
836  try:
837  self.this.append(this)
838  except __builtin__.Exception:
839  self.this = this
840 
841  def do_get_inputs(self, m, pis):
842  """do_get_inputs(LinearSoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
843  return _IMP_npctransport.LinearSoftSpherePairScore_do_get_inputs(self, m, pis)
844 
845 
846  def get_k(self):
847  """get_k(LinearSoftSpherePairScore self) -> double"""
848  return _IMP_npctransport.LinearSoftSpherePairScore_get_k(self)
849 
850 
851  def get_version_info(self):
852  """get_version_info(LinearSoftSpherePairScore self) -> VersionInfo"""
853  return _IMP_npctransport.LinearSoftSpherePairScore_get_version_info(self)
854 
855 
856  def __str__(self):
857  """__str__(LinearSoftSpherePairScore self) -> std::string"""
858  return _IMP_npctransport.LinearSoftSpherePairScore___str__(self)
859 
860 
861  def __repr__(self):
862  """__repr__(LinearSoftSpherePairScore self) -> std::string"""
863  return _IMP_npctransport.LinearSoftSpherePairScore___repr__(self)
864 
865 
866  @staticmethod
867  def get_from(o):
868  return _object_cast_to_LinearSoftSpherePairScore(o)
869 
870 LinearSoftSpherePairScore_swigregister = _IMP_npctransport.LinearSoftSpherePairScore_swigregister
871 LinearSoftSpherePairScore_swigregister(LinearSoftSpherePairScore)
872 
873 class LinearInteractionPairScore(IMP.PairScore):
874  """Proxy of C++ IMP::npctransport::LinearInteractionPairScore class."""
875 
876  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
877 
878  def __init__(self, *args):
879  """
880  __init__(IMP::npctransport::LinearInteractionPairScore self, double k_rep, double range_attr, double k_attr, std::string name) -> LinearInteractionPairScore
881  __init__(IMP::npctransport::LinearInteractionPairScore self, double k_rep, double range_attr, double k_attr) -> LinearInteractionPairScore
882  """
883  this = _IMP_npctransport.new_LinearInteractionPairScore(*args)
884  try:
885  self.this.append(this)
886  except __builtin__.Exception:
887  self.this = this
888 
889  def evaluate_if_good_index(self, *args):
890  """
891  evaluate_if_good_index(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPair const & p, DerivativeAccumulator da, double max) -> double
892  evaluate_if_good_index(LinearInteractionPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound) -> double
893  """
894  return _IMP_npctransport.LinearInteractionPairScore_evaluate_if_good_index(self, *args)
895 
896 
897  def do_get_inputs(self, m, pis):
898  """do_get_inputs(LinearInteractionPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
899  return _IMP_npctransport.LinearInteractionPairScore_do_get_inputs(self, m, pis)
900 
901 
902  def get_range_attraction(self):
903  """get_range_attraction(LinearInteractionPairScore self) -> double"""
904  return _IMP_npctransport.LinearInteractionPairScore_get_range_attraction(self)
905 
906 
907  def get_k_attraction(self):
908  """get_k_attraction(LinearInteractionPairScore self) -> double"""
909  return _IMP_npctransport.LinearInteractionPairScore_get_k_attraction(self)
910 
911 
912  def set_k_attraction(self, k_attr):
913  """set_k_attraction(LinearInteractionPairScore self, double k_attr)"""
914  return _IMP_npctransport.LinearInteractionPairScore_set_k_attraction(self, k_attr)
915 
916 
917  def get_k_repulsion(self):
918  """get_k_repulsion(LinearInteractionPairScore self) -> double"""
919  return _IMP_npctransport.LinearInteractionPairScore_get_k_repulsion(self)
920 
921 
922  def set_k_repulsion(self, k_rep):
923  """set_k_repulsion(LinearInteractionPairScore self, double k_rep)"""
924  return _IMP_npctransport.LinearInteractionPairScore_set_k_repulsion(self, k_rep)
925 
926 
927  def get_version_info(self):
928  """get_version_info(LinearInteractionPairScore self) -> VersionInfo"""
929  return _IMP_npctransport.LinearInteractionPairScore_get_version_info(self)
930 
931 
932  def __str__(self):
933  """__str__(LinearInteractionPairScore self) -> std::string"""
934  return _IMP_npctransport.LinearInteractionPairScore___str__(self)
935 
936 
937  def __repr__(self):
938  """__repr__(LinearInteractionPairScore self) -> std::string"""
939  return _IMP_npctransport.LinearInteractionPairScore___repr__(self)
940 
941 
942  @staticmethod
943  def get_from(o):
944  return _object_cast_to_LinearInteractionPairScore(o)
945 
946 LinearInteractionPairScore_swigregister = _IMP_npctransport.LinearInteractionPairScore_swigregister
947 LinearInteractionPairScore_swigregister(LinearInteractionPairScore)
948 
949 class LinearWellPairScore(IMP.PairScore):
950  """Proxy of C++ IMP::npctransport::LinearWellPairScore class."""
951 
952  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
953 
954  def __init__(self, *args):
955  """
956  __init__(IMP::npctransport::LinearWellPairScore self, double rest_length_factor, double k, std::string name) -> LinearWellPairScore
957  __init__(IMP::npctransport::LinearWellPairScore self, double rest_length_factor, double k) -> LinearWellPairScore
958  """
959  this = _IMP_npctransport.new_LinearWellPairScore(*args)
960  try:
961  self.this.append(this)
962  except __builtin__.Exception:
963  self.this = this
964 
965  def set_rest_length_factor(self, rest_length_factor):
966  """set_rest_length_factor(LinearWellPairScore self, double rest_length_factor)"""
967  return _IMP_npctransport.LinearWellPairScore_set_rest_length_factor(self, rest_length_factor)
968 
969 
970  def get_rest_length_factor(self):
971  """get_rest_length_factor(LinearWellPairScore self) -> double"""
972  return _IMP_npctransport.LinearWellPairScore_get_rest_length_factor(self)
973 
974 
975  def set_k(self, k):
976  """set_k(LinearWellPairScore self, double k)"""
977  return _IMP_npctransport.LinearWellPairScore_set_k(self, k)
978 
979 
980  def get_k(self):
981  """get_k(LinearWellPairScore self) -> double"""
982  return _IMP_npctransport.LinearWellPairScore_get_k(self)
983 
984 
985  def do_get_inputs(self, m, pis):
986  """do_get_inputs(LinearWellPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
987  return _IMP_npctransport.LinearWellPairScore_do_get_inputs(self, m, pis)
988 
989 
990  def get_version_info(self):
991  """get_version_info(LinearWellPairScore self) -> VersionInfo"""
992  return _IMP_npctransport.LinearWellPairScore_get_version_info(self)
993 
994 
995  def __str__(self):
996  """__str__(LinearWellPairScore self) -> std::string"""
997  return _IMP_npctransport.LinearWellPairScore___str__(self)
998 
999 
1000  def __repr__(self):
1001  """__repr__(LinearWellPairScore self) -> std::string"""
1002  return _IMP_npctransport.LinearWellPairScore___repr__(self)
1003 
1004 
1005  @staticmethod
1006  def get_from(o):
1007  return _object_cast_to_LinearWellPairScore(o)
1008 
1009 LinearWellPairScore_swigregister = _IMP_npctransport.LinearWellPairScore_swigregister
1010 LinearWellPairScore_swigregister(LinearWellPairScore)
1011 
1012 class RelaxingSpring(IMP.Decorator):
1013  """Proxy of C++ IMP::npctransport::RelaxingSpring class."""
1014 
1015  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1016 
1017  def __init__(self, *args):
1018  """
1019  __init__(IMP::npctransport::RelaxingSpring self) -> RelaxingSpring
1020  __init__(IMP::npctransport::RelaxingSpring self, Model m, ParticleIndex id) -> RelaxingSpring
1021  __init__(IMP::npctransport::RelaxingSpring self, _ParticleAdaptor d) -> RelaxingSpring
1022  """
1023  this = _IMP_npctransport.new_RelaxingSpring(*args)
1024  try:
1025  self.this.append(this)
1026  except __builtin__.Exception:
1027  self.this = this
1028 
1029  def show(self, *args):
1030  """
1031  show(RelaxingSpring self, _ostream out)
1032  show(RelaxingSpring self)
1033  """
1034  return _IMP_npctransport.RelaxingSpring_show(self, *args)
1035 
1036 
1037  def setup_particle(*args):
1038  """
1039  setup_particle(Model m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1040  setup_particle(_ParticleAdaptor decorator, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1041  """
1042  return _IMP_npctransport.RelaxingSpring_setup_particle(*args)
1043 
1044  setup_particle = staticmethod(setup_particle)
1045 
1046  def get_is_setup(*args):
1047  """
1048  get_is_setup(_ParticleAdaptor p) -> bool
1049  get_is_setup(Model m, ParticleIndex pi) -> bool
1050  """
1051  return _IMP_npctransport.RelaxingSpring_get_is_setup(*args)
1052 
1053  get_is_setup = staticmethod(get_is_setup)
1054 
1055  def get_bonded_particle_0_key():
1056  """get_bonded_particle_0_key() -> ParticleIndexKey"""
1057  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0_key()
1058 
1059  get_bonded_particle_0_key = staticmethod(get_bonded_particle_0_key)
1060 
1061  def get_bonded_particle_1_key():
1062  """get_bonded_particle_1_key() -> ParticleIndexKey"""
1063  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1_key()
1064 
1065  get_bonded_particle_1_key = staticmethod(get_bonded_particle_1_key)
1066 
1067  def get_equilibrium_rest_length_factor_key():
1068  """get_equilibrium_rest_length_factor_key() -> FloatKey"""
1069  return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor_key()
1070 
1071  get_equilibrium_rest_length_factor_key = staticmethod(get_equilibrium_rest_length_factor_key)
1072 
1073  def get_rest_length_key():
1074  """get_rest_length_key() -> FloatKey"""
1075  return _IMP_npctransport.RelaxingSpring_get_rest_length_key()
1076 
1077  get_rest_length_key = staticmethod(get_rest_length_key)
1078 
1079  def get_rest_length_diffusion_coefficient_key():
1080  """get_rest_length_diffusion_coefficient_key() -> FloatKey"""
1081  return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient_key()
1082 
1083  get_rest_length_diffusion_coefficient_key = staticmethod(get_rest_length_diffusion_coefficient_key)
1084 
1085  def get_bonded_particle_0(self):
1086  """get_bonded_particle_0(RelaxingSpring self) -> Particle"""
1087  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0(self)
1088 
1089 
1090  def get_bonded_particle_1(self):
1091  """get_bonded_particle_1(RelaxingSpring self) -> Particle"""
1092  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1(self)
1093 
1094 
1095  def get_bonded_particle_index_0(self):
1096  """get_bonded_particle_index_0(RelaxingSpring self) -> ParticleIndex"""
1097  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_0(self)
1098 
1099 
1100  def get_bonded_particle_index_1(self):
1101  """get_bonded_particle_index_1(RelaxingSpring self) -> ParticleIndex"""
1102  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_index_1(self)
1103 
1104 
1105  def get_equilibrium_rest_length_factor(self):
1106  """get_equilibrium_rest_length_factor(RelaxingSpring self) -> IMP::Float"""
1107  return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor(self)
1108 
1109 
1110  def set_equilibrium_rest_length_factor(self, t):
1111  """set_equilibrium_rest_length_factor(RelaxingSpring self, IMP::Float t)"""
1112  return _IMP_npctransport.RelaxingSpring_set_equilibrium_rest_length_factor(self, t)
1113 
1114 
1115  def get_rest_length(self):
1116  """get_rest_length(RelaxingSpring self) -> IMP::Float"""
1117  return _IMP_npctransport.RelaxingSpring_get_rest_length(self)
1118 
1119 
1120  def set_rest_length(self, t):
1121  """set_rest_length(RelaxingSpring self, IMP::Float t)"""
1122  return _IMP_npctransport.RelaxingSpring_set_rest_length(self, t)
1123 
1124 
1125  def get_rest_length_diffusion_coefficient(self):
1126  """get_rest_length_diffusion_coefficient(RelaxingSpring self) -> IMP::Float"""
1127  return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient(self)
1128 
1129 
1130  def set_rest_length_diffusion_coefficient(self, t):
1131  """set_rest_length_diffusion_coefficient(RelaxingSpring self, IMP::Float t)"""
1132  return _IMP_npctransport.RelaxingSpring_set_rest_length_diffusion_coefficient(self, t)
1133 
1134 
1135  def add_to_rest_length_derivative(self, d, da):
1136  """add_to_rest_length_derivative(RelaxingSpring self, double d, DerivativeAccumulator da)"""
1137  return _IMP_npctransport.RelaxingSpring_add_to_rest_length_derivative(self, d, da)
1138 
1139 
1140  def get_rest_length_derivative(self):
1141  """get_rest_length_derivative(RelaxingSpring self) -> double"""
1142  return _IMP_npctransport.RelaxingSpring_get_rest_length_derivative(self)
1143 
1144 
1145  def add_attribute(self, *args):
1146  """
1147  add_attribute(RelaxingSpring self, FloatKey k, IMP::Float v, bool opt)
1148  add_attribute(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1149  add_attribute(RelaxingSpring self, IntKey a0, IMP::Int a1)
1150  add_attribute(RelaxingSpring self, StringKey a0, IMP::String a1)
1151  add_attribute(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1152  add_attribute(RelaxingSpring self, ObjectKey a0, Object a1)
1153  """
1154  return _IMP_npctransport.RelaxingSpring_add_attribute(self, *args)
1155 
1156 
1157  def get_value(self, *args):
1158  """
1159  get_value(RelaxingSpring self, FloatKey a0) -> IMP::Float
1160  get_value(RelaxingSpring self, IntKey a0) -> IMP::Int
1161  get_value(RelaxingSpring self, StringKey a0) -> IMP::String
1162  get_value(RelaxingSpring self, ParticleIndexKey a0) -> Particle
1163  get_value(RelaxingSpring self, ObjectKey a0) -> Object
1164  """
1165  return _IMP_npctransport.RelaxingSpring_get_value(self, *args)
1166 
1167 
1168  def set_value(self, *args):
1169  """
1170  set_value(RelaxingSpring self, FloatKey a0, IMP::Float a1)
1171  set_value(RelaxingSpring self, IntKey a0, IMP::Int a1)
1172  set_value(RelaxingSpring self, StringKey a0, IMP::String a1)
1173  set_value(RelaxingSpring self, ParticleIndexKey a0, Particle a1)
1174  set_value(RelaxingSpring self, ObjectKey a0, Object a1)
1175  """
1176  return _IMP_npctransport.RelaxingSpring_set_value(self, *args)
1177 
1178 
1179  def remove_attribute(self, *args):
1180  """
1181  remove_attribute(RelaxingSpring self, FloatKey a0)
1182  remove_attribute(RelaxingSpring self, IntKey a0)
1183  remove_attribute(RelaxingSpring self, StringKey a0)
1184  remove_attribute(RelaxingSpring self, ParticleIndexKey a0)
1185  remove_attribute(RelaxingSpring self, ObjectKey a0)
1186  """
1187  return _IMP_npctransport.RelaxingSpring_remove_attribute(self, *args)
1188 
1189 
1190  def has_attribute(self, *args):
1191  """
1192  has_attribute(RelaxingSpring self, FloatKey a0) -> bool
1193  has_attribute(RelaxingSpring self, IntKey a0) -> bool
1194  has_attribute(RelaxingSpring self, StringKey a0) -> bool
1195  has_attribute(RelaxingSpring self, ParticleIndexKey a0) -> bool
1196  has_attribute(RelaxingSpring self, ObjectKey a0) -> bool
1197  """
1198  return _IMP_npctransport.RelaxingSpring_has_attribute(self, *args)
1199 
1200 
1201  def get_derivative(self, a0):
1202  """get_derivative(RelaxingSpring self, FloatKey a0) -> double"""
1203  return _IMP_npctransport.RelaxingSpring_get_derivative(self, a0)
1204 
1205 
1206  def get_name(self):
1207  """get_name(RelaxingSpring self) -> std::string"""
1208  return _IMP_npctransport.RelaxingSpring_get_name(self)
1209 
1210 
1211  def clear_caches(self):
1212  """clear_caches(RelaxingSpring self)"""
1213  return _IMP_npctransport.RelaxingSpring_clear_caches(self)
1214 
1215 
1216  def set_name(self, a0):
1217  """set_name(RelaxingSpring self, std::string a0)"""
1218  return _IMP_npctransport.RelaxingSpring_set_name(self, a0)
1219 
1220 
1221  def set_check_level(self, a0):
1222  """set_check_level(RelaxingSpring self, IMP::CheckLevel a0)"""
1223  return _IMP_npctransport.RelaxingSpring_set_check_level(self, a0)
1224 
1225 
1226  def add_to_derivative(self, a0, a1, a2):
1227  """add_to_derivative(RelaxingSpring self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1228  return _IMP_npctransport.RelaxingSpring_add_to_derivative(self, a0, a1, a2)
1229 
1230 
1231  def set_is_optimized(self, a0, a1):
1232  """set_is_optimized(RelaxingSpring self, FloatKey a0, bool a1)"""
1233  return _IMP_npctransport.RelaxingSpring_set_is_optimized(self, a0, a1)
1234 
1235 
1236  def get_is_optimized(self, a0):
1237  """get_is_optimized(RelaxingSpring self, FloatKey a0) -> bool"""
1238  return _IMP_npctransport.RelaxingSpring_get_is_optimized(self, a0)
1239 
1240 
1241  def get_check_level(self):
1242  """get_check_level(RelaxingSpring self) -> IMP::CheckLevel"""
1243  return _IMP_npctransport.RelaxingSpring_get_check_level(self)
1244 
1245 
1246  def __eq__(self, *args):
1247  """
1248  __eq__(RelaxingSpring self, RelaxingSpring o) -> bool
1249  __eq__(RelaxingSpring self, Particle d) -> bool
1250  """
1251  return _IMP_npctransport.RelaxingSpring___eq__(self, *args)
1252 
1253 
1254  def __ne__(self, *args):
1255  """
1256  __ne__(RelaxingSpring self, RelaxingSpring o) -> bool
1257  __ne__(RelaxingSpring self, Particle d) -> bool
1258  """
1259  return _IMP_npctransport.RelaxingSpring___ne__(self, *args)
1260 
1261 
1262  def __le__(self, *args):
1263  """
1264  __le__(RelaxingSpring self, RelaxingSpring o) -> bool
1265  __le__(RelaxingSpring self, Particle d) -> bool
1266  """
1267  return _IMP_npctransport.RelaxingSpring___le__(self, *args)
1268 
1269 
1270  def __lt__(self, *args):
1271  """
1272  __lt__(RelaxingSpring self, RelaxingSpring o) -> bool
1273  __lt__(RelaxingSpring self, Particle d) -> bool
1274  """
1275  return _IMP_npctransport.RelaxingSpring___lt__(self, *args)
1276 
1277 
1278  def __ge__(self, *args):
1279  """
1280  __ge__(RelaxingSpring self, RelaxingSpring o) -> bool
1281  __ge__(RelaxingSpring self, Particle d) -> bool
1282  """
1283  return _IMP_npctransport.RelaxingSpring___ge__(self, *args)
1284 
1285 
1286  def __gt__(self, *args):
1287  """
1288  __gt__(RelaxingSpring self, RelaxingSpring o) -> bool
1289  __gt__(RelaxingSpring self, Particle d) -> bool
1290  """
1291  return _IMP_npctransport.RelaxingSpring___gt__(self, *args)
1292 
1293 
1294  def __hash__(self):
1295  """__hash__(RelaxingSpring self) -> std::size_t"""
1296  return _IMP_npctransport.RelaxingSpring___hash__(self)
1297 
1298 
1299  def __str__(self):
1300  """__str__(RelaxingSpring self) -> std::string"""
1301  return _IMP_npctransport.RelaxingSpring___str__(self)
1302 
1303 
1304  def __repr__(self):
1305  """__repr__(RelaxingSpring self) -> std::string"""
1306  return _IMP_npctransport.RelaxingSpring___repr__(self)
1307 
1308  __swig_destroy__ = _IMP_npctransport.delete_RelaxingSpring
1309  __del__ = lambda self: None
1310 RelaxingSpring_swigregister = _IMP_npctransport.RelaxingSpring_swigregister
1311 RelaxingSpring_swigregister(RelaxingSpring)
1312 
1313 def RelaxingSpring_setup_particle(*args):
1314  """
1315  setup_particle(Model m, ParticleIndex pi, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1316  RelaxingSpring_setup_particle(_ParticleAdaptor decorator, ParticleIndex bonded_pi0, ParticleIndex bonded_pi1, double equilibrium_rest_length_factor, double rest_length_diffusion_coefficient) -> RelaxingSpring
1317  """
1318  return _IMP_npctransport.RelaxingSpring_setup_particle(*args)
1319 
1320 def RelaxingSpring_get_is_setup(*args):
1321  """
1322  get_is_setup(_ParticleAdaptor p) -> bool
1323  RelaxingSpring_get_is_setup(Model m, ParticleIndex pi) -> bool
1324  """
1325  return _IMP_npctransport.RelaxingSpring_get_is_setup(*args)
1326 
1327 def RelaxingSpring_get_bonded_particle_0_key():
1328  """RelaxingSpring_get_bonded_particle_0_key() -> ParticleIndexKey"""
1329  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_0_key()
1330 
1331 def RelaxingSpring_get_bonded_particle_1_key():
1332  """RelaxingSpring_get_bonded_particle_1_key() -> ParticleIndexKey"""
1333  return _IMP_npctransport.RelaxingSpring_get_bonded_particle_1_key()
1334 
1335 def RelaxingSpring_get_equilibrium_rest_length_factor_key():
1336  """RelaxingSpring_get_equilibrium_rest_length_factor_key() -> FloatKey"""
1337  return _IMP_npctransport.RelaxingSpring_get_equilibrium_rest_length_factor_key()
1338 
1339 def RelaxingSpring_get_rest_length_key():
1340  """RelaxingSpring_get_rest_length_key() -> FloatKey"""
1341  return _IMP_npctransport.RelaxingSpring_get_rest_length_key()
1342 
1343 def RelaxingSpring_get_rest_length_diffusion_coefficient_key():
1344  """RelaxingSpring_get_rest_length_diffusion_coefficient_key() -> FloatKey"""
1345  return _IMP_npctransport.RelaxingSpring_get_rest_length_diffusion_coefficient_key()
1346 
1347 class HarmonicSpringSingletonScore(IMP.SingletonScore):
1348  """Proxy of C++ IMP::npctransport::HarmonicSpringSingletonScore class."""
1349 
1350  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1351 
1352  def __init__(self, *args):
1353  """
1354  __init__(IMP::npctransport::HarmonicSpringSingletonScore self, double k1, double k2, std::string name) -> HarmonicSpringSingletonScore
1355  __init__(IMP::npctransport::HarmonicSpringSingletonScore self, double k1, double k2) -> HarmonicSpringSingletonScore
1356  """
1357  this = _IMP_npctransport.new_HarmonicSpringSingletonScore(*args)
1358  try:
1359  self.this.append(this)
1360  except __builtin__.Exception:
1361  self.this = this
1362 
1363  def set_k1(self, k1):
1364  """set_k1(HarmonicSpringSingletonScore self, double k1)"""
1365  return _IMP_npctransport.HarmonicSpringSingletonScore_set_k1(self, k1)
1366 
1367 
1368  def get_k1(self):
1369  """get_k1(HarmonicSpringSingletonScore self) -> double"""
1370  return _IMP_npctransport.HarmonicSpringSingletonScore_get_k1(self)
1371 
1372 
1373  def set_k2(self, k2):
1374  """set_k2(HarmonicSpringSingletonScore self, double k2)"""
1375  return _IMP_npctransport.HarmonicSpringSingletonScore_set_k2(self, k2)
1376 
1377 
1378  def get_k2(self):
1379  """get_k2(HarmonicSpringSingletonScore self) -> double"""
1380  return _IMP_npctransport.HarmonicSpringSingletonScore_get_k2(self)
1381 
1382 
1383  def do_get_inputs(self, m, pis):
1384  """do_get_inputs(HarmonicSpringSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1385  return _IMP_npctransport.HarmonicSpringSingletonScore_do_get_inputs(self, m, pis)
1386 
1387 
1388  def get_version_info(self):
1389  """get_version_info(HarmonicSpringSingletonScore self) -> VersionInfo"""
1390  return _IMP_npctransport.HarmonicSpringSingletonScore_get_version_info(self)
1391 
1392 
1393  def __str__(self):
1394  """__str__(HarmonicSpringSingletonScore self) -> std::string"""
1395  return _IMP_npctransport.HarmonicSpringSingletonScore___str__(self)
1396 
1397 
1398  def __repr__(self):
1399  """__repr__(HarmonicSpringSingletonScore self) -> std::string"""
1400  return _IMP_npctransport.HarmonicSpringSingletonScore___repr__(self)
1401 
1402 
1403  @staticmethod
1404  def get_from(o):
1405  return _object_cast_to_HarmonicSpringSingletonScore(o)
1406 
1407 HarmonicSpringSingletonScore_swigregister = _IMP_npctransport.HarmonicSpringSingletonScore_swigregister
1408 HarmonicSpringSingletonScore_swigregister(HarmonicSpringSingletonScore)
1409 
1410 class LinearInteraction(object):
1411  """Proxy of C++ IMP::npctransport::LinearInteraction class."""
1412 
1413  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1414  __repr__ = _swig_repr
1415 
1416  def __init__(self, krep, attr_range, kattr):
1417  """__init__(IMP::npctransport::LinearInteraction self, double krep, double attr_range, double kattr) -> LinearInteraction"""
1418  this = _IMP_npctransport.new_LinearInteraction(krep, attr_range, kattr)
1419  try:
1420  self.this.append(this)
1421  except __builtin__.Exception:
1422  self.this = this
1423 
1424  def show(self, *args):
1425  """
1426  show(LinearInteraction self, _ostream out)
1427  show(LinearInteraction self)
1428  """
1429  return _IMP_npctransport.LinearInteraction_show(self, *args)
1430 
1431  __swig_destroy__ = _IMP_npctransport.delete_LinearInteraction
1432  __del__ = lambda self: None
1433 LinearInteraction_swigregister = _IMP_npctransport.LinearInteraction_swigregister
1434 LinearInteraction_swigregister(LinearInteraction)
1435 
1436 class _DistancePairScoreForLinearSoftSphere(IMP.PairScore):
1437  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> class."""
1438 
1439  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1440  __repr__ = _swig_repr
1441 
1442  def __init__(self, *args):
1443  """
1444  __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > >::DistanceScore const & t0, std::string name) -> _DistancePairScoreForLinearSoftSphere
1445  __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearSoftSphereScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > >::DistanceScore const & t0) -> _DistancePairScoreForLinearSoftSphere
1446  """
1447  this = _IMP_npctransport.new__DistancePairScoreForLinearSoftSphere(*args)
1448  try:
1449  self.this.append(this)
1450  except __builtin__.Exception:
1451  self.this = this
1452 
1453  def do_get_inputs(self, m, pis):
1454  """do_get_inputs(_DistancePairScoreForLinearSoftSphere self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1455  return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_do_get_inputs(self, m, pis)
1456 
1457 
1458  def get_score_functor(self):
1459  """get_score_functor(_DistancePairScoreForLinearSoftSphere self) -> IMP::score_functor::SphereDistance< IMP::score_functor::LinearLowerBound > &"""
1460  return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_score_functor(self)
1461 
1462 
1463  def get_version_info(self):
1464  """get_version_info(_DistancePairScoreForLinearSoftSphere self) -> VersionInfo"""
1465  return _IMP_npctransport._DistancePairScoreForLinearSoftSphere_get_version_info(self)
1466 
1467 _DistancePairScoreForLinearSoftSphere_swigregister = _IMP_npctransport._DistancePairScoreForLinearSoftSphere_swigregister
1468 _DistancePairScoreForLinearSoftSphere_swigregister(_DistancePairScoreForLinearSoftSphere)
1469 
1470 class _DistancePairScoreForLinearInteraction(IMP.PairScore):
1471  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> class."""
1472 
1473  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1474  __repr__ = _swig_repr
1475 
1476  def __init__(self, *args):
1477  """
1478  __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > >::DistanceScore const & t0, std::string name) -> _DistancePairScoreForLinearInteraction
1479  __init__(IMP::score_functor::DistancePairScore<(IMP::npctransport::LinearInteractionScore)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > >::DistanceScore const & t0) -> _DistancePairScoreForLinearInteraction
1480  """
1481  this = _IMP_npctransport.new__DistancePairScoreForLinearInteraction(*args)
1482  try:
1483  self.this.append(this)
1484  except __builtin__.Exception:
1485  self.this = this
1486 
1487  def do_get_inputs(self, m, pis):
1488  """do_get_inputs(_DistancePairScoreForLinearInteraction self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1489  return _IMP_npctransport._DistancePairScoreForLinearInteraction_do_get_inputs(self, m, pis)
1490 
1491 
1492  def get_score_functor(self):
1493  """get_score_functor(_DistancePairScoreForLinearInteraction self) -> IMP::score_functor::SphereDistance< IMP::npctransport::LinearInteraction > &"""
1494  return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_score_functor(self)
1495 
1496 
1497  def get_version_info(self):
1498  """get_version_info(_DistancePairScoreForLinearInteraction self) -> VersionInfo"""
1499  return _IMP_npctransport._DistancePairScoreForLinearInteraction_get_version_info(self)
1500 
1501 _DistancePairScoreForLinearInteraction_swigregister = _IMP_npctransport._DistancePairScoreForLinearInteraction_swigregister
1502 _DistancePairScoreForLinearInteraction_swigregister(_DistancePairScoreForLinearInteraction)
1503 
1504 class FunctorLinearSoftSpherePairScore(_DistancePairScoreForLinearSoftSphere):
1505  """Proxy of C++ IMP::npctransport::FunctorLinearSoftSpherePairScore class."""
1506 
1507  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1508 
1509  def __init__(self, *args):
1510  """
1511  __init__(IMP::npctransport::FunctorLinearSoftSpherePairScore self, double k, std::string name) -> FunctorLinearSoftSpherePairScore
1512  __init__(IMP::npctransport::FunctorLinearSoftSpherePairScore self, double k) -> FunctorLinearSoftSpherePairScore
1513  """
1514  this = _IMP_npctransport.new_FunctorLinearSoftSpherePairScore(*args)
1515  try:
1516  self.this.append(this)
1517  except __builtin__.Exception:
1518  self.this = this
1519 
1520  def __str__(self):
1521  """__str__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1522  return _IMP_npctransport.FunctorLinearSoftSpherePairScore___str__(self)
1523 
1524 
1525  def __repr__(self):
1526  """__repr__(FunctorLinearSoftSpherePairScore self) -> std::string"""
1527  return _IMP_npctransport.FunctorLinearSoftSpherePairScore___repr__(self)
1528 
1529 
1530  @staticmethod
1531  def get_from(o):
1532  return _object_cast_to_FunctorLinearSoftSpherePairScore(o)
1533 
1534 FunctorLinearSoftSpherePairScore_swigregister = _IMP_npctransport.FunctorLinearSoftSpherePairScore_swigregister
1535 FunctorLinearSoftSpherePairScore_swigregister(FunctorLinearSoftSpherePairScore)
1536 
1537 class FunctorLinearInteractionPairScore(_DistancePairScoreForLinearInteraction):
1538  """Proxy of C++ IMP::npctransport::FunctorLinearInteractionPairScore class."""
1539 
1540  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1541 
1542  def __init__(self, *args):
1543  """
1544  __init__(IMP::npctransport::FunctorLinearInteractionPairScore self, double krep, double attr_range, double kattr, std::string name) -> FunctorLinearInteractionPairScore
1545  __init__(IMP::npctransport::FunctorLinearInteractionPairScore self, double krep, double attr_range, double kattr) -> FunctorLinearInteractionPairScore
1546  """
1547  this = _IMP_npctransport.new_FunctorLinearInteractionPairScore(*args)
1548  try:
1549  self.this.append(this)
1550  except __builtin__.Exception:
1551  self.this = this
1552 
1553  def __str__(self):
1554  """__str__(FunctorLinearInteractionPairScore self) -> std::string"""
1555  return _IMP_npctransport.FunctorLinearInteractionPairScore___str__(self)
1556 
1557 
1558  def __repr__(self):
1559  """__repr__(FunctorLinearInteractionPairScore self) -> std::string"""
1560  return _IMP_npctransport.FunctorLinearInteractionPairScore___repr__(self)
1561 
1562 
1563  @staticmethod
1564  def get_from(o):
1565  return _object_cast_to_FunctorLinearInteractionPairScore(o)
1566 
1567 FunctorLinearInteractionPairScore_swigregister = _IMP_npctransport.FunctorLinearInteractionPairScore_swigregister
1568 FunctorLinearInteractionPairScore_swigregister(FunctorLinearInteractionPairScore)
1569 
1570 class BrownianDynamicsTAMDWithSlabSupport(IMP.atom.BrownianDynamicsTAMD):
1571  """Proxy of C++ IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport class."""
1572 
1573  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1574 
1575  def __init__(self, *args):
1576  """
1577  __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMDWithSlabSupport
1578  __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m, std::string name) -> BrownianDynamicsTAMDWithSlabSupport
1579  __init__(IMP::npctransport::BrownianDynamicsTAMDWithSlabSupport self, Model m) -> BrownianDynamicsTAMDWithSlabSupport
1580  """
1581  this = _IMP_npctransport.new_BrownianDynamicsTAMDWithSlabSupport(*args)
1582  try:
1583  self.this.append(this)
1584  except __builtin__.Exception:
1585  self.this = this
1586 
1587  def __str__(self):
1588  """__str__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1589  return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___str__(self)
1590 
1591 
1592  def __repr__(self):
1593  """__repr__(BrownianDynamicsTAMDWithSlabSupport self) -> std::string"""
1594  return _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport___repr__(self)
1595 
1596 
1597  @staticmethod
1598  def get_from(o):
1599  return _object_cast_to_BrownianDynamicsTAMDWithSlabSupport(o)
1600 
1601  __swig_destroy__ = _IMP_npctransport.delete_BrownianDynamicsTAMDWithSlabSupport
1602  __del__ = lambda self: None
1603 BrownianDynamicsTAMDWithSlabSupport_swigregister = _IMP_npctransport.BrownianDynamicsTAMDWithSlabSupport_swigregister
1604 BrownianDynamicsTAMDWithSlabSupport_swigregister(BrownianDynamicsTAMDWithSlabSupport)
1605 
1606 class SitesPairScoreParameters(object):
1607  """Proxy of C++ IMP::npctransport::SitesPairScoreParameters class."""
1608 
1609  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1610  r = _swig_property(_IMP_npctransport.SitesPairScoreParameters_r_get, _IMP_npctransport.SitesPairScoreParameters_r_set)
1611  k = _swig_property(_IMP_npctransport.SitesPairScoreParameters_k_get, _IMP_npctransport.SitesPairScoreParameters_k_set)
1612  r2 = _swig_property(_IMP_npctransport.SitesPairScoreParameters_r2_get, _IMP_npctransport.SitesPairScoreParameters_r2_set)
1613  kr = _swig_property(_IMP_npctransport.SitesPairScoreParameters_kr_get, _IMP_npctransport.SitesPairScoreParameters_kr_set)
1614  kr2 = _swig_property(_IMP_npctransport.SitesPairScoreParameters_kr2_get, _IMP_npctransport.SitesPairScoreParameters_kr2_set)
1615  cosSigma1_max = _swig_property(_IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma1_max_set)
1616  cosSigma2_max = _swig_property(_IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_get, _IMP_npctransport.SitesPairScoreParameters_cosSigma2_max_set)
1617  is_orientational = _swig_property(_IMP_npctransport.SitesPairScoreParameters_is_orientational_get, _IMP_npctransport.SitesPairScoreParameters_is_orientational_set)
1618 
1619  def __init__(self, range, k_coefficient, sigma1_max_deg=0.0, sigma2_max_deg=0.0):
1620  """
1621  __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient, double sigma1_max_deg=0.0, double sigma2_max_deg=0.0) -> SitesPairScoreParameters
1622  __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient, double sigma1_max_deg=0.0) -> SitesPairScoreParameters
1623  __init__(IMP::npctransport::SitesPairScoreParameters self, double range, double k_coefficient) -> SitesPairScoreParameters
1624  """
1625  this = _IMP_npctransport.new_SitesPairScoreParameters(range, k_coefficient, sigma1_max_deg, sigma2_max_deg)
1626  try:
1627  self.this.append(this)
1628  except __builtin__.Exception:
1629  self.this = this
1630 
1631  def set_range(self, r):
1632  """set_range(SitesPairScoreParameters self, double r)"""
1633  return _IMP_npctransport.SitesPairScoreParameters_set_range(self, r)
1634 
1635 
1636  def set_force_coefficient(self, k):
1637  """set_force_coefficient(SitesPairScoreParameters self, double k)"""
1638  return _IMP_npctransport.SitesPairScoreParameters_set_force_coefficient(self, k)
1639 
1640 
1641  def set_sigma1_max(self, sigma1_max_deg):
1642  """set_sigma1_max(SitesPairScoreParameters self, double sigma1_max_deg)"""
1643  return _IMP_npctransport.SitesPairScoreParameters_set_sigma1_max(self, sigma1_max_deg)
1644 
1645 
1646  def set_sigma2_max(self, sigma2_max_deg):
1647  """set_sigma2_max(SitesPairScoreParameters self, double sigma2_max_deg)"""
1648  return _IMP_npctransport.SitesPairScoreParameters_set_sigma2_max(self, sigma2_max_deg)
1649 
1650 
1651  def update_is_orientational(self):
1652  """update_is_orientational(SitesPairScoreParameters self)"""
1653  return _IMP_npctransport.SitesPairScoreParameters_update_is_orientational(self)
1654 
1655 
1656  def show(self, *args):
1657  """
1658  show(SitesPairScoreParameters self, _ostream out)
1659  show(SitesPairScoreParameters self)
1660  """
1661  return _IMP_npctransport.SitesPairScoreParameters_show(self, *args)
1662 
1663 
1664  def __str__(self):
1665  """__str__(SitesPairScoreParameters self) -> std::string"""
1666  return _IMP_npctransport.SitesPairScoreParameters___str__(self)
1667 
1668 
1669  def __repr__(self):
1670  """__repr__(SitesPairScoreParameters self) -> std::string"""
1671  return _IMP_npctransport.SitesPairScoreParameters___repr__(self)
1672 
1673  __swig_destroy__ = _IMP_npctransport.delete_SitesPairScoreParameters
1674  __del__ = lambda self: None
1675 SitesPairScoreParameters_swigregister = _IMP_npctransport.SitesPairScoreParameters_swigregister
1676 SitesPairScoreParameters_swigregister(SitesPairScoreParameters)
1677 
1678 class SitesGeometry(IMP.core.XYZRGeometry):
1679  """Proxy of C++ IMP::npctransport::SitesGeometry class."""
1680 
1681  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1682 
1683  def __init__(self, p, sites):
1684  """__init__(IMP::npctransport::SitesGeometry self, Particle p, IMP::algebra::Sphere3Ds sites) -> SitesGeometry"""
1685  this = _IMP_npctransport.new_SitesGeometry(p, sites)
1686  try:
1687  self.this.append(this)
1688  except __builtin__.Exception:
1689  self.this = this
1690 
1691  def __str__(self):
1692  """__str__(SitesGeometry self) -> std::string"""
1693  return _IMP_npctransport.SitesGeometry___str__(self)
1694 
1695 
1696  def __repr__(self):
1697  """__repr__(SitesGeometry self) -> std::string"""
1698  return _IMP_npctransport.SitesGeometry___repr__(self)
1699 
1700 
1701  @staticmethod
1702  def get_from(o):
1703  return _object_cast_to_SitesGeometry(o)
1704 
1705 SitesGeometry_swigregister = _IMP_npctransport.SitesGeometry_swigregister
1706 SitesGeometry_swigregister(SitesGeometry)
1707 
1708 class TypedSitesGeometry(IMP.display.SingletonsGeometry):
1709  """Proxy of C++ IMP::npctransport::TypedSitesGeometry class."""
1710 
1711  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1712 
1713  def __init__(self, sc):
1714  """__init__(IMP::npctransport::TypedSitesGeometry self, _SingletonContainerAdaptor sc) -> TypedSitesGeometry"""
1715  this = _IMP_npctransport.new_TypedSitesGeometry(sc)
1716  try:
1717  self.this.append(this)
1718  except __builtin__.Exception:
1719  self.this = this
1720 
1721  def set_sites(self, t, s):
1722  """set_sites(TypedSitesGeometry self, ParticleType t, IMP::algebra::Sphere3Ds s)"""
1723  return _IMP_npctransport.TypedSitesGeometry_set_sites(self, t, s)
1724 
1725 
1726  def get_version_info(self):
1727  """get_version_info(TypedSitesGeometry self) -> VersionInfo"""
1728  return _IMP_npctransport.TypedSitesGeometry_get_version_info(self)
1729 
1730 
1731  def __str__(self):
1732  """__str__(TypedSitesGeometry self) -> std::string"""
1733  return _IMP_npctransport.TypedSitesGeometry___str__(self)
1734 
1735 
1736  def __repr__(self):
1737  """__repr__(TypedSitesGeometry self) -> std::string"""
1738  return _IMP_npctransport.TypedSitesGeometry___repr__(self)
1739 
1740 
1741  @staticmethod
1742  def get_from(o):
1743  return _object_cast_to_TypedSitesGeometry(o)
1744 
1745 TypedSitesGeometry_swigregister = _IMP_npctransport.TypedSitesGeometry_swigregister
1746 TypedSitesGeometry_swigregister(TypedSitesGeometry)
1747 
1748 class SitesPairScore(LinearInteractionPairScore):
1749  """Proxy of C++ IMP::npctransport::SitesPairScore class."""
1750 
1751  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1752 
1753  def __init__(self, range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1):
1754  """__init__(IMP::npctransport::SitesPairScore self, double range, double k, double sigma0_deg, double sigma1_deg, double range_nonspec_attraction, double k_nonspec_attraction, double k_nonspec_repulsion, IMP::algebra::Sphere3Ds const & sites0, IMP::algebra::Sphere3Ds const & sites1) -> SitesPairScore"""
1755  this = _IMP_npctransport.new_SitesPairScore(range, k, sigma0_deg, sigma1_deg, range_nonspec_attraction, k_nonspec_attraction, k_nonspec_repulsion, sites0, sites1)
1756  try:
1757  self.this.append(this)
1758  except __builtin__.Exception:
1759  self.this = this
1760 
1761  def get_sites_range(self):
1762  """get_sites_range(SitesPairScore self) -> double"""
1763  return _IMP_npctransport.SitesPairScore_get_sites_range(self)
1764 
1765 
1766  def get_sites_k(self):
1767  """get_sites_k(SitesPairScore self) -> double"""
1768  return _IMP_npctransport.SitesPairScore_get_sites_k(self)
1769 
1770 
1771  def get_parameters(self):
1772  """get_parameters(SitesPairScore self) -> SitesPairScoreParameters"""
1773  return _IMP_npctransport.SitesPairScore_get_parameters(self)
1774 
1775 
1776  def set_sites(self, sites0, sites1):
1777  """set_sites(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0, IMP::algebra::Sphere3Ds const & sites1)"""
1778  return _IMP_npctransport.SitesPairScore_set_sites(self, sites0, sites1)
1779 
1780 
1781  def set_sites0(self, sites0):
1782  """set_sites0(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites0)"""
1783  return _IMP_npctransport.SitesPairScore_set_sites0(self, sites0)
1784 
1785 
1786  def set_sites1(self, sites1):
1787  """set_sites1(SitesPairScore self, IMP::algebra::Sphere3Ds const & sites1)"""
1788  return _IMP_npctransport.SitesPairScore_set_sites1(self, sites1)
1789 
1790 
1791  def __str__(self):
1792  """__str__(SitesPairScore self) -> std::string"""
1793  return _IMP_npctransport.SitesPairScore___str__(self)
1794 
1795 
1796  def __repr__(self):
1797  """__repr__(SitesPairScore self) -> std::string"""
1798  return _IMP_npctransport.SitesPairScore___repr__(self)
1799 
1800 
1801  @staticmethod
1802  def get_from(o):
1803  return _object_cast_to_SitesPairScore(o)
1804 
1805 SitesPairScore_swigregister = _IMP_npctransport.SitesPairScore_swigregister
1806 SitesPairScore_swigregister(SitesPairScore)
1807 
1808 class FGChain(IMP.Object):
1809  """Proxy of C++ IMP::npctransport::FGChain class."""
1810 
1811  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1812 
1813  def __init__(self, *args):
1814  """
1815  __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0, double rest_length_factor=1.0, std::string name) -> FGChain
1816  __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0, double rest_length_factor=1.0) -> FGChain
1817  __init__(IMP::npctransport::FGChain self, Particle root, double backbone_k=0.0) -> FGChain
1818  __init__(IMP::npctransport::FGChain self, Particle root) -> FGChain
1819  """
1820  this = _IMP_npctransport.new_FGChain(*args)
1821  try:
1822  self.this.append(this)
1823  except __builtin__.Exception:
1824  self.this = this
1825 
1826  def get_root(self):
1827  """get_root(FGChain self) -> Hierarchy"""
1828  return _IMP_npctransport.FGChain_get_root(self)
1829 
1830 
1831  def get_beads(self):
1832  """get_beads(FGChain self) -> IMP::ParticlesTemp"""
1833  return _IMP_npctransport.FGChain_get_beads(self)
1834 
1835 
1836  def get_bead(self, i):
1837  """get_bead(FGChain self, unsigned int i) -> Particle"""
1838  return _IMP_npctransport.FGChain_get_bead(self, i)
1839 
1840 
1841  def get_bead_index(self, i):
1842  """get_bead_index(FGChain self, unsigned int i) -> ParticleIndex"""
1843  return _IMP_npctransport.FGChain_get_bead_index(self, i)
1844 
1845 
1846  def get_number_of_beads(self):
1847  """get_number_of_beads(FGChain self) -> unsigned int"""
1848  return _IMP_npctransport.FGChain_get_number_of_beads(self)
1849 
1850 
1851  def get_chain_restraints(self, scoring_manager):
1852  """get_chain_restraints(FGChain self, Scoring scoring_manager) -> IMP::Restraints"""
1853  return _IMP_npctransport.FGChain_get_chain_restraints(self, scoring_manager)
1854 
1855 
1856  def set_rest_length_factor(self, rlf):
1857  """set_rest_length_factor(FGChain self, double rlf)"""
1858  return _IMP_npctransport.FGChain_set_rest_length_factor(self, rlf)
1859 
1860 
1861  def set_backbone_k(self, k):
1862  """set_backbone_k(FGChain self, double k)"""
1863  return _IMP_npctransport.FGChain_set_backbone_k(self, k)
1864 
1865 
1866  def get_rest_length_factor(self):
1867  """get_rest_length_factor(FGChain self) -> double"""
1868  return _IMP_npctransport.FGChain_get_rest_length_factor(self)
1869 
1870 
1871  def get_backbone_k(self):
1872  """get_backbone_k(FGChain self) -> double"""
1873  return _IMP_npctransport.FGChain_get_backbone_k(self)
1874 
1875 
1876  def get_version_info(self):
1877  """get_version_info(FGChain self) -> VersionInfo"""
1878  return _IMP_npctransport.FGChain_get_version_info(self)
1879 
1880 
1881  def __str__(self):
1882  """__str__(FGChain self) -> std::string"""
1883  return _IMP_npctransport.FGChain___str__(self)
1884 
1885 
1886  def __repr__(self):
1887  """__repr__(FGChain self) -> std::string"""
1888  return _IMP_npctransport.FGChain___repr__(self)
1889 
1890 
1891  @staticmethod
1892  def get_from(o):
1893  return _object_cast_to_FGChain(o)
1894 
1895 FGChain_swigregister = _IMP_npctransport.FGChain_swigregister
1896 FGChain_swigregister(FGChain)
1897 
1898 
1899 def create_fg_chain(sd, parent, fg_data, c):
1900  """create_fg_chain(SimulationData sd, Hierarchy parent, ::npctransport_proto::Assignment_FGAssignment const & fg_data, Color c) -> FGChain"""
1901  return _IMP_npctransport.create_fg_chain(sd, parent, fg_data, c)
1902 
1903 def get_fg_chain(*args):
1904  """
1905  get_fg_chain(Hierarchy root) -> FGChain
1906  get_fg_chain(Particle p_root) -> FGChain
1907  """
1908  return _IMP_npctransport.get_fg_chain(*args)
1909 class Scoring(IMP.Object):
1910  """Proxy of C++ IMP::npctransport::Scoring class."""
1911 
1912  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1913 
1914  def __init__(self, owner_sd, data):
1915  """__init__(IMP::npctransport::Scoring self, SimulationData owner_sd, ::npctransport_proto::Assignment const & data) -> Scoring"""
1916  this = _IMP_npctransport.new_Scoring(owner_sd, data)
1917  try:
1918  self.this.append(this)
1919  except __builtin__.Exception:
1920  self.this = this
1921 
1922  def get_scoring_function(self, force_update=False):
1923  """
1924  get_scoring_function(Scoring self, bool force_update=False) -> ScoringFunction
1925  get_scoring_function(Scoring self) -> ScoringFunction
1926  """
1927  return _IMP_npctransport.Scoring_get_scoring_function(self, force_update)
1928 
1929 
1930  def get_scoring_function_restraints(self, force_update=False):
1931  """
1932  get_scoring_function_restraints(Scoring self, bool force_update=False) -> IMP::Restraints
1933  get_scoring_function_restraints(Scoring self) -> IMP::Restraints
1934  """
1935  return _IMP_npctransport.Scoring_get_scoring_function_restraints(self, force_update)
1936 
1937 
1938  def get_custom_scoring_function(self, *args):
1939  """
1940  get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, _SingletonContainerAdaptor non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads, bool is_attr_interactions_on=True) -> ScoringFunction
1941  get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, _SingletonContainerAdaptor non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> ScoringFunction
1942  get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads, bool is_attr_interactions_on=True) -> ScoringFunction
1943  get_custom_scoring_function(Scoring self, IMP::RestraintsTemp const & extra_restraints, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> ScoringFunction
1944  """
1945  return _IMP_npctransport.Scoring_get_custom_scoring_function(self, *args)
1946 
1947 
1948  def get_close_beads_container(self, update=False):
1949  """
1950  get_close_beads_container(Scoring self, bool update=False) -> PairContainer
1951  get_close_beads_container(Scoring self) -> PairContainer
1952  """
1953  return _IMP_npctransport.Scoring_get_close_beads_container(self, update)
1954 
1955 
1956  def get_predicates_pair_restraint(self, update=False):
1957  """
1958  get_predicates_pair_restraint(Scoring self, bool update=False) -> PredicatePairsRestraint
1959  get_predicates_pair_restraint(Scoring self) -> PredicatePairsRestraint
1960  """
1961  return _IMP_npctransport.Scoring_get_predicates_pair_restraint(self, update)
1962 
1963 
1964  def get_bounding_volume_restraint(self, update=False):
1965  """
1966  get_bounding_volume_restraint(Scoring self, bool update=False) -> Restraint
1967  get_bounding_volume_restraint(Scoring self) -> Restraint
1968  """
1969  return _IMP_npctransport.Scoring_get_bounding_volume_restraint(self, update)
1970 
1971 
1972  def get_slab_restraint(self, update=False):
1973  """
1974  get_slab_restraint(Scoring self, bool update=False) -> Restraint
1975  get_slab_restraint(Scoring self) -> Restraint
1976  """
1977  return _IMP_npctransport.Scoring_get_slab_restraint(self, update)
1978 
1979 
1980  def add_interaction(self, idata):
1981  """add_interaction(Scoring self, ::npctransport_proto::Assignment_InteractionAssignment const & idata)"""
1982  return _IMP_npctransport.Scoring_add_interaction(self, idata)
1983 
1984 
1985  def create_close_beads_container(self, *args):
1986  """
1987  create_close_beads_container(Scoring self, _SingletonContainerAdaptor non_optimiziable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1988  create_close_beads_container(Scoring self, IMP::ParticleIndexes non_optimizable_beads, _SingletonContainerAdaptor optimizable_beads) -> PairContainer
1989  """
1990  return _IMP_npctransport.Scoring_create_close_beads_container(self, *args)
1991 
1992 
1993  def create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on=True):
1994  """
1995  create_predicates_pair_restraint(Scoring self, PairContainer bead_pairs, bool is_attr_interactions_on=True) -> PredicatePairsRestraint
1996  create_predicates_pair_restraint(Scoring self, PairContainer bead_pairs) -> PredicatePairsRestraint
1997  """
1998  return _IMP_npctransport.Scoring_create_predicates_pair_restraint(self, bead_pairs, is_attr_interactions_on)
1999 
2000 
2001  def create_bounding_volume_restraint(self, beads):
2002  """create_bounding_volume_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
2003  return _IMP_npctransport.Scoring_create_bounding_volume_restraint(self, beads)
2004 
2005 
2006  def create_slab_restraint(self, beads):
2007  """create_slab_restraint(Scoring self, _SingletonContainerAdaptor beads) -> Restraint"""
2008  return _IMP_npctransport.Scoring_create_slab_restraint(self, beads)
2009 
2010 
2011  def get_model(self):
2012  """get_model(Scoring self) -> Model"""
2013  return _IMP_npctransport.Scoring_get_model(self)
2014 
2015 
2016  def get_sd(self):
2017  """get_sd(Scoring self) -> SimulationData"""
2018  return _IMP_npctransport.Scoring_get_sd(self)
2019 
2020 
2021  def get_has_bounding_box(self):
2022  """get_has_bounding_box(Scoring self) -> bool"""
2023  return _IMP_npctransport.Scoring_get_has_bounding_box(self)
2024 
2025 
2026  def get_has_bounding_sphere(self):
2027  """get_has_bounding_sphere(Scoring self) -> bool"""
2028  return _IMP_npctransport.Scoring_get_has_bounding_sphere(self)
2029 
2030 
2031  def get_has_bounding_volume(self):
2032  """get_has_bounding_volume(Scoring self) -> bool"""
2033  return _IMP_npctransport.Scoring_get_has_bounding_volume(self)
2034 
2035 
2036  def get_default_backbone_k(self):
2037  """get_default_backbone_k(Scoring self) -> double"""
2038  return _IMP_npctransport.Scoring_get_default_backbone_k(self)
2039 
2040 
2041  def get_is_backbone_harmonic(self):
2042  """get_is_backbone_harmonic(Scoring self) -> bool"""
2043  return _IMP_npctransport.Scoring_get_is_backbone_harmonic(self)
2044 
2045 
2046  def get_excluded_volume_k(self):
2047  """get_excluded_volume_k(Scoring self) -> double"""
2048  return _IMP_npctransport.Scoring_get_excluded_volume_k(self)
2049 
2050 
2051  def get_interaction_k(self):
2052  """get_interaction_k(Scoring self) -> double"""
2053  return _IMP_npctransport.Scoring_get_interaction_k(self)
2054 
2055 
2056  def get_predicate_pair_score(self, *args):
2057  """
2058  get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
2059  get_predicate_pair_score(Scoring self, ParticleType t1, ParticleType t2) -> PairScore
2060  """
2061  return _IMP_npctransport.Scoring_get_predicate_pair_score(self, *args)
2062 
2063 
2064  def get_interaction_range_for(self, t1, t2, site_specific=True, non_specific=False):
2065  """
2066  get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2, bool site_specific=True, bool non_specific=False) -> double
2067  get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2, bool site_specific=True) -> double
2068  get_interaction_range_for(Scoring self, ParticleType t1, ParticleType t2) -> double
2069  """
2070  return _IMP_npctransport.Scoring_get_interaction_range_for(self, t1, t2, site_specific, non_specific)
2071 
2072 
2073  def get_ordered_type_pair_predicate(self):
2074  """get_ordered_type_pair_predicate(Scoring self) -> OrderedTypePairPredicate"""
2075  return _IMP_npctransport.Scoring_get_ordered_type_pair_predicate(self)
2076 
2077 
2078  def add_chain_restraints(self, chain):
2079  """add_chain_restraints(Scoring self, FGChain chain)"""
2080  return _IMP_npctransport.Scoring_add_chain_restraints(self, chain)
2081 
2082 
2083  def get_chain_restraints_on(self, beads):
2084  """get_chain_restraints_on(Scoring self, _SingletonContainerAdaptor beads) -> IMP::Restraints"""
2085  return _IMP_npctransport.Scoring_get_chain_restraints_on(self, beads)
2086 
2087 
2088  def get_all_chain_restraints(self):
2089  """get_all_chain_restraints(Scoring self) -> IMP::Restraints"""
2090  return _IMP_npctransport.Scoring_get_all_chain_restraints(self)
2091 
2092 
2093  def remove_particle_type(self, pt):
2094  """remove_particle_type(Scoring self, ParticleType pt)"""
2095  return _IMP_npctransport.Scoring_remove_particle_type(self, pt)
2096 
2097 
2098  def add_z_bias_restraint(self, *args):
2099  """
2100  add_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k)
2101  add_z_bias_restraint(Scoring self, Particle p, double k)
2102  """
2103  return _IMP_npctransport.Scoring_add_z_bias_restraint(self, *args)
2104 
2105 
2106  def get_z_bias_restraints(self):
2107  """get_z_bias_restraints(Scoring self) -> IMP::Restraints"""
2108  return _IMP_npctransport.Scoring_get_z_bias_restraints(self)
2109 
2110 
2111  def create_z_bias_restraint(self, ps, k):
2112  """create_z_bias_restraint(Scoring self, _SingletonContainerAdaptor ps, double k) -> Restraint"""
2113  return _IMP_npctransport.Scoring_create_z_bias_restraint(self, ps, k)
2114 
2115 
2116  def add_custom_restraint(self, r):
2117  """add_custom_restraint(Scoring self, Restraint r)"""
2118  return _IMP_npctransport.Scoring_add_custom_restraint(self, r)
2119 
2120 
2121  def add_custom_restraints(self, R):
2122  """add_custom_restraints(Scoring self, IMP::Restraints R)"""
2123  return _IMP_npctransport.Scoring_add_custom_restraints(self, R)
2124 
2125 
2126  def clear_custom_restraints(self):
2127  """clear_custom_restraints(Scoring self)"""
2128  return _IMP_npctransport.Scoring_clear_custom_restraints(self)
2129 
2130 
2131  def get_custom_restraints(self):
2132  """get_custom_restraints(Scoring self) -> IMP::Restraints"""
2133  return _IMP_npctransport.Scoring_get_custom_restraints(self)
2134 
2135 
2136  def add_restrained_anchor_bead(self, p):
2137  """add_restrained_anchor_bead(Scoring self, Particle p)"""
2138  return _IMP_npctransport.Scoring_add_restrained_anchor_bead(self, p)
2139 
2140 
2141  def get_pore_radius_restraint(self):
2142  """get_pore_radius_restraint(Scoring self) -> Restraint"""
2143  return _IMP_npctransport.Scoring_get_pore_radius_restraint(self)
2144 
2145 
2146  def get_range(self):
2147  """get_range(Scoring self) -> double"""
2148  return _IMP_npctransport.Scoring_get_range(self)
2149 
2150 
2151  def set_interaction_range_factor(self, type, value):
2152  """set_interaction_range_factor(Scoring self, ParticleType type, double value)"""
2153  return _IMP_npctransport.Scoring_set_interaction_range_factor(self, type, value)
2154 
2155 
2156  def set_interaction_k_factor(self, type, value):
2157  """set_interaction_k_factor(Scoring self, ParticleType type, double value)"""
2158  return _IMP_npctransport.Scoring_set_interaction_k_factor(self, type, value)
2159 
2160 
2161  def get_version_info(self):
2162  """get_version_info(Scoring self) -> VersionInfo"""
2163  return _IMP_npctransport.Scoring_get_version_info(self)
2164 
2165 
2166  def __str__(self):
2167  """__str__(Scoring self) -> std::string"""
2168  return _IMP_npctransport.Scoring___str__(self)
2169 
2170 
2171  def __repr__(self):
2172  """__repr__(Scoring self) -> std::string"""
2173  return _IMP_npctransport.Scoring___repr__(self)
2174 
2175 
2176  @staticmethod
2177  def get_from(o):
2178  return _object_cast_to_Scoring(o)
2179 
2180 Scoring_swigregister = _IMP_npctransport.Scoring_swigregister
2181 Scoring_swigregister(Scoring)
2182 
2183 class timer(object):
2184  """Proxy of C++ boost::timer class."""
2185 
2186  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2187  __repr__ = _swig_repr
2188 
2189  def __init__(self):
2190  """__init__(boost::timer self) -> timer"""
2191  this = _IMP_npctransport.new_timer()
2192  try:
2193  self.this.append(this)
2194  except __builtin__.Exception:
2195  self.this = this
2196  __swig_destroy__ = _IMP_npctransport.delete_timer
2197  __del__ = lambda self: None
2198 timer_swigregister = _IMP_npctransport.timer_swigregister
2199 timer_swigregister(timer)
2200 
2201 class Statistics(IMP.Object):
2202  """Proxy of C++ IMP::npctransport::Statistics class."""
2203 
2204  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2205 
2206  def remove_particle_type(self, pt):
2207  """remove_particle_type(Statistics self, ParticleType pt)"""
2208  return _IMP_npctransport.Statistics_remove_particle_type(self, pt)
2209 
2210 
2211  def __init__(self, sd, statistics_interval_frames, output_file_name):
2212  """__init__(IMP::npctransport::Statistics self, SimulationData sd, unsigned int statistics_interval_frames, std::string output_file_name) -> Statistics"""
2213  this = _IMP_npctransport.new_Statistics(sd, statistics_interval_frames, output_file_name)
2214  try:
2215  self.this.append(this)
2216  except __builtin__.Exception:
2217  self.this = this
2218 
2219  def add_fg_chain_stats(self, fg_chain):
2220  """add_fg_chain_stats(Statistics self, FGChain fg_chain)"""
2221  return _IMP_npctransport.Statistics_add_fg_chain_stats(self, fg_chain)
2222 
2223 
2224  def add_floater_stats(self, p):
2225  """add_floater_stats(Statistics self, Particle p)"""
2226  return _IMP_npctransport.Statistics_add_floater_stats(self, p)
2227 
2228 
2229  def add_interaction_stats(self, type0, type1):
2230  """add_interaction_stats(Statistics self, ParticleType type0, ParticleType type1)"""
2231  return _IMP_npctransport.Statistics_add_interaction_stats(self, type0, type1)
2232 
2233 
2234  def add_optimizer_states(self, o=None):
2235  """
2236  add_optimizer_states(Statistics self, Optimizer o=None) -> IMP::OptimizerStates
2237  add_optimizer_states(Statistics self) -> IMP::OptimizerStates
2238  """
2239  return _IMP_npctransport.Statistics_add_optimizer_states(self, o)
2240 
2241 
2242  def update_particle_type_zr_distribution_map(self, p):
2243  """update_particle_type_zr_distribution_map(Statistics self, Particle p)"""
2244  return _IMP_npctransport.Statistics_update_particle_type_zr_distribution_map(self, p)
2245 
2246 
2247  def update_particle_type_xyz_distribution_map(self, p):
2248  """update_particle_type_xyz_distribution_map(Statistics self, Particle p)"""
2249  return _IMP_npctransport.Statistics_update_particle_type_xyz_distribution_map(self, p)
2250 
2251 
2252  def update(self, timer, nf_new=1):
2253  """
2254  update(Statistics self, timer timer, unsigned int nf_new=1)
2255  update(Statistics self, timer timer)
2256  """
2257  return _IMP_npctransport.Statistics_update(self, timer, nf_new)
2258 
2259 
2260  def reset_statistics_optimizer_states(self):
2261  """reset_statistics_optimizer_states(Statistics self)"""
2262  return _IMP_npctransport.Statistics_reset_statistics_optimizer_states(self)
2263 
2264 
2265  def set_interrupted(self, tf):
2266  """set_interrupted(Statistics self, bool tf)"""
2267  return _IMP_npctransport.Statistics_set_interrupted(self, tf)
2268 
2269 
2270  def get_model(self):
2271  """get_model(Statistics self) -> Model"""
2272  return _IMP_npctransport.Statistics_get_model(self)
2273 
2274 
2275  def get_sd(self):
2276  """get_sd(Statistics self) -> SimulationData"""
2277  return _IMP_npctransport.Statistics_get_sd(self)
2278 
2279 
2280  def get_is_activated(self):
2281  """get_is_activated(Statistics self) -> bool"""
2282  return _IMP_npctransport.Statistics_get_is_activated(self)
2283 
2284 
2285  def get_output_file_name(self):
2286  """get_output_file_name(Statistics self) -> std::string"""
2287  return _IMP_npctransport.Statistics_get_output_file_name(self)
2288 
2289 
2290  def get_version_info(self):
2291  """get_version_info(Statistics self) -> VersionInfo"""
2292  return _IMP_npctransport.Statistics_get_version_info(self)
2293 
2294 
2295  def __str__(self):
2296  """__str__(Statistics self) -> std::string"""
2297  return _IMP_npctransport.Statistics___str__(self)
2298 
2299 
2300  def __repr__(self):
2301  """__repr__(Statistics self) -> std::string"""
2302  return _IMP_npctransport.Statistics___repr__(self)
2303 
2304 
2305  @staticmethod
2306  def get_from(o):
2307  return _object_cast_to_Statistics(o)
2308 
2309 Statistics_swigregister = _IMP_npctransport.Statistics_swigregister
2310 Statistics_swigregister(Statistics)
2311 
2312 
2313 def create_boost_timer():
2314  """create_boost_timer() -> timer"""
2315  return _IMP_npctransport.create_boost_timer()
2316 IMPNPCTRANSPORT_VERSION = _IMP_npctransport.IMPNPCTRANSPORT_VERSION
2317 class SimulationData(IMP.Object):
2318  """Proxy of C++ IMP::npctransport::SimulationData class."""
2319 
2320  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2321 
2322  def get_output_npctransport_version(self):
2323  """get_output_npctransport_version(SimulationData self) -> double"""
2324  return _IMP_npctransport.SimulationData_get_output_npctransport_version(self)
2325 
2326 
2327  def get_range(self):
2328  """get_range(SimulationData self) -> double"""
2329  return _IMP_npctransport.SimulationData_get_range(self)
2330 
2331 
2332  def get_output_statistics_interval_frames(self):
2333  """get_output_statistics_interval_frames(SimulationData self) -> int"""
2334  return _IMP_npctransport.SimulationData_get_output_statistics_interval_frames(self)
2335 
2336 
2337  def get_is_exclude_floaters_from_slab_initially(self):
2338  """get_is_exclude_floaters_from_slab_initially(SimulationData self) -> bool"""
2339  return _IMP_npctransport.SimulationData_get_is_exclude_floaters_from_slab_initially(self)
2340 
2341 
2342  def get_are_floaters_on_one_slab_side(self):
2343  """get_are_floaters_on_one_slab_side(SimulationData self) -> bool"""
2344  return _IMP_npctransport.SimulationData_get_are_floaters_on_one_slab_side(self)
2345 
2346 
2347  def get_is_xyz_hist_stats(self):
2348  """get_is_xyz_hist_stats(SimulationData self) -> bool"""
2349  return _IMP_npctransport.SimulationData_get_is_xyz_hist_stats(self)
2350 
2351 
2352  def get_angular_d_factor(self):
2353  """get_angular_d_factor(SimulationData self) -> double"""
2354  return _IMP_npctransport.SimulationData_get_angular_d_factor(self)
2355 
2356 
2357  def __init__(self, *args):
2358  """
2359  __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick, std::string rmf_file_name, std::string new_output_file) -> SimulationData
2360  __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick, std::string rmf_file_name) -> SimulationData
2361  __init__(IMP::npctransport::SimulationData self, std::string prev_output_file, bool quick) -> SimulationData
2362  """
2363  this = _IMP_npctransport.new_SimulationData(*args)
2364  try:
2365  self.this.append(this)
2366  except __builtin__.Exception:
2367  self.this = this
2368 
2369  def get_model(self):
2370  """get_model(SimulationData self) -> Model"""
2371  return _IMP_npctransport.SimulationData_get_model(self)
2372 
2373 
2374  def get_scoring(self):
2375  """get_scoring(SimulationData self) -> Scoring"""
2376  return _IMP_npctransport.SimulationData_get_scoring(self)
2377 
2378 
2379  def get_statistics(self):
2380  """get_statistics(SimulationData self) -> Statistics"""
2381  return _IMP_npctransport.SimulationData_get_statistics(self)
2382 
2383 
2384  def get_bd(self, recreate=False):
2385  """
2386  get_bd(SimulationData self, bool recreate=False) -> BrownianDynamics
2387  get_bd(SimulationData self) -> BrownianDynamics
2388  """
2389  return _IMP_npctransport.SimulationData_get_bd(self, recreate)
2390 
2391 
2392  def activate_statistics(self):
2393  """activate_statistics(SimulationData self)"""
2394  return _IMP_npctransport.SimulationData_activate_statistics(self)
2395 
2396 
2397  def get_statistics_fraction(self):
2398  """get_statistics_fraction(SimulationData self) -> double"""
2399  return _IMP_npctransport.SimulationData_get_statistics_fraction(self)
2400 
2401 
2402  def get_is_fg_bead(self, *args):
2403  """
2404  get_is_fg_bead(SimulationData self, ParticleIndex pi) -> bool
2405  get_is_fg_bead(SimulationData self, ParticleType pt) -> bool
2406  """
2407  return _IMP_npctransport.SimulationData_get_is_fg_bead(self, *args)
2408 
2409 
2410  def get_is_fg_chain(self, *args):
2411  """
2412  get_is_fg_chain(SimulationData self, ParticleIndex pi) -> bool
2413  get_is_fg_chain(SimulationData self, ParticleType pt) -> bool
2414  """
2415  return _IMP_npctransport.SimulationData_get_is_fg_chain(self, *args)
2416 
2417 
2418  def get_fg_bead_types(self):
2419  """get_fg_bead_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2420  return _IMP_npctransport.SimulationData_get_fg_bead_types(self)
2421 
2422 
2423  def get_fg_chain_types(self):
2424  """get_fg_chain_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2425  return _IMP_npctransport.SimulationData_get_fg_chain_types(self)
2426 
2427 
2428  def get_floater_types(self):
2429  """get_floater_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2430  return _IMP_npctransport.SimulationData_get_floater_types(self)
2431 
2432 
2433  def get_obstacle_types(self):
2434  """get_obstacle_types(SimulationData self) -> IMP::npctransport::ParticleTypeSet const &"""
2435  return _IMP_npctransport.SimulationData_get_obstacle_types(self)
2436 
2437 
2438  def get_fg_chain_roots(self):
2439  """get_fg_chain_roots(SimulationData self) -> IMP::atom::Hierarchies"""
2440  return _IMP_npctransport.SimulationData_get_fg_chain_roots(self)
2441 
2442 
2443  def get_fg_chains(self):
2444  """get_fg_chains(SimulationData self) -> IMP::atom::Hierarchies"""
2445  return _IMP_npctransport.SimulationData_get_fg_chains(self)
2446 
2447 
2448  def get_obstacle_particles(self):
2449  """get_obstacle_particles(SimulationData self) -> IMP::ParticlesTemp"""
2450  return _IMP_npctransport.SimulationData_get_obstacle_particles(self)
2451 
2452 
2453  def get_beads(self):
2454  """get_beads(SimulationData self) -> IMP::ParticlesTemp"""
2455  return _IMP_npctransport.SimulationData_get_beads(self)
2456 
2457 
2458  def get_optimizable_beads(self):
2459  """get_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2460  return _IMP_npctransport.SimulationData_get_optimizable_beads(self)
2461 
2462 
2463  def get_non_optimizable_beads(self):
2464  """get_non_optimizable_beads(SimulationData self) -> IMP::ParticlesTemp"""
2465  return _IMP_npctransport.SimulationData_get_non_optimizable_beads(self)
2466 
2467 
2468  def get_is_backbone_harmonic(self):
2469  """get_is_backbone_harmonic(SimulationData self) -> bool"""
2470  return _IMP_npctransport.SimulationData_get_is_backbone_harmonic(self)
2471 
2472 
2473  def get_backbone_tau_ns(self):
2474  """get_backbone_tau_ns(SimulationData self) -> double"""
2475  return _IMP_npctransport.SimulationData_get_backbone_tau_ns(self)
2476 
2477 
2478  def get_temperature_k(self):
2479  """get_temperature_k(SimulationData self) -> double"""
2480  return _IMP_npctransport.SimulationData_get_temperature_k(self)
2481 
2482 
2483  def get_initial_simulation_time_ns(self):
2484  """get_initial_simulation_time_ns(SimulationData self) -> double"""
2485  return _IMP_npctransport.SimulationData_get_initial_simulation_time_ns(self)
2486 
2487 
2488  def get_site_centers(self, t0):
2489  """get_site_centers(SimulationData self, ParticleType t0) -> IMP::algebra::Vector3Ds"""
2490  return _IMP_npctransport.SimulationData_get_site_centers(self, t0)
2491 
2492 
2493  def get_sites(self, t0):
2494  """get_sites(SimulationData self, ParticleType t0) -> IMP::algebra::Sphere3Ds"""
2495  return _IMP_npctransport.SimulationData_get_sites(self, t0)
2496 
2497 
2498  def set_sites(self, *args):
2499  """
2500  set_sites(SimulationData self, ParticleType t0, int n, double r, double sr)
2501  set_sites(SimulationData self, ParticleType t0, IMP::algebra::Sphere3Ds const & sites)
2502  """
2503  return _IMP_npctransport.SimulationData_set_sites(self, *args)
2504 
2505 
2506  def get_site_display_radius(self, arg2):
2507  """get_site_display_radius(SimulationData self, ParticleType arg2) -> double"""
2508  return _IMP_npctransport.SimulationData_get_site_display_radius(self, arg2)
2509 
2510 
2511  def get_maximum_number_of_minutes(self):
2512  """get_maximum_number_of_minutes(SimulationData self) -> double"""
2513  return _IMP_npctransport.SimulationData_get_maximum_number_of_minutes(self)
2514 
2515 
2516  def remove_particle_type(self, pt):
2517  """remove_particle_type(SimulationData self, ParticleType pt)"""
2518  return _IMP_npctransport.SimulationData_remove_particle_type(self, pt)
2519 
2520 
2521  def remove_fgs_with_prefix(self, s_fg_type):
2522  """remove_fgs_with_prefix(SimulationData self, std::string s_fg_type)"""
2523  return _IMP_npctransport.SimulationData_remove_fgs_with_prefix(self, s_fg_type)
2524 
2525 
2526  def get_bounding_box(self):
2527  """get_bounding_box(SimulationData self) -> BoundingBox3D"""
2528  return _IMP_npctransport.SimulationData_get_bounding_box(self)
2529 
2530 
2531  def get_bounding_sphere(self):
2532  """get_bounding_sphere(SimulationData self) -> Sphere3D"""
2533  return _IMP_npctransport.SimulationData_get_bounding_sphere(self)
2534 
2535 
2536  def get_bounding_box_size(self):
2537  """get_bounding_box_size(SimulationData self) -> double"""
2538  return _IMP_npctransport.SimulationData_get_bounding_box_size(self)
2539 
2540 
2541  def set_bounding_box_size(self, box_size):
2542  """set_bounding_box_size(SimulationData self, double box_size)"""
2543  return _IMP_npctransport.SimulationData_set_bounding_box_size(self, box_size)
2544 
2545 
2546  def get_bounding_sphere_radius(self):
2547  """get_bounding_sphere_radius(SimulationData self) -> double"""
2548  return _IMP_npctransport.SimulationData_get_bounding_sphere_radius(self)
2549 
2550 
2551  def set_bounding_sphere_radius(self, sphere_radius):
2552  """set_bounding_sphere_radius(SimulationData self, double sphere_radius)"""
2553  return _IMP_npctransport.SimulationData_set_bounding_sphere_radius(self, sphere_radius)
2554 
2555 
2556  def get_bounding_volume(self):
2557  """get_bounding_volume(SimulationData self) -> double"""
2558  return _IMP_npctransport.SimulationData_get_bounding_volume(self)
2559 
2560 
2561  def set_bounding_volume(self, volume_A3):
2562  """set_bounding_volume(SimulationData self, double volume_A3)"""
2563  return _IMP_npctransport.SimulationData_set_bounding_volume(self, volume_A3)
2564 
2565 
2566  def get_has_slab(self):
2567  """get_has_slab(SimulationData self) -> bool"""
2568  return _IMP_npctransport.SimulationData_get_has_slab(self)
2569 
2570 
2571  def get_is_slab_with_cylindrical_pore(self):
2572  """get_is_slab_with_cylindrical_pore(SimulationData self) -> bool"""
2573  return _IMP_npctransport.SimulationData_get_is_slab_with_cylindrical_pore(self)
2574 
2575 
2576  def get_is_slab_with_toroidal_pore(self):
2577  """get_is_slab_with_toroidal_pore(SimulationData self) -> bool"""
2578  return _IMP_npctransport.SimulationData_get_is_slab_with_toroidal_pore(self)
2579 
2580 
2581  def get_slab_particle(self):
2582  """get_slab_particle(SimulationData self) -> Particle"""
2583  return _IMP_npctransport.SimulationData_get_slab_particle(self)
2584 
2585 
2586  def get_cylinder(self):
2587  """get_cylinder(SimulationData self) -> Cylinder3D"""
2588  return _IMP_npctransport.SimulationData_get_cylinder(self)
2589 
2590 
2591  def get_has_bounding_box(self):
2592  """get_has_bounding_box(SimulationData self) -> bool"""
2593  return _IMP_npctransport.SimulationData_get_has_bounding_box(self)
2594 
2595 
2596  def get_has_bounding_sphere(self):
2597  """get_has_bounding_sphere(SimulationData self) -> bool"""
2598  return _IMP_npctransport.SimulationData_get_has_bounding_sphere(self)
2599 
2600 
2601  def get_has_bounding_volume(self):
2602  """get_has_bounding_volume(SimulationData self) -> bool"""
2603  return _IMP_npctransport.SimulationData_get_has_bounding_volume(self)
2604 
2605 
2606  def initialize_positions_from_rmf(self, fh, frame_number=-1):
2607  """
2608  initialize_positions_from_rmf(SimulationData self, FileConstHandle fh, int frame_number=-1)
2609  initialize_positions_from_rmf(SimulationData self, FileConstHandle fh)
2610  """
2611  return _IMP_npctransport.SimulationData_initialize_positions_from_rmf(self, fh, frame_number)
2612 
2613 
2614  def link_rmf_file_handle(self, fh, is_restraints=True):
2615  """
2616  link_rmf_file_handle(SimulationData self, FileHandle fh, bool is_restraints=True)
2617  link_rmf_file_handle(SimulationData self, FileHandle fh)
2618  """
2619  return _IMP_npctransport.SimulationData_link_rmf_file_handle(self, fh, is_restraints)
2620 
2621 
2622  def get_rmf_sos_writer(self):
2623  """get_rmf_sos_writer(SimulationData self) -> SaveOptimizerState"""
2624  return _IMP_npctransport.SimulationData_get_rmf_sos_writer(self)
2625 
2626 
2627  def reset_rmf(self):
2628  """reset_rmf(SimulationData self)"""
2629  return _IMP_npctransport.SimulationData_reset_rmf(self)
2630 
2631 
2632  def switch_suspend_rmf(self, suspend):
2633  """switch_suspend_rmf(SimulationData self, bool suspend)"""
2634  return _IMP_npctransport.SimulationData_switch_suspend_rmf(self, suspend)
2635 
2636 
2637  def write_geometry(self, out):
2638  """write_geometry(SimulationData self, std::string out)"""
2639  return _IMP_npctransport.SimulationData_write_geometry(self, out)
2640 
2641 
2642  def dump_geometry(self):
2643  """dump_geometry(SimulationData self)"""
2644  return _IMP_npctransport.SimulationData_dump_geometry(self)
2645 
2646 
2647  def get_root_of_type(self, type):
2648  """get_root_of_type(SimulationData self, ParticleType type) -> Hierarchy"""
2649  return _IMP_npctransport.SimulationData_get_root_of_type(self, type)
2650 
2651 
2652  def get_number_of_frames(self):
2653  """get_number_of_frames(SimulationData self) -> unsigned int"""
2654  return _IMP_npctransport.SimulationData_get_number_of_frames(self)
2655 
2656 
2657  def get_number_of_trials(self):
2658  """get_number_of_trials(SimulationData self) -> unsigned int"""
2659  return _IMP_npctransport.SimulationData_get_number_of_trials(self)
2660 
2661 
2662  def get_root(self):
2663  """get_root(SimulationData self) -> Hierarchy"""
2664  return _IMP_npctransport.SimulationData_get_root(self)
2665 
2666 
2667  def get_slab_thickness(self):
2668  """get_slab_thickness(SimulationData self) -> double"""
2669  return _IMP_npctransport.SimulationData_get_slab_thickness(self)
2670 
2671 
2672  def get_tunnel_radius(self):
2673  """get_tunnel_radius(SimulationData self) -> double"""
2674  return _IMP_npctransport.SimulationData_get_tunnel_radius(self)
2675 
2676 
2677  def get_pore_radius(self):
2678  """get_pore_radius(SimulationData self) -> double"""
2679  return _IMP_npctransport.SimulationData_get_pore_radius(self)
2680 
2681 
2682  def get_tunnel_radius_k(self):
2683  """get_tunnel_radius_k(SimulationData self) -> double"""
2684  return _IMP_npctransport.SimulationData_get_tunnel_radius_k(self)
2685 
2686 
2687  def get_pore_radius_k(self):
2688  """get_pore_radius_k(SimulationData self) -> double"""
2689  return _IMP_npctransport.SimulationData_get_pore_radius_k(self)
2690 
2691 
2692  def get_is_pore_radius_dynamic(self):
2693  """get_is_pore_radius_dynamic(SimulationData self) -> bool"""
2694  return _IMP_npctransport.SimulationData_get_is_pore_radius_dynamic(self)
2695 
2696 
2697  def get_pore_anchored_beads_k(self):
2698  """get_pore_anchored_beads_k(SimulationData self) -> double"""
2699  return _IMP_npctransport.SimulationData_get_pore_anchored_beads_k(self)
2700 
2701 
2702  def get_static_geometry(self):
2703  """get_static_geometry(SimulationData self) -> Geometry"""
2704  return _IMP_npctransport.SimulationData_get_static_geometry(self)
2705 
2706 
2707  def get_rmf_dump_interval_frames(self):
2708  """get_rmf_dump_interval_frames(SimulationData self) -> int"""
2709  return _IMP_npctransport.SimulationData_get_rmf_dump_interval_frames(self)
2710 
2711 
2712  def get_rmf_file_name(self):
2713  """get_rmf_file_name(SimulationData self) -> std::string"""
2714  return _IMP_npctransport.SimulationData_get_rmf_file_name(self)
2715 
2716 
2717  def set_rmf_file(self, new_name, is_save_restraints_to_rmf=True, is_force_restart=False):
2718  """
2719  set_rmf_file(SimulationData self, std::string const & new_name, bool is_save_restraints_to_rmf=True, bool is_force_restart=False)
2720  set_rmf_file(SimulationData self, std::string const & new_name, bool is_save_restraints_to_rmf=True)
2721  set_rmf_file(SimulationData self, std::string const & new_name)
2722  """
2723  return _IMP_npctransport.SimulationData_set_rmf_file(self, new_name, is_save_restraints_to_rmf, is_force_restart)
2724 
2725 
2726  def get_version_info(self):
2727  """get_version_info(SimulationData self) -> VersionInfo"""
2728  return _IMP_npctransport.SimulationData_get_version_info(self)
2729 
2730 
2731  def __str__(self):
2732  """__str__(SimulationData self) -> std::string"""
2733  return _IMP_npctransport.SimulationData___str__(self)
2734 
2735 
2736  def __repr__(self):
2737  """__repr__(SimulationData self) -> std::string"""
2738  return _IMP_npctransport.SimulationData___repr__(self)
2739 
2740 
2741  @staticmethod
2742  def get_from(o):
2743  return _object_cast_to_SimulationData(o)
2744 
2745 SimulationData_swigregister = _IMP_npctransport.SimulationData_swigregister
2746 SimulationData_swigregister(SimulationData)
2747 
2748 
2749 def get_simulation_data_key():
2750  """get_simulation_data_key() -> IMP::WeakObjectKey"""
2751  return _IMP_npctransport.get_simulation_data_key()
2752 
2753 def write_geometry(kaps, kap_sites, chains, chain_sites, rs, out):
2754  """write_geometry(IMP::ParticlesTemp const & kaps, IMP::algebra::Sphere3Ds const & kap_sites, IMP::ParticlesTemp const & chains, IMP::algebra::Sphere3Ds const & chain_sites, IMP::RestraintsTemp const & rs, Writer out)"""
2755  return _IMP_npctransport.write_geometry(kaps, kap_sites, chains, chain_sites, rs, out)
2756 class ParticleFactory(IMP.Object):
2757  """Proxy of C++ IMP::npctransport::ParticleFactory class."""
2758 
2759  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2760  sd_ = _swig_property(_IMP_npctransport.ParticleFactory_sd__get, _IMP_npctransport.ParticleFactory_sd__set)
2761  radius_ = _swig_property(_IMP_npctransport.ParticleFactory_radius__get, _IMP_npctransport.ParticleFactory_radius__set)
2762  D_factor_ = _swig_property(_IMP_npctransport.ParticleFactory_D_factor__get, _IMP_npctransport.ParticleFactory_D_factor__set)
2763  angular_D_factor_ = _swig_property(_IMP_npctransport.ParticleFactory_angular_D_factor__get, _IMP_npctransport.ParticleFactory_angular_D_factor__set)
2764  color_ = _swig_property(_IMP_npctransport.ParticleFactory_color__get, _IMP_npctransport.ParticleFactory_color__set)
2765  type_ = _swig_property(_IMP_npctransport.ParticleFactory_type__get, _IMP_npctransport.ParticleFactory_type__set)
2766 
2767  def __init__(self, *args):
2768  """
2769  __init__(IMP::npctransport::ParticleFactory self, SimulationData sd, double radius, double D_factor, double angular_D_factor, Color color, ParticleType type, std::string name) -> ParticleFactory
2770  __init__(IMP::npctransport::ParticleFactory self, SimulationData sd, double radius, double D_factor, double angular_D_factor, Color color, ParticleType type) -> ParticleFactory
2771  """
2772  this = _IMP_npctransport.new_ParticleFactory(*args)
2773  try:
2774  self.this.append(this)
2775  except __builtin__.Exception:
2776  self.this = this
2777 
2778  def create(self, *args):
2779  """
2780  create(ParticleFactory self, std::string name) -> Particle
2781  create(ParticleFactory self) -> Particle
2782  """
2783  return _IMP_npctransport.ParticleFactory_create(self, *args)
2784 
2785 
2786  def get_model(self):
2787  """get_model(ParticleFactory self) -> Model"""
2788  return _IMP_npctransport.ParticleFactory_get_model(self)
2789 
2790 
2791  def get_simulation_data(self):
2792  """get_simulation_data(ParticleFactory self) -> SimulationData"""
2793  return _IMP_npctransport.ParticleFactory_get_simulation_data(self)
2794 
2795 
2796  def get_radius(self):
2797  """get_radius(ParticleFactory self) -> double"""
2798  return _IMP_npctransport.ParticleFactory_get_radius(self)
2799 
2800 
2801  def get_version_info(self):
2802  """get_version_info(ParticleFactory self) -> VersionInfo"""
2803  return _IMP_npctransport.ParticleFactory_get_version_info(self)
2804 
2805 
2806  def __str__(self):
2807  """__str__(ParticleFactory self) -> std::string"""
2808  return _IMP_npctransport.ParticleFactory___str__(self)
2809 
2810 
2811  def __repr__(self):
2812  """__repr__(ParticleFactory self) -> std::string"""
2813  return _IMP_npctransport.ParticleFactory___repr__(self)
2814 
2815 
2816  @staticmethod
2817  def get_from(o):
2818  return _object_cast_to_ParticleFactory(o)
2819 
2820 ParticleFactory_swigregister = _IMP_npctransport.ParticleFactory_swigregister
2821 ParticleFactory_swigregister(ParticleFactory)
2822 
2823 class HierarchyWithSitesLoadLink(IMP.rmf.HierarchyLoadLink):
2824  """Proxy of C++ IMP::npctransport::HierarchyWithSitesLoadLink class."""
2825 
2826  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2827 
2828  def __init__(self, fh):
2829  """__init__(IMP::npctransport::HierarchyWithSitesLoadLink self, FileConstHandle fh) -> HierarchyWithSitesLoadLink"""
2830  this = _IMP_npctransport.new_HierarchyWithSitesLoadLink(fh)
2831  try:
2832  self.this.append(this)
2833  except __builtin__.Exception:
2834  self.this = this
2835 
2836  def get_name():
2837  """get_name() -> char const *"""
2838  return _IMP_npctransport.HierarchyWithSitesLoadLink_get_name()
2839 
2840  get_name = staticmethod(get_name)
2841 
2842  def __str__(self):
2843  """__str__(HierarchyWithSitesLoadLink self) -> std::string"""
2844  return _IMP_npctransport.HierarchyWithSitesLoadLink___str__(self)
2845 
2846 
2847  def __repr__(self):
2848  """__repr__(HierarchyWithSitesLoadLink self) -> std::string"""
2849  return _IMP_npctransport.HierarchyWithSitesLoadLink___repr__(self)
2850 
2851 
2852  @staticmethod
2853  def get_from(o):
2854  return _object_cast_to_HierarchyWithSitesLoadLink(o)
2855 
2856  __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesLoadLink
2857  __del__ = lambda self: None
2858 HierarchyWithSitesLoadLink_swigregister = _IMP_npctransport.HierarchyWithSitesLoadLink_swigregister
2859 HierarchyWithSitesLoadLink_swigregister(HierarchyWithSitesLoadLink)
2860 
2861 def HierarchyWithSitesLoadLink_get_name():
2862  """HierarchyWithSitesLoadLink_get_name() -> char const *"""
2863  return _IMP_npctransport.HierarchyWithSitesLoadLink_get_name()
2864 
2865 class HierarchyWithSitesSaveLink(IMP.rmf.HierarchySaveLink):
2866  """Proxy of C++ IMP::npctransport::HierarchyWithSitesSaveLink class."""
2867 
2868  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2869 
2870  def __init__(self, fh):
2871  """__init__(IMP::npctransport::HierarchyWithSitesSaveLink self, FileHandle fh) -> HierarchyWithSitesSaveLink"""
2872  this = _IMP_npctransport.new_HierarchyWithSitesSaveLink(fh)
2873  try:
2874  self.this.append(this)
2875  except __builtin__.Exception:
2876  self.this = this
2877 
2878  def get_name():
2879  """get_name() -> char const *"""
2880  return _IMP_npctransport.HierarchyWithSitesSaveLink_get_name()
2881 
2882  get_name = staticmethod(get_name)
2883 
2884  def __str__(self):
2885  """__str__(HierarchyWithSitesSaveLink self) -> std::string"""
2886  return _IMP_npctransport.HierarchyWithSitesSaveLink___str__(self)
2887 
2888 
2889  def __repr__(self):
2890  """__repr__(HierarchyWithSitesSaveLink self) -> std::string"""
2891  return _IMP_npctransport.HierarchyWithSitesSaveLink___repr__(self)
2892 
2893 
2894  @staticmethod
2895  def get_from(o):
2896  return _object_cast_to_HierarchyWithSitesSaveLink(o)
2897 
2898  __swig_destroy__ = _IMP_npctransport.delete_HierarchyWithSitesSaveLink
2899  __del__ = lambda self: None
2900 HierarchyWithSitesSaveLink_swigregister = _IMP_npctransport.HierarchyWithSitesSaveLink_swigregister
2901 HierarchyWithSitesSaveLink_swigregister(HierarchyWithSitesSaveLink)
2902 
2903 def HierarchyWithSitesSaveLink_get_name():
2904  """HierarchyWithSitesSaveLink_get_name() -> char const *"""
2905  return _IMP_npctransport.HierarchyWithSitesSaveLink_get_name()
2906 
2907 
2908 def add_test_sites(*args):
2909  """
2910  add_test_sites(FileHandle fh, ParticleType t, double display_radius, IMP::algebra::Vector3Ds sites)
2911  add_test_sites(FileHandle fh, ParticleType t, IMP::algebra::Sphere3Ds sites)
2912  """
2913  return _IMP_npctransport.add_test_sites(*args)
2914 
2915 def add_hierarchies_with_sites(*args):
2916  """
2917  add_hierarchies_with_sites(FileHandle fh, IMP::atom::Hierarchies const & hs)
2918  add_hierarchies_with_sites(NodeHandle fh, IMP::atom::Hierarchies const & hs)
2919  """
2920  return _IMP_npctransport.add_hierarchies_with_sites(*args)
2921 
2922 def add_hierarchy_with_sites(fh, hs):
2923  """add_hierarchy_with_sites(FileHandle fh, Hierarchy hs)"""
2924  return _IMP_npctransport.add_hierarchy_with_sites(fh, hs)
2925 
2927  """create_hierarchies_with_sites(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
2928  return _IMP_npctransport.create_hierarchies_with_sites(fh, m)
2929 
2930 def link_hierarchies_with_sites(fh, hs):
2931  """link_hierarchies_with_sites(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
2932  return _IMP_npctransport.link_hierarchies_with_sites(fh, hs)
2933 class Transporting(IMP.Decorator):
2934  """Proxy of C++ IMP::npctransport::Transporting class."""
2935 
2936  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2937 
2938  def __init__(self, *args):
2939  """
2940  __init__(IMP::npctransport::Transporting self) -> Transporting
2941  __init__(IMP::npctransport::Transporting self, Model m, ParticleIndex id) -> Transporting
2942  __init__(IMP::npctransport::Transporting self, _ParticleAdaptor d) -> Transporting
2943  """
2944  this = _IMP_npctransport.new_Transporting(*args)
2945  try:
2946  self.this.append(this)
2947  except __builtin__.Exception:
2948  self.this = this
2949 
2950  def show(self, *args):
2951  """
2952  show(Transporting self, _ostream out)
2953  show(Transporting self)
2954  """
2955  return _IMP_npctransport.Transporting_show(self, *args)
2956 
2957 
2958  def setup_particle(*args):
2959  """
2960  setup_particle(Model m, ParticleIndex pi, bool is_last_entry_from_top=False) -> Transporting
2961  setup_particle(Model m, ParticleIndex pi) -> Transporting
2962  setup_particle(_ParticleAdaptor decorator, bool is_last_entry_from_top=False) -> Transporting
2963  setup_particle(_ParticleAdaptor decorator) -> Transporting
2964  """
2965  return _IMP_npctransport.Transporting_setup_particle(*args)
2966 
2967  setup_particle = staticmethod(setup_particle)
2968 
2969  def get_is_setup(*args):
2970  """
2971  get_is_setup(_ParticleAdaptor p) -> bool
2972  get_is_setup(Model m, ParticleIndex pi) -> bool
2973  """
2974  return _IMP_npctransport.Transporting_get_is_setup(*args)
2975 
2976  get_is_setup = staticmethod(get_is_setup)
2977 
2978  def set_is_last_entry_from_top(self, is_last_entry_from_top):
2979  """set_is_last_entry_from_top(Transporting self, bool is_last_entry_from_top)"""
2980  return _IMP_npctransport.Transporting_set_is_last_entry_from_top(self, is_last_entry_from_top)
2981 
2982 
2983  def get_is_last_entry_from_top(self):
2984  """get_is_last_entry_from_top(Transporting self) -> bool"""
2985  return _IMP_npctransport.Transporting_get_is_last_entry_from_top(self)
2986 
2987 
2988  def get_is_last_entry_from_top_key():
2989  """get_is_last_entry_from_top_key() -> IntKey"""
2990  return _IMP_npctransport.Transporting_get_is_last_entry_from_top_key()
2991 
2992  get_is_last_entry_from_top_key = staticmethod(get_is_last_entry_from_top_key)
2993 
2994  def set_last_tracked_z(self, last_tracked_z):
2995  """set_last_tracked_z(Transporting self, double last_tracked_z)"""
2996  return _IMP_npctransport.Transporting_set_last_tracked_z(self, last_tracked_z)
2997 
2998 
2999  def get_last_tracked_z(self):
3000  """get_last_tracked_z(Transporting self) -> double"""
3001  return _IMP_npctransport.Transporting_get_last_tracked_z(self)
3002 
3003 
3004  def get_last_tracked_z_key():
3005  """get_last_tracked_z_key() -> FloatKey"""
3006  return _IMP_npctransport.Transporting_get_last_tracked_z_key()
3007 
3008  get_last_tracked_z_key = staticmethod(get_last_tracked_z_key)
3009 
3010  def set_n_entries_bottom(self, n):
3011  """set_n_entries_bottom(Transporting self, int n)"""
3012  return _IMP_npctransport.Transporting_set_n_entries_bottom(self, n)
3013 
3014 
3015  def get_n_entries_bottom(self):
3016  """get_n_entries_bottom(Transporting self) -> int"""
3017  return _IMP_npctransport.Transporting_get_n_entries_bottom(self)
3018 
3019 
3020  def get_n_entries_bottom_key():
3021  """get_n_entries_bottom_key() -> IntKey"""
3022  return _IMP_npctransport.Transporting_get_n_entries_bottom_key()
3023 
3024  get_n_entries_bottom_key = staticmethod(get_n_entries_bottom_key)
3025 
3026  def set_n_entries_top(self, n):
3027  """set_n_entries_top(Transporting self, int n)"""
3028  return _IMP_npctransport.Transporting_set_n_entries_top(self, n)
3029 
3030 
3031  def get_n_entries_top(self):
3032  """get_n_entries_top(Transporting self) -> int"""
3033  return _IMP_npctransport.Transporting_get_n_entries_top(self)
3034 
3035 
3036  def get_n_entries_top_key():
3037  """get_n_entries_top_key() -> IntKey"""
3038  return _IMP_npctransport.Transporting_get_n_entries_top_key()
3039 
3040  get_n_entries_top_key = staticmethod(get_n_entries_top_key)
3041 
3042  def add_attribute(self, *args):
3043  """
3044  add_attribute(Transporting self, FloatKey k, IMP::Float v, bool opt)
3045  add_attribute(Transporting self, FloatKey a0, IMP::Float a1)
3046  add_attribute(Transporting self, IntKey a0, IMP::Int a1)
3047  add_attribute(Transporting self, StringKey a0, IMP::String a1)
3048  add_attribute(Transporting self, ParticleIndexKey a0, Particle a1)
3049  add_attribute(Transporting self, ObjectKey a0, Object a1)
3050  """
3051  return _IMP_npctransport.Transporting_add_attribute(self, *args)
3052 
3053 
3054  def get_value(self, *args):
3055  """
3056  get_value(Transporting self, FloatKey a0) -> IMP::Float
3057  get_value(Transporting self, IntKey a0) -> IMP::Int
3058  get_value(Transporting self, StringKey a0) -> IMP::String
3059  get_value(Transporting self, ParticleIndexKey a0) -> Particle
3060  get_value(Transporting self, ObjectKey a0) -> Object
3061  """
3062  return _IMP_npctransport.Transporting_get_value(self, *args)
3063 
3064 
3065  def set_value(self, *args):
3066  """
3067  set_value(Transporting self, FloatKey a0, IMP::Float a1)
3068  set_value(Transporting self, IntKey a0, IMP::Int a1)
3069  set_value(Transporting self, StringKey a0, IMP::String a1)
3070  set_value(Transporting self, ParticleIndexKey a0, Particle a1)
3071  set_value(Transporting self, ObjectKey a0, Object a1)
3072  """
3073  return _IMP_npctransport.Transporting_set_value(self, *args)
3074 
3075 
3076  def remove_attribute(self, *args):
3077  """
3078  remove_attribute(Transporting self, FloatKey a0)
3079  remove_attribute(Transporting self, IntKey a0)
3080  remove_attribute(Transporting self, StringKey a0)
3081  remove_attribute(Transporting self, ParticleIndexKey a0)
3082  remove_attribute(Transporting self, ObjectKey a0)
3083  """
3084  return _IMP_npctransport.Transporting_remove_attribute(self, *args)
3085 
3086 
3087  def has_attribute(self, *args):
3088  """
3089  has_attribute(Transporting self, FloatKey a0) -> bool
3090  has_attribute(Transporting self, IntKey a0) -> bool
3091  has_attribute(Transporting self, StringKey a0) -> bool
3092  has_attribute(Transporting self, ParticleIndexKey a0) -> bool
3093  has_attribute(Transporting self, ObjectKey a0) -> bool
3094  """
3095  return _IMP_npctransport.Transporting_has_attribute(self, *args)
3096 
3097 
3098  def get_derivative(self, a0):
3099  """get_derivative(Transporting self, FloatKey a0) -> double"""
3100  return _IMP_npctransport.Transporting_get_derivative(self, a0)
3101 
3102 
3103  def get_name(self):
3104  """get_name(Transporting self) -> std::string"""
3105  return _IMP_npctransport.Transporting_get_name(self)
3106 
3107 
3108  def clear_caches(self):
3109  """clear_caches(Transporting self)"""
3110  return _IMP_npctransport.Transporting_clear_caches(self)
3111 
3112 
3113  def set_name(self, a0):
3114  """set_name(Transporting self, std::string a0)"""
3115  return _IMP_npctransport.Transporting_set_name(self, a0)
3116 
3117 
3118  def set_check_level(self, a0):
3119  """set_check_level(Transporting self, IMP::CheckLevel a0)"""
3120  return _IMP_npctransport.Transporting_set_check_level(self, a0)
3121 
3122 
3123  def add_to_derivative(self, a0, a1, a2):
3124  """add_to_derivative(Transporting self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3125  return _IMP_npctransport.Transporting_add_to_derivative(self, a0, a1, a2)
3126 
3127 
3128  def set_is_optimized(self, a0, a1):
3129  """set_is_optimized(Transporting self, FloatKey a0, bool a1)"""
3130  return _IMP_npctransport.Transporting_set_is_optimized(self, a0, a1)
3131 
3132 
3133  def get_is_optimized(self, a0):
3134  """get_is_optimized(Transporting self, FloatKey a0) -> bool"""
3135  return _IMP_npctransport.Transporting_get_is_optimized(self, a0)
3136 
3137 
3138  def get_check_level(self):
3139  """get_check_level(Transporting self) -> IMP::CheckLevel"""
3140  return _IMP_npctransport.Transporting_get_check_level(self)
3141 
3142 
3143  def __eq__(self, *args):
3144  """
3145  __eq__(Transporting self, Transporting o) -> bool
3146  __eq__(Transporting self, Particle d) -> bool
3147  """
3148  return _IMP_npctransport.Transporting___eq__(self, *args)
3149 
3150 
3151  def __ne__(self, *args):
3152  """
3153  __ne__(Transporting self, Transporting o) -> bool
3154  __ne__(Transporting self, Particle d) -> bool
3155  """
3156  return _IMP_npctransport.Transporting___ne__(self, *args)
3157 
3158 
3159  def __le__(self, *args):
3160  """
3161  __le__(Transporting self, Transporting o) -> bool
3162  __le__(Transporting self, Particle d) -> bool
3163  """
3164  return _IMP_npctransport.Transporting___le__(self, *args)
3165 
3166 
3167  def __lt__(self, *args):
3168  """
3169  __lt__(Transporting self, Transporting o) -> bool
3170  __lt__(Transporting self, Particle d) -> bool
3171  """
3172  return _IMP_npctransport.Transporting___lt__(self, *args)
3173 
3174 
3175  def __ge__(self, *args):
3176  """
3177  __ge__(Transporting self, Transporting o) -> bool
3178  __ge__(Transporting self, Particle d) -> bool
3179  """
3180  return _IMP_npctransport.Transporting___ge__(self, *args)
3181 
3182 
3183  def __gt__(self, *args):
3184  """
3185  __gt__(Transporting self, Transporting o) -> bool
3186  __gt__(Transporting self, Particle d) -> bool
3187  """
3188  return _IMP_npctransport.Transporting___gt__(self, *args)
3189 
3190 
3191  def __hash__(self):
3192  """__hash__(Transporting self) -> std::size_t"""
3193  return _IMP_npctransport.Transporting___hash__(self)
3194 
3195 
3196  def __str__(self):
3197  """__str__(Transporting self) -> std::string"""
3198  return _IMP_npctransport.Transporting___str__(self)
3199 
3200 
3201  def __repr__(self):
3202  """__repr__(Transporting self) -> std::string"""
3203  return _IMP_npctransport.Transporting___repr__(self)
3204 
3205  __swig_destroy__ = _IMP_npctransport.delete_Transporting
3206  __del__ = lambda self: None
3207 Transporting_swigregister = _IMP_npctransport.Transporting_swigregister
3208 Transporting_swigregister(Transporting)
3209 
3210 def Transporting_setup_particle(*args):
3211  """
3212  setup_particle(Model m, ParticleIndex pi, bool is_last_entry_from_top=False) -> Transporting
3213  setup_particle(Model m, ParticleIndex pi) -> Transporting
3214  setup_particle(_ParticleAdaptor decorator, bool is_last_entry_from_top=False) -> Transporting
3215  Transporting_setup_particle(_ParticleAdaptor decorator) -> Transporting
3216  """
3217  return _IMP_npctransport.Transporting_setup_particle(*args)
3218 
3219 def Transporting_get_is_setup(*args):
3220  """
3221  get_is_setup(_ParticleAdaptor p) -> bool
3222  Transporting_get_is_setup(Model m, ParticleIndex pi) -> bool
3223  """
3224  return _IMP_npctransport.Transporting_get_is_setup(*args)
3225 
3226 def Transporting_get_is_last_entry_from_top_key():
3227  """Transporting_get_is_last_entry_from_top_key() -> IntKey"""
3228  return _IMP_npctransport.Transporting_get_is_last_entry_from_top_key()
3229 
3230 def Transporting_get_last_tracked_z_key():
3231  """Transporting_get_last_tracked_z_key() -> FloatKey"""
3232  return _IMP_npctransport.Transporting_get_last_tracked_z_key()
3233 
3234 def Transporting_get_n_entries_bottom_key():
3235  """Transporting_get_n_entries_bottom_key() -> IntKey"""
3236  return _IMP_npctransport.Transporting_get_n_entries_bottom_key()
3237 
3238 def Transporting_get_n_entries_top_key():
3239  """Transporting_get_n_entries_top_key() -> IntKey"""
3240  return _IMP_npctransport.Transporting_get_n_entries_top_key()
3241 
3242 
3243 def show_ranges(fname):
3244  """show_ranges(std::string fname)"""
3245  return _IMP_npctransport.show_ranges(fname)
3246 
3247 def assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed):
3248  """assign_ranges(std::string input_config_fname, std::string output_assignment_fname, unsigned int work_unit, bool show_steps, boost::uint64_t random_seed) -> int"""
3249  return _IMP_npctransport.assign_ranges(input_config_fname, output_assignment_fname, work_unit, show_steps, random_seed)
3250 
3251 def get_number_of_work_units(configuration_file):
3252  """get_number_of_work_units(std::string configuration_file) -> int"""
3253  return _IMP_npctransport.get_number_of_work_units(configuration_file)
3254 class SlabWithPore(IMP.Decorator):
3255  """Proxy of C++ IMP::npctransport::SlabWithPore class."""
3256 
3257  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3258 
3259  def __init__(self, *args):
3260  """
3261  __init__(IMP::npctransport::SlabWithPore self) -> SlabWithPore
3262  __init__(IMP::npctransport::SlabWithPore self, Model m, ParticleIndex id) -> SlabWithPore
3263  __init__(IMP::npctransport::SlabWithPore self, _ParticleAdaptor d) -> SlabWithPore
3264  """
3265  this = _IMP_npctransport.new_SlabWithPore(*args)
3266  try:
3267  self.this.append(this)
3268  except __builtin__.Exception:
3269  self.this = this
3270 
3271  def show(self, *args):
3272  """
3273  show(SlabWithPore self, _ostream out)
3274  show(SlabWithPore self)
3275  """
3276  return _IMP_npctransport.SlabWithPore_show(self, *args)
3277 
3278 
3279  def setup_particle(*args):
3280  """
3281  setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
3282  setup_particle(_ParticleAdaptor decorator, double thickness, double pore_radius) -> SlabWithPore
3283  """
3284  return _IMP_npctransport.SlabWithPore_setup_particle(*args)
3285 
3286  setup_particle = staticmethod(setup_particle)
3287 
3288  def get_is_setup(*args):
3289  """
3290  get_is_setup(_ParticleAdaptor p) -> bool
3291  get_is_setup(Model m, ParticleIndex pi) -> bool
3292  """
3293  return _IMP_npctransport.SlabWithPore_get_is_setup(*args)
3294 
3295  get_is_setup = staticmethod(get_is_setup)
3296 
3297  def set_thickness(self, thickness):
3298  """set_thickness(SlabWithPore self, double thickness)"""
3299  return _IMP_npctransport.SlabWithPore_set_thickness(self, thickness)
3300 
3301 
3302  def get_thickness(self):
3303  """get_thickness(SlabWithPore self) -> IMP::Float"""
3304  return _IMP_npctransport.SlabWithPore_get_thickness(self)
3305 
3306 
3307  def get_pore_radius(self):
3308  """get_pore_radius(SlabWithPore self) -> IMP::Float"""
3309  return _IMP_npctransport.SlabWithPore_get_pore_radius(self)
3310 
3311 
3312  def set_pore_radius(self, r):
3313  """set_pore_radius(SlabWithPore self, double r)"""
3314  return _IMP_npctransport.SlabWithPore_set_pore_radius(self, r)
3315 
3316 
3317  def add_to_pore_radius_derivative(self, v, d):
3318  """add_to_pore_radius_derivative(SlabWithPore self, double v, DerivativeAccumulator d)"""
3319  return _IMP_npctransport.SlabWithPore_add_to_pore_radius_derivative(self, v, d)
3320 
3321 
3322  def get_pore_radius_is_optimized(self):
3323  """get_pore_radius_is_optimized(SlabWithPore self) -> bool"""
3324  return _IMP_npctransport.SlabWithPore_get_pore_radius_is_optimized(self)
3325 
3326 
3327  def set_pore_radius_is_optimized(self, tf):
3328  """set_pore_radius_is_optimized(SlabWithPore self, bool tf)"""
3329  return _IMP_npctransport.SlabWithPore_set_pore_radius_is_optimized(self, tf)
3330 
3331 
3332  def get_thickness_key():
3333  """get_thickness_key() -> FloatKey"""
3334  return _IMP_npctransport.SlabWithPore_get_thickness_key()
3335 
3336  get_thickness_key = staticmethod(get_thickness_key)
3337 
3338  def get_pore_radius_key():
3339  """get_pore_radius_key() -> FloatKey"""
3340  return _IMP_npctransport.SlabWithPore_get_pore_radius_key()
3341 
3342  get_pore_radius_key = staticmethod(get_pore_radius_key)
3343 
3344  def add_attribute(self, *args):
3345  """
3346  add_attribute(SlabWithPore self, FloatKey k, IMP::Float v, bool opt)
3347  add_attribute(SlabWithPore self, FloatKey a0, IMP::Float a1)
3348  add_attribute(SlabWithPore self, IntKey a0, IMP::Int a1)
3349  add_attribute(SlabWithPore self, StringKey a0, IMP::String a1)
3350  add_attribute(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3351  add_attribute(SlabWithPore self, ObjectKey a0, Object a1)
3352  """
3353  return _IMP_npctransport.SlabWithPore_add_attribute(self, *args)
3354 
3355 
3356  def get_value(self, *args):
3357  """
3358  get_value(SlabWithPore self, FloatKey a0) -> IMP::Float
3359  get_value(SlabWithPore self, IntKey a0) -> IMP::Int
3360  get_value(SlabWithPore self, StringKey a0) -> IMP::String
3361  get_value(SlabWithPore self, ParticleIndexKey a0) -> Particle
3362  get_value(SlabWithPore self, ObjectKey a0) -> Object
3363  """
3364  return _IMP_npctransport.SlabWithPore_get_value(self, *args)
3365 
3366 
3367  def set_value(self, *args):
3368  """
3369  set_value(SlabWithPore self, FloatKey a0, IMP::Float a1)
3370  set_value(SlabWithPore self, IntKey a0, IMP::Int a1)
3371  set_value(SlabWithPore self, StringKey a0, IMP::String a1)
3372  set_value(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3373  set_value(SlabWithPore self, ObjectKey a0, Object a1)
3374  """
3375  return _IMP_npctransport.SlabWithPore_set_value(self, *args)
3376 
3377 
3378  def remove_attribute(self, *args):
3379  """
3380  remove_attribute(SlabWithPore self, FloatKey a0)
3381  remove_attribute(SlabWithPore self, IntKey a0)
3382  remove_attribute(SlabWithPore self, StringKey a0)
3383  remove_attribute(SlabWithPore self, ParticleIndexKey a0)
3384  remove_attribute(SlabWithPore self, ObjectKey a0)
3385  """
3386  return _IMP_npctransport.SlabWithPore_remove_attribute(self, *args)
3387 
3388 
3389  def has_attribute(self, *args):
3390  """
3391  has_attribute(SlabWithPore self, FloatKey a0) -> bool
3392  has_attribute(SlabWithPore self, IntKey a0) -> bool
3393  has_attribute(SlabWithPore self, StringKey a0) -> bool
3394  has_attribute(SlabWithPore self, ParticleIndexKey a0) -> bool
3395  has_attribute(SlabWithPore self, ObjectKey a0) -> bool
3396  """
3397  return _IMP_npctransport.SlabWithPore_has_attribute(self, *args)
3398 
3399 
3400  def get_derivative(self, a0):
3401  """get_derivative(SlabWithPore self, FloatKey a0) -> double"""
3402  return _IMP_npctransport.SlabWithPore_get_derivative(self, a0)
3403 
3404 
3405  def get_name(self):
3406  """get_name(SlabWithPore self) -> std::string"""
3407  return _IMP_npctransport.SlabWithPore_get_name(self)
3408 
3409 
3410  def clear_caches(self):
3411  """clear_caches(SlabWithPore self)"""
3412  return _IMP_npctransport.SlabWithPore_clear_caches(self)
3413 
3414 
3415  def set_name(self, a0):
3416  """set_name(SlabWithPore self, std::string a0)"""
3417  return _IMP_npctransport.SlabWithPore_set_name(self, a0)
3418 
3419 
3420  def set_check_level(self, a0):
3421  """set_check_level(SlabWithPore self, IMP::CheckLevel a0)"""
3422  return _IMP_npctransport.SlabWithPore_set_check_level(self, a0)
3423 
3424 
3425  def add_to_derivative(self, a0, a1, a2):
3426  """add_to_derivative(SlabWithPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3427  return _IMP_npctransport.SlabWithPore_add_to_derivative(self, a0, a1, a2)
3428 
3429 
3430  def set_is_optimized(self, a0, a1):
3431  """set_is_optimized(SlabWithPore self, FloatKey a0, bool a1)"""
3432  return _IMP_npctransport.SlabWithPore_set_is_optimized(self, a0, a1)
3433 
3434 
3435  def get_is_optimized(self, a0):
3436  """get_is_optimized(SlabWithPore self, FloatKey a0) -> bool"""
3437  return _IMP_npctransport.SlabWithPore_get_is_optimized(self, a0)
3438 
3439 
3440  def get_check_level(self):
3441  """get_check_level(SlabWithPore self) -> IMP::CheckLevel"""
3442  return _IMP_npctransport.SlabWithPore_get_check_level(self)
3443 
3444 
3445  def __eq__(self, *args):
3446  """
3447  __eq__(SlabWithPore self, SlabWithPore o) -> bool
3448  __eq__(SlabWithPore self, Particle d) -> bool
3449  """
3450  return _IMP_npctransport.SlabWithPore___eq__(self, *args)
3451 
3452 
3453  def __ne__(self, *args):
3454  """
3455  __ne__(SlabWithPore self, SlabWithPore o) -> bool
3456  __ne__(SlabWithPore self, Particle d) -> bool
3457  """
3458  return _IMP_npctransport.SlabWithPore___ne__(self, *args)
3459 
3460 
3461  def __le__(self, *args):
3462  """
3463  __le__(SlabWithPore self, SlabWithPore o) -> bool
3464  __le__(SlabWithPore self, Particle d) -> bool
3465  """
3466  return _IMP_npctransport.SlabWithPore___le__(self, *args)
3467 
3468 
3469  def __lt__(self, *args):
3470  """
3471  __lt__(SlabWithPore self, SlabWithPore o) -> bool
3472  __lt__(SlabWithPore self, Particle d) -> bool
3473  """
3474  return _IMP_npctransport.SlabWithPore___lt__(self, *args)
3475 
3476 
3477  def __ge__(self, *args):
3478  """
3479  __ge__(SlabWithPore self, SlabWithPore o) -> bool
3480  __ge__(SlabWithPore self, Particle d) -> bool
3481  """
3482  return _IMP_npctransport.SlabWithPore___ge__(self, *args)
3483 
3484 
3485  def __gt__(self, *args):
3486  """
3487  __gt__(SlabWithPore self, SlabWithPore o) -> bool
3488  __gt__(SlabWithPore self, Particle d) -> bool
3489  """
3490  return _IMP_npctransport.SlabWithPore___gt__(self, *args)
3491 
3492 
3493  def __hash__(self):
3494  """__hash__(SlabWithPore self) -> std::size_t"""
3495  return _IMP_npctransport.SlabWithPore___hash__(self)
3496 
3497 
3498  def __str__(self):
3499  """__str__(SlabWithPore self) -> std::string"""
3500  return _IMP_npctransport.SlabWithPore___str__(self)
3501 
3502 
3503  def __repr__(self):
3504  """__repr__(SlabWithPore self) -> std::string"""
3505  return _IMP_npctransport.SlabWithPore___repr__(self)
3506 
3507  __swig_destroy__ = _IMP_npctransport.delete_SlabWithPore
3508  __del__ = lambda self: None
3509 SlabWithPore_swigregister = _IMP_npctransport.SlabWithPore_swigregister
3510 SlabWithPore_swigregister(SlabWithPore)
3511 
3512 def SlabWithPore_setup_particle(*args):
3513  """
3514  setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
3515  SlabWithPore_setup_particle(_ParticleAdaptor decorator, double thickness, double pore_radius) -> SlabWithPore
3516  """
3517  return _IMP_npctransport.SlabWithPore_setup_particle(*args)
3518 
3519 def SlabWithPore_get_is_setup(*args):
3520  """
3521  get_is_setup(_ParticleAdaptor p) -> bool
3522  SlabWithPore_get_is_setup(Model m, ParticleIndex pi) -> bool
3523  """
3524  return _IMP_npctransport.SlabWithPore_get_is_setup(*args)
3525 
3526 def SlabWithPore_get_thickness_key():
3527  """SlabWithPore_get_thickness_key() -> FloatKey"""
3528  return _IMP_npctransport.SlabWithPore_get_thickness_key()
3529 
3530 def SlabWithPore_get_pore_radius_key():
3531  """SlabWithPore_get_pore_radius_key() -> FloatKey"""
3532  return _IMP_npctransport.SlabWithPore_get_pore_radius_key()
3533 
3534 class SlabWithCylindricalPore(SlabWithPore):
3535  """Proxy of C++ IMP::npctransport::SlabWithCylindricalPore class."""
3536 
3537  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3538 
3539  def __init__(self, *args):
3540  """
3541  __init__(IMP::npctransport::SlabWithCylindricalPore self) -> SlabWithCylindricalPore
3542  __init__(IMP::npctransport::SlabWithCylindricalPore self, Model m, ParticleIndex id) -> SlabWithCylindricalPore
3543  __init__(IMP::npctransport::SlabWithCylindricalPore self, _ParticleAdaptor d) -> SlabWithCylindricalPore
3544  """
3545  this = _IMP_npctransport.new_SlabWithCylindricalPore(*args)
3546  try:
3547  self.this.append(this)
3548  except __builtin__.Exception:
3549  self.this = this
3550 
3551  def show(self, *args):
3552  """
3553  show(SlabWithCylindricalPore self, _ostream out)
3554  show(SlabWithCylindricalPore self)
3555  """
3556  return _IMP_npctransport.SlabWithCylindricalPore_show(self, *args)
3557 
3558 
3559  def setup_particle(*args):
3560  """
3561  setup_particle(Model m, ParticleIndex pi, double thickness, double radius) -> SlabWithCylindricalPore
3562  setup_particle(_ParticleAdaptor decorator, double thickness, double radius) -> SlabWithCylindricalPore
3563  """
3564  return _IMP_npctransport.SlabWithCylindricalPore_setup_particle(*args)
3565 
3566  setup_particle = staticmethod(setup_particle)
3567 
3568  def get_is_setup(*args):
3569  """
3570  get_is_setup(_ParticleAdaptor p) -> bool
3571  get_is_setup(Model m, ParticleIndex pi) -> bool
3572  """
3573  return _IMP_npctransport.SlabWithCylindricalPore_get_is_setup(*args)
3574 
3575  get_is_setup = staticmethod(get_is_setup)
3576 
3577  def get_cylindrical_pore_key():
3578  """get_cylindrical_pore_key() -> IntKey"""
3579  return _IMP_npctransport.SlabWithCylindricalPore_get_cylindrical_pore_key()
3580 
3581  get_cylindrical_pore_key = staticmethod(get_cylindrical_pore_key)
3582 
3583  def add_attribute(self, *args):
3584  """
3585  add_attribute(SlabWithCylindricalPore self, FloatKey k, IMP::Float v, bool opt)
3586  add_attribute(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3587  add_attribute(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3588  add_attribute(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3589  add_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3590  add_attribute(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3591  """
3592  return _IMP_npctransport.SlabWithCylindricalPore_add_attribute(self, *args)
3593 
3594 
3595  def get_value(self, *args):
3596  """
3597  get_value(SlabWithCylindricalPore self, FloatKey a0) -> IMP::Float
3598  get_value(SlabWithCylindricalPore self, IntKey a0) -> IMP::Int
3599  get_value(SlabWithCylindricalPore self, StringKey a0) -> IMP::String
3600  get_value(SlabWithCylindricalPore self, ParticleIndexKey a0) -> Particle
3601  get_value(SlabWithCylindricalPore self, ObjectKey a0) -> Object
3602  """
3603  return _IMP_npctransport.SlabWithCylindricalPore_get_value(self, *args)
3604 
3605 
3606  def set_value(self, *args):
3607  """
3608  set_value(SlabWithCylindricalPore self, FloatKey a0, IMP::Float a1)
3609  set_value(SlabWithCylindricalPore self, IntKey a0, IMP::Int a1)
3610  set_value(SlabWithCylindricalPore self, StringKey a0, IMP::String a1)
3611  set_value(SlabWithCylindricalPore self, ParticleIndexKey a0, Particle a1)
3612  set_value(SlabWithCylindricalPore self, ObjectKey a0, Object a1)
3613  """
3614  return _IMP_npctransport.SlabWithCylindricalPore_set_value(self, *args)
3615 
3616 
3617  def remove_attribute(self, *args):
3618  """
3619  remove_attribute(SlabWithCylindricalPore self, FloatKey a0)
3620  remove_attribute(SlabWithCylindricalPore self, IntKey a0)
3621  remove_attribute(SlabWithCylindricalPore self, StringKey a0)
3622  remove_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0)
3623  remove_attribute(SlabWithCylindricalPore self, ObjectKey a0)
3624  """
3625  return _IMP_npctransport.SlabWithCylindricalPore_remove_attribute(self, *args)
3626 
3627 
3628  def has_attribute(self, *args):
3629  """
3630  has_attribute(SlabWithCylindricalPore self, FloatKey a0) -> bool
3631  has_attribute(SlabWithCylindricalPore self, IntKey a0) -> bool
3632  has_attribute(SlabWithCylindricalPore self, StringKey a0) -> bool
3633  has_attribute(SlabWithCylindricalPore self, ParticleIndexKey a0) -> bool
3634  has_attribute(SlabWithCylindricalPore self, ObjectKey a0) -> bool
3635  """
3636  return _IMP_npctransport.SlabWithCylindricalPore_has_attribute(self, *args)
3637 
3638 
3639  def get_derivative(self, a0):
3640  """get_derivative(SlabWithCylindricalPore self, FloatKey a0) -> double"""
3641  return _IMP_npctransport.SlabWithCylindricalPore_get_derivative(self, a0)
3642 
3643 
3644  def get_name(self):
3645  """get_name(SlabWithCylindricalPore self) -> std::string"""
3646  return _IMP_npctransport.SlabWithCylindricalPore_get_name(self)
3647 
3648 
3649  def clear_caches(self):
3650  """clear_caches(SlabWithCylindricalPore self)"""
3651  return _IMP_npctransport.SlabWithCylindricalPore_clear_caches(self)
3652 
3653 
3654  def set_name(self, a0):
3655  """set_name(SlabWithCylindricalPore self, std::string a0)"""
3656  return _IMP_npctransport.SlabWithCylindricalPore_set_name(self, a0)
3657 
3658 
3659  def set_check_level(self, a0):
3660  """set_check_level(SlabWithCylindricalPore self, IMP::CheckLevel a0)"""
3661  return _IMP_npctransport.SlabWithCylindricalPore_set_check_level(self, a0)
3662 
3663 
3664  def add_to_derivative(self, a0, a1, a2):
3665  """add_to_derivative(SlabWithCylindricalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3666  return _IMP_npctransport.SlabWithCylindricalPore_add_to_derivative(self, a0, a1, a2)
3667 
3668 
3669  def set_is_optimized(self, a0, a1):
3670  """set_is_optimized(SlabWithCylindricalPore self, FloatKey a0, bool a1)"""
3671  return _IMP_npctransport.SlabWithCylindricalPore_set_is_optimized(self, a0, a1)
3672 
3673 
3674  def get_is_optimized(self, a0):
3675  """get_is_optimized(SlabWithCylindricalPore self, FloatKey a0) -> bool"""
3676  return _IMP_npctransport.SlabWithCylindricalPore_get_is_optimized(self, a0)
3677 
3678 
3679  def get_check_level(self):
3680  """get_check_level(SlabWithCylindricalPore self) -> IMP::CheckLevel"""
3681  return _IMP_npctransport.SlabWithCylindricalPore_get_check_level(self)
3682 
3683 
3684  def __eq__(self, *args):
3685  """
3686  __eq__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3687  __eq__(SlabWithCylindricalPore self, Particle d) -> bool
3688  """
3689  return _IMP_npctransport.SlabWithCylindricalPore___eq__(self, *args)
3690 
3691 
3692  def __ne__(self, *args):
3693  """
3694  __ne__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3695  __ne__(SlabWithCylindricalPore self, Particle d) -> bool
3696  """
3697  return _IMP_npctransport.SlabWithCylindricalPore___ne__(self, *args)
3698 
3699 
3700  def __le__(self, *args):
3701  """
3702  __le__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3703  __le__(SlabWithCylindricalPore self, Particle d) -> bool
3704  """
3705  return _IMP_npctransport.SlabWithCylindricalPore___le__(self, *args)
3706 
3707 
3708  def __lt__(self, *args):
3709  """
3710  __lt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3711  __lt__(SlabWithCylindricalPore self, Particle d) -> bool
3712  """
3713  return _IMP_npctransport.SlabWithCylindricalPore___lt__(self, *args)
3714 
3715 
3716  def __ge__(self, *args):
3717  """
3718  __ge__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3719  __ge__(SlabWithCylindricalPore self, Particle d) -> bool
3720  """
3721  return _IMP_npctransport.SlabWithCylindricalPore___ge__(self, *args)
3722 
3723 
3724  def __gt__(self, *args):
3725  """
3726  __gt__(SlabWithCylindricalPore self, SlabWithCylindricalPore o) -> bool
3727  __gt__(SlabWithCylindricalPore self, Particle d) -> bool
3728  """
3729  return _IMP_npctransport.SlabWithCylindricalPore___gt__(self, *args)
3730 
3731 
3732  def __hash__(self):
3733  """__hash__(SlabWithCylindricalPore self) -> std::size_t"""
3734  return _IMP_npctransport.SlabWithCylindricalPore___hash__(self)
3735 
3736 
3737  def __str__(self):
3738  """__str__(SlabWithCylindricalPore self) -> std::string"""
3739  return _IMP_npctransport.SlabWithCylindricalPore___str__(self)
3740 
3741 
3742  def __repr__(self):
3743  """__repr__(SlabWithCylindricalPore self) -> std::string"""
3744  return _IMP_npctransport.SlabWithCylindricalPore___repr__(self)
3745 
3746  __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPore
3747  __del__ = lambda self: None
3748 SlabWithCylindricalPore_swigregister = _IMP_npctransport.SlabWithCylindricalPore_swigregister
3749 SlabWithCylindricalPore_swigregister(SlabWithCylindricalPore)
3750 
3751 def SlabWithCylindricalPore_setup_particle(*args):
3752  """
3753  setup_particle(Model m, ParticleIndex pi, double thickness, double radius) -> SlabWithCylindricalPore
3754  SlabWithCylindricalPore_setup_particle(_ParticleAdaptor decorator, double thickness, double radius) -> SlabWithCylindricalPore
3755  """
3756  return _IMP_npctransport.SlabWithCylindricalPore_setup_particle(*args)
3757 
3758 def SlabWithCylindricalPore_get_is_setup(*args):
3759  """
3760  get_is_setup(_ParticleAdaptor p) -> bool
3761  SlabWithCylindricalPore_get_is_setup(Model m, ParticleIndex pi) -> bool
3762  """
3763  return _IMP_npctransport.SlabWithCylindricalPore_get_is_setup(*args)
3764 
3765 def SlabWithCylindricalPore_get_cylindrical_pore_key():
3766  """SlabWithCylindricalPore_get_cylindrical_pore_key() -> IntKey"""
3767  return _IMP_npctransport.SlabWithCylindricalPore_get_cylindrical_pore_key()
3768 
3769 class SlabWithToroidalPore(SlabWithPore):
3770  """Proxy of C++ IMP::npctransport::SlabWithToroidalPore class."""
3771 
3772  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3773 
3774  def __init__(self, *args):
3775  """
3776  __init__(IMP::npctransport::SlabWithToroidalPore self) -> SlabWithToroidalPore
3777  __init__(IMP::npctransport::SlabWithToroidalPore self, Model m, ParticleIndex id) -> SlabWithToroidalPore
3778  __init__(IMP::npctransport::SlabWithToroidalPore self, _ParticleAdaptor d) -> SlabWithToroidalPore
3779  """
3780  this = _IMP_npctransport.new_SlabWithToroidalPore(*args)
3781  try:
3782  self.this.append(this)
3783  except __builtin__.Exception:
3784  self.this = this
3785 
3786  def show(self, *args):
3787  """
3788  show(SlabWithToroidalPore self, _ostream out)
3789  show(SlabWithToroidalPore self)
3790  """
3791  return _IMP_npctransport.SlabWithToroidalPore_show(self, *args)
3792 
3793 
3794  def setup_particle(*args):
3795  """
3796  setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
3797  setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius) -> SlabWithToroidalPore
3798  setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3799  setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3800  """
3801  return _IMP_npctransport.SlabWithToroidalPore_setup_particle(*args)
3802 
3803  setup_particle = staticmethod(setup_particle)
3804 
3805  def get_is_setup(*args):
3806  """
3807  get_is_setup(_ParticleAdaptor p) -> bool
3808  get_is_setup(Model m, ParticleIndex pi) -> bool
3809  """
3810  return _IMP_npctransport.SlabWithToroidalPore_get_is_setup(*args)
3811 
3812  get_is_setup = staticmethod(get_is_setup)
3813 
3814  def set_minor_radius_h2v_aspect_ratio(self, aspect_ratio):
3815  """set_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self, double aspect_ratio)"""
3816  return _IMP_npctransport.SlabWithToroidalPore_set_minor_radius_h2v_aspect_ratio(self, aspect_ratio)
3817 
3818 
3819  def get_minor_radius_h2v_aspect_ratio(self):
3820  """get_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self) -> double"""
3821  return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio(self)
3822 
3823 
3824  def get_vertical_minor_radius(self):
3825  """get_vertical_minor_radius(SlabWithToroidalPore self) -> double"""
3826  return _IMP_npctransport.SlabWithToroidalPore_get_vertical_minor_radius(self)
3827 
3828 
3829  def set_vertical_minor_radius(self, rv):
3830  """set_vertical_minor_radius(SlabWithToroidalPore self, double rv)"""
3831  return _IMP_npctransport.SlabWithToroidalPore_set_vertical_minor_radius(self, rv)
3832 
3833 
3834  def get_horizontal_minor_radius(self):
3835  """get_horizontal_minor_radius(SlabWithToroidalPore self) -> double"""
3836  return _IMP_npctransport.SlabWithToroidalPore_get_horizontal_minor_radius(self)
3837 
3838 
3839  def set_horizontal_minor_radius(self, rh):
3840  """set_horizontal_minor_radius(SlabWithToroidalPore self, double rh)"""
3841  return _IMP_npctransport.SlabWithToroidalPore_set_horizontal_minor_radius(self, rh)
3842 
3843 
3844  def get_minor_radius_h2v_aspect_ratio_key():
3845  """get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
3846  return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
3847 
3848  get_minor_radius_h2v_aspect_ratio_key = staticmethod(get_minor_radius_h2v_aspect_ratio_key)
3849 
3850  def get_toroidal_pore_key():
3851  """get_toroidal_pore_key() -> IntKey"""
3852  return _IMP_npctransport.SlabWithToroidalPore_get_toroidal_pore_key()
3853 
3854  get_toroidal_pore_key = staticmethod(get_toroidal_pore_key)
3855 
3856  def add_attribute(self, *args):
3857  """
3858  add_attribute(SlabWithToroidalPore self, FloatKey k, IMP::Float v, bool opt)
3859  add_attribute(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3860  add_attribute(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3861  add_attribute(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3862  add_attribute(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3863  add_attribute(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3864  """
3865  return _IMP_npctransport.SlabWithToroidalPore_add_attribute(self, *args)
3866 
3867 
3868  def get_value(self, *args):
3869  """
3870  get_value(SlabWithToroidalPore self, FloatKey a0) -> IMP::Float
3871  get_value(SlabWithToroidalPore self, IntKey a0) -> IMP::Int
3872  get_value(SlabWithToroidalPore self, StringKey a0) -> IMP::String
3873  get_value(SlabWithToroidalPore self, ParticleIndexKey a0) -> Particle
3874  get_value(SlabWithToroidalPore self, ObjectKey a0) -> Object
3875  """
3876  return _IMP_npctransport.SlabWithToroidalPore_get_value(self, *args)
3877 
3878 
3879  def set_value(self, *args):
3880  """
3881  set_value(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3882  set_value(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3883  set_value(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3884  set_value(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3885  set_value(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3886  """
3887  return _IMP_npctransport.SlabWithToroidalPore_set_value(self, *args)
3888 
3889 
3890  def remove_attribute(self, *args):
3891  """
3892  remove_attribute(SlabWithToroidalPore self, FloatKey a0)
3893  remove_attribute(SlabWithToroidalPore self, IntKey a0)
3894  remove_attribute(SlabWithToroidalPore self, StringKey a0)
3895  remove_attribute(SlabWithToroidalPore self, ParticleIndexKey a0)
3896  remove_attribute(SlabWithToroidalPore self, ObjectKey a0)
3897  """
3898  return _IMP_npctransport.SlabWithToroidalPore_remove_attribute(self, *args)
3899 
3900 
3901  def has_attribute(self, *args):
3902  """
3903  has_attribute(SlabWithToroidalPore self, FloatKey a0) -> bool
3904  has_attribute(SlabWithToroidalPore self, IntKey a0) -> bool
3905  has_attribute(SlabWithToroidalPore self, StringKey a0) -> bool
3906  has_attribute(SlabWithToroidalPore self, ParticleIndexKey a0) -> bool
3907  has_attribute(SlabWithToroidalPore self, ObjectKey a0) -> bool
3908  """
3909  return _IMP_npctransport.SlabWithToroidalPore_has_attribute(self, *args)
3910 
3911 
3912  def get_derivative(self, a0):
3913  """get_derivative(SlabWithToroidalPore self, FloatKey a0) -> double"""
3914  return _IMP_npctransport.SlabWithToroidalPore_get_derivative(self, a0)
3915 
3916 
3917  def get_name(self):
3918  """get_name(SlabWithToroidalPore self) -> std::string"""
3919  return _IMP_npctransport.SlabWithToroidalPore_get_name(self)
3920 
3921 
3922  def clear_caches(self):
3923  """clear_caches(SlabWithToroidalPore self)"""
3924  return _IMP_npctransport.SlabWithToroidalPore_clear_caches(self)
3925 
3926 
3927  def set_name(self, a0):
3928  """set_name(SlabWithToroidalPore self, std::string a0)"""
3929  return _IMP_npctransport.SlabWithToroidalPore_set_name(self, a0)
3930 
3931 
3932  def set_check_level(self, a0):
3933  """set_check_level(SlabWithToroidalPore self, IMP::CheckLevel a0)"""
3934  return _IMP_npctransport.SlabWithToroidalPore_set_check_level(self, a0)
3935 
3936 
3937  def add_to_derivative(self, a0, a1, a2):
3938  """add_to_derivative(SlabWithToroidalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3939  return _IMP_npctransport.SlabWithToroidalPore_add_to_derivative(self, a0, a1, a2)
3940 
3941 
3942  def set_is_optimized(self, a0, a1):
3943  """set_is_optimized(SlabWithToroidalPore self, FloatKey a0, bool a1)"""
3944  return _IMP_npctransport.SlabWithToroidalPore_set_is_optimized(self, a0, a1)
3945 
3946 
3947  def get_is_optimized(self, a0):
3948  """get_is_optimized(SlabWithToroidalPore self, FloatKey a0) -> bool"""
3949  return _IMP_npctransport.SlabWithToroidalPore_get_is_optimized(self, a0)
3950 
3951 
3952  def get_check_level(self):
3953  """get_check_level(SlabWithToroidalPore self) -> IMP::CheckLevel"""
3954  return _IMP_npctransport.SlabWithToroidalPore_get_check_level(self)
3955 
3956 
3957  def __eq__(self, *args):
3958  """
3959  __eq__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3960  __eq__(SlabWithToroidalPore self, Particle d) -> bool
3961  """
3962  return _IMP_npctransport.SlabWithToroidalPore___eq__(self, *args)
3963 
3964 
3965  def __ne__(self, *args):
3966  """
3967  __ne__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3968  __ne__(SlabWithToroidalPore self, Particle d) -> bool
3969  """
3970  return _IMP_npctransport.SlabWithToroidalPore___ne__(self, *args)
3971 
3972 
3973  def __le__(self, *args):
3974  """
3975  __le__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3976  __le__(SlabWithToroidalPore self, Particle d) -> bool
3977  """
3978  return _IMP_npctransport.SlabWithToroidalPore___le__(self, *args)
3979 
3980 
3981  def __lt__(self, *args):
3982  """
3983  __lt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3984  __lt__(SlabWithToroidalPore self, Particle d) -> bool
3985  """
3986  return _IMP_npctransport.SlabWithToroidalPore___lt__(self, *args)
3987 
3988 
3989  def __ge__(self, *args):
3990  """
3991  __ge__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3992  __ge__(SlabWithToroidalPore self, Particle d) -> bool
3993  """
3994  return _IMP_npctransport.SlabWithToroidalPore___ge__(self, *args)
3995 
3996 
3997  def __gt__(self, *args):
3998  """
3999  __gt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
4000  __gt__(SlabWithToroidalPore self, Particle d) -> bool
4001  """
4002  return _IMP_npctransport.SlabWithToroidalPore___gt__(self, *args)
4003 
4004 
4005  def __hash__(self):
4006  """__hash__(SlabWithToroidalPore self) -> std::size_t"""
4007  return _IMP_npctransport.SlabWithToroidalPore___hash__(self)
4008 
4009 
4010  def __str__(self):
4011  """__str__(SlabWithToroidalPore self) -> std::string"""
4012  return _IMP_npctransport.SlabWithToroidalPore___str__(self)
4013 
4014 
4015  def __repr__(self):
4016  """__repr__(SlabWithToroidalPore self) -> std::string"""
4017  return _IMP_npctransport.SlabWithToroidalPore___repr__(self)
4018 
4019  __swig_destroy__ = _IMP_npctransport.delete_SlabWithToroidalPore
4020  __del__ = lambda self: None
4021 SlabWithToroidalPore_swigregister = _IMP_npctransport.SlabWithToroidalPore_swigregister
4022 SlabWithToroidalPore_swigregister(SlabWithToroidalPore)
4023 
4024 def SlabWithToroidalPore_setup_particle(*args):
4025  """
4026  setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
4027  setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius) -> SlabWithToroidalPore
4028  setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
4029  SlabWithToroidalPore_setup_particle(_ParticleAdaptor decorator, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
4030  """
4031  return _IMP_npctransport.SlabWithToroidalPore_setup_particle(*args)
4032 
4033 def SlabWithToroidalPore_get_is_setup(*args):
4034  """
4035  get_is_setup(_ParticleAdaptor p) -> bool
4036  SlabWithToroidalPore_get_is_setup(Model m, ParticleIndex pi) -> bool
4037  """
4038  return _IMP_npctransport.SlabWithToroidalPore_get_is_setup(*args)
4039 
4040 def SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key():
4041  """SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
4042  return _IMP_npctransport.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
4043 
4044 def SlabWithToroidalPore_get_toroidal_pore_key():
4045  """SlabWithToroidalPore_get_toroidal_pore_key() -> IntKey"""
4046  return _IMP_npctransport.SlabWithToroidalPore_get_toroidal_pore_key()
4047 
4048 
4049 def __lshift__(*args):
4050  """
4051  __lshift__(_ostream out, RelaxingSpring n) -> _ostream
4052  __lshift__(_ostream out, Transporting n) -> _ostream
4053  __lshift__(_ostream out, SlabWithPore n) -> _ostream
4054  __lshift__(_ostream out, SlabWithCylindricalPore n) -> _ostream
4055  __lshift__(_ostream out, SlabWithToroidalPore n) -> _ostream
4056  """
4057  return _IMP_npctransport.__lshift__(*args)
4058 class SlabWithCylindricalPorePairScore(IMP.PairScore):
4059  """Proxy of C++ IMP::npctransport::SlabWithCylindricalPorePairScore class."""
4060 
4061  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4062 
4063  def __init__(self, k):
4064  """__init__(IMP::npctransport::SlabWithCylindricalPorePairScore self, double k) -> SlabWithCylindricalPorePairScore"""
4065  this = _IMP_npctransport.new_SlabWithCylindricalPorePairScore(k)
4066  try:
4067  self.this.append(this)
4068  except __builtin__.Exception:
4069  self.this = this
4070 
4071  def get_displacement_direction(self, slab, v):
4072  """get_displacement_direction(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> Vector3D"""
4073  return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_direction(self, slab, v)
4074 
4075 
4076  def get_displacement_magnitude(self, slab, v):
4077  """get_displacement_magnitude(SlabWithCylindricalPorePairScore self, SlabWithCylindricalPore slab, Vector3D v) -> double"""
4078  return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_displacement_magnitude(self, slab, v)
4079 
4080 
4081  def do_get_inputs(self, m, pis):
4082  """do_get_inputs(SlabWithCylindricalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4083  return _IMP_npctransport.SlabWithCylindricalPorePairScore_do_get_inputs(self, m, pis)
4084 
4085 
4086  def get_version_info(self):
4087  """get_version_info(SlabWithCylindricalPorePairScore self) -> VersionInfo"""
4088  return _IMP_npctransport.SlabWithCylindricalPorePairScore_get_version_info(self)
4089 
4090 
4091  def __str__(self):
4092  """__str__(SlabWithCylindricalPorePairScore self) -> std::string"""
4093  return _IMP_npctransport.SlabWithCylindricalPorePairScore___str__(self)
4094 
4095 
4096  def __repr__(self):
4097  """__repr__(SlabWithCylindricalPorePairScore self) -> std::string"""
4098  return _IMP_npctransport.SlabWithCylindricalPorePairScore___repr__(self)
4099 
4100 
4101  @staticmethod
4102  def get_from(o):
4103  return _object_cast_to_SlabWithCylindricalPorePairScore(o)
4104 
4105 SlabWithCylindricalPorePairScore_swigregister = _IMP_npctransport.SlabWithCylindricalPorePairScore_swigregister
4106 SlabWithCylindricalPorePairScore_swigregister(SlabWithCylindricalPorePairScore)
4107 
4108 class SlabWithToroidalPorePairScore(IMP.PairScore):
4109  """Proxy of C++ IMP::npctransport::SlabWithToroidalPorePairScore class."""
4110 
4111  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4112 
4113  def __init__(self, k):
4114  """__init__(IMP::npctransport::SlabWithToroidalPorePairScore self, double k) -> SlabWithToroidalPorePairScore"""
4115  this = _IMP_npctransport.new_SlabWithToroidalPorePairScore(k)
4116  try:
4117  self.this.append(this)
4118  except __builtin__.Exception:
4119  self.this = this
4120 
4121  def do_get_inputs(self, m, pis):
4122  """do_get_inputs(SlabWithToroidalPorePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4123  return _IMP_npctransport.SlabWithToroidalPorePairScore_do_get_inputs(self, m, pis)
4124 
4125 
4126  def get_version_info(self):
4127  """get_version_info(SlabWithToroidalPorePairScore self) -> VersionInfo"""
4128  return _IMP_npctransport.SlabWithToroidalPorePairScore_get_version_info(self)
4129 
4130 
4131  def __str__(self):
4132  """__str__(SlabWithToroidalPorePairScore self) -> std::string"""
4133  return _IMP_npctransport.SlabWithToroidalPorePairScore___str__(self)
4134 
4135 
4136  def __repr__(self):
4137  """__repr__(SlabWithToroidalPorePairScore self) -> std::string"""
4138  return _IMP_npctransport.SlabWithToroidalPorePairScore___repr__(self)
4139 
4140 
4141  @staticmethod
4142  def get_from(o):
4143  return _object_cast_to_SlabWithToroidalPorePairScore(o)
4144 
4145 SlabWithToroidalPorePairScore_swigregister = _IMP_npctransport.SlabWithToroidalPorePairScore_swigregister
4146 SlabWithToroidalPorePairScore_swigregister(SlabWithToroidalPorePairScore)
4147 
4148 class SlabWithCylindricalPoreWireGeometry(IMP.display.Geometry):
4149  """Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreWireGeometry class."""
4150 
4151  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4152 
4153  def __init__(self, height, radius, length):
4154  """__init__(IMP::npctransport::SlabWithCylindricalPoreWireGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreWireGeometry"""
4155  this = _IMP_npctransport.new_SlabWithCylindricalPoreWireGeometry(height, radius, length)
4156  try:
4157  self.this.append(this)
4158  except __builtin__.Exception:
4159  self.this = this
4160 
4161  def get_version_info(self):
4162  """get_version_info(SlabWithCylindricalPoreWireGeometry self) -> VersionInfo"""
4163  return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_get_version_info(self)
4164 
4165 
4166  def __str__(self):
4167  """__str__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
4168  return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___str__(self)
4169 
4170 
4171  def __repr__(self):
4172  """__repr__(SlabWithCylindricalPoreWireGeometry self) -> std::string"""
4173  return _IMP_npctransport.SlabWithCylindricalPoreWireGeometry___repr__(self)
4174 
4175 
4176  @staticmethod
4177  def get_from(o):
4178  return _object_cast_to_SlabWithCylindricalPoreWireGeometry(o)
4179 
4180 SlabWithCylindricalPoreWireGeometry_swigregister = _IMP_npctransport.SlabWithCylindricalPoreWireGeometry_swigregister
4181 SlabWithCylindricalPoreWireGeometry_swigregister(SlabWithCylindricalPoreWireGeometry)
4182 
4183 class SlabWithCylindricalPoreSurfaceGeometry(IMP.display.SurfaceMeshGeometry):
4184  """Proxy of C++ IMP::npctransport::SlabWithCylindricalPoreSurfaceGeometry class."""
4185 
4186  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4187 
4188  def __init__(self, height, radius, length):
4189  """__init__(IMP::npctransport::SlabWithCylindricalPoreSurfaceGeometry self, double height, double radius, double length) -> SlabWithCylindricalPoreSurfaceGeometry"""
4190  this = _IMP_npctransport.new_SlabWithCylindricalPoreSurfaceGeometry(height, radius, length)
4191  try:
4192  self.this.append(this)
4193  except __builtin__.Exception:
4194  self.this = this
4195 
4196  def __str__(self):
4197  """__str__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
4198  return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___str__(self)
4199 
4200 
4201  def __repr__(self):
4202  """__repr__(SlabWithCylindricalPoreSurfaceGeometry self) -> std::string"""
4203  return _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry___repr__(self)
4204 
4205 
4206  @staticmethod
4207  def get_from(o):
4208  return _object_cast_to_SlabWithCylindricalPoreSurfaceGeometry(o)
4209 
4210  __swig_destroy__ = _IMP_npctransport.delete_SlabWithCylindricalPoreSurfaceGeometry
4211  __del__ = lambda self: None
4212 SlabWithCylindricalPoreSurfaceGeometry_swigregister = _IMP_npctransport.SlabWithCylindricalPoreSurfaceGeometry_swigregister
4213 SlabWithCylindricalPoreSurfaceGeometry_swigregister(SlabWithCylindricalPoreSurfaceGeometry)
4214 
4215 class SlabWithToroidalPoreWireGeometry(IMP.display.Geometry):
4216  """Proxy of C++ IMP::npctransport::SlabWithToroidalPoreWireGeometry class."""
4217 
4218  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4219 
4220  def __init__(self, *args):
4221  """
4222  __init__(IMP::npctransport::SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double horizontal_semiaxis, double slab_length) -> SlabWithToroidalPoreWireGeometry
4223  __init__(IMP::npctransport::SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double slab_length) -> SlabWithToroidalPoreWireGeometry
4224  """
4225  this = _IMP_npctransport.new_SlabWithToroidalPoreWireGeometry(*args)
4226  try:
4227  self.this.append(this)
4228  except __builtin__.Exception:
4229  self.this = this
4230 
4231  def get_version_info(self):
4232  """get_version_info(SlabWithToroidalPoreWireGeometry self) -> VersionInfo"""
4233  return _IMP_npctransport.SlabWithToroidalPoreWireGeometry_get_version_info(self)
4234 
4235 
4236  def __str__(self):
4237  """__str__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
4238  return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___str__(self)
4239 
4240 
4241  def __repr__(self):
4242  """__repr__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
4243  return _IMP_npctransport.SlabWithToroidalPoreWireGeometry___repr__(self)
4244 
4245 
4246  @staticmethod
4247  def get_from(o):
4248  return _object_cast_to_SlabWithToroidalPoreWireGeometry(o)
4249 
4250 SlabWithToroidalPoreWireGeometry_swigregister = _IMP_npctransport.SlabWithToroidalPoreWireGeometry_swigregister
4251 SlabWithToroidalPoreWireGeometry_swigregister(SlabWithToroidalPoreWireGeometry)
4252 
4253 class _GenericAttributeSingletonScoreForPoreRadus(IMP.SingletonScore):
4254  """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(IMP::core::Harmonic)> class."""
4255 
4256  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4257  __repr__ = _swig_repr
4258 
4259  def __init__(self, f, k):
4260  """__init__(IMP::core::GenericAttributeSingletonScore<(IMP::core::Harmonic)> self, Harmonic f, FloatKey k) -> _GenericAttributeSingletonScoreForPoreRadus"""
4261  this = _IMP_npctransport.new__GenericAttributeSingletonScoreForPoreRadus(f, k)
4262  try:
4263  self.this.append(this)
4264  except __builtin__.Exception:
4265  self.this = this
4266 
4267  def do_get_inputs(self, m, pis):
4268  """do_get_inputs(_GenericAttributeSingletonScoreForPoreRadus self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4269  return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_do_get_inputs(self, m, pis)
4270 
4271 
4272  def get_unary_function(self):
4273  """get_unary_function(_GenericAttributeSingletonScoreForPoreRadus self) -> Harmonic"""
4274  return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_unary_function(self)
4275 
4276 
4277  def get_version_info(self):
4278  """get_version_info(_GenericAttributeSingletonScoreForPoreRadus self) -> VersionInfo"""
4279  return _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_get_version_info(self)
4280 
4281 _GenericAttributeSingletonScoreForPoreRadus_swigregister = _IMP_npctransport._GenericAttributeSingletonScoreForPoreRadus_swigregister
4282 _GenericAttributeSingletonScoreForPoreRadus_swigregister(_GenericAttributeSingletonScoreForPoreRadus)
4283 
4284 class PoreRadiusSingletonScore(_GenericAttributeSingletonScoreForPoreRadus):
4285  """Proxy of C++ IMP::npctransport::PoreRadiusSingletonScore class."""
4286 
4287  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4288 
4289  def __init__(self, mean, k):
4290  """__init__(IMP::npctransport::PoreRadiusSingletonScore self, IMP::Float mean, IMP::Float k) -> PoreRadiusSingletonScore"""
4291  this = _IMP_npctransport.new_PoreRadiusSingletonScore(mean, k)
4292  try:
4293  self.this.append(this)
4294  except __builtin__.Exception:
4295  self.this = this
4296 
4297  def set_k(self, k):
4298  """set_k(PoreRadiusSingletonScore self, double k)"""
4299  return _IMP_npctransport.PoreRadiusSingletonScore_set_k(self, k)
4300 
4301 
4302  def __str__(self):
4303  """__str__(PoreRadiusSingletonScore self) -> std::string"""
4304  return _IMP_npctransport.PoreRadiusSingletonScore___str__(self)
4305 
4306 
4307  def __repr__(self):
4308  """__repr__(PoreRadiusSingletonScore self) -> std::string"""
4309  return _IMP_npctransport.PoreRadiusSingletonScore___repr__(self)
4310 
4311 
4312  @staticmethod
4313  def get_from(o):
4314  return _object_cast_to_PoreRadiusSingletonScore(o)
4315 
4316 PoreRadiusSingletonScore_swigregister = _IMP_npctransport.PoreRadiusSingletonScore_swigregister
4317 PoreRadiusSingletonScore_swigregister(PoreRadiusSingletonScore)
4318 
4319 class ExcludeZRangeSingletonScore(IMP.SingletonScore):
4320  """Proxy of C++ IMP::npctransport::ExcludeZRangeSingletonScore class."""
4321 
4322  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4323 
4324  def __init__(self, bottom, top, k):
4325  """__init__(IMP::npctransport::ExcludeZRangeSingletonScore self, double bottom, double top, double k) -> ExcludeZRangeSingletonScore"""
4326  this = _IMP_npctransport.new_ExcludeZRangeSingletonScore(bottom, top, k)
4327  try:
4328  self.this.append(this)
4329  except __builtin__.Exception:
4330  self.this = this
4331 
4332  def get_bottom_z(self):
4333  """get_bottom_z(ExcludeZRangeSingletonScore self) -> double"""
4334  return _IMP_npctransport.ExcludeZRangeSingletonScore_get_bottom_z(self)
4335 
4336 
4337  def get_top_z(self):
4338  """get_top_z(ExcludeZRangeSingletonScore self) -> double"""
4339  return _IMP_npctransport.ExcludeZRangeSingletonScore_get_top_z(self)
4340 
4341 
4342  def get_k(self):
4343  """get_k(ExcludeZRangeSingletonScore self) -> double"""
4344  return _IMP_npctransport.ExcludeZRangeSingletonScore_get_k(self)
4345 
4346 
4347  def do_get_inputs(self, m, pis):
4348  """do_get_inputs(ExcludeZRangeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4349  return _IMP_npctransport.ExcludeZRangeSingletonScore_do_get_inputs(self, m, pis)
4350 
4351 
4352  def get_version_info(self):
4353  """get_version_info(ExcludeZRangeSingletonScore self) -> VersionInfo"""
4354  return _IMP_npctransport.ExcludeZRangeSingletonScore_get_version_info(self)
4355 
4356 
4357  def __str__(self):
4358  """__str__(ExcludeZRangeSingletonScore self) -> std::string"""
4359  return _IMP_npctransport.ExcludeZRangeSingletonScore___str__(self)
4360 
4361 
4362  def __repr__(self):
4363  """__repr__(ExcludeZRangeSingletonScore self) -> std::string"""
4364  return _IMP_npctransport.ExcludeZRangeSingletonScore___repr__(self)
4365 
4366 
4367  @staticmethod
4368  def get_from(o):
4369  return _object_cast_to_ExcludeZRangeSingletonScore(o)
4370 
4371 ExcludeZRangeSingletonScore_swigregister = _IMP_npctransport.ExcludeZRangeSingletonScore_swigregister
4372 ExcludeZRangeSingletonScore_swigregister(ExcludeZRangeSingletonScore)
4373 
4374 class ZBiasSingletonScore(IMP.SingletonScore):
4375  """Proxy of C++ IMP::npctransport::ZBiasSingletonScore class."""
4376 
4377  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4378 
4379  def __init__(self, *args):
4380  """
4381  __init__(IMP::npctransport::ZBiasSingletonScore self, double k, double max_r) -> ZBiasSingletonScore
4382  __init__(IMP::npctransport::ZBiasSingletonScore self, double k) -> ZBiasSingletonScore
4383  """
4384  this = _IMP_npctransport.new_ZBiasSingletonScore(*args)
4385  try:
4386  self.this.append(this)
4387  except __builtin__.Exception:
4388  self.this = this
4389 
4390  def get_k(self):
4391  """get_k(ZBiasSingletonScore self) -> double"""
4392  return _IMP_npctransport.ZBiasSingletonScore_get_k(self)
4393 
4394 
4395  def set_k(self, k):
4396  """set_k(ZBiasSingletonScore self, double k)"""
4397  return _IMP_npctransport.ZBiasSingletonScore_set_k(self, k)
4398 
4399 
4400  def do_get_inputs(self, m, pis):
4401  """do_get_inputs(ZBiasSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4402  return _IMP_npctransport.ZBiasSingletonScore_do_get_inputs(self, m, pis)
4403 
4404 
4405  def get_version_info(self):
4406  """get_version_info(ZBiasSingletonScore self) -> VersionInfo"""
4407  return _IMP_npctransport.ZBiasSingletonScore_get_version_info(self)
4408 
4409 
4410  def __str__(self):
4411  """__str__(ZBiasSingletonScore self) -> std::string"""
4412  return _IMP_npctransport.ZBiasSingletonScore___str__(self)
4413 
4414 
4415  def __repr__(self):
4416  """__repr__(ZBiasSingletonScore self) -> std::string"""
4417  return _IMP_npctransport.ZBiasSingletonScore___repr__(self)
4418 
4419 
4420  @staticmethod
4421  def get_from(o):
4422  return _object_cast_to_ZBiasSingletonScore(o)
4423 
4424 ZBiasSingletonScore_swigregister = _IMP_npctransport.ZBiasSingletonScore_swigregister
4425 ZBiasSingletonScore_swigregister(ZBiasSingletonScore)
4426 
4427 class BodyStatisticsOptimizerState(IMP.OptimizerState):
4428  """Proxy of C++ IMP::npctransport::BodyStatisticsOptimizerState class."""
4429 
4430  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4431 
4432  def __init__(self, p, statistics_manager=None, periodicity=1):
4433  """
4434  __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p, Statistics statistics_manager=None, unsigned int periodicity=1) -> BodyStatisticsOptimizerState
4435  __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p, Statistics statistics_manager=None) -> BodyStatisticsOptimizerState
4436  __init__(IMP::npctransport::BodyStatisticsOptimizerState self, Particle p) -> BodyStatisticsOptimizerState
4437  """
4438  this = _IMP_npctransport.new_BodyStatisticsOptimizerState(p, statistics_manager, periodicity)
4439  try:
4440  self.this.append(this)
4441  except __builtin__.Exception:
4442  self.this = this
4443 
4444  def get_correlation_time(self):
4445  """get_correlation_time(BodyStatisticsOptimizerState self) -> double"""
4446  return _IMP_npctransport.BodyStatisticsOptimizerState_get_correlation_time(self)
4447 
4448 
4449  def get_diffusion_coefficient(self):
4450  """get_diffusion_coefficient(BodyStatisticsOptimizerState self) -> double"""
4451  return _IMP_npctransport.BodyStatisticsOptimizerState_get_diffusion_coefficient(self)
4452 
4453 
4454  def update_particle_type_zr_distribution_map(self):
4455  """update_particle_type_zr_distribution_map(BodyStatisticsOptimizerState self)"""
4456  return _IMP_npctransport.BodyStatisticsOptimizerState_update_particle_type_zr_distribution_map(self)
4457 
4458 
4459  def do_update(self, call_num):
4460  """do_update(BodyStatisticsOptimizerState self, unsigned int call_num)"""
4461  return _IMP_npctransport.BodyStatisticsOptimizerState_do_update(self, call_num)
4462 
4463 
4464  def get_version_info(self):
4465  """get_version_info(BodyStatisticsOptimizerState self) -> VersionInfo"""
4466  return _IMP_npctransport.BodyStatisticsOptimizerState_get_version_info(self)
4467 
4468 
4469  def __str__(self):
4470  """__str__(BodyStatisticsOptimizerState self) -> std::string"""
4471  return _IMP_npctransport.BodyStatisticsOptimizerState___str__(self)
4472 
4473 
4474  def __repr__(self):
4475  """__repr__(BodyStatisticsOptimizerState self) -> std::string"""
4476  return _IMP_npctransport.BodyStatisticsOptimizerState___repr__(self)
4477 
4478 
4479  @staticmethod
4480  def get_from(o):
4481  return _object_cast_to_BodyStatisticsOptimizerState(o)
4482 
4483 BodyStatisticsOptimizerState_swigregister = _IMP_npctransport.BodyStatisticsOptimizerState_swigregister
4484 BodyStatisticsOptimizerState_swigregister(BodyStatisticsOptimizerState)
4485 
4486 class ParticleTransportStatisticsOptimizerState(IMP.OptimizerState):
4487  """Proxy of C++ IMP::npctransport::ParticleTransportStatisticsOptimizerState class."""
4488 
4489  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4490 
4491  def __init__(self, p, bottom_z, top_z, statistics_manager=0, owner=0):
4492  """
4493  __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z, WeakPointer< IMP::npctransport::Statistics > statistics_manager=0, WeakPointer< IMP::atom::Simulator > owner=0) -> ParticleTransportStatisticsOptimizerState
4494  __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z, WeakPointer< IMP::npctransport::Statistics > statistics_manager=0) -> ParticleTransportStatisticsOptimizerState
4495  __init__(IMP::npctransport::ParticleTransportStatisticsOptimizerState self, Particle p, IMP::Float bottom_z, IMP::Float top_z) -> ParticleTransportStatisticsOptimizerState
4496  """
4497  this = _IMP_npctransport.new_ParticleTransportStatisticsOptimizerState(p, bottom_z, top_z, statistics_manager, owner)
4498  try:
4499  self.this.append(this)
4500  except __builtin__.Exception:
4501  self.this = this
4502 
4503  def set_owner(self, owner):
4504  """set_owner(ParticleTransportStatisticsOptimizerState self, WeakPointer< IMP::atom::Simulator > owner)"""
4505  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_set_owner(self, owner)
4506 
4507 
4508  def get_owner(self):
4509  """get_owner(ParticleTransportStatisticsOptimizerState self) -> WeakPointer< IMP::atom::Simulator >"""
4510  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_owner(self)
4511 
4512 
4513  def get_n_transports_up(self):
4514  """get_n_transports_up(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4515  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_up(self)
4516 
4517 
4518  def get_n_transports_down(self):
4519  """get_n_transports_down(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4520  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_n_transports_down(self)
4521 
4522 
4523  def get_total_n_transports(self):
4524  """get_total_n_transports(ParticleTransportStatisticsOptimizerState self) -> unsigned int"""
4525  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_total_n_transports(self)
4526 
4527 
4528  def get_transport_time_points_in_ns(self):
4529  """get_transport_time_points_in_ns(ParticleTransportStatisticsOptimizerState self) -> IMP::Floats const &"""
4530  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_transport_time_points_in_ns(self)
4531 
4532 
4533  def do_update(self, call_num):
4534  """do_update(ParticleTransportStatisticsOptimizerState self, unsigned int call_num)"""
4535  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_do_update(self, call_num)
4536 
4537 
4538  def get_version_info(self):
4539  """get_version_info(ParticleTransportStatisticsOptimizerState self) -> VersionInfo"""
4540  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState_get_version_info(self)
4541 
4542 
4543  def __str__(self):
4544  """__str__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4545  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___str__(self)
4546 
4547 
4548  def __repr__(self):
4549  """__repr__(ParticleTransportStatisticsOptimizerState self) -> std::string"""
4550  return _IMP_npctransport.ParticleTransportStatisticsOptimizerState___repr__(self)
4551 
4552 
4553  @staticmethod
4554  def get_from(o):
4555  return _object_cast_to_ParticleTransportStatisticsOptimizerState(o)
4556 
4557 ParticleTransportStatisticsOptimizerState_swigregister = _IMP_npctransport.ParticleTransportStatisticsOptimizerState_swigregister
4558 ParticleTransportStatisticsOptimizerState_swigregister(ParticleTransportStatisticsOptimizerState)
4559 
4560 class ChainStatisticsOptimizerState(IMP.OptimizerState):
4561  """Proxy of C++ IMP::npctransport::ChainStatisticsOptimizerState class."""
4562 
4563  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4564 
4565  def __init__(self, ps, periodicity=1):
4566  """
4567  __init__(IMP::npctransport::ChainStatisticsOptimizerState self, IMP::ParticlesTemp const & ps, unsigned int periodicity=1) -> ChainStatisticsOptimizerState
4568  __init__(IMP::npctransport::ChainStatisticsOptimizerState self, IMP::ParticlesTemp const & ps) -> ChainStatisticsOptimizerState
4569  """
4570  this = _IMP_npctransport.new_ChainStatisticsOptimizerState(ps, periodicity)
4571  try:
4572  self.this.append(this)
4573  except __builtin__.Exception:
4574  self.this = this
4575 
4576  def get_correlation_time(self):
4577  """get_correlation_time(ChainStatisticsOptimizerState self) -> double"""
4578  return _IMP_npctransport.ChainStatisticsOptimizerState_get_correlation_time(self)
4579 
4580 
4581  def get_local_diffusion_coefficients(self):
4582  """get_local_diffusion_coefficients(ChainStatisticsOptimizerState self) -> IMP::Floats"""
4583  return _IMP_npctransport.ChainStatisticsOptimizerState_get_local_diffusion_coefficients(self)
4584 
4585 
4586  def get_diffusion_coefficient(self):
4587  """get_diffusion_coefficient(ChainStatisticsOptimizerState self) -> double"""
4588  return _IMP_npctransport.ChainStatisticsOptimizerState_get_diffusion_coefficient(self)
4589 
4590 
4591  def get_mean_radius_of_gyration(self):
4592  """get_mean_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4593  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_radius_of_gyration(self)
4594 
4595 
4596  def get_mean_square_radius_of_gyration(self):
4597  """get_mean_square_radius_of_gyration(ChainStatisticsOptimizerState self) -> double"""
4598  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_radius_of_gyration(self)
4599 
4600 
4601  def get_mean_end_to_end_distance(self):
4602  """get_mean_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4603  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_end_to_end_distance(self)
4604 
4605 
4606  def get_mean_square_end_to_end_distance(self):
4607  """get_mean_square_end_to_end_distance(ChainStatisticsOptimizerState self) -> double"""
4608  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_end_to_end_distance(self)
4609 
4610 
4611  def get_mean_bond_distance(self):
4612  """get_mean_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4613  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_bond_distance(self)
4614 
4615 
4616  def get_mean_square_bond_distance(self):
4617  """get_mean_square_bond_distance(ChainStatisticsOptimizerState self) -> double"""
4618  return _IMP_npctransport.ChainStatisticsOptimizerState_get_mean_square_bond_distance(self)
4619 
4620 
4621  def do_update(self, call_num):
4622  """do_update(ChainStatisticsOptimizerState self, unsigned int call_num)"""
4623  return _IMP_npctransport.ChainStatisticsOptimizerState_do_update(self, call_num)
4624 
4625 
4626  def get_version_info(self):
4627  """get_version_info(ChainStatisticsOptimizerState self) -> VersionInfo"""
4628  return _IMP_npctransport.ChainStatisticsOptimizerState_get_version_info(self)
4629 
4630 
4631  def __str__(self):
4632  """__str__(ChainStatisticsOptimizerState self) -> std::string"""
4633  return _IMP_npctransport.ChainStatisticsOptimizerState___str__(self)
4634 
4635 
4636  def __repr__(self):
4637  """__repr__(ChainStatisticsOptimizerState self) -> std::string"""
4638  return _IMP_npctransport.ChainStatisticsOptimizerState___repr__(self)
4639 
4640 
4641  @staticmethod
4642  def get_from(o):
4643  return _object_cast_to_ChainStatisticsOptimizerState(o)
4644 
4645 ChainStatisticsOptimizerState_swigregister = _IMP_npctransport.ChainStatisticsOptimizerState_swigregister
4646 ChainStatisticsOptimizerState_swigregister(ChainStatisticsOptimizerState)
4647 
4648 class BipartitePairsStatisticsOptimizerState(IMP.OptimizerState):
4649  """Proxy of C++ IMP::npctransport::BipartitePairsStatisticsOptimizerState class."""
4650 
4651  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4652 
4653  def __init__(self, statistics_manager, interaction_type, particlesI, particlesII, contact_range=1.0, slack=1.0):
4654  """
4655  __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII, double contact_range=1.0, double slack=1.0) -> BipartitePairsStatisticsOptimizerState
4656  __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII, double contact_range=1.0) -> BipartitePairsStatisticsOptimizerState
4657  __init__(IMP::npctransport::BipartitePairsStatisticsOptimizerState self, Statistics statistics_manager, IMP::npctransport::InteractionType interaction_type, IMP::ParticlesTemp const & particlesI, IMP::ParticlesTemp const & particlesII) -> BipartitePairsStatisticsOptimizerState
4658  """
4659  this = _IMP_npctransport.new_BipartitePairsStatisticsOptimizerState(statistics_manager, interaction_type, particlesI, particlesII, contact_range, slack)
4660  try:
4661  self.this.append(this)
4662  except __builtin__.Exception:
4663  self.this = this
4664 
4665  def get_interaction_type(self):
4666  """get_interaction_type(BipartitePairsStatisticsOptimizerState self) -> IMP::npctransport::InteractionType"""
4667  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_interaction_type(self)
4668 
4669 
4670  def get_average_number_of_contacts(self):
4671  """get_average_number_of_contacts(BipartitePairsStatisticsOptimizerState self) -> double"""
4672  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_number_of_contacts(self)
4673 
4674 
4675  def get_average_off_per_contact_per_ns(self):
4676  """get_average_off_per_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4677  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_contact_per_ns(self)
4678 
4679 
4680  def get_average_off_per_bound_I_per_ns(self):
4681  """get_average_off_per_bound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4682  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_I_per_ns(self)
4683 
4684 
4685  def get_average_off_per_bound_II_per_ns(self):
4686  """get_average_off_per_bound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4687  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_off_per_bound_II_per_ns(self)
4688 
4689 
4690  def get_average_on_per_missing_contact_per_ns(self):
4691  """get_average_on_per_missing_contact_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4692  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_missing_contact_per_ns(self)
4693 
4694 
4695  def get_average_on_per_unbound_I_per_ns(self):
4696  """get_average_on_per_unbound_I_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4697  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_I_per_ns(self)
4698 
4699 
4700  def get_average_on_per_unbound_II_per_ns(self):
4701  """get_average_on_per_unbound_II_per_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4702  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_on_per_unbound_II_per_ns(self)
4703 
4704 
4705  def get_average_fraction_bound_particles_I(self):
4706  """get_average_fraction_bound_particles_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4707  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_I(self)
4708 
4709 
4710  def get_average_fraction_bound_particles_II(self):
4711  """get_average_fraction_bound_particles_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4712  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particles_II(self)
4713 
4714 
4715  def get_average_fraction_bound_particle_sites_I(self):
4716  """get_average_fraction_bound_particle_sites_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4717  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_I(self)
4718 
4719 
4720  def get_average_fraction_bound_particle_sites_II(self):
4721  """get_average_fraction_bound_particle_sites_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4722  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_bound_particle_sites_II(self)
4723 
4724 
4725  def get_average_fraction_nonspecific_interactions_I(self):
4726  """get_average_fraction_nonspecific_interactions_I(BipartitePairsStatisticsOptimizerState self) -> double"""
4727  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_I(self)
4728 
4729 
4730  def get_average_fraction_nonspecific_interactions_II(self):
4731  """get_average_fraction_nonspecific_interactions_II(BipartitePairsStatisticsOptimizerState self) -> double"""
4732  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_average_fraction_nonspecific_interactions_II(self)
4733 
4734 
4735  def get_number_of_particles_1(self):
4736  """get_number_of_particles_1(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4737  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_1(self)
4738 
4739 
4740  def get_number_of_particles_2(self):
4741  """get_number_of_particles_2(BipartitePairsStatisticsOptimizerState self) -> IMP::Int"""
4742  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_number_of_particles_2(self)
4743 
4744 
4745  def get_misc_stats_period_ns(self):
4746  """get_misc_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4747  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_misc_stats_period_ns(self)
4748 
4749 
4750  def get_off_stats_period_ns(self):
4751  """get_off_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4752  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_stats_period_ns(self)
4753 
4754 
4755  def get_off_I_stats_period_ns(self):
4756  """get_off_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4757  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_I_stats_period_ns(self)
4758 
4759 
4760  def get_off_II_stats_period_ns(self):
4761  """get_off_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4762  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_off_II_stats_period_ns(self)
4763 
4764 
4765  def get_on_stats_period_ns(self):
4766  """get_on_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4767  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_stats_period_ns(self)
4768 
4769 
4770  def get_on_I_stats_period_ns(self):
4771  """get_on_I_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4772  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_I_stats_period_ns(self)
4773 
4774 
4775  def get_on_II_stats_period_ns(self):
4776  """get_on_II_stats_period_ns(BipartitePairsStatisticsOptimizerState self) -> double"""
4777  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_on_II_stats_period_ns(self)
4778 
4779 
4780  def get_version_info(self):
4781  """get_version_info(BipartitePairsStatisticsOptimizerState self) -> VersionInfo"""
4782  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState_get_version_info(self)
4783 
4784 
4785  def __str__(self):
4786  """__str__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4787  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___str__(self)
4788 
4789 
4790  def __repr__(self):
4791  """__repr__(BipartitePairsStatisticsOptimizerState self) -> std::string"""
4792  return _IMP_npctransport.BipartitePairsStatisticsOptimizerState___repr__(self)
4793 
4794 
4795  @staticmethod
4796  def get_from(o):
4797  return _object_cast_to_BipartitePairsStatisticsOptimizerState(o)
4798 
4799 BipartitePairsStatisticsOptimizerState_swigregister = _IMP_npctransport.BipartitePairsStatisticsOptimizerState_swigregister
4800 BipartitePairsStatisticsOptimizerState_swigregister(BipartitePairsStatisticsOptimizerState)
4801 
4802 
4803 def get_close_pairs_range(*args):
4804  """
4805  get_close_pairs_range(double max_range, double max_range_factor) -> double
4806  get_close_pairs_range(::npctransport_proto::Assignment const & config) -> double
4807  """
4808  return _IMP_npctransport.get_close_pairs_range(*args)
4809 
4810 def get_time_step(*args):
4811  """
4812  get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1, double time_step_factor=1.0) -> double
4813  get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1) -> double
4814  get_time_step(double max_d_factor, double max_k, double min_radius, double min_range) -> double
4815  get_time_step(::npctransport_proto::Assignment const & config, double max_trans_relative_to_radius=0.1) -> double
4816  get_time_step(::npctransport_proto::Assignment const & config) -> double
4817  """
4818  return _IMP_npctransport.get_time_step(*args)
4819 
4820 def get_frames_from_ns(ns, time_step):
4821  """get_frames_from_ns(double ns, double time_step) -> int"""
4822  return _IMP_npctransport.get_frames_from_ns(ns, time_step)
4823 
4824 def get_number_of_frames(config, time_step):
4825  """get_number_of_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4826  return _IMP_npctransport.get_number_of_frames(config, time_step)
4827 
4828 def get_dump_interval_in_frames(config, time_step):
4829  """get_dump_interval_in_frames(::npctransport_proto::Assignment const & config, double time_step) -> int"""
4830  return _IMP_npctransport.get_dump_interval_in_frames(config, time_step)
4831 
4832 def get_statistics_interval_in_frames(assign, time_step, default_value_ns=0.1):
4833  """
4834  get_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=0.1) -> int
4835  get_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step) -> int
4836  """
4837  return _IMP_npctransport.get_statistics_interval_in_frames(assign, time_step, default_value_ns)
4838 
4839 def get_output_statistics_interval_in_frames(assign, time_step, default_value_ns=1.0):
4840  """
4841  get_output_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step, double default_value_ns=1.0) -> int
4842  get_output_statistics_interval_in_frames(::npctransport_proto::Assignment const & assign, double time_step) -> int
4843  """
4844  return _IMP_npctransport.get_output_statistics_interval_in_frames(assign, time_step, default_value_ns)
4845 
4846 def initialize_positions(*args):
4847  """
4848  initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0, bool is_disable_randomize=False, bool are_fgs_pre_initialized=False)
4849  initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0, bool is_disable_randomize=False)
4850  initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False, double short_init_factor=1.0)
4851  initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints, bool debug=False)
4852  initialize_positions(SimulationData sd, IMP::RestraintsTemp const & extra_restraints)
4853  initialize_positions(SimulationData sd)
4854  """
4855  return _IMP_npctransport.initialize_positions(*args)
4856 class Avro2PBReader(object):
4857  """Proxy of C++ IMP::npctransport::Avro2PBReader class."""
4858 
4859  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4860 
4861  def __init__(self, *args):
4862  """
4863  __init__(IMP::npctransport::Avro2PBReader self, IMP::Strings const & avro_filenames) -> Avro2PBReader
4864  __init__(IMP::npctransport::Avro2PBReader self, std::string avro_filename) -> Avro2PBReader
4865  """
4866  this = _IMP_npctransport.new_Avro2PBReader(*args)
4867  try:
4868  self.this.append(this)
4869  except __builtin__.Exception:
4870  self.this = this
4871  __swig_destroy__ = _IMP_npctransport.delete_Avro2PBReader
4872  __del__ = lambda self: None
4873 
4874  def read_next(self):
4875  """read_next(Avro2PBReader self) -> IMP::npctransport::Avro2PBReader::ByteBuffer"""
4876  return _IMP_npctransport.Avro2PBReader_read_next(self)
4877 
4878 
4879  def get_is_valid(self):
4880  """get_is_valid(Avro2PBReader self) -> bool"""
4881  return _IMP_npctransport.Avro2PBReader_get_is_valid(self)
4882 
4883 
4884  def get_cur_file_name(self):
4885  """get_cur_file_name(Avro2PBReader self) -> std::string"""
4886  return _IMP_npctransport.Avro2PBReader_get_cur_file_name(self)
4887 
4888 
4889  def show(self, *args):
4890  """
4891  show(Avro2PBReader self, _ostream out)
4892  show(Avro2PBReader self)
4893  """
4894  return _IMP_npctransport.Avro2PBReader_show(self, *args)
4895 
4896 
4897  def __str__(self):
4898  """__str__(Avro2PBReader self) -> std::string"""
4899  return _IMP_npctransport.Avro2PBReader___str__(self)
4900 
4901 
4902  def __repr__(self):
4903  """__repr__(Avro2PBReader self) -> std::string"""
4904  return _IMP_npctransport.Avro2PBReader___repr__(self)
4905 
4906 Avro2PBReader_swigregister = _IMP_npctransport.Avro2PBReader_swigregister
4907 Avro2PBReader_swigregister(Avro2PBReader)
4908 
4909 
4910 def get_optimizable_particles(particles):
4911  """get_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4912  return _IMP_npctransport.get_optimizable_particles(particles)
4913 
4914 def get_non_optimizable_particles(particles):
4915  """get_non_optimizable_particles(IMP::ParticlesTemp const & particles) -> IMP::ParticlesTemp"""
4916  return _IMP_npctransport.get_non_optimizable_particles(particles)
4917 
4918 def get_particle_indexes(particles):
4919  """get_particle_indexes(IMP::ParticlesTemp const & particles) -> IMP::ParticleIndexes"""
4920  return _IMP_npctransport.get_particle_indexes(particles)
4921 
4922 def get_protobuf_configuration_from_text(config_txt, config_pb):
4923  """get_protobuf_configuration_from_text(std::string config_txt, std::string config_pb)"""
4924  return _IMP_npctransport.get_protobuf_configuration_from_text(config_txt, config_pb)
4925 
4926 def get_spheres_from_vectors(vs, radius):
4927  """get_spheres_from_vectors(IMP::algebra::Vector3Ds const & vs, double radius) -> IMP::algebra::Sphere3Ds"""
4928  return _IMP_npctransport.get_spheres_from_vectors(vs, radius)
4929 
4930 def get_spheres_centers(spheres):
4931  """get_spheres_centers(IMP::algebra::Sphere3Ds const & spheres) -> IMP::algebra::Vector3Ds"""
4932  return _IMP_npctransport.get_spheres_centers(spheres)
4933 
4935  """copy_particle_reference_frame_if_applicable(Particle src_p, Particle trg_p)"""
4936  return _IMP_npctransport.copy_particle_reference_frame_if_applicable(src_p, trg_p)
4937 
4939  """copy_hierarchy_reference_frame_recursive(Particle src_p, Particle trg_p)"""
4940  return _IMP_npctransport.copy_hierarchy_reference_frame_recursive(src_p, trg_p)
4941 
4942 def copy_FGs_coordinates(src_sd, trg_sd):
4943  """copy_FGs_coordinates(SimulationData src_sd, SimulationData trg_sd)"""
4944  return _IMP_npctransport.copy_FGs_coordinates(src_sd, trg_sd)
4945 
4946 try:
4947  from .npctransport_pb2 import *
4948  import google.protobuf
4949 except ImportError:
4950  print("no protobuf support in python")
4951 from ._configuration import *
4952 
4953 
4954 def get_module_version():
4955  """get_module_version() -> std::string const"""
4956  return _IMP_npctransport.get_module_version()
4957 
4958 def get_example_path(fname):
4959  """get_example_path(std::string fname) -> std::string"""
4960  return _IMP_npctransport.get_example_path(fname)
4961 
4962 def get_data_path(fname):
4963  """get_data_path(std::string fname) -> std::string"""
4964  return _IMP_npctransport.get_data_path(fname)
4965 
4966 from . import _version_check
4967 _version_check.check_version(get_module_version())
4968 __version__ = get_module_version()
4969 
4970 
4971 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
FGChain * create_fg_chain(IMP::npctransport::SimulationData *sd, atom::Hierarchy parent, const ::npctransport_proto::Assignment_FGAssignment &fg_data, display::Color c)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_hierarchy_with_sites(RMF::FileHandle fh, atom::Hierarchy hs)
Various classes to hold sets of particles.
int assign_ranges(std::string input_config_fname, std::string output_assignment_fname, unsigned int work_unit, bool show_steps, boost::uint64_t random_seed)
The base class for geometry.
int get_output_statistics_interval_in_frames(const ::npctransport_proto::Assignment &assign, double time_step, double default_value_ns=1.0)
IMP::ParticleIndexPair make_unordered_particle_index_pair(IMP::ParticleIndex pi0, IMP::ParticleIndex pi1)
Definition: typedefs.h:45
A base class for geometry from a set of particles.
double get_time_step(double max_d_factor, double max_k, double min_radius, double min_range, double max_trans_relative_to_radius=0.1, double time_step_factor=1.0)
Make CGAL functionality available to IMP.
void copy_FGs_coordinates(SimulationData const *src_sd, SimulationData *trg_sd)
copy coordinates of src_sd to trg_sd for FG repeats only
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.
int get_statistics_interval_in_frames(const ::npctransport_proto::Assignment &assign, double time_step, double default_value_ns=0.1)
void get_protobuf_configuration_from_text(std::string config_txt, std::string config_pb)
void copy_hierarchy_reference_frame_recursive(Particle *src_p, Particle *trg_p)
Simple Brownian dynamics simulator.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
void link_hierarchies_with_sites(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
ParticlesTemp get_non_optimizable_particles(ParticlesTemp const &particles)
void copy_particle_reference_frame_if_applicable(Particle *src_p, Particle *trg_p)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
ParticleIndexes get_particle_indexes(ParticlesTemp const &particles)
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
int get_frames_from_ns(double ns, double time_step)
Basic utilities for handling cryo-electron microscopy 3D density maps.
void initialize_positions(SimulationData *sd, const RestraintsTemp &extra_restraints=RestraintsTemp(), bool debug=false, double short_init_factor=1.0, bool is_disable_randomize=false, bool are_fgs_pre_initialized=false)
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
ParticlesTemp get_optimizable_particles(ParticlesTemp const &particles)
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...
int get_dump_interval_in_frames(const ::npctransport_proto::Assignment &config, double time_step)
atom::Hierarchies create_hierarchies_with_sites(RMF::FileConstHandle fh, Model *m)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
void add_hierarchies_with_sites(RMF::FileHandle fh, const atom::Hierarchies &hs)
InteractionType make_unordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
Definition: typedefs.h:35
double get_diffusion_coefficient(const algebra::Vector3Ds &displacements, double dt)
FGChain * get_fg_chain(atom::Hierarchy root)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for developing and analyzing benchmarks of IMP code.
InteractionType make_ordered_interaction_type(IMP::core::ParticleType t0, IMP::core::ParticleType t1)
convenience method for creating and interaction type in swig
Definition: typedefs.h:26
Support for the RMF file format for storing hierarchical molecular data and markup.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
Display an IMP::core::XYZR particle as a ball.
Definition: XYZR.h:151
void add_test_sites(RMF::FileHandle fh, core::ParticleType t, double display_radius, algebra::Vector3Ds sites)
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
algebra::Sphere3Ds get_spheres_from_vectors(V3iter first, V3iter last, double radius)
convert vectors to spheres of passed radius
Definition: util.h:169