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