11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_kernel', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_kernel', fp, pathname, description)
28 _IMP_kernel = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_KERNEL_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_KERNEL_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_KERNEL_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_KERNEL_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_kernel.delete_IMP_KERNEL_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_KERNEL_SwigPyIterator self) -> PyObject *"""
91 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_value(self)
95 incr(IMP_KERNEL_SwigPyIterator self, size_t n=1) -> IMP_KERNEL_SwigPyIterator
96 incr(IMP_KERNEL_SwigPyIterator self) -> IMP_KERNEL_SwigPyIterator
98 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_incr(self, n)
102 decr(IMP_KERNEL_SwigPyIterator self, size_t n=1) -> IMP_KERNEL_SwigPyIterator
103 decr(IMP_KERNEL_SwigPyIterator self) -> IMP_KERNEL_SwigPyIterator
105 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_KERNEL_SwigPyIterator self, IMP_KERNEL_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_KERNEL_SwigPyIterator self, IMP_KERNEL_SwigPyIterator x) -> bool"""
113 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_equal(self, *args)
116 """copy(IMP_KERNEL_SwigPyIterator self) -> IMP_KERNEL_SwigPyIterator"""
117 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_copy(self)
120 """next(IMP_KERNEL_SwigPyIterator self) -> PyObject *"""
121 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_next(self)
124 """__next__(IMP_KERNEL_SwigPyIterator self) -> PyObject *"""
125 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___next__(self)
128 """previous(IMP_KERNEL_SwigPyIterator self) -> PyObject *"""
129 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_KERNEL_SwigPyIterator self, ptrdiff_t n) -> IMP_KERNEL_SwigPyIterator"""
133 return _IMP_kernel.IMP_KERNEL_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_KERNEL_SwigPyIterator self, IMP_KERNEL_SwigPyIterator x) -> bool"""
137 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_KERNEL_SwigPyIterator self, IMP_KERNEL_SwigPyIterator x) -> bool"""
141 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_KERNEL_SwigPyIterator self, ptrdiff_t n) -> IMP_KERNEL_SwigPyIterator"""
145 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_KERNEL_SwigPyIterator self, ptrdiff_t n) -> IMP_KERNEL_SwigPyIterator"""
149 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_KERNEL_SwigPyIterator self, ptrdiff_t n) -> IMP_KERNEL_SwigPyIterator"""
153 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_KERNEL_SwigPyIterator self, ptrdiff_t n) -> IMP_KERNEL_SwigPyIterator
158 __sub__(IMP_KERNEL_SwigPyIterator self, IMP_KERNEL_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_kernel.IMP_KERNEL_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_KERNEL_SwigPyIterator_swigregister = _IMP_kernel.IMP_KERNEL_SwigPyIterator_swigregister
164 IMP_KERNEL_SwigPyIterator_swigregister(IMP_KERNEL_SwigPyIterator)
171 IMP_DEBUG = _IMP_kernel.IMP_DEBUG
172 IMP_RELEASE = _IMP_kernel.IMP_RELEASE
173 IMP_SILENT = _IMP_kernel.IMP_SILENT
174 IMP_PROGRESS = _IMP_kernel.IMP_PROGRESS
175 IMP_TERSE = _IMP_kernel.IMP_TERSE
176 IMP_VERBOSE = _IMP_kernel.IMP_VERBOSE
177 IMP_MEMORY = _IMP_kernel.IMP_MEMORY
178 IMP_NONE = _IMP_kernel.IMP_NONE
179 IMP_USAGE = _IMP_kernel.IMP_USAGE
180 IMP_INTERNAL = _IMP_kernel.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_kernel.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_kernel.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_kernel.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_kernel.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_kernel.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_kernel.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_kernel.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_kernel.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_kernel.DEFAULT_CHECK
216 NONE = _IMP_kernel.NONE
217 USAGE = _IMP_kernel.USAGE
218 USAGE_AND_INTERNAL = _IMP_kernel.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_kernel.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_kernel.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_kernel._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_kernel._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_kernel.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_kernel.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_kernel.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_kernel.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kernel.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_kernel.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_kernel.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_kernel.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_kernel.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_kernel.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_kernel.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_kernel.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_kernel.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_kernel.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_kernel.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_kernel.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_kernel.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_kernel.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_kernel.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_kernel.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_kernel.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_kernel.IMPKERNEL_SHOW_WARNINGS
268 i_m_p=
"IMP_MODULE_PATH"
269 if i_m_p
in os.environ.keys():
270 __path__.insert(0, os.environ[i_m_p])
272 def _forward_add_attribute(self, name, value, opt=None):
274 self.get_particle().add_attribute(name, value, opt)
276 self.get_particle().add_attribute(name, value)
277 def _forward_get_value(self, name):
278 self.get_particle().get_value(name)
279 def _forward_set_value(self, name, value):
280 self.get_particle().set_value(name, value)
284 _object_types.append(
"Constraint")
287 def _object_cast_to_Constraint(*args):
288 """_object_cast_to_Constraint(Object o) -> Constraint"""
289 return _IMP_kernel._object_cast_to_Constraint(*args)
290 _object_types.append(
"Undecorator")
293 def _object_cast_to_Undecorator(*args):
294 """_object_cast_to_Undecorator(Object o) -> Undecorator"""
295 return _IMP_kernel._object_cast_to_Undecorator(*args)
296 _object_types.append(
"Container")
299 def _object_cast_to_Container(*args):
300 """_object_cast_to_Container(Object o) -> Container"""
301 return _IMP_kernel._object_cast_to_Container(*args)
302 _object_types.append(
"Optimizer")
305 def _object_cast_to_Optimizer(*args):
306 """_object_cast_to_Optimizer(Object o) -> Optimizer"""
307 return _IMP_kernel._object_cast_to_Optimizer(*args)
308 _object_types.append(
"AttributeOptimizer")
311 def _object_cast_to_AttributeOptimizer(*args):
312 """_object_cast_to_AttributeOptimizer(Object o) -> AttributeOptimizer"""
313 return _IMP_kernel._object_cast_to_AttributeOptimizer(*args)
314 _object_types.append(
"OptimizerState")
317 def _object_cast_to_OptimizerState(*args):
318 """_object_cast_to_OptimizerState(Object o) -> OptimizerState"""
319 return _IMP_kernel._object_cast_to_OptimizerState(*args)
320 _object_types.append(
"PairContainer")
323 def _object_cast_to_PairContainer(*args):
324 """_object_cast_to_PairContainer(Object o) -> PairContainer"""
325 return _IMP_kernel._object_cast_to_PairContainer(*args)
326 _object_types.append(
"PairModifier")
329 def _object_cast_to_PairModifier(*args):
330 """_object_cast_to_PairModifier(Object o) -> PairModifier"""
331 return _IMP_kernel._object_cast_to_PairModifier(*args)
332 _object_types.append(
"PairScore")
335 def _object_cast_to_PairScore(*args):
336 """_object_cast_to_PairScore(Object o) -> PairScore"""
337 return _IMP_kernel._object_cast_to_PairScore(*args)
338 _object_types.append(
"QuadContainer")
341 def _object_cast_to_QuadContainer(*args):
342 """_object_cast_to_QuadContainer(Object o) -> QuadContainer"""
343 return _IMP_kernel._object_cast_to_QuadContainer(*args)
344 _object_types.append(
"QuadModifier")
347 def _object_cast_to_QuadModifier(*args):
348 """_object_cast_to_QuadModifier(Object o) -> QuadModifier"""
349 return _IMP_kernel._object_cast_to_QuadModifier(*args)
350 _object_types.append(
"QuadScore")
353 def _object_cast_to_QuadScore(*args):
354 """_object_cast_to_QuadScore(Object o) -> QuadScore"""
355 return _IMP_kernel._object_cast_to_QuadScore(*args)
356 _object_types.append(
"Refiner")
359 def _object_cast_to_Refiner(*args):
360 """_object_cast_to_Refiner(Object o) -> Refiner"""
361 return _IMP_kernel._object_cast_to_Refiner(*args)
362 _object_types.append(
"Restraint")
365 def _object_cast_to_Restraint(*args):
366 """_object_cast_to_Restraint(Object o) -> Restraint"""
367 return _IMP_kernel._object_cast_to_Restraint(*args)
368 _object_types.append(
"Sampler")
371 def _object_cast_to_Sampler(*args):
372 """_object_cast_to_Sampler(Object o) -> Sampler"""
373 return _IMP_kernel._object_cast_to_Sampler(*args)
374 _object_types.append(
"ScoreState")
377 def _object_cast_to_ScoreState(*args):
378 """_object_cast_to_ScoreState(Object o) -> ScoreState"""
379 return _IMP_kernel._object_cast_to_ScoreState(*args)
380 _object_types.append(
"SingletonContainer")
383 def _object_cast_to_SingletonContainer(*args):
384 """_object_cast_to_SingletonContainer(Object o) -> SingletonContainer"""
385 return _IMP_kernel._object_cast_to_SingletonContainer(*args)
386 _object_types.append(
"SingletonModifier")
389 def _object_cast_to_SingletonModifier(*args):
390 """_object_cast_to_SingletonModifier(Object o) -> SingletonModifier"""
391 return _IMP_kernel._object_cast_to_SingletonModifier(*args)
392 _object_types.append(
"SingletonScore")
395 def _object_cast_to_SingletonScore(*args):
396 """_object_cast_to_SingletonScore(Object o) -> SingletonScore"""
397 return _IMP_kernel._object_cast_to_SingletonScore(*args)
398 _object_types.append(
"TripletContainer")
401 def _object_cast_to_TripletContainer(*args):
402 """_object_cast_to_TripletContainer(Object o) -> TripletContainer"""
403 return _IMP_kernel._object_cast_to_TripletContainer(*args)
404 _object_types.append(
"TripletModifier")
407 def _object_cast_to_TripletModifier(*args):
408 """_object_cast_to_TripletModifier(Object o) -> TripletModifier"""
409 return _IMP_kernel._object_cast_to_TripletModifier(*args)
410 _object_types.append(
"TripletScore")
413 def _object_cast_to_TripletScore(*args):
414 """_object_cast_to_TripletScore(Object o) -> TripletScore"""
415 return _IMP_kernel._object_cast_to_TripletScore(*args)
416 _object_types.append(
"UnaryFunction")
419 def _object_cast_to_UnaryFunction(*args):
420 """_object_cast_to_UnaryFunction(Object o) -> UnaryFunction"""
421 return _IMP_kernel._object_cast_to_UnaryFunction(*args)
422 _object_types.append(
"ConfigurationSet")
425 def _object_cast_to_ConfigurationSet(*args):
426 """_object_cast_to_ConfigurationSet(Object o) -> ConfigurationSet"""
427 return _IMP_kernel._object_cast_to_ConfigurationSet(*args)
428 _object_types.append(
"Configuration")
431 def _object_cast_to_Configuration(*args):
432 """_object_cast_to_Configuration(Object o) -> Configuration"""
433 return _IMP_kernel._object_cast_to_Configuration(*args)
434 _object_types.append(
"Model")
437 def _object_cast_to_Model(*args):
438 """_object_cast_to_Model(Object o) -> Model"""
439 return _IMP_kernel._object_cast_to_Model(*args)
440 _object_types.append(
"Particle")
443 def _object_cast_to_Particle(*args):
444 """_object_cast_to_Particle(Object o) -> Particle"""
445 return _IMP_kernel._object_cast_to_Particle(*args)
446 _object_types.append(
"RestraintSet")
449 def _object_cast_to_RestraintSet(*args):
450 """_object_cast_to_RestraintSet(Object o) -> RestraintSet"""
451 return _IMP_kernel._object_cast_to_RestraintSet(*args)
452 ParticlePairsTemp=list
453 _plural_types.append(
"ParticlePairsTemp")
454 _value_types.append(
"ParticlePair")
456 ParticleTripletsTemp=list
457 _plural_types.append(
"ParticleTripletsTemp")
458 _value_types.append(
"ParticleTriplet")
460 ParticleQuadsTemp=list
461 _plural_types.append(
"ParticleQuadsTemp")
462 _value_types.append(
"ParticleQuad")
464 ParticleIndexPairs=list
465 _plural_types.append(
"ParticleIndexPairs")
466 _value_types.append(
"ParticleIndexPair")
468 ParticleIndexTriplets=list
469 _plural_types.append(
"ParticleIndexTriplets")
470 _value_types.append(
"ParticleIndexTriplet")
472 ParticleIndexQuads=list
473 _plural_types.append(
"ParticleIndexQuads")
474 _value_types.append(
"ParticleIndexQuad")
476 _object_types.append(
"SingletonPredicate")
479 def _object_cast_to_SingletonPredicate(*args):
480 """_object_cast_to_SingletonPredicate(Object o) -> SingletonPredicate"""
481 return _IMP_kernel._object_cast_to_SingletonPredicate(*args)
482 _object_types.append(
"PairPredicate")
485 def _object_cast_to_PairPredicate(*args):
486 """_object_cast_to_PairPredicate(Object o) -> PairPredicate"""
487 return _IMP_kernel._object_cast_to_PairPredicate(*args)
488 _object_types.append(
"TripletPredicate")
491 def _object_cast_to_TripletPredicate(*args):
492 """_object_cast_to_TripletPredicate(Object o) -> TripletPredicate"""
493 return _IMP_kernel._object_cast_to_TripletPredicate(*args)
494 _object_types.append(
"QuadPredicate")
497 def _object_cast_to_QuadPredicate(*args):
498 """_object_cast_to_QuadPredicate(Object o) -> QuadPredicate"""
499 return _IMP_kernel._object_cast_to_QuadPredicate(*args)
500 _object_types.append(
"SaveToConfigurationSetOptimizerState")
503 def _object_cast_to_SaveToConfigurationSetOptimizerState(*args):
504 """_object_cast_to_SaveToConfigurationSetOptimizerState(Object o) -> SaveToConfigurationSetOptimizerState"""
505 return _IMP_kernel._object_cast_to_SaveToConfigurationSetOptimizerState(*args)
506 EvaluationStates=list
507 _plural_types.append(
"EvaluationStates")
508 _value_types.append(
"EvaluationState")
510 ScoreAccumulators=list
511 _plural_types.append(
"ScoreAccumulators")
512 _value_types.append(
"ScoreAccumulator")
515 _plural_types.append(
"ParticleIndexes")
516 _value_types.append(
"ParticleIndex")
519 _plural_types.append(
"FloatIndexes")
520 _value_types.append(
"FloatIndex")
523 _plural_types.append(
"FloatKeys")
524 _value_types.append(
"FloatKey")
527 _plural_types.append(
"IntKeys")
528 _value_types.append(
"IntKey")
531 _plural_types.append(
"StringKeys")
532 _value_types.append(
"StringKey")
534 ParticleIndexKeys=list
535 _plural_types.append(
"ParticleIndexKeys")
536 _value_types.append(
"ParticleIndexKey")
538 ParticleIndexesKeys=list
539 _plural_types.append(
"ParticleIndexesKeys")
540 _value_types.append(
"ParticleIndexesKey")
543 _plural_types.append(
"ObjectKeys")
544 _value_types.append(
"ObjectKey")
546 _raii_types.append(
"ScopedSetFloatAttribute")
548 _object_types.append(
"ScoringFunction")
551 def _object_cast_to_ScoringFunction(*args):
552 """_object_cast_to_ScoringFunction(Object o) -> ScoringFunction"""
553 return _IMP_kernel._object_cast_to_ScoringFunction(*args)
554 _object_types.append(
"ModelObject")
557 def _object_cast_to_ModelObject(*args):
558 """_object_cast_to_ModelObject(Object o) -> ModelObject"""
559 return _IMP_kernel._object_cast_to_ModelObject(*args)
560 def _TrivialDecorators(l=[]):
561 return [_TrivialDecorator(x)
for x
in l]
562 _plural_types.append(
"_TrivialDecorators")
564 _value_types.append(
"_TrivialDecorator")
566 def _TrivialDerivedDecorators(l=[]):
567 return [_TrivialDerivedDecorator(x)
for x
in l]
568 _plural_types.append(
"_TrivialDerivedDecorators")
570 _value_types.append(
"_TrivialDerivedDecorator")
572 def _TrivialTraitsDecorators(l=[]):
573 return [_TrivialTraitsDecorator(x)
for x
in l]
574 _plural_types.append(
"_TrivialTraitsDecorators")
576 _value_types.append(
"_TrivialTraitsDecorator")
578 _object_types.append(
"_ConstRestraint")
581 def _object_cast_to__ConstRestraint(*args):
582 """_object_cast_to__ConstRestraint(Object o) -> _ConstRestraint"""
583 return _IMP_kernel._object_cast_to__ConstRestraint(*args)
584 _object_types.append(
"_ConstOptimizer")
587 def _object_cast_to__ConstOptimizer(*args):
588 """_object_cast_to__ConstOptimizer(Object o) -> _ConstOptimizer"""
589 return _IMP_kernel._object_cast_to__ConstOptimizer(*args)
591 """Proxy of C++ IMP::base::internal::BoostDigraph<(IMP::kernel::DependencyGraph,p.IMP::kernel::ModelObject,IMP::kernel::ShowDependencyGraphVertex)> class"""
592 __swig_setmethods__ = {}
593 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
594 __setattr__ =
lambda self, name, value: _swig_setattr(self, DependencyGraph, name, value)
595 __swig_getmethods__ = {}
596 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
597 __getattr__ =
lambda self, name: _swig_getattr(self, DependencyGraph, name)
598 __repr__ = _swig_repr
600 """__init__(IMP::base::internal::BoostDigraph<(IMP::kernel::DependencyGraph,p.IMP::kernel::ModelObject,IMP::kernel::ShowDependencyGraphVertex)> self) -> DependencyGraph"""
601 this = _IMP_kernel.new_DependencyGraph()
602 try: self.this.append(this)
603 except: self.this = this
605 """get_graph(DependencyGraph self) -> IMP::kernel::DependencyGraph const &"""
606 return _IMP_kernel.DependencyGraph_get_graph(self)
609 """get_vertices(DependencyGraph self) -> IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptors"""
610 return _IMP_kernel.DependencyGraph_get_vertices(self)
612 def get_vertex_name(self, *args):
613 """get_vertex_name(DependencyGraph self, IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor i) -> ModelObject"""
614 return _IMP_kernel.DependencyGraph_get_vertex_name(self, *args)
616 def get_in_neighbors(self, *args):
617 """get_in_neighbors(DependencyGraph self, IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor v) -> IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptors"""
618 return _IMP_kernel.DependencyGraph_get_in_neighbors(self, *args)
620 def get_out_neighbors(self, *args):
621 """get_out_neighbors(DependencyGraph self, IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor v) -> IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptors"""
622 return _IMP_kernel.DependencyGraph_get_out_neighbors(self, *args)
626 show_graphviz(DependencyGraph self, _ostream out=std::cout)
627 show_graphviz(DependencyGraph self)
629 return _IMP_kernel.DependencyGraph_show_graphviz(self, *args)
631 def get_graphviz_string(self):
632 """get_graphviz_string(DependencyGraph self) -> std::string"""
633 return _IMP_kernel.DependencyGraph_get_graphviz_string(self)
635 def add_edge(self, *args):
637 add_edge(DependencyGraph self, IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor v0,
638 IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor v1)
640 return _IMP_kernel.DependencyGraph_add_edge(self, *args)
642 def add_vertex(self, *args):
643 """add_vertex(DependencyGraph self, ModelObject l) -> IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor"""
644 return _IMP_kernel.DependencyGraph_add_vertex(self, *args)
646 def remove_vertex(self, *args):
647 """remove_vertex(DependencyGraph self, IMP::base::internal::BoostDigraph< IMP::kernel::DependencyGraph,IMP::kernel::ModelObject *,IMP::kernel::ShowDependencyGraphVertex >::VertexDescriptor l)"""
648 return _IMP_kernel.DependencyGraph_remove_vertex(self, *args)
650 __swig_destroy__ = _IMP_kernel.delete_DependencyGraph
651 __del__ =
lambda self :
None;
652 DependencyGraph_swigregister = _IMP_kernel.DependencyGraph_swigregister
653 DependencyGraph_swigregister(DependencyGraph)
655 _value_types.append(
"DependencyGraph")
658 """Proxy of C++ IMP::kernel::Key<(0,true)> class"""
659 __swig_setmethods__ = {}
660 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
661 __setattr__ =
lambda self, name, value: _swig_setattr(self, FloatKey, name, value)
662 __swig_getmethods__ = {}
663 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
664 __getattr__ =
lambda self, name: _swig_getattr(self, FloatKey, name)
665 def __init__(self, *args):
667 __init__(IMP::kernel::Key<(0,true)> self) -> FloatKey
668 __init__(IMP::kernel::Key<(0,true)> self, std::string c) -> FloatKey
669 __init__(IMP::kernel::Key<(0,true)> self, unsigned int i) -> FloatKey
671 this = _IMP_kernel.new_FloatKey(*args)
672 try: self.this.append(this)
673 except: self.this = this
675 """add_key(std::string sc) -> unsigned int"""
676 return _IMP_kernel.FloatKey_add_key(*args)
678 if _newclass:add_key = staticmethod(add_key)
679 __swig_getmethods__[
"add_key"] =
lambda x: add_key
680 def get_key_exists(*args):
681 """get_key_exists(std::string sc) -> bool"""
682 return _IMP_kernel.FloatKey_get_key_exists(*args)
684 if _newclass:get_key_exists = staticmethod(get_key_exists)
685 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
686 def get_string(self):
687 """get_string(FloatKey self) -> std::string const"""
688 return _IMP_kernel.FloatKey_get_string(self)
690 def __eq__(self, *args):
691 """__eq__(FloatKey self, FloatKey o) -> bool"""
692 return _IMP_kernel.FloatKey___eq__(self, *args)
694 def __ne__(self, *args):
695 """__ne__(FloatKey self, FloatKey o) -> bool"""
696 return _IMP_kernel.FloatKey___ne__(self, *args)
698 def __lt__(self, *args):
699 """__lt__(FloatKey self, FloatKey o) -> bool"""
700 return _IMP_kernel.FloatKey___lt__(self, *args)
702 def __gt__(self, *args):
703 """__gt__(FloatKey self, FloatKey o) -> bool"""
704 return _IMP_kernel.FloatKey___gt__(self, *args)
706 def __ge__(self, *args):
707 """__ge__(FloatKey self, FloatKey o) -> bool"""
708 return _IMP_kernel.FloatKey___ge__(self, *args)
710 def __le__(self, *args):
711 """__le__(FloatKey self, FloatKey o) -> bool"""
712 return _IMP_kernel.FloatKey___le__(self, *args)
715 """__hash__(FloatKey self) -> std::size_t"""
716 return _IMP_kernel.FloatKey___hash__(self)
718 def show(self, *args):
720 show(FloatKey self, _ostream out=std::cout)
723 return _IMP_kernel.FloatKey_show(self, *args)
725 def add_alias(*args):
726 """add_alias(FloatKey old_key, std::string new_name) -> FloatKey"""
727 return _IMP_kernel.FloatKey_add_alias(*args)
729 if _newclass:add_alias = staticmethod(add_alias)
730 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
732 """get_index(FloatKey self) -> unsigned int"""
733 return _IMP_kernel.FloatKey_get_index(self)
736 """show_all(_ostream out)"""
737 return _IMP_kernel.FloatKey_show_all(*args)
739 if _newclass:show_all = staticmethod(show_all)
740 __swig_getmethods__[
"show_all"] =
lambda x: show_all
741 def get_all_strings():
742 """get_all_strings() -> IMP::base::Vector< std::string >"""
743 return _IMP_kernel.FloatKey_get_all_strings()
745 if _newclass:get_all_strings = staticmethod(get_all_strings)
746 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
747 def get_number_unique():
748 """get_number_unique() -> unsigned int"""
749 return _IMP_kernel.FloatKey_get_number_unique()
751 if _newclass:get_number_unique = staticmethod(get_number_unique)
752 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
754 """__str__(FloatKey self) -> std::string"""
755 return _IMP_kernel.FloatKey___str__(self)
758 """__repr__(FloatKey self) -> std::string"""
759 return _IMP_kernel.FloatKey___repr__(self)
761 __swig_destroy__ = _IMP_kernel.delete_FloatKey
762 __del__ =
lambda self :
None;
763 FloatKey_swigregister = _IMP_kernel.FloatKey_swigregister
764 FloatKey_swigregister(FloatKey)
766 def FloatKey_add_key(*args):
767 """FloatKey_add_key(std::string sc) -> unsigned int"""
768 return _IMP_kernel.FloatKey_add_key(*args)
770 def FloatKey_get_key_exists(*args):
771 """FloatKey_get_key_exists(std::string sc) -> bool"""
772 return _IMP_kernel.FloatKey_get_key_exists(*args)
774 def FloatKey_add_alias(*args):
775 """FloatKey_add_alias(FloatKey old_key, std::string new_name) -> FloatKey"""
776 return _IMP_kernel.FloatKey_add_alias(*args)
778 def FloatKey_show_all(*args):
779 """FloatKey_show_all(_ostream out)"""
780 return _IMP_kernel.FloatKey_show_all(*args)
782 def FloatKey_get_all_strings():
783 """FloatKey_get_all_strings() -> IMP::base::Vector< std::string >"""
784 return _IMP_kernel.FloatKey_get_all_strings()
786 def FloatKey_get_number_unique():
787 """FloatKey_get_number_unique() -> unsigned int"""
788 return _IMP_kernel.FloatKey_get_number_unique()
790 class IntKey(IMP.base._Value):
791 """Proxy of C++ IMP::kernel::Key<(1,true)> class"""
792 __swig_setmethods__ = {}
793 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
794 __setattr__ =
lambda self, name, value: _swig_setattr(self, IntKey, name, value)
795 __swig_getmethods__ = {}
796 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
797 __getattr__ =
lambda self, name: _swig_getattr(self, IntKey, name)
798 def __init__(self, *args):
800 __init__(IMP::kernel::Key<(1,true)> self) -> IntKey
801 __init__(IMP::kernel::Key<(1,true)> self, std::string c) -> IntKey
802 __init__(IMP::kernel::Key<(1,true)> self, unsigned int i) -> IntKey
804 this = _IMP_kernel.new_IntKey(*args)
805 try: self.this.append(this)
806 except: self.this = this
808 """add_key(std::string sc) -> unsigned int"""
809 return _IMP_kernel.IntKey_add_key(*args)
811 if _newclass:add_key = staticmethod(add_key)
812 __swig_getmethods__[
"add_key"] =
lambda x: add_key
813 def get_key_exists(*args):
814 """get_key_exists(std::string sc) -> bool"""
815 return _IMP_kernel.IntKey_get_key_exists(*args)
817 if _newclass:get_key_exists = staticmethod(get_key_exists)
818 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
819 def get_string(self):
820 """get_string(IntKey self) -> std::string const"""
821 return _IMP_kernel.IntKey_get_string(self)
823 def __eq__(self, *args):
824 """__eq__(IntKey self, IntKey o) -> bool"""
825 return _IMP_kernel.IntKey___eq__(self, *args)
827 def __ne__(self, *args):
828 """__ne__(IntKey self, IntKey o) -> bool"""
829 return _IMP_kernel.IntKey___ne__(self, *args)
831 def __lt__(self, *args):
832 """__lt__(IntKey self, IntKey o) -> bool"""
833 return _IMP_kernel.IntKey___lt__(self, *args)
835 def __gt__(self, *args):
836 """__gt__(IntKey self, IntKey o) -> bool"""
837 return _IMP_kernel.IntKey___gt__(self, *args)
839 def __ge__(self, *args):
840 """__ge__(IntKey self, IntKey o) -> bool"""
841 return _IMP_kernel.IntKey___ge__(self, *args)
843 def __le__(self, *args):
844 """__le__(IntKey self, IntKey o) -> bool"""
845 return _IMP_kernel.IntKey___le__(self, *args)
848 """__hash__(IntKey self) -> std::size_t"""
849 return _IMP_kernel.IntKey___hash__(self)
851 def show(self, *args):
853 show(IntKey self, _ostream out=std::cout)
856 return _IMP_kernel.IntKey_show(self, *args)
858 def add_alias(*args):
859 """add_alias(IntKey old_key, std::string new_name) -> IntKey"""
860 return _IMP_kernel.IntKey_add_alias(*args)
862 if _newclass:add_alias = staticmethod(add_alias)
863 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
865 """get_index(IntKey self) -> unsigned int"""
866 return _IMP_kernel.IntKey_get_index(self)
869 """show_all(_ostream out)"""
870 return _IMP_kernel.IntKey_show_all(*args)
872 if _newclass:show_all = staticmethod(show_all)
873 __swig_getmethods__[
"show_all"] =
lambda x: show_all
874 def get_all_strings():
875 """get_all_strings() -> IMP::base::Vector< std::string >"""
876 return _IMP_kernel.IntKey_get_all_strings()
878 if _newclass:get_all_strings = staticmethod(get_all_strings)
879 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
880 def get_number_unique():
881 """get_number_unique() -> unsigned int"""
882 return _IMP_kernel.IntKey_get_number_unique()
884 if _newclass:get_number_unique = staticmethod(get_number_unique)
885 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
887 """__str__(IntKey self) -> std::string"""
888 return _IMP_kernel.IntKey___str__(self)
891 """__repr__(IntKey self) -> std::string"""
892 return _IMP_kernel.IntKey___repr__(self)
894 __swig_destroy__ = _IMP_kernel.delete_IntKey
895 __del__ =
lambda self :
None;
896 IntKey_swigregister = _IMP_kernel.IntKey_swigregister
897 IntKey_swigregister(IntKey)
899 def IntKey_add_key(*args):
900 """IntKey_add_key(std::string sc) -> unsigned int"""
901 return _IMP_kernel.IntKey_add_key(*args)
903 def IntKey_get_key_exists(*args):
904 """IntKey_get_key_exists(std::string sc) -> bool"""
905 return _IMP_kernel.IntKey_get_key_exists(*args)
907 def IntKey_add_alias(*args):
908 """IntKey_add_alias(IntKey old_key, std::string new_name) -> IntKey"""
909 return _IMP_kernel.IntKey_add_alias(*args)
911 def IntKey_show_all(*args):
912 """IntKey_show_all(_ostream out)"""
913 return _IMP_kernel.IntKey_show_all(*args)
915 def IntKey_get_all_strings():
916 """IntKey_get_all_strings() -> IMP::base::Vector< std::string >"""
917 return _IMP_kernel.IntKey_get_all_strings()
919 def IntKey_get_number_unique():
920 """IntKey_get_number_unique() -> unsigned int"""
921 return _IMP_kernel.IntKey_get_number_unique()
924 """Proxy of C++ IMP::kernel::Key<(2,true)> class"""
925 __swig_setmethods__ = {}
926 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
927 __setattr__ =
lambda self, name, value: _swig_setattr(self, StringKey, name, value)
928 __swig_getmethods__ = {}
929 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
930 __getattr__ =
lambda self, name: _swig_getattr(self, StringKey, name)
931 def __init__(self, *args):
933 __init__(IMP::kernel::Key<(2,true)> self) -> StringKey
934 __init__(IMP::kernel::Key<(2,true)> self, std::string c) -> StringKey
935 __init__(IMP::kernel::Key<(2,true)> self, unsigned int i) -> StringKey
937 this = _IMP_kernel.new_StringKey(*args)
938 try: self.this.append(this)
939 except: self.this = this
941 """add_key(std::string sc) -> unsigned int"""
942 return _IMP_kernel.StringKey_add_key(*args)
944 if _newclass:add_key = staticmethod(add_key)
945 __swig_getmethods__[
"add_key"] =
lambda x: add_key
946 def get_key_exists(*args):
947 """get_key_exists(std::string sc) -> bool"""
948 return _IMP_kernel.StringKey_get_key_exists(*args)
950 if _newclass:get_key_exists = staticmethod(get_key_exists)
951 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
952 def get_string(self):
953 """get_string(StringKey self) -> std::string const"""
954 return _IMP_kernel.StringKey_get_string(self)
956 def __eq__(self, *args):
957 """__eq__(StringKey self, StringKey o) -> bool"""
958 return _IMP_kernel.StringKey___eq__(self, *args)
960 def __ne__(self, *args):
961 """__ne__(StringKey self, StringKey o) -> bool"""
962 return _IMP_kernel.StringKey___ne__(self, *args)
964 def __lt__(self, *args):
965 """__lt__(StringKey self, StringKey o) -> bool"""
966 return _IMP_kernel.StringKey___lt__(self, *args)
968 def __gt__(self, *args):
969 """__gt__(StringKey self, StringKey o) -> bool"""
970 return _IMP_kernel.StringKey___gt__(self, *args)
972 def __ge__(self, *args):
973 """__ge__(StringKey self, StringKey o) -> bool"""
974 return _IMP_kernel.StringKey___ge__(self, *args)
976 def __le__(self, *args):
977 """__le__(StringKey self, StringKey o) -> bool"""
978 return _IMP_kernel.StringKey___le__(self, *args)
981 """__hash__(StringKey self) -> std::size_t"""
982 return _IMP_kernel.StringKey___hash__(self)
984 def show(self, *args):
986 show(StringKey self, _ostream out=std::cout)
989 return _IMP_kernel.StringKey_show(self, *args)
991 def add_alias(*args):
992 """add_alias(StringKey old_key, std::string new_name) -> StringKey"""
993 return _IMP_kernel.StringKey_add_alias(*args)
995 if _newclass:add_alias = staticmethod(add_alias)
996 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
998 """get_index(StringKey self) -> unsigned int"""
999 return _IMP_kernel.StringKey_get_index(self)
1001 def show_all(*args):
1002 """show_all(_ostream out)"""
1003 return _IMP_kernel.StringKey_show_all(*args)
1005 if _newclass:show_all = staticmethod(show_all)
1006 __swig_getmethods__[
"show_all"] =
lambda x: show_all
1007 def get_all_strings():
1008 """get_all_strings() -> IMP::base::Vector< std::string >"""
1009 return _IMP_kernel.StringKey_get_all_strings()
1011 if _newclass:get_all_strings = staticmethod(get_all_strings)
1012 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
1013 def get_number_unique():
1014 """get_number_unique() -> unsigned int"""
1015 return _IMP_kernel.StringKey_get_number_unique()
1017 if _newclass:get_number_unique = staticmethod(get_number_unique)
1018 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
1020 """__str__(StringKey self) -> std::string"""
1021 return _IMP_kernel.StringKey___str__(self)
1024 """__repr__(StringKey self) -> std::string"""
1025 return _IMP_kernel.StringKey___repr__(self)
1027 __swig_destroy__ = _IMP_kernel.delete_StringKey
1028 __del__ =
lambda self :
None;
1029 StringKey_swigregister = _IMP_kernel.StringKey_swigregister
1030 StringKey_swigregister(StringKey)
1032 def StringKey_add_key(*args):
1033 """StringKey_add_key(std::string sc) -> unsigned int"""
1034 return _IMP_kernel.StringKey_add_key(*args)
1036 def StringKey_get_key_exists(*args):
1037 """StringKey_get_key_exists(std::string sc) -> bool"""
1038 return _IMP_kernel.StringKey_get_key_exists(*args)
1040 def StringKey_add_alias(*args):
1041 """StringKey_add_alias(StringKey old_key, std::string new_name) -> StringKey"""
1042 return _IMP_kernel.StringKey_add_alias(*args)
1044 def StringKey_show_all(*args):
1045 """StringKey_show_all(_ostream out)"""
1046 return _IMP_kernel.StringKey_show_all(*args)
1048 def StringKey_get_all_strings():
1049 """StringKey_get_all_strings() -> IMP::base::Vector< std::string >"""
1050 return _IMP_kernel.StringKey_get_all_strings()
1052 def StringKey_get_number_unique():
1053 """StringKey_get_number_unique() -> unsigned int"""
1054 return _IMP_kernel.StringKey_get_number_unique()
1057 """Proxy of C++ IMP::kernel::Key<(3,true)> class"""
1058 __swig_setmethods__ = {}
1059 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1060 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleIndexKey, name, value)
1061 __swig_getmethods__ = {}
1062 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1063 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleIndexKey, name)
1064 def __init__(self, *args):
1066 __init__(IMP::kernel::Key<(3,true)> self) -> ParticleIndexKey
1067 __init__(IMP::kernel::Key<(3,true)> self, std::string c) -> ParticleIndexKey
1068 __init__(IMP::kernel::Key<(3,true)> self, unsigned int i) -> ParticleIndexKey
1070 this = _IMP_kernel.new_ParticleIndexKey(*args)
1071 try: self.this.append(this)
1072 except: self.this = this
1074 """add_key(std::string sc) -> unsigned int"""
1075 return _IMP_kernel.ParticleIndexKey_add_key(*args)
1077 if _newclass:add_key = staticmethod(add_key)
1078 __swig_getmethods__[
"add_key"] =
lambda x: add_key
1079 def get_key_exists(*args):
1080 """get_key_exists(std::string sc) -> bool"""
1081 return _IMP_kernel.ParticleIndexKey_get_key_exists(*args)
1083 if _newclass:get_key_exists = staticmethod(get_key_exists)
1084 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
1085 def get_string(self):
1086 """get_string(ParticleIndexKey self) -> std::string const"""
1087 return _IMP_kernel.ParticleIndexKey_get_string(self)
1089 def __eq__(self, *args):
1090 """__eq__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1091 return _IMP_kernel.ParticleIndexKey___eq__(self, *args)
1093 def __ne__(self, *args):
1094 """__ne__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1095 return _IMP_kernel.ParticleIndexKey___ne__(self, *args)
1097 def __lt__(self, *args):
1098 """__lt__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1099 return _IMP_kernel.ParticleIndexKey___lt__(self, *args)
1101 def __gt__(self, *args):
1102 """__gt__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1103 return _IMP_kernel.ParticleIndexKey___gt__(self, *args)
1105 def __ge__(self, *args):
1106 """__ge__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1107 return _IMP_kernel.ParticleIndexKey___ge__(self, *args)
1109 def __le__(self, *args):
1110 """__le__(ParticleIndexKey self, ParticleIndexKey o) -> bool"""
1111 return _IMP_kernel.ParticleIndexKey___le__(self, *args)
1114 """__hash__(ParticleIndexKey self) -> std::size_t"""
1115 return _IMP_kernel.ParticleIndexKey___hash__(self)
1117 def show(self, *args):
1119 show(ParticleIndexKey self, _ostream out=std::cout)
1120 show(ParticleIndexKey self)
1122 return _IMP_kernel.ParticleIndexKey_show(self, *args)
1124 def add_alias(*args):
1125 """add_alias(ParticleIndexKey old_key, std::string new_name) -> ParticleIndexKey"""
1126 return _IMP_kernel.ParticleIndexKey_add_alias(*args)
1128 if _newclass:add_alias = staticmethod(add_alias)
1129 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
1131 """get_index(ParticleIndexKey self) -> unsigned int"""
1132 return _IMP_kernel.ParticleIndexKey_get_index(self)
1134 def show_all(*args):
1135 """show_all(_ostream out)"""
1136 return _IMP_kernel.ParticleIndexKey_show_all(*args)
1138 if _newclass:show_all = staticmethod(show_all)
1139 __swig_getmethods__[
"show_all"] =
lambda x: show_all
1140 def get_all_strings():
1141 """get_all_strings() -> IMP::base::Vector< std::string >"""
1142 return _IMP_kernel.ParticleIndexKey_get_all_strings()
1144 if _newclass:get_all_strings = staticmethod(get_all_strings)
1145 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
1146 def get_number_unique():
1147 """get_number_unique() -> unsigned int"""
1148 return _IMP_kernel.ParticleIndexKey_get_number_unique()
1150 if _newclass:get_number_unique = staticmethod(get_number_unique)
1151 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
1153 """__str__(ParticleIndexKey self) -> std::string"""
1154 return _IMP_kernel.ParticleIndexKey___str__(self)
1157 """__repr__(ParticleIndexKey self) -> std::string"""
1158 return _IMP_kernel.ParticleIndexKey___repr__(self)
1160 __swig_destroy__ = _IMP_kernel.delete_ParticleIndexKey
1161 __del__ =
lambda self :
None;
1162 ParticleIndexKey_swigregister = _IMP_kernel.ParticleIndexKey_swigregister
1163 ParticleIndexKey_swigregister(ParticleIndexKey)
1165 def ParticleIndexKey_add_key(*args):
1166 """ParticleIndexKey_add_key(std::string sc) -> unsigned int"""
1167 return _IMP_kernel.ParticleIndexKey_add_key(*args)
1169 def ParticleIndexKey_get_key_exists(*args):
1170 """ParticleIndexKey_get_key_exists(std::string sc) -> bool"""
1171 return _IMP_kernel.ParticleIndexKey_get_key_exists(*args)
1173 def ParticleIndexKey_add_alias(*args):
1174 """ParticleIndexKey_add_alias(ParticleIndexKey old_key, std::string new_name) -> ParticleIndexKey"""
1175 return _IMP_kernel.ParticleIndexKey_add_alias(*args)
1177 def ParticleIndexKey_show_all(*args):
1178 """ParticleIndexKey_show_all(_ostream out)"""
1179 return _IMP_kernel.ParticleIndexKey_show_all(*args)
1181 def ParticleIndexKey_get_all_strings():
1182 """ParticleIndexKey_get_all_strings() -> IMP::base::Vector< std::string >"""
1183 return _IMP_kernel.ParticleIndexKey_get_all_strings()
1185 def ParticleIndexKey_get_number_unique():
1186 """ParticleIndexKey_get_number_unique() -> unsigned int"""
1187 return _IMP_kernel.ParticleIndexKey_get_number_unique()
1190 """Proxy of C++ IMP::kernel::Key<(4,true)> class"""
1191 __swig_setmethods__ = {}
1192 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1193 __setattr__ =
lambda self, name, value: _swig_setattr(self, ObjectKey, name, value)
1194 __swig_getmethods__ = {}
1195 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1196 __getattr__ =
lambda self, name: _swig_getattr(self, ObjectKey, name)
1197 def __init__(self, *args):
1199 __init__(IMP::kernel::Key<(4,true)> self) -> ObjectKey
1200 __init__(IMP::kernel::Key<(4,true)> self, std::string c) -> ObjectKey
1201 __init__(IMP::kernel::Key<(4,true)> self, unsigned int i) -> ObjectKey
1203 this = _IMP_kernel.new_ObjectKey(*args)
1204 try: self.this.append(this)
1205 except: self.this = this
1207 """add_key(std::string sc) -> unsigned int"""
1208 return _IMP_kernel.ObjectKey_add_key(*args)
1210 if _newclass:add_key = staticmethod(add_key)
1211 __swig_getmethods__[
"add_key"] =
lambda x: add_key
1212 def get_key_exists(*args):
1213 """get_key_exists(std::string sc) -> bool"""
1214 return _IMP_kernel.ObjectKey_get_key_exists(*args)
1216 if _newclass:get_key_exists = staticmethod(get_key_exists)
1217 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
1218 def get_string(self):
1219 """get_string(ObjectKey self) -> std::string const"""
1220 return _IMP_kernel.ObjectKey_get_string(self)
1222 def __eq__(self, *args):
1223 """__eq__(ObjectKey self, ObjectKey o) -> bool"""
1224 return _IMP_kernel.ObjectKey___eq__(self, *args)
1226 def __ne__(self, *args):
1227 """__ne__(ObjectKey self, ObjectKey o) -> bool"""
1228 return _IMP_kernel.ObjectKey___ne__(self, *args)
1230 def __lt__(self, *args):
1231 """__lt__(ObjectKey self, ObjectKey o) -> bool"""
1232 return _IMP_kernel.ObjectKey___lt__(self, *args)
1234 def __gt__(self, *args):
1235 """__gt__(ObjectKey self, ObjectKey o) -> bool"""
1236 return _IMP_kernel.ObjectKey___gt__(self, *args)
1238 def __ge__(self, *args):
1239 """__ge__(ObjectKey self, ObjectKey o) -> bool"""
1240 return _IMP_kernel.ObjectKey___ge__(self, *args)
1242 def __le__(self, *args):
1243 """__le__(ObjectKey self, ObjectKey o) -> bool"""
1244 return _IMP_kernel.ObjectKey___le__(self, *args)
1247 """__hash__(ObjectKey self) -> std::size_t"""
1248 return _IMP_kernel.ObjectKey___hash__(self)
1250 def show(self, *args):
1252 show(ObjectKey self, _ostream out=std::cout)
1253 show(ObjectKey self)
1255 return _IMP_kernel.ObjectKey_show(self, *args)
1257 def add_alias(*args):
1258 """add_alias(ObjectKey old_key, std::string new_name) -> ObjectKey"""
1259 return _IMP_kernel.ObjectKey_add_alias(*args)
1261 if _newclass:add_alias = staticmethod(add_alias)
1262 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
1264 """get_index(ObjectKey self) -> unsigned int"""
1265 return _IMP_kernel.ObjectKey_get_index(self)
1267 def show_all(*args):
1268 """show_all(_ostream out)"""
1269 return _IMP_kernel.ObjectKey_show_all(*args)
1271 if _newclass:show_all = staticmethod(show_all)
1272 __swig_getmethods__[
"show_all"] =
lambda x: show_all
1273 def get_all_strings():
1274 """get_all_strings() -> IMP::base::Vector< std::string >"""
1275 return _IMP_kernel.ObjectKey_get_all_strings()
1277 if _newclass:get_all_strings = staticmethod(get_all_strings)
1278 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
1279 def get_number_unique():
1280 """get_number_unique() -> unsigned int"""
1281 return _IMP_kernel.ObjectKey_get_number_unique()
1283 if _newclass:get_number_unique = staticmethod(get_number_unique)
1284 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
1286 """__str__(ObjectKey self) -> std::string"""
1287 return _IMP_kernel.ObjectKey___str__(self)
1290 """__repr__(ObjectKey self) -> std::string"""
1291 return _IMP_kernel.ObjectKey___repr__(self)
1293 __swig_destroy__ = _IMP_kernel.delete_ObjectKey
1294 __del__ =
lambda self :
None;
1295 ObjectKey_swigregister = _IMP_kernel.ObjectKey_swigregister
1296 ObjectKey_swigregister(ObjectKey)
1298 def ObjectKey_add_key(*args):
1299 """ObjectKey_add_key(std::string sc) -> unsigned int"""
1300 return _IMP_kernel.ObjectKey_add_key(*args)
1302 def ObjectKey_get_key_exists(*args):
1303 """ObjectKey_get_key_exists(std::string sc) -> bool"""
1304 return _IMP_kernel.ObjectKey_get_key_exists(*args)
1306 def ObjectKey_add_alias(*args):
1307 """ObjectKey_add_alias(ObjectKey old_key, std::string new_name) -> ObjectKey"""
1308 return _IMP_kernel.ObjectKey_add_alias(*args)
1310 def ObjectKey_show_all(*args):
1311 """ObjectKey_show_all(_ostream out)"""
1312 return _IMP_kernel.ObjectKey_show_all(*args)
1314 def ObjectKey_get_all_strings():
1315 """ObjectKey_get_all_strings() -> IMP::base::Vector< std::string >"""
1316 return _IMP_kernel.ObjectKey_get_all_strings()
1318 def ObjectKey_get_number_unique():
1319 """ObjectKey_get_number_unique() -> unsigned int"""
1320 return _IMP_kernel.ObjectKey_get_number_unique()
1323 """Proxy of C++ IMP::kernel::Key<(6,true)> class"""
1324 __swig_setmethods__ = {}
1325 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1326 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleIndexesKey, name, value)
1327 __swig_getmethods__ = {}
1328 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1329 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleIndexesKey, name)
1330 def __init__(self, *args):
1332 __init__(IMP::kernel::Key<(6,true)> self) -> ParticleIndexesKey
1333 __init__(IMP::kernel::Key<(6,true)> self, std::string c) -> ParticleIndexesKey
1334 __init__(IMP::kernel::Key<(6,true)> self, unsigned int i) -> ParticleIndexesKey
1336 this = _IMP_kernel.new_ParticleIndexesKey(*args)
1337 try: self.this.append(this)
1338 except: self.this = this
1340 """add_key(std::string sc) -> unsigned int"""
1341 return _IMP_kernel.ParticleIndexesKey_add_key(*args)
1343 if _newclass:add_key = staticmethod(add_key)
1344 __swig_getmethods__[
"add_key"] =
lambda x: add_key
1345 def get_key_exists(*args):
1346 """get_key_exists(std::string sc) -> bool"""
1347 return _IMP_kernel.ParticleIndexesKey_get_key_exists(*args)
1349 if _newclass:get_key_exists = staticmethod(get_key_exists)
1350 __swig_getmethods__[
"get_key_exists"] =
lambda x: get_key_exists
1351 def get_string(self):
1352 """get_string(ParticleIndexesKey self) -> std::string const"""
1353 return _IMP_kernel.ParticleIndexesKey_get_string(self)
1355 def __eq__(self, *args):
1356 """__eq__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1357 return _IMP_kernel.ParticleIndexesKey___eq__(self, *args)
1359 def __ne__(self, *args):
1360 """__ne__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1361 return _IMP_kernel.ParticleIndexesKey___ne__(self, *args)
1363 def __lt__(self, *args):
1364 """__lt__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1365 return _IMP_kernel.ParticleIndexesKey___lt__(self, *args)
1367 def __gt__(self, *args):
1368 """__gt__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1369 return _IMP_kernel.ParticleIndexesKey___gt__(self, *args)
1371 def __ge__(self, *args):
1372 """__ge__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1373 return _IMP_kernel.ParticleIndexesKey___ge__(self, *args)
1375 def __le__(self, *args):
1376 """__le__(ParticleIndexesKey self, ParticleIndexesKey o) -> bool"""
1377 return _IMP_kernel.ParticleIndexesKey___le__(self, *args)
1380 """__hash__(ParticleIndexesKey self) -> std::size_t"""
1381 return _IMP_kernel.ParticleIndexesKey___hash__(self)
1383 def show(self, *args):
1385 show(ParticleIndexesKey self, _ostream out=std::cout)
1386 show(ParticleIndexesKey self)
1388 return _IMP_kernel.ParticleIndexesKey_show(self, *args)
1390 def add_alias(*args):
1391 """add_alias(ParticleIndexesKey old_key, std::string new_name) -> ParticleIndexesKey"""
1392 return _IMP_kernel.ParticleIndexesKey_add_alias(*args)
1394 if _newclass:add_alias = staticmethod(add_alias)
1395 __swig_getmethods__[
"add_alias"] =
lambda x: add_alias
1397 """get_index(ParticleIndexesKey self) -> unsigned int"""
1398 return _IMP_kernel.ParticleIndexesKey_get_index(self)
1400 def show_all(*args):
1401 """show_all(_ostream out)"""
1402 return _IMP_kernel.ParticleIndexesKey_show_all(*args)
1404 if _newclass:show_all = staticmethod(show_all)
1405 __swig_getmethods__[
"show_all"] =
lambda x: show_all
1406 def get_all_strings():
1407 """get_all_strings() -> IMP::base::Vector< std::string >"""
1408 return _IMP_kernel.ParticleIndexesKey_get_all_strings()
1410 if _newclass:get_all_strings = staticmethod(get_all_strings)
1411 __swig_getmethods__[
"get_all_strings"] =
lambda x: get_all_strings
1412 def get_number_unique():
1413 """get_number_unique() -> unsigned int"""
1414 return _IMP_kernel.ParticleIndexesKey_get_number_unique()
1416 if _newclass:get_number_unique = staticmethod(get_number_unique)
1417 __swig_getmethods__[
"get_number_unique"] =
lambda x: get_number_unique
1419 """__str__(ParticleIndexesKey self) -> std::string"""
1420 return _IMP_kernel.ParticleIndexesKey___str__(self)
1423 """__repr__(ParticleIndexesKey self) -> std::string"""
1424 return _IMP_kernel.ParticleIndexesKey___repr__(self)
1426 __swig_destroy__ = _IMP_kernel.delete_ParticleIndexesKey
1427 __del__ =
lambda self :
None;
1428 ParticleIndexesKey_swigregister = _IMP_kernel.ParticleIndexesKey_swigregister
1429 ParticleIndexesKey_swigregister(ParticleIndexesKey)
1431 def ParticleIndexesKey_add_key(*args):
1432 """ParticleIndexesKey_add_key(std::string sc) -> unsigned int"""
1433 return _IMP_kernel.ParticleIndexesKey_add_key(*args)
1435 def ParticleIndexesKey_get_key_exists(*args):
1436 """ParticleIndexesKey_get_key_exists(std::string sc) -> bool"""
1437 return _IMP_kernel.ParticleIndexesKey_get_key_exists(*args)
1439 def ParticleIndexesKey_add_alias(*args):
1440 """ParticleIndexesKey_add_alias(ParticleIndexesKey old_key, std::string new_name) -> ParticleIndexesKey"""
1441 return _IMP_kernel.ParticleIndexesKey_add_alias(*args)
1443 def ParticleIndexesKey_show_all(*args):
1444 """ParticleIndexesKey_show_all(_ostream out)"""
1445 return _IMP_kernel.ParticleIndexesKey_show_all(*args)
1447 def ParticleIndexesKey_get_all_strings():
1448 """ParticleIndexesKey_get_all_strings() -> IMP::base::Vector< std::string >"""
1449 return _IMP_kernel.ParticleIndexesKey_get_all_strings()
1451 def ParticleIndexesKey_get_number_unique():
1452 """ParticleIndexesKey_get_number_unique() -> unsigned int"""
1453 return _IMP_kernel.ParticleIndexesKey_get_number_unique()
1456 """Proxy of C++ IMP::base::Index<(IMP::ParticleIndexTag)> class"""
1457 __swig_setmethods__ = {}
1458 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1459 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleIndex, name, value)
1460 __swig_getmethods__ = {}
1461 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1462 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleIndex, name)
1463 def __init__(self, *args):
1465 __init__(IMP::base::Index<(IMP::ParticleIndexTag)> self, int i) -> ParticleIndex
1466 __init__(IMP::base::Index<(IMP::ParticleIndexTag)> self) -> ParticleIndex
1468 this = _IMP_kernel.new_ParticleIndex(*args)
1469 try: self.this.append(this)
1470 except: self.this = this
1472 """get_index(ParticleIndex self) -> int"""
1473 return _IMP_kernel.ParticleIndex_get_index(self)
1475 def __eq__(self, *args):
1476 """__eq__(ParticleIndex self, ParticleIndex o) -> bool"""
1477 return _IMP_kernel.ParticleIndex___eq__(self, *args)
1479 def __ne__(self, *args):
1480 """__ne__(ParticleIndex self, ParticleIndex o) -> bool"""
1481 return _IMP_kernel.ParticleIndex___ne__(self, *args)
1483 def __lt__(self, *args):
1484 """__lt__(ParticleIndex self, ParticleIndex o) -> bool"""
1485 return _IMP_kernel.ParticleIndex___lt__(self, *args)
1487 def __gt__(self, *args):
1488 """__gt__(ParticleIndex self, ParticleIndex o) -> bool"""
1489 return _IMP_kernel.ParticleIndex___gt__(self, *args)
1491 def __ge__(self, *args):
1492 """__ge__(ParticleIndex self, ParticleIndex o) -> bool"""
1493 return _IMP_kernel.ParticleIndex___ge__(self, *args)
1495 def __le__(self, *args):
1496 """__le__(ParticleIndex self, ParticleIndex o) -> bool"""
1497 return _IMP_kernel.ParticleIndex___le__(self, *args)
1499 def show(self, *args):
1501 show(ParticleIndex self, _ostream out=std::cout)
1502 show(ParticleIndex self)
1504 return _IMP_kernel.ParticleIndex_show(self, *args)
1507 """__hash__(ParticleIndex self) -> std::size_t"""
1508 return _IMP_kernel.ParticleIndex___hash__(self)
1511 """__str__(ParticleIndex self) -> std::string"""
1512 return _IMP_kernel.ParticleIndex___str__(self)
1515 """__repr__(ParticleIndex self) -> std::string"""
1516 return _IMP_kernel.ParticleIndex___repr__(self)
1518 __swig_destroy__ = _IMP_kernel.delete_ParticleIndex
1519 __del__ =
lambda self :
None;
1520 ParticleIndex_swigregister = _IMP_kernel.ParticleIndex_swigregister
1521 ParticleIndex_swigregister(ParticleIndex)
1531 """Proxy of C++ IMP::kernel::FloatIndex class"""
1532 __swig_setmethods__ = {}
1533 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1534 __setattr__ =
lambda self, name, value: _swig_setattr(self, FloatIndex, name, value)
1535 __swig_getmethods__ = {}
1536 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1537 __getattr__ =
lambda self, name: _swig_getattr(self, FloatIndex, name)
1538 def __init__(self, *args):
1540 __init__(IMP::kernel::FloatIndex self, ParticleIndex i0=ParticleIndex(), FloatKey i1=FloatKey()) -> FloatIndex
1541 __init__(IMP::kernel::FloatIndex self, ParticleIndex i0=ParticleIndex()) -> FloatIndex
1542 __init__(IMP::kernel::FloatIndex self) -> FloatIndex
1544 this = _IMP_kernel.new_FloatIndex(*args)
1545 try: self.this.append(this)
1546 except: self.this = this
1548 """__hash__(FloatIndex self) -> std::size_t"""
1549 return _IMP_kernel.FloatIndex___hash__(self)
1551 def show(self, *args):
1553 show(FloatIndex self, _ostream out=std::cout)
1554 show(FloatIndex self)
1556 return _IMP_kernel.FloatIndex_show(self, *args)
1558 def __eq__(self, *args):
1559 """__eq__(FloatIndex self, FloatIndex o) -> bool"""
1560 return _IMP_kernel.FloatIndex___eq__(self, *args)
1562 def __ne__(self, *args):
1563 """__ne__(FloatIndex self, FloatIndex o) -> bool"""
1564 return _IMP_kernel.FloatIndex___ne__(self, *args)
1566 def __lt__(self, *args):
1567 """__lt__(FloatIndex self, FloatIndex o) -> bool"""
1568 return _IMP_kernel.FloatIndex___lt__(self, *args)
1570 def __gt__(self, *args):
1571 """__gt__(FloatIndex self, FloatIndex o) -> bool"""
1572 return _IMP_kernel.FloatIndex___gt__(self, *args)
1574 def __ge__(self, *args):
1575 """__ge__(FloatIndex self, FloatIndex o) -> bool"""
1576 return _IMP_kernel.FloatIndex___ge__(self, *args)
1578 def __le__(self, *args):
1579 """__le__(FloatIndex self, FloatIndex o) -> bool"""
1580 return _IMP_kernel.FloatIndex___le__(self, *args)
1582 def get_particle(self):
1583 """get_particle(FloatIndex self) -> ParticleIndex const &"""
1584 return _IMP_kernel.FloatIndex_get_particle(self)
1586 def set_particle(self, *args):
1587 """set_particle(FloatIndex self, ParticleIndex const & v)"""
1588 return _IMP_kernel.FloatIndex_set_particle(self, *args)
1591 """get_key(FloatIndex self) -> FloatKey const &"""
1592 return _IMP_kernel.FloatIndex_get_key(self)
1594 def set_key(self, *args):
1595 """set_key(FloatIndex self, FloatKey const & v)"""
1596 return _IMP_kernel.FloatIndex_set_key(self, *args)
1599 """__str__(FloatIndex self) -> std::string"""
1600 return _IMP_kernel.FloatIndex___str__(self)
1603 """__repr__(FloatIndex self) -> std::string"""
1604 return _IMP_kernel.FloatIndex___repr__(self)
1606 __swig_destroy__ = _IMP_kernel.delete_FloatIndex
1607 __del__ =
lambda self :
None;
1608 FloatIndex_swigregister = _IMP_kernel.FloatIndex_swigregister
1609 FloatIndex_swigregister(FloatIndex)
1611 class _ParticleIndexTag(_object):
1612 """Proxy of C++ IMP::kernel::ParticleIndexTag class"""
1613 __swig_setmethods__ = {}
1614 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleIndexTag, name, value)
1615 __swig_getmethods__ = {}
1616 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleIndexTag, name)
1617 __repr__ = _swig_repr
1619 """__init__(IMP::kernel::ParticleIndexTag self) -> _ParticleIndexTag"""
1620 this = _IMP_kernel.new__ParticleIndexTag()
1621 try: self.this.append(this)
1622 except: self.this = this
1623 __swig_destroy__ = _IMP_kernel.delete__ParticleIndexTag
1624 __del__ =
lambda self :
None;
1625 _ParticleIndexTag_swigregister = _IMP_kernel._ParticleIndexTag_swigregister
1626 _ParticleIndexTag_swigregister(_ParticleIndexTag)
1629 """Proxy of C++ IMP::kernel::ModelObject class"""
1630 __swig_setmethods__ = {}
1631 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1632 __setattr__ =
lambda self, name, value: _swig_setattr(self, ModelObject, name, value)
1633 __swig_getmethods__ = {}
1634 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1635 __getattr__ =
lambda self, name: _swig_getattr(self, ModelObject, name)
1636 def __init__(self, *args):
1637 """__init__(IMP::kernel::ModelObject self, Model m, std::string name) -> ModelObject"""
1638 if self.__class__ == ModelObject:
1642 this = _IMP_kernel.new_ModelObject(_self, *args)
1643 try: self.this.append(this)
1644 except: self.this = this
1645 if self.__class__ != ModelObject:
1647 IMP.base._director_objects.register(self)
1651 __swig_destroy__ = _IMP_kernel.delete_ModelObject
1652 __del__ =
lambda self :
None;
1653 def get_model(self):
1654 """get_model(ModelObject self) -> Model"""
1655 return _IMP_kernel.ModelObject_get_model(self)
1657 def get_inputs(self):
1658 """get_inputs(ModelObject self) -> IMP::kernel::ModelObjectsTemp"""
1659 return _IMP_kernel.ModelObject_get_inputs(self)
1661 def get_outputs(self):
1662 """get_outputs(ModelObject self) -> IMP::kernel::ModelObjectsTemp"""
1663 return _IMP_kernel.ModelObject_get_outputs(self)
1665 def get_interactions(self):
1666 """get_interactions(ModelObject self) -> IMP::kernel::ModelObjectsTemps"""
1667 return _IMP_kernel.ModelObject_get_interactions(self)
1669 def get_has_dependencies(self):
1670 """get_has_dependencies(ModelObject self) -> bool"""
1671 return _IMP_kernel.ModelObject_get_has_dependencies(self)
1673 def set_has_dependencies(self, *args):
1674 """set_has_dependencies(ModelObject self, bool tf)"""
1675 return _IMP_kernel.ModelObject_set_has_dependencies(self, *args)
1677 def set_has_required_score_states(self, *args):
1678 """set_has_required_score_states(ModelObject self, bool tf)"""
1679 return _IMP_kernel.ModelObject_set_has_required_score_states(self, *args)
1681 def get_has_required_score_states(self):
1682 """get_has_required_score_states(ModelObject self) -> bool"""
1683 return _IMP_kernel.ModelObject_get_has_required_score_states(self)
1686 """get_required_score_states(ModelObject self) -> IMP::kernel::ScoreStatesTemp const &"""
1687 return _IMP_kernel.ModelObject_get_required_score_states(self)
1689 def handle_set_has_required_score_states(self, *args):
1690 """handle_set_has_required_score_states(ModelObject self, bool arg0)"""
1691 return _IMP_kernel.ModelObject_handle_set_has_required_score_states(self, *args)
1693 def do_get_inputs(self):
1694 """do_get_inputs(ModelObject self) -> IMP::kernel::ModelObjectsTemp"""
1695 return _IMP_kernel.ModelObject_do_get_inputs(self)
1697 def do_get_outputs(self):
1698 """do_get_outputs(ModelObject self) -> IMP::kernel::ModelObjectsTemp"""
1699 return _IMP_kernel.ModelObject_do_get_outputs(self)
1701 def do_get_interactions(self):
1702 """do_get_interactions(ModelObject self) -> IMP::kernel::ModelObjectsTemps"""
1703 return _IMP_kernel.ModelObject_do_get_interactions(self)
1706 """__str__(ModelObject self) -> std::string"""
1707 return _IMP_kernel.ModelObject___str__(self)
1710 """__repr__(ModelObject self) -> std::string"""
1711 return _IMP_kernel.ModelObject___repr__(self)
1714 return _object_cast_to_ModelObject(o)
1715 get_from = staticmethod(get_from)
1717 def get_type_name(self):
1718 return self.__class__.__name__
1719 def do_show(self, out):
1721 def get_version_info(self):
1722 if"IMP::kernel" ==
"IMP":
1723 return VersionInfo(
"python",
"0")
1725 return IMP.VersionInfo(
"python",
"0")
1727 return _object_cast_to_ModelObject(o)
1728 get_from = staticmethod(get_from)
1730 def __disown__(self):
1732 _IMP_kernel.disown_ModelObject(self)
1733 return weakref_proxy(self)
1734 ModelObject_swigregister = _IMP_kernel.ModelObject_swigregister
1735 ModelObject_swigregister(ModelObject)
1736 cvar = _IMP_kernel.cvar
1737 NO_MAX = cvar.NO_MAX
1738 BAD_SCORE = cvar.BAD_SCORE
1740 class _ParticleInputs(_object):
1741 """Proxy of C++ IMP::kernel::ParticleInputs class"""
1742 __swig_setmethods__ = {}
1743 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleInputs, name, value)
1744 __swig_getmethods__ = {}
1745 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleInputs, name)
1746 __repr__ = _swig_repr
1747 def get_inputs(self, *args):
1748 """get_inputs(_ParticleInputs self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
1749 return _IMP_kernel._ParticleInputs_get_inputs(self, *args)
1752 """get_input_containers(_ParticleInputs self, Particle p) -> IMP::kernel::ContainersTemp"""
1753 return _IMP_kernel._ParticleInputs_get_input_containers(self, *args)
1756 """get_input_particles(_ParticleInputs self, Particle p) -> IMP::kernel::ParticlesTemp"""
1757 return _IMP_kernel._ParticleInputs_get_input_particles(self, *args)
1760 """__init__(IMP::kernel::ParticleInputs self) -> _ParticleInputs"""
1761 this = _IMP_kernel.new__ParticleInputs()
1762 try: self.this.append(this)
1763 except: self.this = this
1764 _ParticleInputs_swigregister = _IMP_kernel._ParticleInputs_swigregister
1765 _ParticleInputs_swigregister(_ParticleInputs)
1767 class _ParticleOutputs(_object):
1768 """Proxy of C++ IMP::kernel::ParticleOutputs class"""
1769 __swig_setmethods__ = {}
1770 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleOutputs, name, value)
1771 __swig_getmethods__ = {}
1772 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleOutputs, name)
1773 __repr__ = _swig_repr
1774 def get_outputs(self, *args):
1775 """get_outputs(_ParticleOutputs self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
1776 return _IMP_kernel._ParticleOutputs_get_outputs(self, *args)
1779 """get_output_containers(_ParticleOutputs self, Particle p) -> IMP::kernel::ContainersTemp"""
1780 return _IMP_kernel._ParticleOutputs_get_output_containers(self, *args)
1783 """get_output_particles(_ParticleOutputs self, Particle p) -> IMP::kernel::ParticlesTemp"""
1784 return _IMP_kernel._ParticleOutputs_get_output_particles(self, *args)
1787 """__init__(IMP::kernel::ParticleOutputs self) -> _ParticleOutputs"""
1788 this = _IMP_kernel.new__ParticleOutputs()
1789 try: self.this.append(this)
1790 except: self.this = this
1791 _ParticleOutputs_swigregister = _IMP_kernel._ParticleOutputs_swigregister
1792 _ParticleOutputs_swigregister(_ParticleOutputs)
1796 """get_input_particles(IMP::kernel::ModelObjectsTemp const & mos) -> IMP::kernel::ParticlesTemp"""
1797 return _IMP_kernel.get_input_particles(*args)
1800 """get_input_containers(IMP::kernel::ModelObjectsTemp const & mos) -> IMP::kernel::ContainersTemp"""
1801 return _IMP_kernel.get_input_containers(*args)
1804 """get_output_particles(IMP::kernel::ModelObjectsTemp const & mos) -> IMP::kernel::ParticlesTemp"""
1805 return _IMP_kernel.get_output_particles(*args)
1808 """get_output_containers(IMP::kernel::ModelObjectsTemp const & mos) -> IMP::kernel::ContainersTemp"""
1809 return _IMP_kernel.get_output_containers(*args)
1811 """Proxy of C++ IMP::kernel::DerivativeAccumulator class"""
1812 __swig_setmethods__ = {}
1813 __setattr__ =
lambda self, name, value: _swig_setattr(self, DerivativeAccumulator, name, value)
1814 __swig_getmethods__ = {}
1815 __getattr__ =
lambda self, name: _swig_getattr(self, DerivativeAccumulator, name)
1816 __repr__ = _swig_repr
1817 def __init__(self, *args):
1819 __init__(IMP::kernel::DerivativeAccumulator self, double weight=1.0) -> DerivativeAccumulator
1820 __init__(IMP::kernel::DerivativeAccumulator self) -> DerivativeAccumulator
1821 __init__(IMP::kernel::DerivativeAccumulator self, DerivativeAccumulator copy, double weight) -> DerivativeAccumulator
1823 this = _IMP_kernel.new_DerivativeAccumulator(*args)
1824 try: self.this.append(this)
1825 except: self.this = this
1826 def __call__(self, *args):
1827 """__call__(DerivativeAccumulator self, double const value) -> double"""
1828 return _IMP_kernel.DerivativeAccumulator___call__(self, *args)
1830 def get_weight(self):
1831 """get_weight(DerivativeAccumulator self) -> double"""
1832 return _IMP_kernel.DerivativeAccumulator_get_weight(self)
1834 def show(self, *args):
1836 show(DerivativeAccumulator self, _ostream out=std::cout)
1837 show(DerivativeAccumulator self)
1839 return _IMP_kernel.DerivativeAccumulator_show(self, *args)
1841 __swig_destroy__ = _IMP_kernel.delete_DerivativeAccumulator
1842 __del__ =
lambda self :
None;
1843 DerivativeAccumulator_swigregister = _IMP_kernel.DerivativeAccumulator_swigregister
1844 DerivativeAccumulator_swigregister(DerivativeAccumulator)
1847 """Proxy of C++ IMP::kernel::EvaluationState class"""
1848 __swig_setmethods__ = {}
1849 __setattr__ =
lambda self, name, value: _swig_setattr(self, EvaluationState, name, value)
1850 __swig_getmethods__ = {}
1851 __getattr__ =
lambda self, name: _swig_getattr(self, EvaluationState, name)
1852 __swig_setmethods__[
"score"] = _IMP_kernel.EvaluationState_score_set
1853 __swig_getmethods__[
"score"] = _IMP_kernel.EvaluationState_score_get
1854 if _newclass:score = _swig_property(_IMP_kernel.EvaluationState_score_get, _IMP_kernel.EvaluationState_score_set)
1855 __swig_setmethods__[
"good"] = _IMP_kernel.EvaluationState_good_set
1856 __swig_getmethods__[
"good"] = _IMP_kernel.EvaluationState_good_get
1857 if _newclass:good = _swig_property(_IMP_kernel.EvaluationState_good_get, _IMP_kernel.EvaluationState_good_set)
1858 def __init__(self, *args):
1860 __init__(IMP::kernel::EvaluationState self, double oscore, bool ogood) -> EvaluationState
1861 __init__(IMP::kernel::EvaluationState self) -> EvaluationState
1863 this = _IMP_kernel.new_EvaluationState(*args)
1864 try: self.this.append(this)
1865 except: self.this = this
1866 def show(self, *args):
1868 show(EvaluationState self, _ostream out=std::cout)
1869 show(EvaluationState self)
1871 return _IMP_kernel.EvaluationState_show(self, *args)
1874 """__str__(EvaluationState self) -> std::string"""
1875 return _IMP_kernel.EvaluationState___str__(self)
1878 """__repr__(EvaluationState self) -> std::string"""
1879 return _IMP_kernel.EvaluationState___repr__(self)
1881 __swig_destroy__ = _IMP_kernel.delete_EvaluationState
1882 __del__ =
lambda self :
None;
1883 EvaluationState_swigregister = _IMP_kernel.EvaluationState_swigregister
1884 EvaluationState_swigregister(EvaluationState)
1887 """Proxy of C++ IMP::kernel::ScoreAccumulator class"""
1888 __swig_setmethods__ = {}
1889 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1890 __setattr__ =
lambda self, name, value: _swig_setattr(self, ScoreAccumulator, name, value)
1891 __swig_getmethods__ = {}
1892 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1893 __getattr__ =
lambda self, name: _swig_getattr(self, ScoreAccumulator, name)
1894 def __init__(self, *args):
1896 __init__(IMP::kernel::ScoreAccumulator self) -> ScoreAccumulator
1897 __init__(IMP::kernel::ScoreAccumulator self, ScoreAccumulator o, Restraint r) -> ScoreAccumulator
1898 __init__(IMP::kernel::ScoreAccumulator self, ScoreAccumulator o, double weight, double local_max) -> ScoreAccumulator
1900 this = _IMP_kernel.new_ScoreAccumulator(*args)
1901 try: self.this.append(this)
1902 except: self.this = this
1903 def add_score(self, *args):
1904 """add_score(ScoreAccumulator self, double score)"""
1905 return _IMP_kernel.ScoreAccumulator_add_score(self, *args)
1907 def get_abort_evaluation(self):
1908 """get_abort_evaluation(ScoreAccumulator self) -> bool"""
1909 return _IMP_kernel.ScoreAccumulator_get_abort_evaluation(self)
1911 def get_is_evaluate_if_below(self):
1912 """get_is_evaluate_if_below(ScoreAccumulator self) -> bool"""
1913 return _IMP_kernel.ScoreAccumulator_get_is_evaluate_if_below(self)
1915 def get_is_evaluate_if_good(self):
1916 """get_is_evaluate_if_good(ScoreAccumulator self) -> bool"""
1917 return _IMP_kernel.ScoreAccumulator_get_is_evaluate_if_good(self)
1919 def get_maximum(self):
1920 """get_maximum(ScoreAccumulator self) -> double"""
1921 return _IMP_kernel.ScoreAccumulator_get_maximum(self)
1923 def get_derivative_accumulator(self):
1924 """get_derivative_accumulator(ScoreAccumulator self) -> DerivativeAccumulator"""
1925 return _IMP_kernel.ScoreAccumulator_get_derivative_accumulator(self)
1927 def show(self, *args):
1929 show(ScoreAccumulator self, _ostream out=std::cout)
1930 show(ScoreAccumulator self)
1932 return _IMP_kernel.ScoreAccumulator_show(self, *args)
1935 """__str__(ScoreAccumulator self) -> std::string"""
1936 return _IMP_kernel.ScoreAccumulator___str__(self)
1939 """__repr__(ScoreAccumulator self) -> std::string"""
1940 return _IMP_kernel.ScoreAccumulator___repr__(self)
1942 __swig_destroy__ = _IMP_kernel.delete_ScoreAccumulator
1943 __del__ =
lambda self :
None;
1944 ScoreAccumulator_swigregister = _IMP_kernel.ScoreAccumulator_swigregister
1945 ScoreAccumulator_swigregister(ScoreAccumulator)
1948 """Proxy of C++ IMP::kernel::ScoreState class"""
1949 __swig_setmethods__ = {}
1950 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1951 __setattr__ =
lambda self, name, value: _swig_setattr(self, ScoreState, name, value)
1952 __swig_getmethods__ = {}
1953 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1954 __getattr__ =
lambda self, name: _swig_getattr(self, ScoreState, name)
1955 def __init__(self, *args):
1956 """__init__(IMP::kernel::ScoreState self, Model m, std::string name) -> ScoreState"""
1957 if self.__class__ == ScoreState:
1961 this = _IMP_kernel.new_ScoreState(_self, *args)
1962 try: self.this.append(this)
1963 except: self.this = this
1964 if self.__class__ != ScoreState:
1966 IMP.base._director_objects.register(self)
1970 def before_evaluate(self):
1971 """before_evaluate(ScoreState self)"""
1972 return _IMP_kernel.ScoreState_before_evaluate(self)
1974 def after_evaluate(self, *args):
1975 """after_evaluate(ScoreState self, DerivativeAccumulator accpt)"""
1976 return _IMP_kernel.ScoreState_after_evaluate(self, *args)
1978 def get_has_update_order(self):
1979 """get_has_update_order(ScoreState self) -> bool"""
1980 return _IMP_kernel.ScoreState_get_has_update_order(self)
1983 """get_update_order(ScoreState self) -> unsigned int"""
1984 return _IMP_kernel.ScoreState_get_update_order(self)
1986 def handle_set_has_required_score_states(self, *args):
1987 """handle_set_has_required_score_states(ScoreState self, bool tf)"""
1988 return _IMP_kernel.ScoreState_handle_set_has_required_score_states(self, *args)
1990 def do_before_evaluate(self):
1991 """do_before_evaluate(ScoreState self)"""
1992 return _IMP_kernel.ScoreState_do_before_evaluate(self)
1994 def do_after_evaluate(self, *args):
1995 """do_after_evaluate(ScoreState self, DerivativeAccumulator accpt)"""
1996 return _IMP_kernel.ScoreState_do_after_evaluate(self, *args)
1998 __swig_destroy__ = _IMP_kernel.delete_ScoreState
1999 __del__ =
lambda self :
None;
2001 """__str__(ScoreState self) -> std::string"""
2002 return _IMP_kernel.ScoreState___str__(self)
2005 """__repr__(ScoreState self) -> std::string"""
2006 return _IMP_kernel.ScoreState___repr__(self)
2009 return _object_cast_to_ScoreState(o)
2010 get_from = staticmethod(get_from)
2012 def get_type_name(self):
2013 return self.__class__.__name__
2014 def do_show(self, out):
2016 def get_version_info(self):
2017 if"IMP::kernel" ==
"IMP":
2018 return VersionInfo(
"python",
"0")
2020 return IMP.VersionInfo(
"python",
"0")
2022 return _object_cast_to_ScoreState(o)
2023 get_from = staticmethod(get_from)
2025 def __disown__(self):
2027 _IMP_kernel.disown_ScoreState(self)
2028 return weakref_proxy(self)
2029 def do_get_inputs(self):
2030 """do_get_inputs(ScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2031 return _IMP_kernel.ScoreState_do_get_inputs(self)
2033 def do_get_outputs(self):
2034 """do_get_outputs(ScoreState self) -> IMP::kernel::ModelObjectsTemp"""
2035 return _IMP_kernel.ScoreState_do_get_outputs(self)
2037 def do_get_interactions(self):
2038 """do_get_interactions(ScoreState self) -> IMP::kernel::ModelObjectsTemps"""
2039 return _IMP_kernel.ScoreState_do_get_interactions(self)
2041 ScoreState_swigregister = _IMP_kernel.ScoreState_swigregister
2042 ScoreState_swigregister(ScoreState)
2046 """get_update_order(IMP::kernel::ScoreStatesTemp input) -> IMP::kernel::ScoreStatesTemp"""
2047 return _IMP_kernel.get_update_order(*args)
2049 """Proxy of C++ IMP::kernel::Constraint class"""
2050 __swig_setmethods__ = {}
2051 for _s
in [ScoreState]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2052 __setattr__ =
lambda self, name, value: _swig_setattr(self, Constraint, name, value)
2053 __swig_getmethods__ = {}
2054 for _s
in [ScoreState]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2055 __getattr__ =
lambda self, name: _swig_getattr(self, Constraint, name)
2056 def __init__(self, *args):
2058 __init__(IMP::kernel::Constraint self, Model m, std::string name="Constraint %1%") -> Constraint
2059 __init__(IMP::kernel::Constraint self, Model m) -> Constraint
2061 if self.__class__ == Constraint:
2065 this = _IMP_kernel.new_Constraint(_self, *args)
2066 try: self.this.append(this)
2067 except: self.this = this
2068 if self.__class__ != Constraint:
2070 IMP.base._director_objects.register(self)
2074 def do_update_attributes(self):
2075 """do_update_attributes(Constraint self)"""
2076 return _IMP_kernel.Constraint_do_update_attributes(self)
2078 def do_update_derivatives(self, *args):
2079 """do_update_derivatives(Constraint self, DerivativeAccumulator da)"""
2080 return _IMP_kernel.Constraint_do_update_derivatives(self, *args)
2082 def do_before_evaluate(self):
2083 """do_before_evaluate(Constraint self)"""
2084 return _IMP_kernel.Constraint_do_before_evaluate(self)
2086 def do_after_evaluate(self, *args):
2087 """do_after_evaluate(Constraint self, DerivativeAccumulator da)"""
2088 return _IMP_kernel.Constraint_do_after_evaluate(self, *args)
2090 __swig_destroy__ = _IMP_kernel.delete_Constraint
2091 __del__ =
lambda self :
None;
2093 """__str__(Constraint self) -> std::string"""
2094 return _IMP_kernel.Constraint___str__(self)
2097 """__repr__(Constraint self) -> std::string"""
2098 return _IMP_kernel.Constraint___repr__(self)
2101 return _object_cast_to_Constraint(o)
2102 get_from = staticmethod(get_from)
2104 def get_type_name(self):
2105 return self.__class__.__name__
2106 def do_show(self, out):
2108 def get_version_info(self):
2109 if"IMP::kernel" ==
"IMP":
2110 return VersionInfo(
"python",
"0")
2112 return IMP.VersionInfo(
"python",
"0")
2114 return _object_cast_to_Constraint(o)
2115 get_from = staticmethod(get_from)
2117 def __disown__(self):
2119 _IMP_kernel.disown_Constraint(self)
2120 return weakref_proxy(self)
2121 def do_get_inputs(self):
2122 """do_get_inputs(Constraint self) -> IMP::kernel::ModelObjectsTemp"""
2123 return _IMP_kernel.Constraint_do_get_inputs(self)
2125 def do_get_outputs(self):
2126 """do_get_outputs(Constraint self) -> IMP::kernel::ModelObjectsTemp"""
2127 return _IMP_kernel.Constraint_do_get_outputs(self)
2129 def do_get_interactions(self):
2130 """do_get_interactions(Constraint self) -> IMP::kernel::ModelObjectsTemps"""
2131 return _IMP_kernel.Constraint_do_get_interactions(self)
2133 Constraint_swigregister = _IMP_kernel.Constraint_swigregister
2134 Constraint_swigregister(Constraint)
2137 """Proxy of C++ IMP::kernel::Container class"""
2138 __swig_setmethods__ = {}
2139 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2140 __setattr__ =
lambda self, name, value: _swig_setattr(self, Container, name, value)
2141 __swig_getmethods__ = {}
2142 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2143 __getattr__ =
lambda self, name: _swig_getattr(self, Container, name)
2144 def __init__(self, *args):
2146 __init__(IMP::kernel::Container self, Model m, std::string name="Container %1%") -> Container
2147 __init__(IMP::kernel::Container self, Model m) -> Container
2149 if self.__class__ == Container:
2153 this = _IMP_kernel.new_Container(_self, *args)
2154 try: self.this.append(this)
2155 except: self.this = this
2156 if self.__class__ != Container:
2158 IMP.base._director_objects.register(self)
2162 def do_get_contents_hash(self):
2163 """do_get_contents_hash(Container self) -> std::size_t"""
2164 return _IMP_kernel.Container_do_get_contents_hash(self)
2166 def get_all_possible_indexes(self):
2167 """get_all_possible_indexes(Container self) -> IMP::kernel::ParticleIndexes"""
2168 return _IMP_kernel.Container_get_all_possible_indexes(self)
2170 def get_contents_hash(self):
2171 """get_contents_hash(Container self) -> std::size_t"""
2172 return _IMP_kernel.Container_get_contents_hash(self)
2174 def do_get_outputs(self):
2175 """do_get_outputs(Container self) -> IMP::kernel::ModelObjectsTemp"""
2176 return _IMP_kernel.Container_do_get_outputs(self)
2178 def get_is_decomposable(self):
2179 """get_is_decomposable(Container self) -> bool"""
2180 return _IMP_kernel.Container_get_is_decomposable(self)
2182 def validate_readable(self):
2183 """validate_readable(Container self)"""
2184 return _IMP_kernel.Container_validate_readable(self)
2186 def validate_writable(self):
2187 """validate_writable(Container self)"""
2188 return _IMP_kernel.Container_validate_writable(self)
2190 def set_is_readable(self, *args):
2191 """set_is_readable(Container self, bool tf)"""
2192 return _IMP_kernel.Container_set_is_readable(self, *args)
2194 def set_is_writable(self, *args):
2195 """set_is_writable(Container self, bool tf)"""
2196 return _IMP_kernel.Container_set_is_writable(self, *args)
2198 __swig_destroy__ = _IMP_kernel.delete_Container
2199 __del__ =
lambda self :
None;
2201 """__str__(Container self) -> std::string"""
2202 return _IMP_kernel.Container___str__(self)
2205 """__repr__(Container self) -> std::string"""
2206 return _IMP_kernel.Container___repr__(self)
2209 return _object_cast_to_Container(o)
2210 get_from = staticmethod(get_from)
2212 def get_type_name(self):
2213 return self.__class__.__name__
2214 def do_show(self, out):
2216 def get_version_info(self):
2217 if"IMP::kernel" ==
"IMP":
2218 return VersionInfo(
"python",
"0")
2220 return IMP.VersionInfo(
"python",
"0")
2222 return _object_cast_to_Container(o)
2223 get_from = staticmethod(get_from)
2225 def __disown__(self):
2227 _IMP_kernel.disown_Container(self)
2228 return weakref_proxy(self)
2229 def handle_set_has_required_score_states(self, *args):
2230 """handle_set_has_required_score_states(Container self, bool arg0)"""
2231 return _IMP_kernel.Container_handle_set_has_required_score_states(self, *args)
2233 def do_get_inputs(self):
2234 """do_get_inputs(Container self) -> IMP::kernel::ModelObjectsTemp"""
2235 return _IMP_kernel.Container_do_get_inputs(self)
2237 def do_get_interactions(self):
2238 """do_get_interactions(Container self) -> IMP::kernel::ModelObjectsTemps"""
2239 return _IMP_kernel.Container_do_get_interactions(self)
2241 Container_swigregister = _IMP_kernel.Container_swigregister
2242 Container_swigregister(Container)
2245 """Proxy of C++ IMP::kernel::Restraint class"""
2246 __swig_setmethods__ = {}
2247 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2248 __setattr__ =
lambda self, name, value: _swig_setattr(self, Restraint, name, value)
2249 __swig_getmethods__ = {}
2250 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2251 __getattr__ =
lambda self, name: _swig_getattr(self, Restraint, name)
2252 def __init__(self, *args):
2253 """__init__(IMP::kernel::Restraint self, Model m, std::string name) -> Restraint"""
2254 if self.__class__ == Restraint:
2258 this = _IMP_kernel.new_Restraint(_self, *args)
2259 try: self.this.append(this)
2260 except: self.this = this
2261 if self.__class__ != Restraint:
2263 IMP.base._director_objects.register(self)
2267 def get_score(self):
2268 """get_score(Restraint self) -> double"""
2269 return _IMP_kernel.Restraint_get_score(self)
2271 def evaluate(self, *args):
2272 """evaluate(Restraint self, bool calc_derivs) -> double"""
2273 return _IMP_kernel.Restraint_evaluate(self, *args)
2275 def evaluate_if_good(self, *args):
2276 """evaluate_if_good(Restraint self, bool calc_derivatives) -> double"""
2277 return _IMP_kernel.Restraint_evaluate_if_good(self, *args)
2279 def evaluate_if_below(self, *args):
2280 """evaluate_if_below(Restraint self, bool calc_derivatives, double max) -> double"""
2281 return _IMP_kernel.Restraint_evaluate_if_below(self, *args)
2283 def unprotected_evaluate(self, *args):
2284 """unprotected_evaluate(Restraint self, DerivativeAccumulator da) -> double"""
2285 return _IMP_kernel.Restraint_unprotected_evaluate(self, *args)
2287 def unprotected_evaluate_if_good(self, *args):
2288 """unprotected_evaluate_if_good(Restraint self, DerivativeAccumulator da, double max) -> double"""
2289 return _IMP_kernel.Restraint_unprotected_evaluate_if_good(self, *args)
2291 def unprotected_evaluate_if_below(self, *args):
2292 """unprotected_evaluate_if_below(Restraint self, DerivativeAccumulator da, double max) -> double"""
2293 return _IMP_kernel.Restraint_unprotected_evaluate_if_below(self, *args)
2295 def add_score_and_derivatives(self, *args):
2296 """add_score_and_derivatives(Restraint self, ScoreAccumulator sa)"""
2297 return _IMP_kernel.Restraint_add_score_and_derivatives(self, *args)
2300 """create_decomposition(Restraint self) -> Restraint"""
2301 return _IMP_kernel.Restraint_create_decomposition(self)
2303 def create_current_decomposition(self):
2304 """create_current_decomposition(Restraint self) -> Restraint"""
2305 return _IMP_kernel.Restraint_create_current_decomposition(self)
2307 def set_weight(self, *args):
2308 """set_weight(Restraint self, IMP::Float weight)"""
2309 return _IMP_kernel.Restraint_set_weight(self, *args)
2311 def get_weight(self):
2312 """get_weight(Restraint self) -> IMP::Float"""
2313 return _IMP_kernel.Restraint_get_weight(self)
2315 def get_maximum_score(self):
2316 """get_maximum_score(Restraint self) -> double"""
2317 return _IMP_kernel.Restraint_get_maximum_score(self)
2319 def set_maximum_score(self, *args):
2320 """set_maximum_score(Restraint self, double s)"""
2321 return _IMP_kernel.Restraint_set_maximum_score(self, *args)
2325 create_scoring_function(Restraint self, double weight=1.0, double max=NO_MAX) -> ScoringFunction
2326 create_scoring_function(Restraint self, double weight=1.0) -> ScoringFunction
2327 create_scoring_function(Restraint self) -> ScoringFunction
2329 return _IMP_kernel.Restraint_create_scoring_function(self, *args)
2331 def set_last_score(self, *args):
2332 """set_last_score(Restraint self, double s)"""
2333 return _IMP_kernel.Restraint_set_last_score(self, *args)
2335 def get_last_score(self):
2336 """get_last_score(Restraint self) -> double"""
2337 return _IMP_kernel.Restraint_get_last_score(self)
2339 def get_was_good(self):
2340 """get_was_good(Restraint self) -> bool"""
2341 return _IMP_kernel.Restraint_get_was_good(self)
2343 __swig_destroy__ = _IMP_kernel.delete_Restraint
2344 __del__ =
lambda self :
None;
2345 def do_create_decomposition(self):
2346 """do_create_decomposition(Restraint self) -> IMP::kernel::Restraints"""
2347 return _IMP_kernel.Restraint_do_create_decomposition(self)
2349 def do_create_current_decomposition(self):
2350 """do_create_current_decomposition(Restraint self) -> IMP::kernel::Restraints"""
2351 return _IMP_kernel.Restraint_do_create_current_decomposition(self)
2353 def do_add_score_and_derivatives(self, *args):
2354 """do_add_score_and_derivatives(Restraint self, ScoreAccumulator sa)"""
2355 return _IMP_kernel.Restraint_do_add_score_and_derivatives(self, *args)
2357 def do_get_outputs(self):
2358 """do_get_outputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
2359 return _IMP_kernel.Restraint_do_get_outputs(self)
2362 """__str__(Restraint self) -> std::string"""
2363 return _IMP_kernel.Restraint___str__(self)
2366 """__repr__(Restraint self) -> std::string"""
2367 return _IMP_kernel.Restraint___repr__(self)
2370 return _object_cast_to_Restraint(o)
2371 get_from = staticmethod(get_from)
2373 def get_type_name(self):
2374 return self.__class__.__name__
2375 def do_show(self, out):
2377 def get_version_info(self):
2378 if"IMP::kernel" ==
"IMP":
2379 return VersionInfo(
"python",
"0")
2381 return IMP.VersionInfo(
"python",
"0")
2383 return _object_cast_to_Restraint(o)
2384 get_from = staticmethod(get_from)
2386 def __disown__(self):
2388 _IMP_kernel.disown_Restraint(self)
2389 return weakref_proxy(self)
2390 def handle_set_has_required_score_states(self, *args):
2391 """handle_set_has_required_score_states(Restraint self, bool arg0)"""
2392 return _IMP_kernel.Restraint_handle_set_has_required_score_states(self, *args)
2394 def do_get_inputs(self):
2395 """do_get_inputs(Restraint self) -> IMP::kernel::ModelObjectsTemp"""
2396 return _IMP_kernel.Restraint_do_get_inputs(self)
2398 def do_get_interactions(self):
2399 """do_get_interactions(Restraint self) -> IMP::kernel::ModelObjectsTemps"""
2400 return _IMP_kernel.Restraint_do_get_interactions(self)
2402 Restraint_swigregister = _IMP_kernel.Restraint_swigregister
2403 Restraint_swigregister(Restraint)
2405 class _RestraintsAdaptor(IMP.base._InputAdaptor):
2406 """Proxy of C++ IMP::kernel::RestraintsAdaptor class"""
2407 __swig_setmethods__ = {}
2408 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2409 __setattr__ =
lambda self, name, value: _swig_setattr(self, _RestraintsAdaptor, name, value)
2410 __swig_getmethods__ = {}
2411 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2412 __getattr__ =
lambda self, name: _swig_getattr(self, _RestraintsAdaptor, name)
2413 __repr__ = _swig_repr
2414 def __init__(self, *args):
2416 __init__(IMP::kernel::RestraintsAdaptor self) -> _RestraintsAdaptor
2417 __init__(IMP::kernel::RestraintsAdaptor self, IMP::kernel::Restraints const & sf) -> _RestraintsAdaptor
2418 __init__(IMP::kernel::RestraintsAdaptor self, IMP::kernel::RestraintsTemp const & sf) -> _RestraintsAdaptor
2419 __init__(IMP::kernel::RestraintsAdaptor self, Restraint sf) -> _RestraintsAdaptor
2420 __init__(IMP::kernel::RestraintsAdaptor self, Model sf) -> _RestraintsAdaptor
2421 __init__(IMP::kernel::RestraintsAdaptor self, IMP::kernel::ModelsTemp const & sf) -> _RestraintsAdaptor
2423 this = _IMP_kernel.new__RestraintsAdaptor(*args)
2424 try: self.this.append(this)
2425 except: self.this = this
2426 __swig_destroy__ = _IMP_kernel.delete__RestraintsAdaptor
2427 __del__ =
lambda self :
None;
2428 _RestraintsAdaptor_swigregister = _IMP_kernel._RestraintsAdaptor_swigregister
2429 _RestraintsAdaptor_swigregister(_RestraintsAdaptor)
2432 """Proxy of C++ IMP::kernel::RestraintSet class"""
2433 __swig_setmethods__ = {}
2434 for _s
in [Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2435 __setattr__ =
lambda self, name, value: _swig_setattr(self, RestraintSet, name, value)
2436 __swig_getmethods__ = {}
2437 for _s
in [Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2438 __getattr__ =
lambda self, name: _swig_getattr(self, RestraintSet, name)
2439 def __init__(self, *args):
2441 __init__(IMP::kernel::RestraintSet self, Model m, double weight, std::string const & name="RestraintSet %1%") -> RestraintSet
2442 __init__(IMP::kernel::RestraintSet self, Model m, double weight) -> RestraintSet
2443 __init__(IMP::kernel::RestraintSet self, Model m, std::string const & name="RestraintSet %1%") -> RestraintSet
2444 __init__(IMP::kernel::RestraintSet self, Model m) -> RestraintSet
2445 __init__(IMP::kernel::RestraintSet self, IMP::kernel::RestraintsTemp const & rs, double weight, std::string const & name="RestraintSet %1%") -> RestraintSet
2446 __init__(IMP::kernel::RestraintSet self, IMP::kernel::RestraintsTemp const & rs, double weight) -> RestraintSet
2448 this = _IMP_kernel.new_RestraintSet(*args)
2449 try: self.this.append(this)
2450 except: self.this = this
2451 def get_version_info(self):
2452 """get_version_info(RestraintSet self) -> VersionInfo"""
2453 return _IMP_kernel.RestraintSet_get_version_info(self)
2455 def remove_restraint(self, *args):
2456 """remove_restraint(RestraintSet self, Restraint d)"""
2457 return _IMP_kernel.RestraintSet_remove_restraint(self, *args)
2459 def remove_restraints(self, *args):
2460 """remove_restraints(RestraintSet self, IMP::kernel::Restraints const & d)"""
2461 return _IMP_kernel.RestraintSet_remove_restraints(self, *args)
2463 def set_restraints(self, *args):
2464 """set_restraints(RestraintSet self, IMP::kernel::Restraints const & ps)"""
2465 return _IMP_kernel.RestraintSet_set_restraints(self, *args)
2467 def set_restraints_order(self, *args):
2468 """set_restraints_order(RestraintSet self, IMP::kernel::Restraints const & objs)"""
2469 return _IMP_kernel.RestraintSet_set_restraints_order(self, *args)
2472 """add_restraint(RestraintSet self, Restraint obj) -> unsigned int"""
2473 return _IMP_kernel.RestraintSet_add_restraint(self, *args)
2476 """add_restraints(RestraintSet self, IMP::kernel::Restraints const & objs)"""
2477 return _IMP_kernel.RestraintSet_add_restraints(self, *args)
2479 def clear_restraints(self):
2480 """clear_restraints(RestraintSet self)"""
2481 return _IMP_kernel.RestraintSet_clear_restraints(self)
2483 def get_number_of_restraints(self):
2484 """get_number_of_restraints(RestraintSet self) -> unsigned int"""
2485 return _IMP_kernel.RestraintSet_get_number_of_restraints(self)
2487 def get_has_restraints(self):
2488 """get_has_restraints(RestraintSet self) -> bool"""
2489 return _IMP_kernel.RestraintSet_get_has_restraints(self)
2491 def get_restraint(self, *args):
2492 """get_restraint(RestraintSet self, unsigned int i) -> Restraint"""
2493 return _IMP_kernel.RestraintSet_get_restraint(self, *args)
2495 def get_restraints(self):
2496 """get_restraints(RestraintSet self) -> IMP::kernel::Restraints"""
2497 return _IMP_kernel.RestraintSet_get_restraints(self)
2499 def reserve_restraints(self, *args):
2500 """reserve_restraints(RestraintSet self, unsigned int sz)"""
2501 return _IMP_kernel.RestraintSet_reserve_restraints(self, *args)
2503 def get_non_sets_and_sets(self):
2504 """get_non_sets_and_sets(RestraintSet self) -> std::pair< IMP::kernel::RestraintsTemp,IMP::kernel::RestraintSetsTemp >"""
2505 return _IMP_kernel.RestraintSet_get_non_sets_and_sets(self)
2507 def do_get_inputs(self):
2508 """do_get_inputs(RestraintSet self) -> IMP::kernel::ModelObjectsTemp"""
2509 return _IMP_kernel.RestraintSet_do_get_inputs(self)
2513 create_scoring_function(RestraintSet self, double weight=1.0, double max=std::numeric_limits< double >::max()) -> ScoringFunction
2514 create_scoring_function(RestraintSet self, double weight=1.0) -> ScoringFunction
2515 create_scoring_function(RestraintSet self) -> ScoringFunction
2517 return _IMP_kernel.RestraintSet_create_scoring_function(self, *args)
2520 """__str__(RestraintSet self) -> std::string"""
2521 return _IMP_kernel.RestraintSet___str__(self)
2524 """__repr__(RestraintSet self) -> std::string"""
2525 return _IMP_kernel.RestraintSet___repr__(self)
2528 return _object_cast_to_RestraintSet(o)
2529 get_from = staticmethod(get_from)
2531 RestraintSet_swigregister = _IMP_kernel.RestraintSet_swigregister
2532 RestraintSet_swigregister(RestraintSet)
2535 def get_restraints(*args):
2536 """get_restraints(IMP::kernel::RestraintsTemp const & rs) -> IMP::kernel::RestraintsTemp"""
2537 return _IMP_kernel.get_restraints(*args)
2538 def _check_particle(p, a):
2539 if (
not p.get_is_active()):
2540 raise ValueError(
"Inactive Particle")
2541 if (type(a)() == a):
2542 raise IndexError(
"Cannot use default Index")
2543 if (
not p.has_attribute(a)):
2544 raise IndexError(
"Particle does not have attribute")
2547 """Proxy of C++ IMP::kernel::Particle class"""
2548 __swig_setmethods__ = {}
2549 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2550 __setattr__ =
lambda self, name, value: _swig_setattr(self, Particle, name, value)
2551 __swig_getmethods__ = {}
2552 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2553 __getattr__ =
lambda self, name: _swig_getattr(self, Particle, name)
2554 def get_version_info(self):
2555 """get_version_info(Particle self) -> VersionInfo"""
2556 return _IMP_kernel.Particle_get_version_info(self)
2558 def __init__(self, *args):
2560 __init__(IMP::kernel::Particle self, Model m, std::string name) -> Particle
2561 __init__(IMP::kernel::Particle self, Model m) -> Particle
2563 this = _IMP_kernel.new_Particle(*args)
2564 try: self.this.append(this)
2565 except: self.this = this
2566 def get_float_keys(self):
2567 """get_float_keys(Particle self) -> IMP::kernel::FloatKeys"""
2568 return _IMP_kernel.Particle_get_float_keys(self)
2570 def get_int_keys(self):
2571 """get_int_keys(Particle self) -> IMP::kernel::IntKeys"""
2572 return _IMP_kernel.Particle_get_int_keys(self)
2574 def get_string_keys(self):
2575 """get_string_keys(Particle self) -> IMP::kernel::StringKeys"""
2576 return _IMP_kernel.Particle_get_string_keys(self)
2578 def get_object_keys(self):
2579 """get_object_keys(Particle self) -> IMP::kernel::ObjectKeys"""
2580 return _IMP_kernel.Particle_get_object_keys(self)
2582 def add_cache_attribute(self, *args):
2584 add_cache_attribute(Particle self, FloatKey name, IMP::Float value)
2585 add_cache_attribute(Particle self, IntKey name, IMP::Int value)
2586 add_cache_attribute(Particle self, StringKey name, IMP::String value)
2587 add_cache_attribute(Particle self, ObjectKey name, Object * value)
2588 add_cache_attribute(Particle self, IMP::kernel::WeakObjectKey name, Object * value)
2590 return _IMP_kernel.Particle_add_cache_attribute(self, *args)
2592 def get_weak_object_keys(self):
2593 """get_weak_object_keys(Particle self) -> IMP::kernel::WeakObjectKeys"""
2594 return _IMP_kernel.Particle_get_weak_object_keys(self)
2596 def add_to_derivative(self, *args):
2597 """add_to_derivative(Particle self, FloatKey key, IMP::Float value, DerivativeAccumulator da)"""
2598 return _IMP_kernel.Particle_add_to_derivative(self, *args)
2600 def set_is_optimized(self, *args):
2601 """set_is_optimized(Particle self, FloatKey k, bool tf)"""
2602 return _IMP_kernel.Particle_set_is_optimized(self, *args)
2604 def get_is_optimized(self, *args):
2605 """get_is_optimized(Particle self, FloatKey k) -> bool"""
2606 return _IMP_kernel.Particle_get_is_optimized(self, *args)
2608 def get_derivative(self, *args):
2609 """get_derivative(Particle self, FloatKey name) -> IMP::Float"""
2610 return _IMP_kernel.Particle_get_derivative(self, *args)
2612 def add_attribute(self, *args):
2614 add_attribute(Particle self, FloatKey name, IMP::Float initial_value)
2615 add_attribute(Particle self, IntKey name, IMP::Int initial_value)
2616 add_attribute(Particle self, StringKey name, IMP::String initial_value)
2617 add_attribute(Particle self, ObjectKey name, Object * initial_value)
2618 add_attribute(Particle self, IMP::kernel::WeakObjectKey name, Object * initial_value)
2619 add_attribute(Particle self, FloatKey name, IMP::Float const initial_value, bool optimized)
2620 add_attribute(Particle self, ParticleIndexKey k, Particle v)
2622 return _IMP_kernel.Particle_add_attribute(self, *args)
2624 def has_attribute(self, *args):
2626 has_attribute(Particle self, FloatKey name) -> bool
2627 has_attribute(Particle self, IntKey name) -> bool
2628 has_attribute(Particle self, StringKey name) -> bool
2629 has_attribute(Particle self, ObjectKey name) -> bool
2630 has_attribute(Particle self, IMP::kernel::WeakObjectKey name) -> bool
2631 has_attribute(Particle self, ParticleIndexKey k) -> bool
2633 return _IMP_kernel.Particle_has_attribute(self, *args)
2635 def set_value(self, *args):
2637 set_value(Particle self, FloatKey name, IMP::Float value)
2638 set_value(Particle self, IntKey name, IMP::Int value)
2639 set_value(Particle self, StringKey name, IMP::String value)
2640 set_value(Particle self, ObjectKey name, Object * value)
2641 set_value(Particle self, IMP::kernel::WeakObjectKey name, Object * value)
2642 set_value(Particle self, ParticleIndexKey k, Particle v)
2644 return _IMP_kernel.Particle_set_value(self, *args)
2646 def get_value(self, *args):
2648 get_value(Particle self, FloatKey name) -> IMP::Float
2649 get_value(Particle self, IntKey name) -> IMP::Int
2650 get_value(Particle self, StringKey name) -> IMP::String
2651 get_value(Particle self, ObjectKey name) -> Object
2652 get_value(Particle self, IMP::kernel::WeakObjectKey name) -> Object
2653 get_value(Particle self, ParticleIndexKey k) -> Particle
2655 return _IMP_kernel.Particle_get_value(self, *args)
2657 def remove_attribute(self, *args):
2659 remove_attribute(Particle self, FloatKey name)
2660 remove_attribute(Particle self, IntKey name)
2661 remove_attribute(Particle self, StringKey name)
2662 remove_attribute(Particle self, ObjectKey name)
2663 remove_attribute(Particle self, IMP::kernel::WeakObjectKey name)
2664 remove_attribute(Particle self, ParticleIndexKey k)
2666 return _IMP_kernel.Particle_remove_attribute(self, *args)
2668 def get_particle_keys(self):
2669 """get_particle_keys(Particle self) -> IMP::kernel::ParticleIndexKeys"""
2670 return _IMP_kernel.Particle_get_particle_keys(self)
2672 def show(self, *args):
2674 show(Particle self, _ostream out=std::cout)
2677 return _IMP_kernel.Particle_show(self, *args)
2679 def get_is_active(self):
2680 """get_is_active(Particle self) -> bool"""
2681 return _IMP_kernel.Particle_get_is_active(self)
2684 """get_index(Particle self) -> IMP::kernel::ParticleIndex"""
2685 return _IMP_kernel.Particle_get_index(self)
2687 def __eq__(self, *args):
2689 __eq__(Particle self, Particle o) -> bool
2690 __eq__(Particle self, Decorator d) -> bool
2692 return _IMP_kernel.Particle___eq__(self, *args)
2694 def __ne__(self, *args):
2696 __ne__(Particle self, Particle o) -> bool
2697 __ne__(Particle self, Decorator d) -> bool
2699 return _IMP_kernel.Particle___ne__(self, *args)
2701 def __le__(self, *args):
2703 __le__(Particle self, Particle o) -> bool
2704 __le__(Particle self, Decorator d) -> bool
2706 return _IMP_kernel.Particle___le__(self, *args)
2708 def __lt__(self, *args):
2710 __lt__(Particle self, Particle o) -> bool
2711 __lt__(Particle self, Decorator d) -> bool
2713 return _IMP_kernel.Particle___lt__(self, *args)
2715 def __ge__(self, *args):
2717 __ge__(Particle self, Particle o) -> bool
2718 __ge__(Particle self, Decorator d) -> bool
2720 return _IMP_kernel.Particle___ge__(self, *args)
2722 def __gt__(self, *args):
2724 __gt__(Particle self, Particle o) -> bool
2725 __gt__(Particle self, Decorator d) -> bool
2727 return _IMP_kernel.Particle___gt__(self, *args)
2730 """__str__(Particle self) -> std::string"""
2731 return _IMP_kernel.Particle___str__(self)
2734 """__repr__(Particle self) -> std::string"""
2735 return _IMP_kernel.Particle___repr__(self)
2738 return _object_cast_to_Particle(o)
2739 get_from = staticmethod(get_from)
2741 Particle_swigregister = _IMP_kernel.Particle_swigregister
2742 Particle_swigregister(Particle)
2744 class _ParticleAdaptor(IMP.base._InputAdaptor):
2745 """Proxy of C++ IMP::kernel::ParticleAdaptor class"""
2746 __swig_setmethods__ = {}
2747 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2748 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleAdaptor, name, value)
2749 __swig_getmethods__ = {}
2750 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2751 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleAdaptor, name)
2752 __repr__ = _swig_repr
2753 def __init__(self, *args):
2755 __init__(IMP::kernel::ParticleAdaptor self) -> _ParticleAdaptor
2756 __init__(IMP::kernel::ParticleAdaptor self, Particle p) -> _ParticleAdaptor
2757 __init__(IMP::kernel::ParticleAdaptor self, Decorator d) -> _ParticleAdaptor
2759 this = _IMP_kernel.new__ParticleAdaptor(*args)
2760 try: self.this.append(this)
2761 except: self.this = this
2762 def get_model(self):
2763 """get_model(_ParticleAdaptor self) -> Model"""
2764 return _IMP_kernel._ParticleAdaptor_get_model(self)
2766 def get_particle_index(self):
2767 """get_particle_index(_ParticleAdaptor self) -> IMP::kernel::ParticleIndex"""
2768 return _IMP_kernel._ParticleAdaptor_get_particle_index(self)
2770 __swig_destroy__ = _IMP_kernel.delete__ParticleAdaptor
2771 __del__ =
lambda self :
None;
2772 _ParticleAdaptor_swigregister = _IMP_kernel._ParticleAdaptor_swigregister
2773 _ParticleAdaptor_swigregister(_ParticleAdaptor)
2775 class _DependencyGraphVertexIndex(_object):
2776 """Proxy of C++ IMP::kernel::DependencyGraphVertexIndex class"""
2777 __swig_setmethods__ = {}
2778 __setattr__ =
lambda self, name, value: _swig_setattr(self, _DependencyGraphVertexIndex, name, value)
2779 __swig_getmethods__ = {}
2780 __getattr__ =
lambda self, name: _swig_getattr(self, _DependencyGraphVertexIndex, name)
2781 __repr__ = _swig_repr
2783 """__init__(IMP::kernel::DependencyGraphVertexIndex self) -> _DependencyGraphVertexIndex"""
2784 this = _IMP_kernel.new__DependencyGraphVertexIndex()
2785 try: self.this.append(this)
2786 except: self.this = this
2787 __swig_destroy__ = _IMP_kernel.delete__DependencyGraphVertexIndex
2788 __del__ =
lambda self :
None;
2789 _DependencyGraphVertexIndex_swigregister = _IMP_kernel._DependencyGraphVertexIndex_swigregister
2790 _DependencyGraphVertexIndex_swigregister(_DependencyGraphVertexIndex)
2793 def show_as_graphviz(*args):
2794 """show_as_graphviz(IMP::kernel::DependencyGraph const & name, TextOutput out)"""
2795 return _IMP_kernel.show_as_graphviz(*args)
2797 def get_vertex_index(*args):
2798 """get_vertex_index(IMP::kernel::DependencyGraph const & g) -> _DependencyGraphVertexIndex"""
2799 return _IMP_kernel.get_vertex_index(*args)
2802 """get_dependency_graph(Model m) -> IMP::kernel::DependencyGraph"""
2803 return _IMP_kernel.get_dependency_graph(*args)
2806 """get_pruned_dependency_graph(Model m) -> IMP::kernel::DependencyGraph"""
2807 return _IMP_kernel.get_pruned_dependency_graph(*args)
2811 get_required_score_states(IMP::kernel::ModelObjectsTemp const & mos, IMP::kernel::ScoreStatesTemp exclude=IMP::kernel::ScoreStatesTemp()) -> IMP::kernel::ScoreStatesTemp
2812 get_required_score_states(IMP::kernel::ModelObjectsTemp const & mos) -> IMP::kernel::ScoreStatesTemp
2813 get_required_score_states(ModelObject p, IMP::kernel::ModelObjectsTemp const & all, IMP::kernel::DependencyGraph const & dg,
2814 _DependencyGraphVertexIndex index) -> IMP::kernel::ScoreStatesTemp
2816 return _IMP_kernel.get_required_score_states(*args)
2820 get_dependent_particles(ModelObject p, IMP::kernel::ModelObjectsTemp const & all, IMP::kernel::DependencyGraph const & dg,
2821 _DependencyGraphVertexIndex index) -> IMP::kernel::ParticlesTemp
2823 return _IMP_kernel.get_dependent_particles(*args)
2827 get_dependent_score_states(ModelObject p, IMP::kernel::ModelObjectsTemp const & all, IMP::kernel::DependencyGraph const & dg,
2828 _DependencyGraphVertexIndex index) -> IMP::kernel::ScoreStatesTemp
2830 return _IMP_kernel.get_dependent_score_states(*args)
2834 get_dependent_restraints(ModelObject p, IMP::kernel::ModelObjectsTemp const & all, IMP::kernel::DependencyGraph const & dg,
2835 _DependencyGraphVertexIndex index) -> IMP::kernel::RestraintsTemp
2836 get_dependent_restraints(Model m, IMP::kernel::ParticleIndex pi) -> IMP::kernel::RestraintsTemp
2838 return _IMP_kernel.get_dependent_restraints(*args)
2840 """Proxy of C++ IMP::kernel::ScoringFunction class"""
2841 __swig_setmethods__ = {}
2842 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2843 __setattr__ =
lambda self, name, value: _swig_setattr(self, ScoringFunction, name, value)
2844 __swig_getmethods__ = {}
2845 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2846 __getattr__ =
lambda self, name: _swig_getattr(self, ScoringFunction, name)
2847 def do_add_score_and_derivatives(self, *args):
2848 """do_add_score_and_derivatives(ScoringFunction self, ScoreAccumulator sa, IMP::kernel::ScoreStatesTemp const & ss)"""
2849 return _IMP_kernel.ScoringFunction_do_add_score_and_derivatives(self, *args)
2851 def get_score_accumulator_if_below(self, *args):
2852 """get_score_accumulator_if_below(ScoringFunction self, bool deriv, double max) -> ScoreAccumulator"""
2853 return _IMP_kernel.ScoringFunction_get_score_accumulator_if_below(self, *args)
2855 def get_score_accumulator_if_good(self, *args):
2856 """get_score_accumulator_if_good(ScoringFunction self, bool deriv) -> ScoreAccumulator"""
2857 return _IMP_kernel.ScoringFunction_get_score_accumulator_if_good(self, *args)
2859 def get_score_accumulator(self, *args):
2860 """get_score_accumulator(ScoringFunction self, bool deriv) -> ScoreAccumulator"""
2861 return _IMP_kernel.ScoringFunction_get_score_accumulator(self, *args)
2863 def __init__(self, *args):
2864 """__init__(IMP::kernel::ScoringFunction self, Model m, std::string name) -> ScoringFunction"""
2865 if self.__class__ == ScoringFunction:
2869 this = _IMP_kernel.new_ScoringFunction(_self, *args)
2870 try: self.this.append(this)
2871 except: self.this = this
2872 if self.__class__ != ScoringFunction:
2874 IMP.base._director_objects.register(self)
2878 def do_get_outputs(self):
2879 """do_get_outputs(ScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
2880 return _IMP_kernel.ScoringFunction_do_get_outputs(self)
2882 def evaluate_if_good(self, *args):
2883 """evaluate_if_good(ScoringFunction self, bool derivatives) -> double"""
2884 return _IMP_kernel.ScoringFunction_evaluate_if_good(self, *args)
2886 def evaluate(self, *args):
2887 """evaluate(ScoringFunction self, bool derivatives) -> double"""
2888 return _IMP_kernel.ScoringFunction_evaluate(self, *args)
2890 def evaluate_if_below(self, *args):
2891 """evaluate_if_below(ScoringFunction self, bool derivatives, double max) -> double"""
2892 return _IMP_kernel.ScoringFunction_evaluate_if_below(self, *args)
2894 def get_had_good_score(self):
2895 """get_had_good_score(ScoringFunction self) -> bool"""
2896 return _IMP_kernel.ScoringFunction_get_had_good_score(self)
2898 def get_last_score(self):
2899 """get_last_score(ScoringFunction self) -> double"""
2900 return _IMP_kernel.ScoringFunction_get_last_score(self)
2903 """create_restraints(ScoringFunction self) -> IMP::kernel::Restraints"""
2904 return _IMP_kernel.ScoringFunction_create_restraints(self)
2907 """__str__(ScoringFunction self) -> std::string"""
2908 return _IMP_kernel.ScoringFunction___str__(self)
2911 """__repr__(ScoringFunction self) -> std::string"""
2912 return _IMP_kernel.ScoringFunction___repr__(self)
2915 return _object_cast_to_ScoringFunction(o)
2916 get_from = staticmethod(get_from)
2918 def get_type_name(self):
2919 return self.__class__.__name__
2920 def do_show(self, out):
2922 def get_version_info(self):
2923 if"IMP::kernel" ==
"IMP":
2924 return VersionInfo(
"python",
"0")
2926 return IMP.VersionInfo(
"python",
"0")
2928 return _object_cast_to_ScoringFunction(o)
2929 get_from = staticmethod(get_from)
2931 __swig_destroy__ = _IMP_kernel.delete_ScoringFunction
2932 __del__ =
lambda self :
None;
2933 def __disown__(self):
2935 _IMP_kernel.disown_ScoringFunction(self)
2936 return weakref_proxy(self)
2937 def handle_set_has_required_score_states(self, *args):
2938 """handle_set_has_required_score_states(ScoringFunction self, bool arg0)"""
2939 return _IMP_kernel.ScoringFunction_handle_set_has_required_score_states(self, *args)
2941 def do_get_inputs(self):
2942 """do_get_inputs(ScoringFunction self) -> IMP::kernel::ModelObjectsTemp"""
2943 return _IMP_kernel.ScoringFunction_do_get_inputs(self)
2945 def do_get_interactions(self):
2946 """do_get_interactions(ScoringFunction self) -> IMP::kernel::ModelObjectsTemps"""
2947 return _IMP_kernel.ScoringFunction_do_get_interactions(self)
2949 ScoringFunction_swigregister = _IMP_kernel.ScoringFunction_swigregister
2950 ScoringFunction_swigregister(ScoringFunction)
2955 create_decomposition(IMP::kernel::RestraintsTemp const & rs) -> IMP::kernel::Restraints
2956 create_decomposition(ScoringFunction sf) -> IMP::kernel::ScoringFunctions
2958 return _IMP_kernel.create_decomposition(*args)
2959 class _ScoringFunctionAdaptor(IMP.base._InputAdaptor):
2960 """Proxy of C++ IMP::kernel::ScoringFunctionAdaptor class"""
2961 __swig_setmethods__ = {}
2962 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2963 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ScoringFunctionAdaptor, name, value)
2964 __swig_getmethods__ = {}
2965 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2966 __getattr__ =
lambda self, name: _swig_getattr(self, _ScoringFunctionAdaptor, name)
2967 __repr__ = _swig_repr
2968 def __init__(self, *args):
2970 __init__(IMP::kernel::ScoringFunctionAdaptor self) -> _ScoringFunctionAdaptor
2971 __init__(IMP::kernel::ScoringFunctionAdaptor self, ScoringFunction sf) -> _ScoringFunctionAdaptor
2972 __init__(IMP::kernel::ScoringFunctionAdaptor self, IMP::kernel::RestraintsTemp const & sf) -> _ScoringFunctionAdaptor
2973 __init__(IMP::kernel::ScoringFunctionAdaptor self, IMP::kernel::Restraints const & sf) -> _ScoringFunctionAdaptor
2974 __init__(IMP::kernel::ScoringFunctionAdaptor self, Restraint sf) -> _ScoringFunctionAdaptor
2975 __init__(IMP::kernel::ScoringFunctionAdaptor self, Model sf) -> _ScoringFunctionAdaptor
2977 this = _IMP_kernel.new__ScoringFunctionAdaptor(*args)
2978 try: self.this.append(this)
2979 except: self.this = this
2980 __swig_destroy__ = _IMP_kernel.delete__ScoringFunctionAdaptor
2981 __del__ =
lambda self :
None;
2982 _ScoringFunctionAdaptor_swigregister = _IMP_kernel._ScoringFunctionAdaptor_swigregister
2983 _ScoringFunctionAdaptor_swigregister(_ScoringFunctionAdaptor)
2988 show_restraint_hierarchy(_ScoringFunctionAdaptor rs, _ostream out=std::cout)
2989 show_restraint_hierarchy(_ScoringFunctionAdaptor rs)
2991 return _IMP_kernel.show_restraint_hierarchy(*args)
2993 """Proxy of C++ IMP::kernel::Undecorator class"""
2994 __swig_setmethods__ = {}
2995 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2996 __setattr__ =
lambda self, name, value: _swig_setattr(self, Undecorator, name, value)
2997 __swig_getmethods__ = {}
2998 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2999 __getattr__ =
lambda self, name: _swig_getattr(self, Undecorator, name)
3000 def __init__(self, *args):
3001 """__init__(IMP::kernel::Undecorator self, Model m, std::string name) -> Undecorator"""
3002 if self.__class__ == Undecorator:
3006 this = _IMP_kernel.new_Undecorator(_self, *args)
3007 try: self.this.append(this)
3008 except: self.this = this
3009 if self.__class__ != Undecorator:
3011 IMP.base._director_objects.register(self)
3015 def teardown(self, *args):
3016 """teardown(Undecorator self, IMP::kernel::ParticleIndex pi)"""
3017 return _IMP_kernel.Undecorator_teardown(self, *args)
3020 """__str__(Undecorator self) -> std::string"""
3021 return _IMP_kernel.Undecorator___str__(self)
3024 """__repr__(Undecorator self) -> std::string"""
3025 return _IMP_kernel.Undecorator___repr__(self)
3028 return _object_cast_to_Undecorator(o)
3029 get_from = staticmethod(get_from)
3031 def get_type_name(self):
3032 return self.__class__.__name__
3033 def do_show(self, out):
3035 def get_version_info(self):
3036 if"IMP::kernel" ==
"IMP":
3037 return VersionInfo(
"python",
"0")
3039 return IMP.VersionInfo(
"python",
"0")
3041 return _object_cast_to_Undecorator(o)
3042 get_from = staticmethod(get_from)
3044 __swig_destroy__ = _IMP_kernel.delete_Undecorator
3045 __del__ =
lambda self :
None;
3046 def __disown__(self):
3048 _IMP_kernel.disown_Undecorator(self)
3049 return weakref_proxy(self)
3050 Undecorator_swigregister = _IMP_kernel.Undecorator_swigregister
3051 Undecorator_swigregister(Undecorator)
3054 """Proxy of C++ IMP::kernel::Model class"""
3055 __swig_setmethods__ = {}
3056 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3057 __setattr__ =
lambda self, name, value: _swig_setattr(self, Model, name, value)
3058 __swig_getmethods__ = {}
3059 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3060 __getattr__ =
lambda self, name: _swig_getattr(self, Model, name)
3061 def __init__(self, name="Model %1%"):
3063 __init__(IMP::kernel::Model self, std::string name="Model %1%") -> Model
3064 __init__(IMP::kernel::Model self) -> Model
3066 this = _IMP_kernel.new_Model(name)
3067 try: self.this.append(this)
3068 except: self.this = this
3069 def clear_particle_caches(self, *args):
3070 """clear_particle_caches(Model self, IMP::kernel::ParticleIndex pi)"""
3071 return _IMP_kernel.Model_clear_particle_caches(self, *args)
3074 """add_particle(Model self, std::string name) -> IMP::kernel::ParticleIndex"""
3075 return _IMP_kernel.Model_add_particle(self, *args)
3077 def get_particle_name(self, *args):
3078 """get_particle_name(Model self, IMP::kernel::ParticleIndex pi) -> std::string"""
3079 return _IMP_kernel.Model_get_particle_name(self, *args)
3081 def add_undecorator(self, *args):
3082 """add_undecorator(Model self, IMP::kernel::ParticleIndex pi, Undecorator d)"""
3083 return _IMP_kernel.Model_add_undecorator(self, *args)
3085 def remove_score_state(self, *args):
3086 """remove_score_state(Model self, ScoreState d)"""
3087 return _IMP_kernel.Model_remove_score_state(self, *args)
3089 def remove_score_states(self, *args):
3090 """remove_score_states(Model self, IMP::kernel::ScoreStates const & d)"""
3091 return _IMP_kernel.Model_remove_score_states(self, *args)
3093 def set_score_states(self, *args):
3094 """set_score_states(Model self, IMP::kernel::ScoreStates const & ps)"""
3095 return _IMP_kernel.Model_set_score_states(self, *args)
3097 def set_score_states_order(self, *args):
3098 """set_score_states_order(Model self, IMP::kernel::ScoreStates const & objs)"""
3099 return _IMP_kernel.Model_set_score_states_order(self, *args)
3101 def add_score_state(self, *args):
3102 """add_score_state(Model self, ScoreState obj) -> unsigned int"""
3103 return _IMP_kernel.Model_add_score_state(self, *args)
3105 def add_score_states(self, *args):
3106 """add_score_states(Model self, IMP::kernel::ScoreStates const & objs)"""
3107 return _IMP_kernel.Model_add_score_states(self, *args)
3109 def clear_score_states(self):
3110 """clear_score_states(Model self)"""
3111 return _IMP_kernel.Model_clear_score_states(self)
3113 def get_number_of_score_states(self):
3114 """get_number_of_score_states(Model self) -> unsigned int"""
3115 return _IMP_kernel.Model_get_number_of_score_states(self)
3117 def get_has_score_states(self):
3118 """get_has_score_states(Model self) -> bool"""
3119 return _IMP_kernel.Model_get_has_score_states(self)
3121 def get_score_state(self, *args):
3122 """get_score_state(Model self, unsigned int i) -> ScoreState"""
3123 return _IMP_kernel.Model_get_score_state(self, *args)
3125 def get_score_states(self):
3126 """get_score_states(Model self) -> IMP::kernel::ScoreStates"""
3127 return _IMP_kernel.Model_get_score_states(self)
3129 def reserve_score_states(self, *args):
3130 """reserve_score_states(Model self, unsigned int sz)"""
3131 return _IMP_kernel.Model_reserve_score_states(self, *args)
3134 """update(Model self)"""
3135 return _IMP_kernel.Model_update(self)
3137 def add_attribute(self, *args):
3139 add_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Float value)
3140 add_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Int value)
3141 add_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Ints value)
3142 add_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::String value)
3143 add_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndexes value)
3144 add_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndex value)
3145 add_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3146 add_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3148 return _IMP_kernel.Model_add_attribute(self, *args)
3150 def remove_attribute(self, *args):
3152 remove_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle)
3153 remove_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle)
3154 remove_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle)
3155 remove_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle)
3156 remove_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle)
3157 remove_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle)
3158 remove_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle)
3159 remove_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle)
3161 return _IMP_kernel.Model_remove_attribute(self, *args)
3163 def get_has_attribute(self, *args):
3165 get_has_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3166 get_has_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3167 get_has_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3168 get_has_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3169 get_has_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3170 get_has_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3171 get_has_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3172 get_has_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle) -> bool
3174 return _IMP_kernel.Model_get_has_attribute(self, *args)
3176 def set_attribute(self, *args):
3178 set_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Float value)
3179 set_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Int value)
3180 set_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Ints value)
3181 set_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::String value)
3182 set_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndexes value)
3183 set_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndex value)
3184 set_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3185 set_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3187 return _IMP_kernel.Model_set_attribute(self, *args)
3189 def get_attribute(self, *args):
3191 get_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::Float
3192 get_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::Int
3193 get_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::Ints
3194 get_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::String
3195 get_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::kernel::ParticleIndexes
3196 get_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle) -> IMP::kernel::ParticleIndex
3197 get_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle) -> Object
3198 get_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle) -> Object *
3200 return _IMP_kernel.Model_get_attribute(self, *args)
3202 def add_cache_attribute(self, *args):
3204 add_cache_attribute(Model self, FloatKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Float value)
3205 add_cache_attribute(Model self, IntKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Int value)
3206 add_cache_attribute(Model self, IMP::kernel::IntsKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::Ints value)
3207 add_cache_attribute(Model self, StringKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::String value)
3208 add_cache_attribute(Model self, ParticleIndexesKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndexes value)
3209 add_cache_attribute(Model self, ParticleIndexKey attribute_key, IMP::kernel::ParticleIndex particle, IMP::kernel::ParticleIndex value)
3210 add_cache_attribute(Model self, ObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3211 add_cache_attribute(Model self, IMP::kernel::WeakObjectKey attribute_key, IMP::kernel::ParticleIndex particle, Object * value)
3213 return _IMP_kernel.Model_add_cache_attribute(self, *args)
3215 def set_is_optimized(self, *args):
3216 """set_is_optimized(Model self, FloatKey arg2, IMP::kernel::ParticleIndex arg3, bool arg4)"""
3217 return _IMP_kernel.Model_set_is_optimized(self, *args)
3219 def get_particle(self, *args):
3220 """get_particle(Model self, IMP::kernel::ParticleIndex p) -> Particle"""
3221 return _IMP_kernel.Model_get_particle(self, *args)
3223 def get_has_particle(self, *args):
3224 """get_has_particle(Model self, IMP::kernel::ParticleIndex p) -> bool"""
3225 return _IMP_kernel.Model_get_has_particle(self, *args)
3227 def get_particle_indexes(self):
3228 """get_particle_indexes(Model self) -> IMP::kernel::ParticleIndexes"""
3229 return _IMP_kernel.Model_get_particle_indexes(self)
3231 def get_model_objects(self):
3232 """get_model_objects(Model self) -> IMP::kernel::ModelObjectsTemp"""
3233 return _IMP_kernel.Model_get_model_objects(self)
3235 def add_data(self, *args):
3236 """add_data(Model self, IMP::kernel::ModelKey mk, Object o)"""
3237 return _IMP_kernel.Model_add_data(self, *args)
3239 def get_data(self, *args):
3240 """get_data(Model self, IMP::kernel::ModelKey mk) -> Object"""
3241 return _IMP_kernel.Model_get_data(self, *args)
3243 def remove_data(self, *args):
3244 """remove_data(Model self, IMP::kernel::ModelKey mk)"""
3245 return _IMP_kernel.Model_remove_data(self, *args)
3247 def get_has_data(self, *args):
3248 """get_has_data(Model self, IMP::kernel::ModelKey mk) -> bool"""
3249 return _IMP_kernel.Model_get_has_data(self, *args)
3251 def get_version_info(self):
3252 """get_version_info(Model self) -> VersionInfo"""
3253 return _IMP_kernel.Model_get_version_info(self)
3255 def create_model_scoring_function(self):
3256 """create_model_scoring_function(Model self) -> ScoringFunction"""
3257 return _IMP_kernel.Model_create_model_scoring_function(self)
3260 """add_restraint(Model self, Restraint r)"""
3261 return _IMP_kernel.Model_add_restraint(self, *args)
3263 def remove_restraint(self, *args):
3264 """remove_restraint(Model self, Restraint r)"""
3265 return _IMP_kernel.Model_remove_restraint(self, *args)
3267 def get_restraints(self):
3268 """get_restraints(Model self) -> IMP::kernel::RestraintsTemp"""
3269 return _IMP_kernel.Model_get_restraints(self)
3272 """create_scoring_function(Model self) -> ScoringFunction"""
3273 return _IMP_kernel.Model_create_scoring_function(self)
3275 def get_number_of_restraints(self):
3276 """get_number_of_restraints(Model self) -> unsigned int"""
3277 return _IMP_kernel.Model_get_number_of_restraints(self)
3279 def get_restraint(self, *args):
3280 """get_restraint(Model self, unsigned int i) -> Restraint"""
3281 return _IMP_kernel.Model_get_restraint(self, *args)
3283 def evaluate(self, *args):
3285 evaluate(Model self, bool tf, bool warn=True) -> double
3286 evaluate(Model self, bool tf) -> double
3288 return _IMP_kernel.Model_evaluate(self, *args)
3290 def remove_particle(self, *args):
3292 remove_particle(Model self, IMP::kernel::ParticleIndex pi)
3293 remove_particle(Model self, Particle p)
3295 return _IMP_kernel.Model_remove_particle(self, *args)
3297 def get_number_of_particles(self):
3298 """get_number_of_particles(Model self) -> unsigned int"""
3299 return _IMP_kernel.Model_get_number_of_particles(self)
3302 """get_particles(Model self) -> IMP::kernel::ParticlesTemp"""
3303 return _IMP_kernel.Model_get_particles(self)
3305 def get_root_restraint_set(self):
3306 """get_root_restraint_set(Model self) -> RestraintSet"""
3307 return _IMP_kernel.Model_get_root_restraint_set(self)
3309 def set_maximum_score(self, *args):
3311 set_maximum_score(Model self, Restraint r, double s)
3312 set_maximum_score(Model self, double s)
3314 return _IMP_kernel.Model_set_maximum_score(self, *args)
3316 def get_maximum_score(self, *args):
3318 get_maximum_score(Model self, Restraint r) -> double
3319 get_maximum_score(Model self) -> double
3321 return _IMP_kernel.Model_get_maximum_score(self, *args)
3324 """__str__(Model self) -> std::string"""
3325 return _IMP_kernel.Model___str__(self)
3328 """__repr__(Model self) -> std::string"""
3329 return _IMP_kernel.Model___repr__(self)
3332 return _object_cast_to_Model(o)
3333 get_from = staticmethod(get_from)
3335 Model_swigregister = _IMP_kernel.Model_swigregister
3336 Model_swigregister(Model)
3339 """Proxy of C++ IMP::kernel::Decorator class"""
3340 __swig_setmethods__ = {}
3341 for _s
in [IMP.base._Value]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3342 __setattr__ =
lambda self, name, value: _swig_setattr(self, Decorator, name, value)
3343 __swig_getmethods__ = {}
3344 for _s
in [IMP.base._Value]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3345 __getattr__ =
lambda self, name: _swig_getattr(self, Decorator, name)
3346 __repr__ = _swig_repr
3347 def __init__(self, *args):
3348 """__init__(IMP::kernel::Decorator self, _ParticleAdaptor p) -> Decorator"""
3349 this = _IMP_kernel.new_Decorator(*args)
3350 try: self.this.append(this)
3351 except: self.this = this
3352 def __ne__(self, *args):
3353 """__ne__(Decorator self, Object o) -> bool"""
3354 return _IMP_kernel.Decorator___ne__(self, *args)
3356 def __lt__(self, *args):
3357 """__lt__(Decorator self, Object o) -> bool"""
3358 return _IMP_kernel.Decorator___lt__(self, *args)
3360 def __gt__(self, *args):
3361 """__gt__(Decorator self, Object o) -> bool"""
3362 return _IMP_kernel.Decorator___gt__(self, *args)
3364 def __ge__(self, *args):
3365 """__ge__(Decorator self, Object o) -> bool"""
3366 return _IMP_kernel.Decorator___ge__(self, *args)
3368 def __le__(self, *args):
3369 """__le__(Decorator self, Object o) -> bool"""
3370 return _IMP_kernel.Decorator___le__(self, *args)
3372 def get_particle(self):
3373 """get_particle(Decorator self) -> Particle"""
3374 return _IMP_kernel.Decorator_get_particle(self)
3376 def get_particle_index(self):
3377 """get_particle_index(Decorator self) -> IMP::kernel::ParticleIndex"""
3378 return _IMP_kernel.Decorator_get_particle_index(self)
3380 def get_model(self):
3381 """get_model(Decorator self) -> Model"""
3382 return _IMP_kernel.Decorator_get_model(self)
3385 """__hash__(Decorator self) -> std::size_t"""
3386 return _IMP_kernel.Decorator___hash__(self)
3388 def __eq__(self, *args):
3390 __eq__(Decorator self, Object o) -> bool
3391 __eq__(Decorator self, Decorator o) -> bool
3392 __eq__(Decorator self, Particle o) -> bool
3394 return _IMP_kernel.Decorator___eq__(self, *args)
3396 __swig_destroy__ = _IMP_kernel.delete_Decorator
3397 __del__ =
lambda self :
None;
3398 Decorator_swigregister = _IMP_kernel.Decorator_swigregister
3399 Decorator_swigregister(Decorator)
3402 def check_particle(*args):
3403 """check_particle(Particle p)"""
3404 return _IMP_kernel.check_particle(*args)
3406 """Proxy of C++ IMP::kernel::UnaryFunction class"""
3407 __swig_setmethods__ = {}
3408 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3409 __setattr__ =
lambda self, name, value: _swig_setattr(self, UnaryFunction, name, value)
3410 __swig_getmethods__ = {}
3411 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3412 __getattr__ =
lambda self, name: _swig_getattr(self, UnaryFunction, name)
3413 def __init__(self, name="UnaryFunction%1%"):
3415 __init__(IMP::kernel::UnaryFunction self, std::string name="UnaryFunction%1%") -> UnaryFunction
3416 __init__(IMP::kernel::UnaryFunction self) -> UnaryFunction
3418 if self.__class__ == UnaryFunction:
3422 this = _IMP_kernel.new_UnaryFunction(_self, name)
3423 try: self.this.append(this)
3424 except: self.this = this
3425 if self.__class__ != UnaryFunction:
3427 IMP.base._director_objects.register(self)
3431 def evaluate(self, *args):
3432 """evaluate(UnaryFunction self, double feature) -> double"""
3433 return _IMP_kernel.UnaryFunction_evaluate(self, *args)
3435 def evaluate_with_derivative(self, *args):
3436 """evaluate_with_derivative(UnaryFunction self, double feature) -> IMP::DerivativePair"""
3437 return _IMP_kernel.UnaryFunction_evaluate_with_derivative(self, *args)
3439 __swig_destroy__ = _IMP_kernel.delete_UnaryFunction
3440 __del__ =
lambda self :
None;
3442 """__str__(UnaryFunction self) -> std::string"""
3443 return _IMP_kernel.UnaryFunction___str__(self)
3446 """__repr__(UnaryFunction self) -> std::string"""
3447 return _IMP_kernel.UnaryFunction___repr__(self)
3450 return _object_cast_to_UnaryFunction(o)
3451 get_from = staticmethod(get_from)
3453 def get_type_name(self):
3454 return self.__class__.__name__
3455 def do_show(self, out):
3457 def get_version_info(self):
3458 if"IMP::kernel" ==
"IMP":
3459 return VersionInfo(
"python",
"0")
3461 return IMP.VersionInfo(
"python",
"0")
3463 return _object_cast_to_UnaryFunction(o)
3464 get_from = staticmethod(get_from)
3466 def __disown__(self):
3468 _IMP_kernel.disown_UnaryFunction(self)
3469 return weakref_proxy(self)
3470 UnaryFunction_swigregister = _IMP_kernel.UnaryFunction_swigregister
3471 UnaryFunction_swigregister(UnaryFunction)
3474 """Proxy of C++ IMP::kernel::OptimizerState class"""
3475 __swig_setmethods__ = {}
3476 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3477 __setattr__ =
lambda self, name, value: _swig_setattr(self, OptimizerState, name, value)
3478 __swig_getmethods__ = {}
3479 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3480 __getattr__ =
lambda self, name: _swig_getattr(self, OptimizerState, name)
3481 def __init__(self, *args):
3482 """__init__(IMP::kernel::OptimizerState self, Model m, std::string name) -> OptimizerState"""
3483 if self.__class__ == OptimizerState:
3487 this = _IMP_kernel.new_OptimizerState(_self, *args)
3488 try: self.this.append(this)
3489 except: self.this = this
3490 if self.__class__ != OptimizerState:
3492 IMP.base._director_objects.register(self)
3497 """update(OptimizerState self)"""
3498 return _IMP_kernel.OptimizerState_update(self)
3500 def set_is_optimizing(self, *args):
3501 """set_is_optimizing(OptimizerState self, bool arg0)"""
3502 return _IMP_kernel.OptimizerState_set_is_optimizing(self, *args)
3504 def get_optimizer(self):
3505 """get_optimizer(OptimizerState self) -> Optimizer"""
3506 return _IMP_kernel.OptimizerState_get_optimizer(self)
3508 def set_period(self, *args):
3509 """set_period(OptimizerState self, unsigned int p)"""
3510 return _IMP_kernel.OptimizerState_set_period(self, *args)
3512 def get_period(self):
3513 """get_period(OptimizerState self) -> unsigned int"""
3514 return _IMP_kernel.OptimizerState_get_period(self)
3517 """reset(OptimizerState self)"""
3518 return _IMP_kernel.OptimizerState_reset(self)
3520 def update_always(self):
3521 """update_always(OptimizerState self)"""
3522 return _IMP_kernel.OptimizerState_update_always(self)
3524 def get_number_of_updates(self):
3525 """get_number_of_updates(OptimizerState self) -> unsigned int"""
3526 return _IMP_kernel.OptimizerState_get_number_of_updates(self)
3528 def set_number_of_updates(self, *args):
3529 """set_number_of_updates(OptimizerState self, unsigned int n)"""
3530 return _IMP_kernel.OptimizerState_set_number_of_updates(self, *args)
3532 __swig_destroy__ = _IMP_kernel.delete_OptimizerState
3533 __del__ =
lambda self :
None;
3534 def do_update(self, *args):
3535 """do_update(OptimizerState self, unsigned int arg0)"""
3536 return _IMP_kernel.OptimizerState_do_update(self, *args)
3538 def do_set_is_optimizing(self, *args):
3539 """do_set_is_optimizing(OptimizerState self, bool arg0)"""
3540 return _IMP_kernel.OptimizerState_do_set_is_optimizing(self, *args)
3542 def do_get_inputs(self):
3543 """do_get_inputs(OptimizerState self) -> IMP::kernel::ModelObjectsTemp"""
3544 return _IMP_kernel.OptimizerState_do_get_inputs(self)
3546 def do_get_outputs(self):
3547 """do_get_outputs(OptimizerState self) -> IMP::kernel::ModelObjectsTemp"""
3548 return _IMP_kernel.OptimizerState_do_get_outputs(self)
3551 """__str__(OptimizerState self) -> std::string"""
3552 return _IMP_kernel.OptimizerState___str__(self)
3555 """__repr__(OptimizerState self) -> std::string"""
3556 return _IMP_kernel.OptimizerState___repr__(self)
3559 return _object_cast_to_OptimizerState(o)
3560 get_from = staticmethod(get_from)
3562 def get_type_name(self):
3563 return self.__class__.__name__
3564 def do_show(self, out):
3566 def get_version_info(self):
3567 if"IMP::kernel" ==
"IMP":
3568 return VersionInfo(
"python",
"0")
3570 return IMP.VersionInfo(
"python",
"0")
3572 return _object_cast_to_OptimizerState(o)
3573 get_from = staticmethod(get_from)
3575 def __disown__(self):
3577 _IMP_kernel.disown_OptimizerState(self)
3578 return weakref_proxy(self)
3579 def handle_set_has_required_score_states(self, *args):
3580 """handle_set_has_required_score_states(OptimizerState self, bool arg0)"""
3581 return _IMP_kernel.OptimizerState_handle_set_has_required_score_states(self, *args)
3583 def do_get_interactions(self):
3584 """do_get_interactions(OptimizerState self) -> IMP::kernel::ModelObjectsTemps"""
3585 return _IMP_kernel.OptimizerState_do_get_interactions(self)
3587 OptimizerState_swigregister = _IMP_kernel.OptimizerState_swigregister
3588 OptimizerState_swigregister(OptimizerState)
3591 """Proxy of C++ IMP::kernel::Refiner class"""
3592 __swig_setmethods__ = {}
3593 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3594 __setattr__ =
lambda self, name, value: _swig_setattr(self, Refiner, name, value)
3595 __swig_getmethods__ = {}
3596 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3597 __getattr__ =
lambda self, name: _swig_getattr(self, Refiner, name)
3598 def __init__(self, name="Refiner %1%"):
3600 __init__(IMP::kernel::Refiner self, std::string name="Refiner %1%") -> Refiner
3601 __init__(IMP::kernel::Refiner self) -> Refiner
3603 if self.__class__ == Refiner:
3607 this = _IMP_kernel.new_Refiner(_self, name)
3608 try: self.this.append(this)
3609 except: self.this = this
3610 if self.__class__ != Refiner:
3612 IMP.base._director_objects.register(self)
3616 def get_can_refine(self, *args):
3617 """get_can_refine(Refiner self, Particle arg0) -> bool"""
3618 return _IMP_kernel.Refiner_get_can_refine(self, *args)
3620 def get_refined_indexes(self, *args):
3621 """get_refined_indexes(Refiner self, Model m, IMP::kernel::ParticleIndex pi) -> IMP::kernel::ParticleIndexes"""
3622 return _IMP_kernel.Refiner_get_refined_indexes(self, *args)
3624 def get_refined(self, *args):
3626 get_refined(Refiner self, Particle a) -> IMP::kernel::ParticlesTemp const
3627 get_refined(Refiner self, Particle a, unsigned int i) -> Particle
3629 return _IMP_kernel.Refiner_get_refined(self, *args)
3631 def get_number_of_refined(self, *args):
3632 """get_number_of_refined(Refiner self, Particle a) -> unsigned int"""
3633 return _IMP_kernel.Refiner_get_number_of_refined(self, *args)
3636 """__str__(Refiner self) -> std::string"""
3637 return _IMP_kernel.Refiner___str__(self)
3640 """__repr__(Refiner self) -> std::string"""
3641 return _IMP_kernel.Refiner___repr__(self)
3644 return _object_cast_to_Refiner(o)
3645 get_from = staticmethod(get_from)
3647 def get_type_name(self):
3648 return self.__class__.__name__
3649 def do_show(self, out):
3651 def get_version_info(self):
3652 if"IMP::kernel" ==
"IMP":
3653 return VersionInfo(
"python",
"0")
3655 return IMP.VersionInfo(
"python",
"0")
3657 return _object_cast_to_Refiner(o)
3658 get_from = staticmethod(get_from)
3660 __swig_destroy__ = _IMP_kernel.delete_Refiner
3661 __del__ =
lambda self :
None;
3662 def __disown__(self):
3664 _IMP_kernel.disown_Refiner(self)
3665 return weakref_proxy(self)
3666 def do_get_inputs(self, *args):
3667 """do_get_inputs(Refiner self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
3668 return _IMP_kernel.Refiner_do_get_inputs(self, *args)
3670 Refiner_swigregister = _IMP_kernel.Refiner_swigregister
3671 Refiner_swigregister(Refiner)
3674 """Proxy of C++ IMP::kernel::Optimizer class"""
3675 __swig_setmethods__ = {}
3676 for _s
in [ModelObject]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3677 __setattr__ =
lambda self, name, value: _swig_setattr(self, Optimizer, name, value)
3678 __swig_getmethods__ = {}
3679 for _s
in [ModelObject]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3680 __getattr__ =
lambda self, name: _swig_getattr(self, Optimizer, name)
3681 def set_is_optimizing_states(self, *args):
3682 """set_is_optimizing_states(Optimizer self, bool tf)"""
3683 return _IMP_kernel.Optimizer_set_is_optimizing_states(self, *args)
3685 def get_optimizer_state_inputs(self):
3686 """get_optimizer_state_inputs(Optimizer self) -> IMP::kernel::ModelObjectsTemp"""
3687 return _IMP_kernel.Optimizer_get_optimizer_state_inputs(self)
3689 def do_get_inputs(self):
3690 """do_get_inputs(Optimizer self) -> IMP::kernel::ModelObjectsTemp"""
3691 return _IMP_kernel.Optimizer_do_get_inputs(self)
3693 def do_get_outputs(self):
3694 """do_get_outputs(Optimizer self) -> IMP::kernel::ModelObjectsTemp"""
3695 return _IMP_kernel.Optimizer_do_get_outputs(self)
3697 def __init__(self, *args):
3699 __init__(IMP::kernel::Optimizer self, Model m, std::string name="Optimizer %1%") -> Optimizer
3700 __init__(IMP::kernel::Optimizer self, Model m) -> Optimizer
3702 if self.__class__ == Optimizer:
3706 this = _IMP_kernel.new_Optimizer(_self, *args)
3707 try: self.this.append(this)
3708 except: self.this = this
3709 if self.__class__ != Optimizer:
3711 IMP.base._director_objects.register(self)
3715 def optimize(self, *args):
3716 """optimize(Optimizer self, unsigned int max_steps) -> double"""
3717 return _IMP_kernel.Optimizer_optimize(self, *args)
3719 def set_stop_on_good_score(self, *args):
3720 """set_stop_on_good_score(Optimizer self, bool tf)"""
3721 return _IMP_kernel.Optimizer_set_stop_on_good_score(self, *args)
3723 def get_stop_on_good_score(self):
3724 """get_stop_on_good_score(Optimizer self) -> bool"""
3725 return _IMP_kernel.Optimizer_get_stop_on_good_score(self)
3727 def get_last_score(self):
3728 """get_last_score(Optimizer self) -> double"""
3729 return _IMP_kernel.Optimizer_get_last_score(self)
3731 def get_scoring_function(self):
3732 """get_scoring_function(Optimizer self) -> ScoringFunction"""
3733 return _IMP_kernel.Optimizer_get_scoring_function(self)
3735 def remove_optimizer_state(self, *args):
3736 """remove_optimizer_state(Optimizer self, OptimizerState d)"""
3737 return _IMP_kernel.Optimizer_remove_optimizer_state(self, *args)
3739 def remove_optimizer_states(self, *args):
3740 """remove_optimizer_states(Optimizer self, IMP::kernel::OptimizerStates const & d)"""
3741 return _IMP_kernel.Optimizer_remove_optimizer_states(self, *args)
3743 def set_optimizer_states(self, *args):
3744 """set_optimizer_states(Optimizer self, IMP::kernel::OptimizerStates const & ps)"""
3745 return _IMP_kernel.Optimizer_set_optimizer_states(self, *args)
3747 def set_optimizer_states_order(self, *args):
3748 """set_optimizer_states_order(Optimizer self, IMP::kernel::OptimizerStates const & objs)"""
3749 return _IMP_kernel.Optimizer_set_optimizer_states_order(self, *args)
3751 def add_optimizer_state(self, *args):
3752 """add_optimizer_state(Optimizer self, OptimizerState obj) -> unsigned int"""
3753 return _IMP_kernel.Optimizer_add_optimizer_state(self, *args)
3755 def add_optimizer_states(self, *args):
3756 """add_optimizer_states(Optimizer self, IMP::kernel::OptimizerStates const & objs)"""
3757 return _IMP_kernel.Optimizer_add_optimizer_states(self, *args)
3759 def clear_optimizer_states(self):
3760 """clear_optimizer_states(Optimizer self)"""
3761 return _IMP_kernel.Optimizer_clear_optimizer_states(self)
3763 def get_number_of_optimizer_states(self):
3764 """get_number_of_optimizer_states(Optimizer self) -> unsigned int"""
3765 return _IMP_kernel.Optimizer_get_number_of_optimizer_states(self)
3767 def get_has_optimizer_states(self):
3768 """get_has_optimizer_states(Optimizer self) -> bool"""
3769 return _IMP_kernel.Optimizer_get_has_optimizer_states(self)
3771 def get_optimizer_state(self, *args):
3772 """get_optimizer_state(Optimizer self, unsigned int i) -> OptimizerState"""
3773 return _IMP_kernel.Optimizer_get_optimizer_state(self, *args)
3775 def get_optimizer_states(self):
3776 """get_optimizer_states(Optimizer self) -> IMP::kernel::OptimizerStates"""
3777 return _IMP_kernel.Optimizer_get_optimizer_states(self)
3779 def reserve_optimizer_states(self, *args):
3780 """reserve_optimizer_states(Optimizer self, unsigned int sz)"""
3781 return _IMP_kernel.Optimizer_reserve_optimizer_states(self, *args)
3783 def set_scoring_function(self, *args):
3784 """set_scoring_function(Optimizer self, _ScoringFunctionAdaptor sf)"""
3785 return _IMP_kernel.Optimizer_set_scoring_function(self, *args)
3787 __swig_destroy__ = _IMP_kernel.delete_Optimizer
3789 """__del__(IMP::kernel::Optimizer self)"""
3791 IMP.base._director_objects.cleanup()
3796 def do_optimize(self, *args):
3797 """do_optimize(Optimizer self, unsigned int ns) -> double"""
3798 return _IMP_kernel.Optimizer_do_optimize(self, *args)
3800 def update_states(self):
3801 """update_states(Optimizer self)"""
3802 return _IMP_kernel.Optimizer_update_states(self)
3805 """__str__(Optimizer self) -> std::string"""
3806 return _IMP_kernel.Optimizer___str__(self)
3809 """__repr__(Optimizer self) -> std::string"""
3810 return _IMP_kernel.Optimizer___repr__(self)
3813 return _object_cast_to_Optimizer(o)
3814 get_from = staticmethod(get_from)
3816 def get_type_name(self):
3817 return self.__class__.__name__
3818 def do_show(self, out):
3820 def get_version_info(self):
3821 if"IMP::kernel" ==
"IMP":
3822 return VersionInfo(
"python",
"0")
3824 return IMP.VersionInfo(
"python",
"0")
3826 return _object_cast_to_Optimizer(o)
3827 get_from = staticmethod(get_from)
3829 def __disown__(self):
3831 _IMP_kernel.disown_Optimizer(self)
3832 return weakref_proxy(self)
3833 def handle_set_has_required_score_states(self, *args):
3834 """handle_set_has_required_score_states(Optimizer self, bool arg0)"""
3835 return _IMP_kernel.Optimizer_handle_set_has_required_score_states(self, *args)
3837 def do_get_interactions(self):
3838 """do_get_interactions(Optimizer self) -> IMP::kernel::ModelObjectsTemps"""
3839 return _IMP_kernel.Optimizer_do_get_interactions(self)
3841 Optimizer_swigregister = _IMP_kernel.Optimizer_swigregister
3842 Optimizer_swigregister(Optimizer)
3845 """Proxy of C++ IMP::kernel::AttributeOptimizer class"""
3846 __swig_setmethods__ = {}
3847 for _s
in [Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3848 __setattr__ =
lambda self, name, value: _swig_setattr(self, AttributeOptimizer, name, value)
3849 __swig_getmethods__ = {}
3850 for _s
in [Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3851 __getattr__ =
lambda self, name: _swig_getattr(self, AttributeOptimizer, name)
3852 def __init__(self, *args):
3854 __init__(IMP::kernel::AttributeOptimizer self, Model m, std::string name="Optimizer %1%") -> AttributeOptimizer
3855 __init__(IMP::kernel::AttributeOptimizer self, Model m) -> AttributeOptimizer
3857 if self.__class__ == AttributeOptimizer:
3861 this = _IMP_kernel.new_AttributeOptimizer(_self, *args)
3862 try: self.this.append(this)
3863 except: self.this = this
3864 if self.__class__ != AttributeOptimizer:
3866 IMP.base._director_objects.register(self)
3870 def get_optimized_attributes(self):
3871 """get_optimized_attributes(AttributeOptimizer self) -> IMP::kernel::FloatIndexes"""
3872 return _IMP_kernel.AttributeOptimizer_get_optimized_attributes(self)
3874 def set_value(self, *args):
3875 """set_value(AttributeOptimizer self, FloatIndex fi, double v)"""
3876 return _IMP_kernel.AttributeOptimizer_set_value(self, *args)
3878 def get_value(self, *args):
3879 """get_value(AttributeOptimizer self, FloatIndex fi) -> IMP::Float"""
3880 return _IMP_kernel.AttributeOptimizer_get_value(self, *args)
3882 def get_derivative(self, *args):
3883 """get_derivative(AttributeOptimizer self, FloatIndex fi) -> IMP::Float"""
3884 return _IMP_kernel.AttributeOptimizer_get_derivative(self, *args)
3886 def get_width(self, *args):
3887 """get_width(AttributeOptimizer self, FloatKey k) -> double"""
3888 return _IMP_kernel.AttributeOptimizer_get_width(self, *args)
3890 def set_scaled_value(self, *args):
3891 """set_scaled_value(AttributeOptimizer self, FloatIndex fi, IMP::Float v)"""
3892 return _IMP_kernel.AttributeOptimizer_set_scaled_value(self, *args)
3894 def get_scaled_value(self, *args):
3895 """get_scaled_value(AttributeOptimizer self, FloatIndex fi) -> double"""
3896 return _IMP_kernel.AttributeOptimizer_get_scaled_value(self, *args)
3898 def get_scaled_derivative(self, *args):
3899 """get_scaled_derivative(AttributeOptimizer self, FloatIndex fi) -> double"""
3900 return _IMP_kernel.AttributeOptimizer_get_scaled_derivative(self, *args)
3902 def clear_range_cache(self):
3903 """clear_range_cache(AttributeOptimizer self)"""
3904 return _IMP_kernel.AttributeOptimizer_clear_range_cache(self)
3907 """__str__(AttributeOptimizer self) -> std::string"""
3908 return _IMP_kernel.AttributeOptimizer___str__(self)
3911 """__repr__(AttributeOptimizer self) -> std::string"""
3912 return _IMP_kernel.AttributeOptimizer___repr__(self)
3915 return _object_cast_to_AttributeOptimizer(o)
3916 get_from = staticmethod(get_from)
3918 def get_type_name(self):
3919 return self.__class__.__name__
3920 def do_show(self, out):
3922 def get_version_info(self):
3923 if"IMP::kernel" ==
"IMP":
3924 return VersionInfo(
"python",
"0")
3926 return IMP.VersionInfo(
"python",
"0")
3928 return _object_cast_to_AttributeOptimizer(o)
3929 get_from = staticmethod(get_from)
3931 __swig_destroy__ = _IMP_kernel.delete_AttributeOptimizer
3932 __del__ =
lambda self :
None;
3933 def __disown__(self):
3935 _IMP_kernel.disown_AttributeOptimizer(self)
3936 return weakref_proxy(self)
3937 def handle_set_has_required_score_states(self, *args):
3938 """handle_set_has_required_score_states(AttributeOptimizer self, bool arg0)"""
3939 return _IMP_kernel.AttributeOptimizer_handle_set_has_required_score_states(self, *args)
3941 def do_get_inputs(self):
3942 """do_get_inputs(AttributeOptimizer self) -> IMP::kernel::ModelObjectsTemp"""
3943 return _IMP_kernel.AttributeOptimizer_do_get_inputs(self)
3945 def do_get_outputs(self):
3946 """do_get_outputs(AttributeOptimizer self) -> IMP::kernel::ModelObjectsTemp"""
3947 return _IMP_kernel.AttributeOptimizer_do_get_outputs(self)
3949 def do_get_interactions(self):
3950 """do_get_interactions(AttributeOptimizer self) -> IMP::kernel::ModelObjectsTemps"""
3951 return _IMP_kernel.AttributeOptimizer_do_get_interactions(self)
3953 def do_optimize(self, *args):
3954 """do_optimize(AttributeOptimizer self, unsigned int ns) -> double"""
3955 return _IMP_kernel.AttributeOptimizer_do_optimize(self, *args)
3957 AttributeOptimizer_swigregister = _IMP_kernel.AttributeOptimizer_swigregister
3958 AttributeOptimizer_swigregister(AttributeOptimizer)
3961 """Proxy of C++ IMP::kernel::ConfigurationSet class"""
3962 __swig_setmethods__ = {}
3963 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
3964 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConfigurationSet, name, value)
3965 __swig_getmethods__ = {}
3966 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
3967 __getattr__ =
lambda self, name: _swig_getattr(self, ConfigurationSet, name)
3968 def __init__(self, *args):
3970 __init__(IMP::kernel::ConfigurationSet self, Model m, std::string name="ConfigurationSet %1%") -> ConfigurationSet
3971 __init__(IMP::kernel::ConfigurationSet self, Model m) -> ConfigurationSet
3973 this = _IMP_kernel.new_ConfigurationSet(*args)
3974 try: self.this.append(this)
3975 except: self.this = this
3976 def save_configuration(self):
3977 """save_configuration(ConfigurationSet self)"""
3978 return _IMP_kernel.ConfigurationSet_save_configuration(self)
3980 def get_number_of_configurations(self):
3981 """get_number_of_configurations(ConfigurationSet self) -> unsigned int"""
3982 return _IMP_kernel.ConfigurationSet_get_number_of_configurations(self)
3984 def load_configuration(self, *args):
3985 """load_configuration(ConfigurationSet self, int i)"""
3986 return _IMP_kernel.ConfigurationSet_load_configuration(self, *args)
3988 def remove_configuration(self, *args):
3989 """remove_configuration(ConfigurationSet self, unsigned int i)"""
3990 return _IMP_kernel.ConfigurationSet_remove_configuration(self, *args)
3992 def get_model(self):
3993 """get_model(ConfigurationSet self) -> Model"""
3994 return _IMP_kernel.ConfigurationSet_get_model(self)
3996 def get_version_info(self):
3997 """get_version_info(ConfigurationSet self) -> VersionInfo"""
3998 return _IMP_kernel.ConfigurationSet_get_version_info(self)
4001 """__str__(ConfigurationSet self) -> std::string"""
4002 return _IMP_kernel.ConfigurationSet___str__(self)
4005 """__repr__(ConfigurationSet self) -> std::string"""
4006 return _IMP_kernel.ConfigurationSet___repr__(self)
4009 return _object_cast_to_ConfigurationSet(o)
4010 get_from = staticmethod(get_from)
4012 ConfigurationSet_swigregister = _IMP_kernel.ConfigurationSet_swigregister
4013 ConfigurationSet_swigregister(ConfigurationSet)
4016 """Proxy of C++ IMP::kernel::SaveToConfigurationSetOptimizerState class"""
4017 __swig_setmethods__ = {}
4018 for _s
in [OptimizerState]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4019 __setattr__ =
lambda self, name, value: _swig_setattr(self, SaveToConfigurationSetOptimizerState, name, value)
4020 __swig_getmethods__ = {}
4021 for _s
in [OptimizerState]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4022 __getattr__ =
lambda self, name: _swig_getattr(self, SaveToConfigurationSetOptimizerState, name)
4023 def __init__(self, *args):
4024 """__init__(IMP::kernel::SaveToConfigurationSetOptimizerState self, ConfigurationSet cs) -> SaveToConfigurationSetOptimizerState"""
4025 this = _IMP_kernel.new_SaveToConfigurationSetOptimizerState(*args)
4026 try: self.this.append(this)
4027 except: self.this = this
4028 def get_version_info(self):
4029 """get_version_info(SaveToConfigurationSetOptimizerState self) -> VersionInfo"""
4030 return _IMP_kernel.SaveToConfigurationSetOptimizerState_get_version_info(self)
4033 """__str__(SaveToConfigurationSetOptimizerState self) -> std::string"""
4034 return _IMP_kernel.SaveToConfigurationSetOptimizerState___str__(self)
4037 """__repr__(SaveToConfigurationSetOptimizerState self) -> std::string"""
4038 return _IMP_kernel.SaveToConfigurationSetOptimizerState___repr__(self)
4041 return _object_cast_to_SaveToConfigurationSetOptimizerState(o)
4042 get_from = staticmethod(get_from)
4044 SaveToConfigurationSetOptimizerState_swigregister = _IMP_kernel.SaveToConfigurationSetOptimizerState_swigregister
4045 SaveToConfigurationSetOptimizerState_swigregister(SaveToConfigurationSetOptimizerState)
4048 """Proxy of C++ IMP::kernel::Configuration class"""
4049 __swig_setmethods__ = {}
4050 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4051 __setattr__ =
lambda self, name, value: _swig_setattr(self, Configuration, name, value)
4052 __swig_getmethods__ = {}
4053 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4054 __getattr__ =
lambda self, name: _swig_getattr(self, Configuration, name)
4055 def __init__(self, *args):
4057 __init__(IMP::kernel::Configuration self, Model m, std::string name="Configuration %1%") -> Configuration
4058 __init__(IMP::kernel::Configuration self, Model m) -> Configuration
4059 __init__(IMP::kernel::Configuration self, Model m, Configuration base, std::string name="Configuration %1%") -> Configuration
4060 __init__(IMP::kernel::Configuration self, Model m, Configuration base) -> Configuration
4062 this = _IMP_kernel.new_Configuration(*args)
4063 try: self.this.append(this)
4064 except: self.this = this
4065 def load_configuration(self):
4066 """load_configuration(Configuration self)"""
4067 return _IMP_kernel.Configuration_load_configuration(self)
4069 def swap_configuration(self):
4070 """swap_configuration(Configuration self)"""
4071 return _IMP_kernel.Configuration_swap_configuration(self)
4073 def get_version_info(self):
4074 """get_version_info(Configuration self) -> VersionInfo"""
4075 return _IMP_kernel.Configuration_get_version_info(self)
4078 """__str__(Configuration self) -> std::string"""
4079 return _IMP_kernel.Configuration___str__(self)
4082 """__repr__(Configuration self) -> std::string"""
4083 return _IMP_kernel.Configuration___repr__(self)
4086 return _object_cast_to_Configuration(o)
4087 get_from = staticmethod(get_from)
4089 Configuration_swigregister = _IMP_kernel.Configuration_swigregister
4090 Configuration_swigregister(Configuration)
4093 """Proxy of C++ IMP::kernel::Sampler class"""
4094 __swig_setmethods__ = {}
4095 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4096 __setattr__ =
lambda self, name, value: _swig_setattr(self, Sampler, name, value)
4097 __swig_getmethods__ = {}
4098 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4099 __getattr__ =
lambda self, name: _swig_getattr(self, Sampler, name)
4100 def __init__(self, *args):
4102 __init__(IMP::kernel::Sampler self, Model m, std::string name="Sampler %1%") -> Sampler
4103 __init__(IMP::kernel::Sampler self, Model m) -> Sampler
4105 if self.__class__ == Sampler:
4109 this = _IMP_kernel.new_Sampler(_self, *args)
4110 try: self.this.append(this)
4111 except: self.this = this
4112 if self.__class__ != Sampler:
4114 IMP.base._director_objects.register(self)
4118 def create_sample(self):
4119 """create_sample(Sampler self) -> ConfigurationSet"""
4120 return _IMP_kernel.Sampler_create_sample(self)
4122 def get_scoring_function(self):
4123 """get_scoring_function(Sampler self) -> ScoringFunction"""
4124 return _IMP_kernel.Sampler_get_scoring_function(self)
4126 def set_scoring_function(self, *args):
4127 """set_scoring_function(Sampler self, _ScoringFunctionAdaptor sf)"""
4128 return _IMP_kernel.Sampler_set_scoring_function(self, *args)
4130 def get_model(self):
4131 """get_model(Sampler self) -> Model"""
4132 return _IMP_kernel.Sampler_get_model(self)
4134 def do_sample(self):
4135 """do_sample(Sampler self) -> ConfigurationSet"""
4136 return _IMP_kernel.Sampler_do_sample(self)
4138 __swig_destroy__ = _IMP_kernel.delete_Sampler
4139 __del__ =
lambda self :
None;
4141 """__str__(Sampler self) -> std::string"""
4142 return _IMP_kernel.Sampler___str__(self)
4145 """__repr__(Sampler self) -> std::string"""
4146 return _IMP_kernel.Sampler___repr__(self)
4149 return _object_cast_to_Sampler(o)
4150 get_from = staticmethod(get_from)
4152 def get_type_name(self):
4153 return self.__class__.__name__
4154 def do_show(self, out):
4156 def get_version_info(self):
4157 if"IMP::kernel" ==
"IMP":
4158 return VersionInfo(
"python",
"0")
4160 return IMP.VersionInfo(
"python",
"0")
4162 return _object_cast_to_Sampler(o)
4163 get_from = staticmethod(get_from)
4165 def __disown__(self):
4167 _IMP_kernel.disown_Sampler(self)
4168 return weakref_proxy(self)
4169 Sampler_swigregister = _IMP_kernel.Sampler_swigregister
4170 Sampler_swigregister(Sampler)
4173 """Proxy of C++ IMP::kernel::PairModifier class"""
4174 __swig_setmethods__ = {}
4175 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4176 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairModifier, name, value)
4177 __swig_getmethods__ = {}
4178 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4179 __getattr__ =
lambda self, name: _swig_getattr(self, PairModifier, name)
4180 def __init__(self, name="PairModifier %1%"):
4182 __init__(IMP::kernel::PairModifier self, std::string name="PairModifier %1%") -> PairModifier
4183 __init__(IMP::kernel::PairModifier self) -> PairModifier
4185 if self.__class__ == PairModifier:
4189 this = _IMP_kernel.new_PairModifier(_self, name)
4190 try: self.this.append(this)
4191 except: self.this = this
4192 if self.__class__ != PairModifier:
4194 IMP.base._director_objects.register(self)
4198 def apply(self, *args):
4199 """apply(PairModifier self, IMP::kernel::ParticlePair const & vt)"""
4200 return _IMP_kernel.PairModifier_apply(self, *args)
4202 def apply_index(self, *args):
4203 """apply_index(PairModifier self, Model m, IMP::kernel::ParticleIndexPair const & v)"""
4204 return _IMP_kernel.PairModifier_apply_index(self, *args)
4206 def apply_indexes(self, *args):
4207 """apply_indexes(PairModifier self, Model m, IMP::kernel::ParticleIndexPairs const & o, unsigned int lower_bound, unsigned int upper_bound)"""
4208 return _IMP_kernel.PairModifier_apply_indexes(self, *args)
4211 """__str__(PairModifier self) -> std::string"""
4212 return _IMP_kernel.PairModifier___str__(self)
4215 """__repr__(PairModifier self) -> std::string"""
4216 return _IMP_kernel.PairModifier___repr__(self)
4219 return _object_cast_to_PairModifier(o)
4220 get_from = staticmethod(get_from)
4222 def get_type_name(self):
4223 return self.__class__.__name__
4224 def do_show(self, out):
4226 def get_version_info(self):
4227 if"IMP::kernel" ==
"IMP":
4228 return VersionInfo(
"python",
"0")
4230 return IMP.VersionInfo(
"python",
"0")
4232 return _object_cast_to_PairModifier(o)
4233 get_from = staticmethod(get_from)
4235 __swig_destroy__ = _IMP_kernel.delete_PairModifier
4236 __del__ =
lambda self :
None;
4237 def __disown__(self):
4239 _IMP_kernel.disown_PairModifier(self)
4240 return weakref_proxy(self)
4241 def do_get_inputs(self, *args):
4242 """do_get_inputs(PairModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4243 return _IMP_kernel.PairModifier_do_get_inputs(self, *args)
4245 def do_get_outputs(self, *args):
4246 """do_get_outputs(PairModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4247 return _IMP_kernel.PairModifier_do_get_outputs(self, *args)
4249 PairModifier_swigregister = _IMP_kernel.PairModifier_swigregister
4250 PairModifier_swigregister(PairModifier)
4253 """Proxy of C++ IMP::kernel::PairScore class"""
4254 __swig_setmethods__ = {}
4255 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4256 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairScore, name, value)
4257 __swig_getmethods__ = {}
4258 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4259 __getattr__ =
lambda self, name: _swig_getattr(self, PairScore, name)
4260 def __init__(self, name="PairScore %1%"):
4262 __init__(IMP::kernel::PairScore self, std::string name="PairScore %1%") -> PairScore
4263 __init__(IMP::kernel::PairScore self) -> PairScore
4265 if self.__class__ == PairScore:
4269 this = _IMP_kernel.new_PairScore(_self, name)
4270 try: self.this.append(this)
4271 except: self.this = this
4272 if self.__class__ != PairScore:
4274 IMP.base._director_objects.register(self)
4278 def evaluate(self, *args):
4279 """evaluate(PairScore self, IMP::kernel::ParticlePair const & vt, DerivativeAccumulator da) -> double"""
4280 return _IMP_kernel.PairScore_evaluate(self, *args)
4282 def evaluate_index(self, *args):
4283 """evaluate_index(PairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt, DerivativeAccumulator da) -> double"""
4284 return _IMP_kernel.PairScore_evaluate_index(self, *args)
4286 def evaluate_indexes(self, *args):
4288 evaluate_indexes(PairScore self, Model m, IMP::kernel::ParticleIndexPairs const & o, DerivativeAccumulator da, unsigned int lower_bound,
4289 unsigned int upper_bound) -> double
4291 return _IMP_kernel.PairScore_evaluate_indexes(self, *args)
4293 def evaluate_if_good_index(self, *args):
4294 """evaluate_if_good_index(PairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt, DerivativeAccumulator da, double max) -> double"""
4295 return _IMP_kernel.PairScore_evaluate_if_good_index(self, *args)
4297 def evaluate_if_good_indexes(self, *args):
4299 evaluate_if_good_indexes(PairScore self, Model m, IMP::kernel::ParticleIndexPairs const & o, DerivativeAccumulator da, double max,
4300 unsigned int lower_bound, unsigned int upper_bound) -> double
4302 return _IMP_kernel.PairScore_evaluate_if_good_indexes(self, *args)
4304 def create_current_decomposition(self, *args):
4305 """create_current_decomposition(PairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
4306 return _IMP_kernel.PairScore_create_current_decomposition(self, *args)
4308 def do_create_current_decomposition(self, *args):
4309 """do_create_current_decomposition(PairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
4310 return _IMP_kernel.PairScore_do_create_current_decomposition(self, *args)
4312 __swig_destroy__ = _IMP_kernel.delete_PairScore
4313 __del__ =
lambda self :
None;
4315 """__str__(PairScore self) -> std::string"""
4316 return _IMP_kernel.PairScore___str__(self)
4319 """__repr__(PairScore self) -> std::string"""
4320 return _IMP_kernel.PairScore___repr__(self)
4323 return _object_cast_to_PairScore(o)
4324 get_from = staticmethod(get_from)
4326 def get_type_name(self):
4327 return self.__class__.__name__
4328 def do_show(self, out):
4330 def get_version_info(self):
4331 if"IMP::kernel" ==
"IMP":
4332 return VersionInfo(
"python",
"0")
4334 return IMP.VersionInfo(
"python",
"0")
4336 return _object_cast_to_PairScore(o)
4337 get_from = staticmethod(get_from)
4339 def __disown__(self):
4341 _IMP_kernel.disown_PairScore(self)
4342 return weakref_proxy(self)
4343 def do_get_inputs(self, *args):
4344 """do_get_inputs(PairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4345 return _IMP_kernel.PairScore_do_get_inputs(self, *args)
4347 PairScore_swigregister = _IMP_kernel.PairScore_swigregister
4348 PairScore_swigregister(PairScore)
4351 """Proxy of C++ IMP::kernel::PairPredicate class"""
4352 __swig_setmethods__ = {}
4353 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4354 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairPredicate, name, value)
4355 __swig_getmethods__ = {}
4356 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4357 __getattr__ =
lambda self, name: _swig_getattr(self, PairPredicate, name)
4358 def __init__(self, name="PairPredicate %1%"):
4360 __init__(IMP::kernel::PairPredicate self, std::string name="PairPredicate %1%") -> PairPredicate
4361 __init__(IMP::kernel::PairPredicate self) -> PairPredicate
4363 if self.__class__ == PairPredicate:
4367 this = _IMP_kernel.new_PairPredicate(_self, name)
4368 try: self.this.append(this)
4369 except: self.this = this
4370 if self.__class__ != PairPredicate:
4372 IMP.base._director_objects.register(self)
4376 def get_value(self, *args):
4378 get_value(PairPredicate self, IMP::kernel::ParticlePair const & vt) -> int
4379 get_value(PairPredicate self, IMP::kernel::ParticlePairsTemp const & o) -> IMP::Ints
4381 return _IMP_kernel.PairPredicate_get_value(self, *args)
4383 def __call__(self, *args):
4384 """__call__(PairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> int"""
4385 return _IMP_kernel.PairPredicate___call__(self, *args)
4387 def get_value_index(self, *args):
4389 get_value_index(PairPredicate self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> int
4390 get_value_index(PairPredicate self, Model m, IMP::kernel::ParticleIndexPairs const & o) -> IMP::Ints
4392 return _IMP_kernel.PairPredicate_get_value_index(self, *args)
4394 __swig_destroy__ = _IMP_kernel.delete_PairPredicate
4395 __del__ =
lambda self :
None;
4397 """__str__(PairPredicate self) -> std::string"""
4398 return _IMP_kernel.PairPredicate___str__(self)
4401 """__repr__(PairPredicate self) -> std::string"""
4402 return _IMP_kernel.PairPredicate___repr__(self)
4405 return _object_cast_to_PairPredicate(o)
4406 get_from = staticmethod(get_from)
4408 def get_type_name(self):
4409 return self.__class__.__name__
4410 def do_show(self, out):
4412 def get_version_info(self):
4413 if"IMP::kernel" ==
"IMP":
4414 return VersionInfo(
"python",
"0")
4416 return IMP.VersionInfo(
"python",
"0")
4418 return _object_cast_to_PairPredicate(o)
4419 get_from = staticmethod(get_from)
4421 def __disown__(self):
4423 _IMP_kernel.disown_PairPredicate(self)
4424 return weakref_proxy(self)
4425 def do_get_inputs(self, *args):
4426 """do_get_inputs(PairPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4427 return _IMP_kernel.PairPredicate_do_get_inputs(self, *args)
4429 PairPredicate_swigregister = _IMP_kernel.PairPredicate_swigregister
4430 PairPredicate_swigregister(PairPredicate)
4433 """Proxy of C++ IMP::kernel::PairContainer class"""
4434 __swig_setmethods__ = {}
4435 for _s
in [Container]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4436 __setattr__ =
lambda self, name, value: _swig_setattr(self, PairContainer, name, value)
4437 __swig_getmethods__ = {}
4438 for _s
in [Container]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4439 __getattr__ =
lambda self, name: _swig_getattr(self, PairContainer, name)
4440 def apply_generic(self, *args):
4441 """apply_generic(PairContainer self, PairModifier m)"""
4442 return _IMP_kernel.PairContainer_apply_generic(self, *args)
4444 def apply(self, *args):
4445 """apply(PairContainer self, PairModifier sm)"""
4446 return _IMP_kernel.PairContainer_apply(self, *args)
4448 def get_range_indexes(self):
4449 """get_range_indexes(PairContainer self) -> IMP::kernel::ParticleIndexPairs"""
4450 return _IMP_kernel.PairContainer_get_range_indexes(self)
4452 def get_contents(self):
4453 """get_contents(PairContainer self) -> IMP::kernel::ParticleIndexPairs const &"""
4454 return _IMP_kernel.PairContainer_get_contents(self)
4457 """get_indexes(PairContainer self) -> IMP::kernel::ParticleIndexPairs"""
4458 return _IMP_kernel.PairContainer_get_indexes(self)
4460 def get(self, *args):
4462 get(PairContainer self) -> IMP::kernel::ParticlePairsTemp
4463 get(PairContainer self, unsigned int i) -> IMP::kernel::ParticlePair
4465 return _IMP_kernel.PairContainer_get(self, *args)
4467 def get_number(self):
4468 """get_number(PairContainer self) -> unsigned int"""
4469 return _IMP_kernel.PairContainer_get_number(self)
4471 def get_particle_pairs(self):
4472 """get_particle_pairs(PairContainer self) -> IMP::kernel::ParticlePairsTemp"""
4473 return _IMP_kernel.PairContainer_get_particle_pairs(self)
4475 def get_number_of_particle_pairs(self):
4476 """get_number_of_particle_pairs(PairContainer self) -> unsigned int"""
4477 return _IMP_kernel.PairContainer_get_number_of_particle_pairs(self)
4479 def get_particle_pair(self, *args):
4480 """get_particle_pair(PairContainer self, unsigned int i) -> IMP::kernel::ParticlePair"""
4481 return _IMP_kernel.PairContainer_get_particle_pair(self, *args)
4483 def __init__(self, *args):
4485 __init__(IMP::kernel::PairContainer self, Model m, std::string name="PairContainer %1%") -> PairContainer
4486 __init__(IMP::kernel::PairContainer self, Model m) -> PairContainer
4488 if self.__class__ == PairContainer:
4492 this = _IMP_kernel.new_PairContainer(_self, *args)
4493 try: self.this.append(this)
4494 except: self.this = this
4495 if self.__class__ != PairContainer:
4497 IMP.base._director_objects.register(self)
4501 def do_apply(self, *args):
4502 """do_apply(PairContainer self, PairModifier sm)"""
4503 return _IMP_kernel.PairContainer_do_apply(self, *args)
4505 def do_get_provides_access(self):
4506 """do_get_provides_access(PairContainer self) -> bool"""
4507 return _IMP_kernel.PairContainer_do_get_provides_access(self)
4509 __swig_destroy__ = _IMP_kernel.delete_PairContainer
4510 __del__ =
lambda self :
None;
4512 """__str__(PairContainer self) -> std::string"""
4513 return _IMP_kernel.PairContainer___str__(self)
4516 """__repr__(PairContainer self) -> std::string"""
4517 return _IMP_kernel.PairContainer___repr__(self)
4520 return _object_cast_to_PairContainer(o)
4521 get_from = staticmethod(get_from)
4523 def get_type_name(self):
4524 return self.__class__.__name__
4525 def do_show(self, out):
4527 def get_version_info(self):
4528 if"IMP::kernel" ==
"IMP":
4529 return VersionInfo(
"python",
"0")
4531 return IMP.VersionInfo(
"python",
"0")
4533 return _object_cast_to_PairContainer(o)
4534 get_from = staticmethod(get_from)
4536 def __disown__(self):
4538 _IMP_kernel.disown_PairContainer(self)
4539 return weakref_proxy(self)
4540 def handle_set_has_required_score_states(self, *args):
4541 """handle_set_has_required_score_states(PairContainer self, bool arg0)"""
4542 return _IMP_kernel.PairContainer_handle_set_has_required_score_states(self, *args)
4544 def do_get_inputs(self):
4545 """do_get_inputs(PairContainer self) -> IMP::kernel::ModelObjectsTemp"""
4546 return _IMP_kernel.PairContainer_do_get_inputs(self)
4548 def do_get_interactions(self):
4549 """do_get_interactions(PairContainer self) -> IMP::kernel::ModelObjectsTemps"""
4550 return _IMP_kernel.PairContainer_do_get_interactions(self)
4552 def do_get_contents_hash(self):
4553 """do_get_contents_hash(PairContainer self) -> std::size_t"""
4554 return _IMP_kernel.PairContainer_do_get_contents_hash(self)
4556 PairContainer_swigregister = _IMP_kernel.PairContainer_swigregister
4557 PairContainer_swigregister(PairContainer)
4559 class _PairContainerAdaptor(IMP.base._InputAdaptor):
4560 """Proxy of C++ IMP::kernel::PairContainerAdaptor class"""
4561 __swig_setmethods__ = {}
4562 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4563 __setattr__ =
lambda self, name, value: _swig_setattr(self, _PairContainerAdaptor, name, value)
4564 __swig_getmethods__ = {}
4565 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4566 __getattr__ =
lambda self, name: _swig_getattr(self, _PairContainerAdaptor, name)
4567 __repr__ = _swig_repr
4568 def __init__(self, *args):
4570 __init__(IMP::kernel::PairContainerAdaptor self) -> _PairContainerAdaptor
4571 __init__(IMP::kernel::PairContainerAdaptor self, PairContainer c) -> _PairContainerAdaptor
4572 __init__(IMP::kernel::PairContainerAdaptor self, IMP::kernel::ParticlePairsTemp const & t) -> _PairContainerAdaptor
4574 this = _IMP_kernel.new__PairContainerAdaptor(*args)
4575 try: self.this.append(this)
4576 except: self.this = this
4577 def set_name_if_default(self, *args):
4578 """set_name_if_default(_PairContainerAdaptor self, std::string name)"""
4579 return _IMP_kernel._PairContainerAdaptor_set_name_if_default(self, *args)
4581 __swig_destroy__ = _IMP_kernel.delete__PairContainerAdaptor
4582 __del__ =
lambda self :
None;
4583 _PairContainerAdaptor_swigregister = _IMP_kernel._PairContainerAdaptor_swigregister
4584 _PairContainerAdaptor_swigregister(_PairContainerAdaptor)
4587 """Proxy of C++ IMP::kernel::QuadModifier class"""
4588 __swig_setmethods__ = {}
4589 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4590 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadModifier, name, value)
4591 __swig_getmethods__ = {}
4592 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4593 __getattr__ =
lambda self, name: _swig_getattr(self, QuadModifier, name)
4594 def __init__(self, name="QuadModifier %1%"):
4596 __init__(IMP::kernel::QuadModifier self, std::string name="QuadModifier %1%") -> QuadModifier
4597 __init__(IMP::kernel::QuadModifier self) -> QuadModifier
4599 if self.__class__ == QuadModifier:
4603 this = _IMP_kernel.new_QuadModifier(_self, name)
4604 try: self.this.append(this)
4605 except: self.this = this
4606 if self.__class__ != QuadModifier:
4608 IMP.base._director_objects.register(self)
4612 def apply(self, *args):
4613 """apply(QuadModifier self, IMP::kernel::ParticleQuad const & vt)"""
4614 return _IMP_kernel.QuadModifier_apply(self, *args)
4616 def apply_index(self, *args):
4617 """apply_index(QuadModifier self, Model m, IMP::kernel::ParticleIndexQuad const & v)"""
4618 return _IMP_kernel.QuadModifier_apply_index(self, *args)
4620 def apply_indexes(self, *args):
4621 """apply_indexes(QuadModifier self, Model m, IMP::kernel::ParticleIndexQuads const & o, unsigned int lower_bound, unsigned int upper_bound)"""
4622 return _IMP_kernel.QuadModifier_apply_indexes(self, *args)
4625 """__str__(QuadModifier self) -> std::string"""
4626 return _IMP_kernel.QuadModifier___str__(self)
4629 """__repr__(QuadModifier self) -> std::string"""
4630 return _IMP_kernel.QuadModifier___repr__(self)
4633 return _object_cast_to_QuadModifier(o)
4634 get_from = staticmethod(get_from)
4636 def get_type_name(self):
4637 return self.__class__.__name__
4638 def do_show(self, out):
4640 def get_version_info(self):
4641 if"IMP::kernel" ==
"IMP":
4642 return VersionInfo(
"python",
"0")
4644 return IMP.VersionInfo(
"python",
"0")
4646 return _object_cast_to_QuadModifier(o)
4647 get_from = staticmethod(get_from)
4649 __swig_destroy__ = _IMP_kernel.delete_QuadModifier
4650 __del__ =
lambda self :
None;
4651 def __disown__(self):
4653 _IMP_kernel.disown_QuadModifier(self)
4654 return weakref_proxy(self)
4655 def do_get_inputs(self, *args):
4656 """do_get_inputs(QuadModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4657 return _IMP_kernel.QuadModifier_do_get_inputs(self, *args)
4659 def do_get_outputs(self, *args):
4660 """do_get_outputs(QuadModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4661 return _IMP_kernel.QuadModifier_do_get_outputs(self, *args)
4663 QuadModifier_swigregister = _IMP_kernel.QuadModifier_swigregister
4664 QuadModifier_swigregister(QuadModifier)
4667 """Proxy of C++ IMP::kernel::QuadScore class"""
4668 __swig_setmethods__ = {}
4669 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4670 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadScore, name, value)
4671 __swig_getmethods__ = {}
4672 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4673 __getattr__ =
lambda self, name: _swig_getattr(self, QuadScore, name)
4674 def __init__(self, name="QuadScore %1%"):
4676 __init__(IMP::kernel::QuadScore self, std::string name="QuadScore %1%") -> QuadScore
4677 __init__(IMP::kernel::QuadScore self) -> QuadScore
4679 if self.__class__ == QuadScore:
4683 this = _IMP_kernel.new_QuadScore(_self, name)
4684 try: self.this.append(this)
4685 except: self.this = this
4686 if self.__class__ != QuadScore:
4688 IMP.base._director_objects.register(self)
4692 def evaluate(self, *args):
4693 """evaluate(QuadScore self, IMP::kernel::ParticleQuad const & vt, DerivativeAccumulator da) -> double"""
4694 return _IMP_kernel.QuadScore_evaluate(self, *args)
4696 def evaluate_index(self, *args):
4697 """evaluate_index(QuadScore self, Model m, IMP::kernel::ParticleIndexQuad const & vt, DerivativeAccumulator da) -> double"""
4698 return _IMP_kernel.QuadScore_evaluate_index(self, *args)
4700 def evaluate_indexes(self, *args):
4702 evaluate_indexes(QuadScore self, Model m, IMP::kernel::ParticleIndexQuads const & o, DerivativeAccumulator da, unsigned int lower_bound,
4703 unsigned int upper_bound) -> double
4705 return _IMP_kernel.QuadScore_evaluate_indexes(self, *args)
4707 def evaluate_if_good_index(self, *args):
4708 """evaluate_if_good_index(QuadScore self, Model m, IMP::kernel::ParticleIndexQuad const & vt, DerivativeAccumulator da, double max) -> double"""
4709 return _IMP_kernel.QuadScore_evaluate_if_good_index(self, *args)
4711 def evaluate_if_good_indexes(self, *args):
4713 evaluate_if_good_indexes(QuadScore self, Model m, IMP::kernel::ParticleIndexQuads const & o, DerivativeAccumulator da, double max,
4714 unsigned int lower_bound, unsigned int upper_bound) -> double
4716 return _IMP_kernel.QuadScore_evaluate_if_good_indexes(self, *args)
4718 def create_current_decomposition(self, *args):
4719 """create_current_decomposition(QuadScore self, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> IMP::kernel::Restraints"""
4720 return _IMP_kernel.QuadScore_create_current_decomposition(self, *args)
4722 def do_create_current_decomposition(self, *args):
4723 """do_create_current_decomposition(QuadScore self, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> IMP::kernel::Restraints"""
4724 return _IMP_kernel.QuadScore_do_create_current_decomposition(self, *args)
4726 __swig_destroy__ = _IMP_kernel.delete_QuadScore
4727 __del__ =
lambda self :
None;
4729 """__str__(QuadScore self) -> std::string"""
4730 return _IMP_kernel.QuadScore___str__(self)
4733 """__repr__(QuadScore self) -> std::string"""
4734 return _IMP_kernel.QuadScore___repr__(self)
4737 return _object_cast_to_QuadScore(o)
4738 get_from = staticmethod(get_from)
4740 def get_type_name(self):
4741 return self.__class__.__name__
4742 def do_show(self, out):
4744 def get_version_info(self):
4745 if"IMP::kernel" ==
"IMP":
4746 return VersionInfo(
"python",
"0")
4748 return IMP.VersionInfo(
"python",
"0")
4750 return _object_cast_to_QuadScore(o)
4751 get_from = staticmethod(get_from)
4753 def __disown__(self):
4755 _IMP_kernel.disown_QuadScore(self)
4756 return weakref_proxy(self)
4757 def do_get_inputs(self, *args):
4758 """do_get_inputs(QuadScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4759 return _IMP_kernel.QuadScore_do_get_inputs(self, *args)
4761 QuadScore_swigregister = _IMP_kernel.QuadScore_swigregister
4762 QuadScore_swigregister(QuadScore)
4765 """Proxy of C++ IMP::kernel::QuadPredicate class"""
4766 __swig_setmethods__ = {}
4767 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4768 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadPredicate, name, value)
4769 __swig_getmethods__ = {}
4770 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4771 __getattr__ =
lambda self, name: _swig_getattr(self, QuadPredicate, name)
4772 def __init__(self, name="QuadPredicate %1%"):
4774 __init__(IMP::kernel::QuadPredicate self, std::string name="QuadPredicate %1%") -> QuadPredicate
4775 __init__(IMP::kernel::QuadPredicate self) -> QuadPredicate
4777 if self.__class__ == QuadPredicate:
4781 this = _IMP_kernel.new_QuadPredicate(_self, name)
4782 try: self.this.append(this)
4783 except: self.this = this
4784 if self.__class__ != QuadPredicate:
4786 IMP.base._director_objects.register(self)
4790 def get_value(self, *args):
4792 get_value(QuadPredicate self, IMP::kernel::ParticleQuad const & vt) -> int
4793 get_value(QuadPredicate self, IMP::kernel::ParticleQuadsTemp const & o) -> IMP::Ints
4795 return _IMP_kernel.QuadPredicate_get_value(self, *args)
4797 def __call__(self, *args):
4798 """__call__(QuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> int"""
4799 return _IMP_kernel.QuadPredicate___call__(self, *args)
4801 def get_value_index(self, *args):
4803 get_value_index(QuadPredicate self, Model m, IMP::kernel::ParticleIndexQuad const & vt) -> int
4804 get_value_index(QuadPredicate self, Model m, IMP::kernel::ParticleIndexQuads const & o) -> IMP::Ints
4806 return _IMP_kernel.QuadPredicate_get_value_index(self, *args)
4808 __swig_destroy__ = _IMP_kernel.delete_QuadPredicate
4809 __del__ =
lambda self :
None;
4811 """__str__(QuadPredicate self) -> std::string"""
4812 return _IMP_kernel.QuadPredicate___str__(self)
4815 """__repr__(QuadPredicate self) -> std::string"""
4816 return _IMP_kernel.QuadPredicate___repr__(self)
4819 return _object_cast_to_QuadPredicate(o)
4820 get_from = staticmethod(get_from)
4822 def get_type_name(self):
4823 return self.__class__.__name__
4824 def do_show(self, out):
4826 def get_version_info(self):
4827 if"IMP::kernel" ==
"IMP":
4828 return VersionInfo(
"python",
"0")
4830 return IMP.VersionInfo(
"python",
"0")
4832 return _object_cast_to_QuadPredicate(o)
4833 get_from = staticmethod(get_from)
4835 def __disown__(self):
4837 _IMP_kernel.disown_QuadPredicate(self)
4838 return weakref_proxy(self)
4839 def do_get_inputs(self, *args):
4840 """do_get_inputs(QuadPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
4841 return _IMP_kernel.QuadPredicate_do_get_inputs(self, *args)
4843 QuadPredicate_swigregister = _IMP_kernel.QuadPredicate_swigregister
4844 QuadPredicate_swigregister(QuadPredicate)
4847 """Proxy of C++ IMP::kernel::QuadContainer class"""
4848 __swig_setmethods__ = {}
4849 for _s
in [Container]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4850 __setattr__ =
lambda self, name, value: _swig_setattr(self, QuadContainer, name, value)
4851 __swig_getmethods__ = {}
4852 for _s
in [Container]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4853 __getattr__ =
lambda self, name: _swig_getattr(self, QuadContainer, name)
4854 def apply_generic(self, *args):
4855 """apply_generic(QuadContainer self, QuadModifier m)"""
4856 return _IMP_kernel.QuadContainer_apply_generic(self, *args)
4858 def apply(self, *args):
4859 """apply(QuadContainer self, QuadModifier sm)"""
4860 return _IMP_kernel.QuadContainer_apply(self, *args)
4862 def get_range_indexes(self):
4863 """get_range_indexes(QuadContainer self) -> IMP::kernel::ParticleIndexQuads"""
4864 return _IMP_kernel.QuadContainer_get_range_indexes(self)
4866 def get_contents(self):
4867 """get_contents(QuadContainer self) -> IMP::kernel::ParticleIndexQuads const &"""
4868 return _IMP_kernel.QuadContainer_get_contents(self)
4871 """get_indexes(QuadContainer self) -> IMP::kernel::ParticleIndexQuads"""
4872 return _IMP_kernel.QuadContainer_get_indexes(self)
4874 def get(self, *args):
4876 get(QuadContainer self) -> IMP::kernel::ParticleQuadsTemp
4877 get(QuadContainer self, unsigned int i) -> IMP::kernel::ParticleQuad
4879 return _IMP_kernel.QuadContainer_get(self, *args)
4881 def get_number(self):
4882 """get_number(QuadContainer self) -> unsigned int"""
4883 return _IMP_kernel.QuadContainer_get_number(self)
4885 def get_particle_quads(self):
4886 """get_particle_quads(QuadContainer self) -> IMP::kernel::ParticleQuadsTemp"""
4887 return _IMP_kernel.QuadContainer_get_particle_quads(self)
4889 def get_number_of_particle_quads(self):
4890 """get_number_of_particle_quads(QuadContainer self) -> unsigned int"""
4891 return _IMP_kernel.QuadContainer_get_number_of_particle_quads(self)
4893 def get_particle_quad(self, *args):
4894 """get_particle_quad(QuadContainer self, unsigned int i) -> IMP::kernel::ParticleQuad"""
4895 return _IMP_kernel.QuadContainer_get_particle_quad(self, *args)
4897 def __init__(self, *args):
4899 __init__(IMP::kernel::QuadContainer self, Model m, std::string name="QuadContainer %1%") -> QuadContainer
4900 __init__(IMP::kernel::QuadContainer self, Model m) -> QuadContainer
4902 if self.__class__ == QuadContainer:
4906 this = _IMP_kernel.new_QuadContainer(_self, *args)
4907 try: self.this.append(this)
4908 except: self.this = this
4909 if self.__class__ != QuadContainer:
4911 IMP.base._director_objects.register(self)
4915 def do_apply(self, *args):
4916 """do_apply(QuadContainer self, QuadModifier sm)"""
4917 return _IMP_kernel.QuadContainer_do_apply(self, *args)
4919 def do_get_provides_access(self):
4920 """do_get_provides_access(QuadContainer self) -> bool"""
4921 return _IMP_kernel.QuadContainer_do_get_provides_access(self)
4923 __swig_destroy__ = _IMP_kernel.delete_QuadContainer
4924 __del__ =
lambda self :
None;
4926 """__str__(QuadContainer self) -> std::string"""
4927 return _IMP_kernel.QuadContainer___str__(self)
4930 """__repr__(QuadContainer self) -> std::string"""
4931 return _IMP_kernel.QuadContainer___repr__(self)
4934 return _object_cast_to_QuadContainer(o)
4935 get_from = staticmethod(get_from)
4937 def get_type_name(self):
4938 return self.__class__.__name__
4939 def do_show(self, out):
4941 def get_version_info(self):
4942 if"IMP::kernel" ==
"IMP":
4943 return VersionInfo(
"python",
"0")
4945 return IMP.VersionInfo(
"python",
"0")
4947 return _object_cast_to_QuadContainer(o)
4948 get_from = staticmethod(get_from)
4950 def __disown__(self):
4952 _IMP_kernel.disown_QuadContainer(self)
4953 return weakref_proxy(self)
4954 def handle_set_has_required_score_states(self, *args):
4955 """handle_set_has_required_score_states(QuadContainer self, bool arg0)"""
4956 return _IMP_kernel.QuadContainer_handle_set_has_required_score_states(self, *args)
4958 def do_get_inputs(self):
4959 """do_get_inputs(QuadContainer self) -> IMP::kernel::ModelObjectsTemp"""
4960 return _IMP_kernel.QuadContainer_do_get_inputs(self)
4962 def do_get_interactions(self):
4963 """do_get_interactions(QuadContainer self) -> IMP::kernel::ModelObjectsTemps"""
4964 return _IMP_kernel.QuadContainer_do_get_interactions(self)
4966 def do_get_contents_hash(self):
4967 """do_get_contents_hash(QuadContainer self) -> std::size_t"""
4968 return _IMP_kernel.QuadContainer_do_get_contents_hash(self)
4970 QuadContainer_swigregister = _IMP_kernel.QuadContainer_swigregister
4971 QuadContainer_swigregister(QuadContainer)
4973 class _QuadContainerAdaptor(IMP.base._InputAdaptor):
4974 """Proxy of C++ IMP::kernel::QuadContainerAdaptor class"""
4975 __swig_setmethods__ = {}
4976 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
4977 __setattr__ =
lambda self, name, value: _swig_setattr(self, _QuadContainerAdaptor, name, value)
4978 __swig_getmethods__ = {}
4979 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
4980 __getattr__ =
lambda self, name: _swig_getattr(self, _QuadContainerAdaptor, name)
4981 __repr__ = _swig_repr
4982 def __init__(self, *args):
4984 __init__(IMP::kernel::QuadContainerAdaptor self) -> _QuadContainerAdaptor
4985 __init__(IMP::kernel::QuadContainerAdaptor self, QuadContainer c) -> _QuadContainerAdaptor
4986 __init__(IMP::kernel::QuadContainerAdaptor self, IMP::kernel::ParticleQuadsTemp const & t) -> _QuadContainerAdaptor
4988 this = _IMP_kernel.new__QuadContainerAdaptor(*args)
4989 try: self.this.append(this)
4990 except: self.this = this
4991 def set_name_if_default(self, *args):
4992 """set_name_if_default(_QuadContainerAdaptor self, std::string name)"""
4993 return _IMP_kernel._QuadContainerAdaptor_set_name_if_default(self, *args)
4995 __swig_destroy__ = _IMP_kernel.delete__QuadContainerAdaptor
4996 __del__ =
lambda self :
None;
4997 _QuadContainerAdaptor_swigregister = _IMP_kernel._QuadContainerAdaptor_swigregister
4998 _QuadContainerAdaptor_swigregister(_QuadContainerAdaptor)
5001 """Proxy of C++ IMP::kernel::SingletonModifier class"""
5002 __swig_setmethods__ = {}
5003 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5004 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonModifier, name, value)
5005 __swig_getmethods__ = {}
5006 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5007 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonModifier, name)
5008 def __init__(self, name="SingletonModifier %1%"):
5010 __init__(IMP::kernel::SingletonModifier self, std::string name="SingletonModifier %1%") -> SingletonModifier
5011 __init__(IMP::kernel::SingletonModifier self) -> SingletonModifier
5013 if self.__class__ == SingletonModifier:
5017 this = _IMP_kernel.new_SingletonModifier(_self, name)
5018 try: self.this.append(this)
5019 except: self.this = this
5020 if self.__class__ != SingletonModifier:
5022 IMP.base._director_objects.register(self)
5026 def apply(self, *args):
5027 """apply(SingletonModifier self, Particle vt)"""
5028 return _IMP_kernel.SingletonModifier_apply(self, *args)
5030 def apply_index(self, *args):
5031 """apply_index(SingletonModifier self, Model m, IMP::kernel::ParticleIndex v)"""
5032 return _IMP_kernel.SingletonModifier_apply_index(self, *args)
5034 def apply_indexes(self, *args):
5035 """apply_indexes(SingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & o, unsigned int lower_bound, unsigned int upper_bound)"""
5036 return _IMP_kernel.SingletonModifier_apply_indexes(self, *args)
5039 """__str__(SingletonModifier self) -> std::string"""
5040 return _IMP_kernel.SingletonModifier___str__(self)
5043 """__repr__(SingletonModifier self) -> std::string"""
5044 return _IMP_kernel.SingletonModifier___repr__(self)
5047 return _object_cast_to_SingletonModifier(o)
5048 get_from = staticmethod(get_from)
5050 def get_type_name(self):
5051 return self.__class__.__name__
5052 def do_show(self, out):
5054 def get_version_info(self):
5055 if"IMP::kernel" ==
"IMP":
5056 return VersionInfo(
"python",
"0")
5058 return IMP.VersionInfo(
"python",
"0")
5060 return _object_cast_to_SingletonModifier(o)
5061 get_from = staticmethod(get_from)
5063 __swig_destroy__ = _IMP_kernel.delete_SingletonModifier
5064 __del__ =
lambda self :
None;
5065 def __disown__(self):
5067 _IMP_kernel.disown_SingletonModifier(self)
5068 return weakref_proxy(self)
5069 def do_get_inputs(self, *args):
5070 """do_get_inputs(SingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5071 return _IMP_kernel.SingletonModifier_do_get_inputs(self, *args)
5073 def do_get_outputs(self, *args):
5074 """do_get_outputs(SingletonModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5075 return _IMP_kernel.SingletonModifier_do_get_outputs(self, *args)
5077 SingletonModifier_swigregister = _IMP_kernel.SingletonModifier_swigregister
5078 SingletonModifier_swigregister(SingletonModifier)
5081 """Proxy of C++ IMP::kernel::SingletonScore class"""
5082 __swig_setmethods__ = {}
5083 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5084 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonScore, name, value)
5085 __swig_getmethods__ = {}
5086 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5087 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonScore, name)
5088 def __init__(self, name="SingletonScore %1%"):
5090 __init__(IMP::kernel::SingletonScore self, std::string name="SingletonScore %1%") -> SingletonScore
5091 __init__(IMP::kernel::SingletonScore self) -> SingletonScore
5093 if self.__class__ == SingletonScore:
5097 this = _IMP_kernel.new_SingletonScore(_self, name)
5098 try: self.this.append(this)
5099 except: self.this = this
5100 if self.__class__ != SingletonScore:
5102 IMP.base._director_objects.register(self)
5106 def evaluate(self, *args):
5107 """evaluate(SingletonScore self, Particle vt, DerivativeAccumulator da) -> double"""
5108 return _IMP_kernel.SingletonScore_evaluate(self, *args)
5110 def evaluate_index(self, *args):
5111 """evaluate_index(SingletonScore self, Model m, IMP::kernel::ParticleIndex vt, DerivativeAccumulator da) -> double"""
5112 return _IMP_kernel.SingletonScore_evaluate_index(self, *args)
5114 def evaluate_indexes(self, *args):
5116 evaluate_indexes(SingletonScore self, Model m, IMP::kernel::ParticleIndexes const & o, DerivativeAccumulator da, unsigned int lower_bound,
5117 unsigned int upper_bound) -> double
5119 return _IMP_kernel.SingletonScore_evaluate_indexes(self, *args)
5121 def evaluate_if_good_index(self, *args):
5122 """evaluate_if_good_index(SingletonScore self, Model m, IMP::kernel::ParticleIndex vt, DerivativeAccumulator da, double max) -> double"""
5123 return _IMP_kernel.SingletonScore_evaluate_if_good_index(self, *args)
5125 def evaluate_if_good_indexes(self, *args):
5127 evaluate_if_good_indexes(SingletonScore self, Model m, IMP::kernel::ParticleIndexes const & o, DerivativeAccumulator da, double max,
5128 unsigned int lower_bound, unsigned int upper_bound) -> double
5130 return _IMP_kernel.SingletonScore_evaluate_if_good_indexes(self, *args)
5132 def create_current_decomposition(self, *args):
5133 """create_current_decomposition(SingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
5134 return _IMP_kernel.SingletonScore_create_current_decomposition(self, *args)
5136 def do_create_current_decomposition(self, *args):
5137 """do_create_current_decomposition(SingletonScore self, Model m, IMP::kernel::ParticleIndex vt) -> IMP::kernel::Restraints"""
5138 return _IMP_kernel.SingletonScore_do_create_current_decomposition(self, *args)
5140 __swig_destroy__ = _IMP_kernel.delete_SingletonScore
5141 __del__ =
lambda self :
None;
5143 """__str__(SingletonScore self) -> std::string"""
5144 return _IMP_kernel.SingletonScore___str__(self)
5147 """__repr__(SingletonScore self) -> std::string"""
5148 return _IMP_kernel.SingletonScore___repr__(self)
5151 return _object_cast_to_SingletonScore(o)
5152 get_from = staticmethod(get_from)
5154 def get_type_name(self):
5155 return self.__class__.__name__
5156 def do_show(self, out):
5158 def get_version_info(self):
5159 if"IMP::kernel" ==
"IMP":
5160 return VersionInfo(
"python",
"0")
5162 return IMP.VersionInfo(
"python",
"0")
5164 return _object_cast_to_SingletonScore(o)
5165 get_from = staticmethod(get_from)
5167 def __disown__(self):
5169 _IMP_kernel.disown_SingletonScore(self)
5170 return weakref_proxy(self)
5171 def do_get_inputs(self, *args):
5172 """do_get_inputs(SingletonScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5173 return _IMP_kernel.SingletonScore_do_get_inputs(self, *args)
5175 SingletonScore_swigregister = _IMP_kernel.SingletonScore_swigregister
5176 SingletonScore_swigregister(SingletonScore)
5179 """Proxy of C++ IMP::kernel::SingletonPredicate class"""
5180 __swig_setmethods__ = {}
5181 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5182 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonPredicate, name, value)
5183 __swig_getmethods__ = {}
5184 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5185 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonPredicate, name)
5186 def __init__(self, name="SingletonPredicate %1%"):
5188 __init__(IMP::kernel::SingletonPredicate self, std::string name="SingletonPredicate %1%") -> SingletonPredicate
5189 __init__(IMP::kernel::SingletonPredicate self) -> SingletonPredicate
5191 if self.__class__ == SingletonPredicate:
5195 this = _IMP_kernel.new_SingletonPredicate(_self, name)
5196 try: self.this.append(this)
5197 except: self.this = this
5198 if self.__class__ != SingletonPredicate:
5200 IMP.base._director_objects.register(self)
5204 def get_value(self, *args):
5206 get_value(SingletonPredicate self, Particle vt) -> int
5207 get_value(SingletonPredicate self, IMP::kernel::ParticlesTemp const & o) -> IMP::Ints
5209 return _IMP_kernel.SingletonPredicate_get_value(self, *args)
5211 def __call__(self, *args):
5212 """__call__(SingletonPredicate self, Model m, IMP::kernel::ParticleIndex vt) -> int"""
5213 return _IMP_kernel.SingletonPredicate___call__(self, *args)
5215 def get_value_index(self, *args):
5217 get_value_index(SingletonPredicate self, Model m, IMP::kernel::ParticleIndex vt) -> int
5218 get_value_index(SingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & o) -> IMP::Ints
5220 return _IMP_kernel.SingletonPredicate_get_value_index(self, *args)
5222 __swig_destroy__ = _IMP_kernel.delete_SingletonPredicate
5223 __del__ =
lambda self :
None;
5225 """__str__(SingletonPredicate self) -> std::string"""
5226 return _IMP_kernel.SingletonPredicate___str__(self)
5229 """__repr__(SingletonPredicate self) -> std::string"""
5230 return _IMP_kernel.SingletonPredicate___repr__(self)
5233 return _object_cast_to_SingletonPredicate(o)
5234 get_from = staticmethod(get_from)
5236 def get_type_name(self):
5237 return self.__class__.__name__
5238 def do_show(self, out):
5240 def get_version_info(self):
5241 if"IMP::kernel" ==
"IMP":
5242 return VersionInfo(
"python",
"0")
5244 return IMP.VersionInfo(
"python",
"0")
5246 return _object_cast_to_SingletonPredicate(o)
5247 get_from = staticmethod(get_from)
5249 def __disown__(self):
5251 _IMP_kernel.disown_SingletonPredicate(self)
5252 return weakref_proxy(self)
5253 def do_get_inputs(self, *args):
5254 """do_get_inputs(SingletonPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5255 return _IMP_kernel.SingletonPredicate_do_get_inputs(self, *args)
5257 SingletonPredicate_swigregister = _IMP_kernel.SingletonPredicate_swigregister
5258 SingletonPredicate_swigregister(SingletonPredicate)
5261 """Proxy of C++ IMP::kernel::SingletonContainer class"""
5262 __swig_setmethods__ = {}
5263 for _s
in [Container]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5264 __setattr__ =
lambda self, name, value: _swig_setattr(self, SingletonContainer, name, value)
5265 __swig_getmethods__ = {}
5266 for _s
in [Container]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5267 __getattr__ =
lambda self, name: _swig_getattr(self, SingletonContainer, name)
5268 def apply_generic(self, *args):
5269 """apply_generic(SingletonContainer self, SingletonModifier m)"""
5270 return _IMP_kernel.SingletonContainer_apply_generic(self, *args)
5272 def apply(self, *args):
5273 """apply(SingletonContainer self, SingletonModifier sm)"""
5274 return _IMP_kernel.SingletonContainer_apply(self, *args)
5276 def get_range_indexes(self):
5277 """get_range_indexes(SingletonContainer self) -> IMP::kernel::ParticleIndexes"""
5278 return _IMP_kernel.SingletonContainer_get_range_indexes(self)
5280 def get_contents(self):
5281 """get_contents(SingletonContainer self) -> IMP::kernel::ParticleIndexes const &"""
5282 return _IMP_kernel.SingletonContainer_get_contents(self)
5285 """get_indexes(SingletonContainer self) -> IMP::kernel::ParticleIndexes"""
5286 return _IMP_kernel.SingletonContainer_get_indexes(self)
5288 def get(self, *args):
5290 get(SingletonContainer self) -> IMP::kernel::ParticlesTemp
5291 get(SingletonContainer self, unsigned int i) -> Particle
5293 return _IMP_kernel.SingletonContainer_get(self, *args)
5295 def get_number(self):
5296 """get_number(SingletonContainer self) -> unsigned int"""
5297 return _IMP_kernel.SingletonContainer_get_number(self)
5300 """get_particles(SingletonContainer self) -> IMP::kernel::ParticlesTemp"""
5301 return _IMP_kernel.SingletonContainer_get_particles(self)
5303 def get_number_of_particles(self):
5304 """get_number_of_particles(SingletonContainer self) -> unsigned int"""
5305 return _IMP_kernel.SingletonContainer_get_number_of_particles(self)
5307 def get_particle(self, *args):
5308 """get_particle(SingletonContainer self, unsigned int i) -> Particle"""
5309 return _IMP_kernel.SingletonContainer_get_particle(self, *args)
5311 def __init__(self, *args):
5313 __init__(IMP::kernel::SingletonContainer self, Model m, std::string name="SingletonContainer %1%") -> SingletonContainer
5314 __init__(IMP::kernel::SingletonContainer self, Model m) -> SingletonContainer
5316 if self.__class__ == SingletonContainer:
5320 this = _IMP_kernel.new_SingletonContainer(_self, *args)
5321 try: self.this.append(this)
5322 except: self.this = this
5323 if self.__class__ != SingletonContainer:
5325 IMP.base._director_objects.register(self)
5329 def do_apply(self, *args):
5330 """do_apply(SingletonContainer self, SingletonModifier sm)"""
5331 return _IMP_kernel.SingletonContainer_do_apply(self, *args)
5333 def do_get_provides_access(self):
5334 """do_get_provides_access(SingletonContainer self) -> bool"""
5335 return _IMP_kernel.SingletonContainer_do_get_provides_access(self)
5337 __swig_destroy__ = _IMP_kernel.delete_SingletonContainer
5338 __del__ =
lambda self :
None;
5340 """__str__(SingletonContainer self) -> std::string"""
5341 return _IMP_kernel.SingletonContainer___str__(self)
5344 """__repr__(SingletonContainer self) -> std::string"""
5345 return _IMP_kernel.SingletonContainer___repr__(self)
5348 return _object_cast_to_SingletonContainer(o)
5349 get_from = staticmethod(get_from)
5351 def get_type_name(self):
5352 return self.__class__.__name__
5353 def do_show(self, out):
5355 def get_version_info(self):
5356 if"IMP::kernel" ==
"IMP":
5357 return VersionInfo(
"python",
"0")
5359 return IMP.VersionInfo(
"python",
"0")
5361 return _object_cast_to_SingletonContainer(o)
5362 get_from = staticmethod(get_from)
5364 def __disown__(self):
5366 _IMP_kernel.disown_SingletonContainer(self)
5367 return weakref_proxy(self)
5368 def handle_set_has_required_score_states(self, *args):
5369 """handle_set_has_required_score_states(SingletonContainer self, bool arg0)"""
5370 return _IMP_kernel.SingletonContainer_handle_set_has_required_score_states(self, *args)
5372 def do_get_inputs(self):
5373 """do_get_inputs(SingletonContainer self) -> IMP::kernel::ModelObjectsTemp"""
5374 return _IMP_kernel.SingletonContainer_do_get_inputs(self)
5376 def do_get_interactions(self):
5377 """do_get_interactions(SingletonContainer self) -> IMP::kernel::ModelObjectsTemps"""
5378 return _IMP_kernel.SingletonContainer_do_get_interactions(self)
5380 def do_get_contents_hash(self):
5381 """do_get_contents_hash(SingletonContainer self) -> std::size_t"""
5382 return _IMP_kernel.SingletonContainer_do_get_contents_hash(self)
5384 SingletonContainer_swigregister = _IMP_kernel.SingletonContainer_swigregister
5385 SingletonContainer_swigregister(SingletonContainer)
5387 class _SingletonContainerAdaptor(IMP.base._InputAdaptor):
5388 """Proxy of C++ IMP::kernel::SingletonContainerAdaptor class"""
5389 __swig_setmethods__ = {}
5390 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5391 __setattr__ =
lambda self, name, value: _swig_setattr(self, _SingletonContainerAdaptor, name, value)
5392 __swig_getmethods__ = {}
5393 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5394 __getattr__ =
lambda self, name: _swig_getattr(self, _SingletonContainerAdaptor, name)
5395 __repr__ = _swig_repr
5396 def __init__(self, *args):
5398 __init__(IMP::kernel::SingletonContainerAdaptor self) -> _SingletonContainerAdaptor
5399 __init__(IMP::kernel::SingletonContainerAdaptor self, SingletonContainer c) -> _SingletonContainerAdaptor
5400 __init__(IMP::kernel::SingletonContainerAdaptor self, IMP::kernel::ParticlesTemp const & t) -> _SingletonContainerAdaptor
5402 this = _IMP_kernel.new__SingletonContainerAdaptor(*args)
5403 try: self.this.append(this)
5404 except: self.this = this
5405 def set_name_if_default(self, *args):
5406 """set_name_if_default(_SingletonContainerAdaptor self, std::string name)"""
5407 return _IMP_kernel._SingletonContainerAdaptor_set_name_if_default(self, *args)
5409 __swig_destroy__ = _IMP_kernel.delete__SingletonContainerAdaptor
5410 __del__ =
lambda self :
None;
5411 _SingletonContainerAdaptor_swigregister = _IMP_kernel._SingletonContainerAdaptor_swigregister
5412 _SingletonContainerAdaptor_swigregister(_SingletonContainerAdaptor)
5415 """Proxy of C++ IMP::kernel::TripletModifier class"""
5416 __swig_setmethods__ = {}
5417 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5418 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletModifier, name, value)
5419 __swig_getmethods__ = {}
5420 for _s
in [_ParticleInputs,_ParticleOutputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5421 __getattr__ =
lambda self, name: _swig_getattr(self, TripletModifier, name)
5422 def __init__(self, name="TripletModifier %1%"):
5424 __init__(IMP::kernel::TripletModifier self, std::string name="TripletModifier %1%") -> TripletModifier
5425 __init__(IMP::kernel::TripletModifier self) -> TripletModifier
5427 if self.__class__ == TripletModifier:
5431 this = _IMP_kernel.new_TripletModifier(_self, name)
5432 try: self.this.append(this)
5433 except: self.this = this
5434 if self.__class__ != TripletModifier:
5436 IMP.base._director_objects.register(self)
5440 def apply(self, *args):
5441 """apply(TripletModifier self, IMP::kernel::ParticleTriplet const & vt)"""
5442 return _IMP_kernel.TripletModifier_apply(self, *args)
5444 def apply_index(self, *args):
5445 """apply_index(TripletModifier self, Model m, IMP::kernel::ParticleIndexTriplet const & v)"""
5446 return _IMP_kernel.TripletModifier_apply_index(self, *args)
5448 def apply_indexes(self, *args):
5450 apply_indexes(TripletModifier self, Model m, IMP::kernel::ParticleIndexTriplets const & o, unsigned int lower_bound,
5451 unsigned int upper_bound)
5453 return _IMP_kernel.TripletModifier_apply_indexes(self, *args)
5456 """__str__(TripletModifier self) -> std::string"""
5457 return _IMP_kernel.TripletModifier___str__(self)
5460 """__repr__(TripletModifier self) -> std::string"""
5461 return _IMP_kernel.TripletModifier___repr__(self)
5464 return _object_cast_to_TripletModifier(o)
5465 get_from = staticmethod(get_from)
5467 def get_type_name(self):
5468 return self.__class__.__name__
5469 def do_show(self, out):
5471 def get_version_info(self):
5472 if"IMP::kernel" ==
"IMP":
5473 return VersionInfo(
"python",
"0")
5475 return IMP.VersionInfo(
"python",
"0")
5477 return _object_cast_to_TripletModifier(o)
5478 get_from = staticmethod(get_from)
5480 __swig_destroy__ = _IMP_kernel.delete_TripletModifier
5481 __del__ =
lambda self :
None;
5482 def __disown__(self):
5484 _IMP_kernel.disown_TripletModifier(self)
5485 return weakref_proxy(self)
5486 def do_get_inputs(self, *args):
5487 """do_get_inputs(TripletModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5488 return _IMP_kernel.TripletModifier_do_get_inputs(self, *args)
5490 def do_get_outputs(self, *args):
5491 """do_get_outputs(TripletModifier self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5492 return _IMP_kernel.TripletModifier_do_get_outputs(self, *args)
5494 TripletModifier_swigregister = _IMP_kernel.TripletModifier_swigregister
5495 TripletModifier_swigregister(TripletModifier)
5498 """Proxy of C++ IMP::kernel::TripletScore class"""
5499 __swig_setmethods__ = {}
5500 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5501 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletScore, name, value)
5502 __swig_getmethods__ = {}
5503 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5504 __getattr__ =
lambda self, name: _swig_getattr(self, TripletScore, name)
5505 def __init__(self, name="TripletScore %1%"):
5507 __init__(IMP::kernel::TripletScore self, std::string name="TripletScore %1%") -> TripletScore
5508 __init__(IMP::kernel::TripletScore self) -> TripletScore
5510 if self.__class__ == TripletScore:
5514 this = _IMP_kernel.new_TripletScore(_self, name)
5515 try: self.this.append(this)
5516 except: self.this = this
5517 if self.__class__ != TripletScore:
5519 IMP.base._director_objects.register(self)
5523 def evaluate(self, *args):
5524 """evaluate(TripletScore self, IMP::kernel::ParticleTriplet const & vt, DerivativeAccumulator da) -> double"""
5525 return _IMP_kernel.TripletScore_evaluate(self, *args)
5527 def evaluate_index(self, *args):
5528 """evaluate_index(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplet const & vt, DerivativeAccumulator da) -> double"""
5529 return _IMP_kernel.TripletScore_evaluate_index(self, *args)
5531 def evaluate_indexes(self, *args):
5533 evaluate_indexes(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplets const & o, DerivativeAccumulator da,
5534 unsigned int lower_bound, unsigned int upper_bound) -> double
5536 return _IMP_kernel.TripletScore_evaluate_indexes(self, *args)
5538 def evaluate_if_good_index(self, *args):
5540 evaluate_if_good_index(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplet const & vt, DerivativeAccumulator da,
5541 double max) -> double
5543 return _IMP_kernel.TripletScore_evaluate_if_good_index(self, *args)
5545 def evaluate_if_good_indexes(self, *args):
5547 evaluate_if_good_indexes(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplets const & o, DerivativeAccumulator da,
5548 double max, unsigned int lower_bound, unsigned int upper_bound) -> double
5550 return _IMP_kernel.TripletScore_evaluate_if_good_indexes(self, *args)
5552 def create_current_decomposition(self, *args):
5553 """create_current_decomposition(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> IMP::kernel::Restraints"""
5554 return _IMP_kernel.TripletScore_create_current_decomposition(self, *args)
5556 def do_create_current_decomposition(self, *args):
5557 """do_create_current_decomposition(TripletScore self, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> IMP::kernel::Restraints"""
5558 return _IMP_kernel.TripletScore_do_create_current_decomposition(self, *args)
5560 __swig_destroy__ = _IMP_kernel.delete_TripletScore
5561 __del__ =
lambda self :
None;
5563 """__str__(TripletScore self) -> std::string"""
5564 return _IMP_kernel.TripletScore___str__(self)
5567 """__repr__(TripletScore self) -> std::string"""
5568 return _IMP_kernel.TripletScore___repr__(self)
5571 return _object_cast_to_TripletScore(o)
5572 get_from = staticmethod(get_from)
5574 def get_type_name(self):
5575 return self.__class__.__name__
5576 def do_show(self, out):
5578 def get_version_info(self):
5579 if"IMP::kernel" ==
"IMP":
5580 return VersionInfo(
"python",
"0")
5582 return IMP.VersionInfo(
"python",
"0")
5584 return _object_cast_to_TripletScore(o)
5585 get_from = staticmethod(get_from)
5587 def __disown__(self):
5589 _IMP_kernel.disown_TripletScore(self)
5590 return weakref_proxy(self)
5591 def do_get_inputs(self, *args):
5592 """do_get_inputs(TripletScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5593 return _IMP_kernel.TripletScore_do_get_inputs(self, *args)
5595 TripletScore_swigregister = _IMP_kernel.TripletScore_swigregister
5596 TripletScore_swigregister(TripletScore)
5599 """Proxy of C++ IMP::kernel::TripletPredicate class"""
5600 __swig_setmethods__ = {}
5601 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5602 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletPredicate, name, value)
5603 __swig_getmethods__ = {}
5604 for _s
in [_ParticleInputs,
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5605 __getattr__ =
lambda self, name: _swig_getattr(self, TripletPredicate, name)
5606 def __init__(self, name="TripletPredicate %1%"):
5608 __init__(IMP::kernel::TripletPredicate self, std::string name="TripletPredicate %1%") -> TripletPredicate
5609 __init__(IMP::kernel::TripletPredicate self) -> TripletPredicate
5611 if self.__class__ == TripletPredicate:
5615 this = _IMP_kernel.new_TripletPredicate(_self, name)
5616 try: self.this.append(this)
5617 except: self.this = this
5618 if self.__class__ != TripletPredicate:
5620 IMP.base._director_objects.register(self)
5624 def get_value(self, *args):
5626 get_value(TripletPredicate self, IMP::kernel::ParticleTriplet const & vt) -> int
5627 get_value(TripletPredicate self, IMP::kernel::ParticleTripletsTemp const & o) -> IMP::Ints
5629 return _IMP_kernel.TripletPredicate_get_value(self, *args)
5631 def __call__(self, *args):
5632 """__call__(TripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> int"""
5633 return _IMP_kernel.TripletPredicate___call__(self, *args)
5635 def get_value_index(self, *args):
5637 get_value_index(TripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplet const & vt) -> int
5638 get_value_index(TripletPredicate self, Model m, IMP::kernel::ParticleIndexTriplets const & o) -> IMP::Ints
5640 return _IMP_kernel.TripletPredicate_get_value_index(self, *args)
5642 __swig_destroy__ = _IMP_kernel.delete_TripletPredicate
5643 __del__ =
lambda self :
None;
5645 """__str__(TripletPredicate self) -> std::string"""
5646 return _IMP_kernel.TripletPredicate___str__(self)
5649 """__repr__(TripletPredicate self) -> std::string"""
5650 return _IMP_kernel.TripletPredicate___repr__(self)
5653 return _object_cast_to_TripletPredicate(o)
5654 get_from = staticmethod(get_from)
5656 def get_type_name(self):
5657 return self.__class__.__name__
5658 def do_show(self, out):
5660 def get_version_info(self):
5661 if"IMP::kernel" ==
"IMP":
5662 return VersionInfo(
"python",
"0")
5664 return IMP.VersionInfo(
"python",
"0")
5666 return _object_cast_to_TripletPredicate(o)
5667 get_from = staticmethod(get_from)
5669 def __disown__(self):
5671 _IMP_kernel.disown_TripletPredicate(self)
5672 return weakref_proxy(self)
5673 def do_get_inputs(self, *args):
5674 """do_get_inputs(TripletPredicate self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
5675 return _IMP_kernel.TripletPredicate_do_get_inputs(self, *args)
5677 TripletPredicate_swigregister = _IMP_kernel.TripletPredicate_swigregister
5678 TripletPredicate_swigregister(TripletPredicate)
5681 """Proxy of C++ IMP::kernel::TripletContainer class"""
5682 __swig_setmethods__ = {}
5683 for _s
in [Container]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5684 __setattr__ =
lambda self, name, value: _swig_setattr(self, TripletContainer, name, value)
5685 __swig_getmethods__ = {}
5686 for _s
in [Container]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5687 __getattr__ =
lambda self, name: _swig_getattr(self, TripletContainer, name)
5688 def apply_generic(self, *args):
5689 """apply_generic(TripletContainer self, TripletModifier m)"""
5690 return _IMP_kernel.TripletContainer_apply_generic(self, *args)
5692 def apply(self, *args):
5693 """apply(TripletContainer self, TripletModifier sm)"""
5694 return _IMP_kernel.TripletContainer_apply(self, *args)
5696 def get_range_indexes(self):
5697 """get_range_indexes(TripletContainer self) -> IMP::kernel::ParticleIndexTriplets"""
5698 return _IMP_kernel.TripletContainer_get_range_indexes(self)
5700 def get_contents(self):
5701 """get_contents(TripletContainer self) -> IMP::kernel::ParticleIndexTriplets const &"""
5702 return _IMP_kernel.TripletContainer_get_contents(self)
5705 """get_indexes(TripletContainer self) -> IMP::kernel::ParticleIndexTriplets"""
5706 return _IMP_kernel.TripletContainer_get_indexes(self)
5708 def get(self, *args):
5710 get(TripletContainer self) -> IMP::kernel::ParticleTripletsTemp
5711 get(TripletContainer self, unsigned int i) -> IMP::kernel::ParticleTriplet
5713 return _IMP_kernel.TripletContainer_get(self, *args)
5715 def get_number(self):
5716 """get_number(TripletContainer self) -> unsigned int"""
5717 return _IMP_kernel.TripletContainer_get_number(self)
5719 def get_particle_triplets(self):
5720 """get_particle_triplets(TripletContainer self) -> IMP::kernel::ParticleTripletsTemp"""
5721 return _IMP_kernel.TripletContainer_get_particle_triplets(self)
5723 def get_number_of_particle_triplets(self):
5724 """get_number_of_particle_triplets(TripletContainer self) -> unsigned int"""
5725 return _IMP_kernel.TripletContainer_get_number_of_particle_triplets(self)
5727 def get_particle_triplet(self, *args):
5728 """get_particle_triplet(TripletContainer self, unsigned int i) -> IMP::kernel::ParticleTriplet"""
5729 return _IMP_kernel.TripletContainer_get_particle_triplet(self, *args)
5731 def __init__(self, *args):
5733 __init__(IMP::kernel::TripletContainer self, Model m, std::string name="TripletContainer %1%") -> TripletContainer
5734 __init__(IMP::kernel::TripletContainer self, Model m) -> TripletContainer
5736 if self.__class__ == TripletContainer:
5740 this = _IMP_kernel.new_TripletContainer(_self, *args)
5741 try: self.this.append(this)
5742 except: self.this = this
5743 if self.__class__ != TripletContainer:
5745 IMP.base._director_objects.register(self)
5749 def do_apply(self, *args):
5750 """do_apply(TripletContainer self, TripletModifier sm)"""
5751 return _IMP_kernel.TripletContainer_do_apply(self, *args)
5753 def do_get_provides_access(self):
5754 """do_get_provides_access(TripletContainer self) -> bool"""
5755 return _IMP_kernel.TripletContainer_do_get_provides_access(self)
5757 __swig_destroy__ = _IMP_kernel.delete_TripletContainer
5758 __del__ =
lambda self :
None;
5760 """__str__(TripletContainer self) -> std::string"""
5761 return _IMP_kernel.TripletContainer___str__(self)
5764 """__repr__(TripletContainer self) -> std::string"""
5765 return _IMP_kernel.TripletContainer___repr__(self)
5768 return _object_cast_to_TripletContainer(o)
5769 get_from = staticmethod(get_from)
5771 def get_type_name(self):
5772 return self.__class__.__name__
5773 def do_show(self, out):
5775 def get_version_info(self):
5776 if"IMP::kernel" ==
"IMP":
5777 return VersionInfo(
"python",
"0")
5779 return IMP.VersionInfo(
"python",
"0")
5781 return _object_cast_to_TripletContainer(o)
5782 get_from = staticmethod(get_from)
5784 def __disown__(self):
5786 _IMP_kernel.disown_TripletContainer(self)
5787 return weakref_proxy(self)
5788 def handle_set_has_required_score_states(self, *args):
5789 """handle_set_has_required_score_states(TripletContainer self, bool arg0)"""
5790 return _IMP_kernel.TripletContainer_handle_set_has_required_score_states(self, *args)
5792 def do_get_inputs(self):
5793 """do_get_inputs(TripletContainer self) -> IMP::kernel::ModelObjectsTemp"""
5794 return _IMP_kernel.TripletContainer_do_get_inputs(self)
5796 def do_get_interactions(self):
5797 """do_get_interactions(TripletContainer self) -> IMP::kernel::ModelObjectsTemps"""
5798 return _IMP_kernel.TripletContainer_do_get_interactions(self)
5800 def do_get_contents_hash(self):
5801 """do_get_contents_hash(TripletContainer self) -> std::size_t"""
5802 return _IMP_kernel.TripletContainer_do_get_contents_hash(self)
5804 TripletContainer_swigregister = _IMP_kernel.TripletContainer_swigregister
5805 TripletContainer_swigregister(TripletContainer)
5807 class _TripletContainerAdaptor(IMP.base._InputAdaptor):
5808 """Proxy of C++ IMP::kernel::TripletContainerAdaptor class"""
5809 __swig_setmethods__ = {}
5810 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5811 __setattr__ =
lambda self, name, value: _swig_setattr(self, _TripletContainerAdaptor, name, value)
5812 __swig_getmethods__ = {}
5813 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5814 __getattr__ =
lambda self, name: _swig_getattr(self, _TripletContainerAdaptor, name)
5815 __repr__ = _swig_repr
5816 def __init__(self, *args):
5818 __init__(IMP::kernel::TripletContainerAdaptor self) -> _TripletContainerAdaptor
5819 __init__(IMP::kernel::TripletContainerAdaptor self, TripletContainer c) -> _TripletContainerAdaptor
5820 __init__(IMP::kernel::TripletContainerAdaptor self, IMP::kernel::ParticleTripletsTemp const & t) -> _TripletContainerAdaptor
5822 this = _IMP_kernel.new__TripletContainerAdaptor(*args)
5823 try: self.this.append(this)
5824 except: self.this = this
5825 def set_name_if_default(self, *args):
5826 """set_name_if_default(_TripletContainerAdaptor self, std::string name)"""
5827 return _IMP_kernel._TripletContainerAdaptor_set_name_if_default(self, *args)
5829 __swig_destroy__ = _IMP_kernel.delete__TripletContainerAdaptor
5830 __del__ =
lambda self :
None;
5831 _TripletContainerAdaptor_swigregister = _IMP_kernel._TripletContainerAdaptor_swigregister
5832 _TripletContainerAdaptor_swigregister(_TripletContainerAdaptor)
5836 """write_particles_to_buffer(IMP::kernel::ParticlesTemp const & particles, IMP::kernel::FloatKeys const & keys) -> IMP::base::Vector< char >"""
5837 return _IMP_kernel.write_particles_to_buffer(*args)
5841 read_particles_from_buffer(IMP::base::Vector< char > const & buffer, IMP::kernel::ParticlesTemp const & particles,
5842 IMP::kernel::FloatKeys const & keys)
5844 return _IMP_kernel.read_particles_from_buffer(*args)
5847 """get_particles(Model m, IMP::kernel::ParticleIndexes const & ps) -> IMP::kernel::ParticlesTemp"""
5848 return _IMP_kernel.get_particles(*args)
5852 get_indexes(IMP::kernel::ParticlesTemp const & ps) -> IMP::kernel::ParticleIndexes
5853 get_indexes(IMP::kernel::ParticlePairsTemp const & ps) -> IMP::kernel::ParticleIndexPairs
5855 return _IMP_kernel.get_indexes(*args)
5856 class _ParticleIndexAdaptor(_object):
5857 """Proxy of C++ IMP::kernel::ParticleIndexAdaptor class"""
5858 __swig_setmethods__ = {}
5859 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleIndexAdaptor, name, value)
5860 __swig_getmethods__ = {}
5861 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleIndexAdaptor, name)
5862 __repr__ = _swig_repr
5863 def __init__(self, *args):
5865 __init__(IMP::kernel::ParticleIndexAdaptor self, Particle p) -> _ParticleIndexAdaptor
5866 __init__(IMP::kernel::ParticleIndexAdaptor self, IMP::kernel::ParticleIndex pi) -> _ParticleIndexAdaptor
5867 __init__(IMP::kernel::ParticleIndexAdaptor self, Decorator d) -> _ParticleIndexAdaptor
5869 this = _IMP_kernel.new__ParticleIndexAdaptor(*args)
5870 try: self.this.append(this)
5871 except: self.this = this
5872 __swig_destroy__ = _IMP_kernel.delete__ParticleIndexAdaptor
5873 __del__ =
lambda self :
None;
5874 _ParticleIndexAdaptor_swigregister = _IMP_kernel._ParticleIndexAdaptor_swigregister
5875 _ParticleIndexAdaptor_swigregister(_ParticleIndexAdaptor)
5877 class _ParticleIndexesAdaptor(IMP.base._InputAdaptor):
5878 """Proxy of C++ IMP::kernel::ParticleIndexesAdaptor class"""
5879 __swig_setmethods__ = {}
5880 for _s
in [IMP.base._InputAdaptor]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5881 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleIndexesAdaptor, name, value)
5882 __swig_getmethods__ = {}
5883 for _s
in [IMP.base._InputAdaptor]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5884 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleIndexesAdaptor, name)
5885 __repr__ = _swig_repr
5886 def __init__(self, *args):
5888 __init__(IMP::kernel::ParticleIndexesAdaptor self, IMP::kernel::ParticlesTemp const & ps) -> _ParticleIndexesAdaptor
5889 __init__(IMP::kernel::ParticleIndexesAdaptor self, IMP::kernel::ParticleIndexes const & pi) -> _ParticleIndexesAdaptor
5890 __init__(IMP::kernel::ParticleIndexesAdaptor self) -> _ParticleIndexesAdaptor
5892 this = _IMP_kernel.new__ParticleIndexesAdaptor(*args)
5893 try: self.this.append(this)
5894 except: self.this = this
5895 __swig_destroy__ = _IMP_kernel.delete__ParticleIndexesAdaptor
5896 __del__ =
lambda self :
None;
5897 _ParticleIndexesAdaptor_swigregister = _IMP_kernel._ParticleIndexesAdaptor_swigregister
5898 _ParticleIndexesAdaptor_swigregister(_ParticleIndexesAdaptor)
5900 class _ParticleIndexPairsAdaptor(_object):
5901 """Proxy of C++ IMP::kernel::ParticleIndexPairsAdaptor class"""
5902 __swig_setmethods__ = {}
5903 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ParticleIndexPairsAdaptor, name, value)
5904 __swig_getmethods__ = {}
5905 __getattr__ =
lambda self, name: _swig_getattr(self, _ParticleIndexPairsAdaptor, name)
5906 __repr__ = _swig_repr
5907 def __init__(self, *args):
5909 __init__(IMP::kernel::ParticleIndexPairsAdaptor self, IMP::kernel::ParticlePairsTemp const & ps) -> _ParticleIndexPairsAdaptor
5910 __init__(IMP::kernel::ParticleIndexPairsAdaptor self, IMP::kernel::ParticleIndexPairs const & pi) -> _ParticleIndexPairsAdaptor
5911 __init__(IMP::kernel::ParticleIndexPairsAdaptor self) -> _ParticleIndexPairsAdaptor
5913 this = _IMP_kernel.new__ParticleIndexPairsAdaptor(*args)
5914 try: self.this.append(this)
5915 except: self.this = this
5916 __swig_destroy__ = _IMP_kernel.delete__ParticleIndexPairsAdaptor
5917 __del__ =
lambda self :
None;
5918 _ParticleIndexPairsAdaptor_swigregister = _IMP_kernel._ParticleIndexPairsAdaptor_swigregister
5919 _ParticleIndexPairsAdaptor_swigregister(_ParticleIndexPairsAdaptor)
5922 """Proxy of C++ IMP::kernel::internal::_ConstRestraint class"""
5923 __swig_setmethods__ = {}
5924 for _s
in [Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5925 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ConstRestraint, name, value)
5926 __swig_getmethods__ = {}
5927 for _s
in [Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5928 __getattr__ =
lambda self, name: _swig_getattr(self, _ConstRestraint, name)
5929 def __init__(self, *args):
5931 __init__(IMP::kernel::internal::_ConstRestraint self, double v, IMP::kernel::ParticlesTemp const ps) -> _ConstRestraint
5932 __init__(IMP::kernel::internal::_ConstRestraint self, Model m, IMP::kernel::ParticleIndexes const & pis, double v) -> _ConstRestraint
5934 this = _IMP_kernel.new__ConstRestraint(*args)
5935 try: self.this.append(this)
5936 except: self.this = this
5937 def get_value(self):
5938 """get_value(_ConstRestraint self) -> double"""
5939 return _IMP_kernel._ConstRestraint_get_value(self)
5941 def do_create_decomposition(self):
5942 """do_create_decomposition(_ConstRestraint self) -> IMP::kernel::Restraints"""
5943 return _IMP_kernel._ConstRestraint_do_create_decomposition(self)
5945 def do_get_inputs(self):
5946 """do_get_inputs(_ConstRestraint self) -> IMP::kernel::ModelObjectsTemp"""
5947 return _IMP_kernel._ConstRestraint_do_get_inputs(self)
5949 def get_version_info(self):
5950 """get_version_info(_ConstRestraint self) -> VersionInfo"""
5951 return _IMP_kernel._ConstRestraint_get_version_info(self)
5954 """__str__(_ConstRestraint self) -> std::string"""
5955 return _IMP_kernel._ConstRestraint___str__(self)
5958 """__repr__(_ConstRestraint self) -> std::string"""
5959 return _IMP_kernel._ConstRestraint___repr__(self)
5962 return _object_cast_to__ConstRestraint(o)
5963 get_from = staticmethod(get_from)
5965 _ConstRestraint_swigregister = _IMP_kernel._ConstRestraint_swigregister
5966 _ConstRestraint_swigregister(_ConstRestraint)
5969 """Proxy of C++ IMP::kernel::internal::_ConstSingletonScore class"""
5970 __swig_setmethods__ = {}
5971 for _s
in [SingletonScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5972 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ConstSingletonScore, name, value)
5973 __swig_getmethods__ = {}
5974 for _s
in [SingletonScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
5975 __getattr__ =
lambda self, name: _swig_getattr(self, _ConstSingletonScore, name)
5976 __repr__ = _swig_repr
5977 def __init__(self, *args):
5978 """__init__(IMP::kernel::internal::_ConstSingletonScore self, double v) -> _ConstSingletonScore"""
5979 this = _IMP_kernel.new__ConstSingletonScore(*args)
5980 try: self.this.append(this)
5981 except: self.this = this
5982 def do_get_inputs(self, *args):
5983 """do_get_inputs(_ConstSingletonScore self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
5984 return _IMP_kernel._ConstSingletonScore_do_get_inputs(self, *args)
5986 def get_version_info(self):
5987 """get_version_info(_ConstSingletonScore self) -> VersionInfo"""
5988 return _IMP_kernel._ConstSingletonScore_get_version_info(self)
5990 _ConstSingletonScore_swigregister = _IMP_kernel._ConstSingletonScore_swigregister
5991 _ConstSingletonScore_swigregister(_ConstSingletonScore)
5994 """Proxy of C++ IMP::kernel::internal::_ConstPairScore class"""
5995 __swig_setmethods__ = {}
5996 for _s
in [PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
5997 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ConstPairScore, name, value)
5998 __swig_getmethods__ = {}
5999 for _s
in [PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6000 __getattr__ =
lambda self, name: _swig_getattr(self, _ConstPairScore, name)
6001 __repr__ = _swig_repr
6002 def __init__(self, *args):
6003 """__init__(IMP::kernel::internal::_ConstPairScore self, double v) -> _ConstPairScore"""
6004 this = _IMP_kernel.new__ConstPairScore(*args)
6005 try: self.this.append(this)
6006 except: self.this = this
6007 def do_get_inputs(self, *args):
6008 """do_get_inputs(_ConstPairScore self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
6009 return _IMP_kernel._ConstPairScore_do_get_inputs(self, *args)
6011 def get_version_info(self):
6012 """get_version_info(_ConstPairScore self) -> VersionInfo"""
6013 return _IMP_kernel._ConstPairScore_get_version_info(self)
6015 _ConstPairScore_swigregister = _IMP_kernel._ConstPairScore_swigregister
6016 _ConstPairScore_swigregister(_ConstPairScore)
6019 """Proxy of C++ IMP::kernel::internal::_TrivialDecorator class"""
6020 __swig_setmethods__ = {}
6021 for _s
in [Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6022 __setattr__ =
lambda self, name, value: _swig_setattr(self, _TrivialDecorator, name, value)
6023 __swig_getmethods__ = {}
6024 for _s
in [Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6025 __getattr__ =
lambda self, name: _swig_getattr(self, _TrivialDecorator, name)
6026 def __init__(self, *args):
6028 __init__(IMP::kernel::internal::_TrivialDecorator self) -> _TrivialDecorator
6029 __init__(IMP::kernel::internal::_TrivialDecorator self, Model m, ::IMP::kernel::ParticleIndex id) -> _TrivialDecorator
6030 __init__(IMP::kernel::internal::_TrivialDecorator self, _ParticleAdaptor d) -> _TrivialDecorator
6032 this = _IMP_kernel.new__TrivialDecorator(*args)
6033 try: self.this.append(this)
6034 except: self.this = this
6035 def decorate_particle(*args):
6036 """decorate_particle(Particle p) -> _TrivialDecorator"""
6037 return _IMP_kernel._TrivialDecorator_decorate_particle(*args)
6039 if _newclass:decorate_particle = staticmethod(decorate_particle)
6040 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6041 def show(self, *args):
6043 show(_TrivialDecorator self, _ostream out=std::cout)
6044 show(_TrivialDecorator self)
6046 return _IMP_kernel._TrivialDecorator_show(self, *args)
6048 def setup_particle(*args):
6050 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialDecorator
6051 setup_particle(_ParticleAdaptor decorator) -> _TrivialDecorator
6053 return _IMP_kernel._TrivialDecorator_setup_particle(*args)
6055 if _newclass:setup_particle = staticmethod(setup_particle)
6056 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
6057 def get_is_setup(*args):
6059 get_is_setup(_ParticleAdaptor p) -> bool
6060 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6062 return _IMP_kernel._TrivialDecorator_get_is_setup(*args)
6064 if _newclass:get_is_setup = staticmethod(get_is_setup)
6065 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6066 def add_attribute(self, *args):
6068 add_attribute(_TrivialDecorator self, FloatKey k, IMP::Float v, bool opt)
6069 add_attribute(_TrivialDecorator self, FloatKey a0, IMP::Float a1)
6070 add_attribute(_TrivialDecorator self, IntKey a0, IMP::Int a1)
6071 add_attribute(_TrivialDecorator self, StringKey a0, IMP::String a1)
6072 add_attribute(_TrivialDecorator self, ParticleIndexKey a0, Particle a1)
6073 add_attribute(_TrivialDecorator self, ObjectKey a0, Object a1)
6075 return _IMP_kernel._TrivialDecorator_add_attribute(self, *args)
6077 def get_value(self, *args):
6079 get_value(_TrivialDecorator self, FloatKey a0) -> IMP::Float
6080 get_value(_TrivialDecorator self, IntKey a0) -> IMP::Int
6081 get_value(_TrivialDecorator self, StringKey a0) -> IMP::String
6082 get_value(_TrivialDecorator self, ParticleIndexKey a0) -> Particle
6083 get_value(_TrivialDecorator self, ObjectKey a0) -> Object
6085 return _IMP_kernel._TrivialDecorator_get_value(self, *args)
6087 def set_value(self, *args):
6089 set_value(_TrivialDecorator self, FloatKey a0, IMP::Float a1)
6090 set_value(_TrivialDecorator self, IntKey a0, IMP::Int a1)
6091 set_value(_TrivialDecorator self, StringKey a0, IMP::String a1)
6092 set_value(_TrivialDecorator self, ParticleIndexKey a0, Particle a1)
6093 set_value(_TrivialDecorator self, ObjectKey a0, Object a1)
6095 return _IMP_kernel._TrivialDecorator_set_value(self, *args)
6097 def remove_attribute(self, *args):
6099 remove_attribute(_TrivialDecorator self, FloatKey a0)
6100 remove_attribute(_TrivialDecorator self, IntKey a0)
6101 remove_attribute(_TrivialDecorator self, StringKey a0)
6102 remove_attribute(_TrivialDecorator self, ParticleIndexKey a0)
6103 remove_attribute(_TrivialDecorator self, ObjectKey a0)
6105 return _IMP_kernel._TrivialDecorator_remove_attribute(self, *args)
6107 def has_attribute(self, *args):
6109 has_attribute(_TrivialDecorator self, FloatKey a0) -> bool
6110 has_attribute(_TrivialDecorator self, IntKey a0) -> bool
6111 has_attribute(_TrivialDecorator self, StringKey a0) -> bool
6112 has_attribute(_TrivialDecorator self, ParticleIndexKey a0) -> bool
6113 has_attribute(_TrivialDecorator self, ObjectKey a0) -> bool
6115 return _IMP_kernel._TrivialDecorator_has_attribute(self, *args)
6117 def get_derivative(self, *args):
6118 """get_derivative(_TrivialDecorator self, FloatKey a0) -> double"""
6119 return _IMP_kernel._TrivialDecorator_get_derivative(self, *args)
6122 """get_name(_TrivialDecorator self) -> std::string"""
6123 return _IMP_kernel._TrivialDecorator_get_name(self)
6125 def clear_caches(self):
6126 """clear_caches(_TrivialDecorator self)"""
6127 return _IMP_kernel._TrivialDecorator_clear_caches(self)
6129 def set_name(self, *args):
6130 """set_name(_TrivialDecorator self, std::string a0)"""
6131 return _IMP_kernel._TrivialDecorator_set_name(self, *args)
6134 """set_check_level(_TrivialDecorator self, IMP::base::CheckLevel a0)"""
6135 return _IMP_kernel._TrivialDecorator_set_check_level(self, *args)
6137 def add_to_derivative(self, *args):
6138 """add_to_derivative(_TrivialDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6139 return _IMP_kernel._TrivialDecorator_add_to_derivative(self, *args)
6141 def set_is_optimized(self, *args):
6142 """set_is_optimized(_TrivialDecorator self, FloatKey a0, bool a1)"""
6143 return _IMP_kernel._TrivialDecorator_set_is_optimized(self, *args)
6145 def get_is_optimized(self, *args):
6146 """get_is_optimized(_TrivialDecorator self, FloatKey a0) -> bool"""
6147 return _IMP_kernel._TrivialDecorator_get_is_optimized(self, *args)
6150 """get_check_level(_TrivialDecorator self) -> IMP::base::CheckLevel"""
6151 return _IMP_kernel._TrivialDecorator_get_check_level(self)
6153 def __eq__(self, *args):
6155 __eq__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6156 __eq__(_TrivialDecorator self, Particle d) -> bool
6158 return _IMP_kernel._TrivialDecorator___eq__(self, *args)
6160 def __ne__(self, *args):
6162 __ne__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6163 __ne__(_TrivialDecorator self, Particle d) -> bool
6165 return _IMP_kernel._TrivialDecorator___ne__(self, *args)
6167 def __le__(self, *args):
6169 __le__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6170 __le__(_TrivialDecorator self, Particle d) -> bool
6172 return _IMP_kernel._TrivialDecorator___le__(self, *args)
6174 def __lt__(self, *args):
6176 __lt__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6177 __lt__(_TrivialDecorator self, Particle d) -> bool
6179 return _IMP_kernel._TrivialDecorator___lt__(self, *args)
6181 def __ge__(self, *args):
6183 __ge__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6184 __ge__(_TrivialDecorator self, Particle d) -> bool
6186 return _IMP_kernel._TrivialDecorator___ge__(self, *args)
6188 def __gt__(self, *args):
6190 __gt__(_TrivialDecorator self, _TrivialDecorator o) -> bool
6191 __gt__(_TrivialDecorator self, Particle d) -> bool
6193 return _IMP_kernel._TrivialDecorator___gt__(self, *args)
6196 """__str__(_TrivialDecorator self) -> std::string"""
6197 return _IMP_kernel._TrivialDecorator___str__(self)
6200 """__repr__(_TrivialDecorator self) -> std::string"""
6201 return _IMP_kernel._TrivialDecorator___repr__(self)
6203 __swig_destroy__ = _IMP_kernel.delete__TrivialDecorator
6204 __del__ =
lambda self :
None;
6205 _TrivialDecorator_swigregister = _IMP_kernel._TrivialDecorator_swigregister
6206 _TrivialDecorator_swigregister(_TrivialDecorator)
6208 def _TrivialDecorator_decorate_particle(*args):
6209 """_TrivialDecorator_decorate_particle(Particle p) -> _TrivialDecorator"""
6210 return _IMP_kernel._TrivialDecorator_decorate_particle(*args)
6212 def _TrivialDecorator_setup_particle(*args):
6214 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialDecorator
6215 _TrivialDecorator_setup_particle(_ParticleAdaptor decorator) -> _TrivialDecorator
6217 return _IMP_kernel._TrivialDecorator_setup_particle(*args)
6219 def _TrivialDecorator_get_is_setup(*args):
6221 get_is_setup(_ParticleAdaptor p) -> bool
6222 _TrivialDecorator_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6224 return _IMP_kernel._TrivialDecorator_get_is_setup(*args)
6226 class _TrivialDerivedDecorator(_TrivialDecorator):
6227 """Proxy of C++ IMP::kernel::internal::_TrivialDerivedDecorator class"""
6228 __swig_setmethods__ = {}
6229 for _s
in [_TrivialDecorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _TrivialDerivedDecorator, name, value)
6231 __swig_getmethods__ = {}
6232 for _s
in [_TrivialDecorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6233 __getattr__ =
lambda self, name: _swig_getattr(self, _TrivialDerivedDecorator, name)
6234 def __init__(self, *args):
6236 __init__(IMP::kernel::internal::_TrivialDerivedDecorator self) -> _TrivialDerivedDecorator
6237 __init__(IMP::kernel::internal::_TrivialDerivedDecorator self, Model m, ::IMP::kernel::ParticleIndex id) -> _TrivialDerivedDecorator
6238 __init__(IMP::kernel::internal::_TrivialDerivedDecorator self, _ParticleAdaptor d) -> _TrivialDerivedDecorator
6240 this = _IMP_kernel.new__TrivialDerivedDecorator(*args)
6241 try: self.this.append(this)
6242 except: self.this = this
6243 def decorate_particle(*args):
6244 """decorate_particle(Particle p) -> _TrivialDerivedDecorator"""
6245 return _IMP_kernel._TrivialDerivedDecorator_decorate_particle(*args)
6247 if _newclass:decorate_particle = staticmethod(decorate_particle)
6248 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6249 def show(self, *args):
6251 show(_TrivialDerivedDecorator self, _ostream out=std::cout)
6252 show(_TrivialDerivedDecorator self)
6254 return _IMP_kernel._TrivialDerivedDecorator_show(self, *args)
6256 def setup_particle(*args):
6258 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialDerivedDecorator
6259 setup_particle(_ParticleAdaptor decorator) -> _TrivialDerivedDecorator
6261 return _IMP_kernel._TrivialDerivedDecorator_setup_particle(*args)
6263 if _newclass:setup_particle = staticmethod(setup_particle)
6264 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
6265 def get_is_setup(*args):
6267 get_is_setup(_ParticleAdaptor p) -> bool
6268 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6270 return _IMP_kernel._TrivialDerivedDecorator_get_is_setup(*args)
6272 if _newclass:get_is_setup = staticmethod(get_is_setup)
6273 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6274 def add_attribute(self, *args):
6276 add_attribute(_TrivialDerivedDecorator self, FloatKey k, IMP::Float v, bool opt)
6277 add_attribute(_TrivialDerivedDecorator self, FloatKey a0, IMP::Float a1)
6278 add_attribute(_TrivialDerivedDecorator self, IntKey a0, IMP::Int a1)
6279 add_attribute(_TrivialDerivedDecorator self, StringKey a0, IMP::String a1)
6280 add_attribute(_TrivialDerivedDecorator self, ParticleIndexKey a0, Particle a1)
6281 add_attribute(_TrivialDerivedDecorator self, ObjectKey a0, Object a1)
6283 return _IMP_kernel._TrivialDerivedDecorator_add_attribute(self, *args)
6285 def get_value(self, *args):
6287 get_value(_TrivialDerivedDecorator self, FloatKey a0) -> IMP::Float
6288 get_value(_TrivialDerivedDecorator self, IntKey a0) -> IMP::Int
6289 get_value(_TrivialDerivedDecorator self, StringKey a0) -> IMP::String
6290 get_value(_TrivialDerivedDecorator self, ParticleIndexKey a0) -> Particle
6291 get_value(_TrivialDerivedDecorator self, ObjectKey a0) -> Object
6293 return _IMP_kernel._TrivialDerivedDecorator_get_value(self, *args)
6295 def set_value(self, *args):
6297 set_value(_TrivialDerivedDecorator self, FloatKey a0, IMP::Float a1)
6298 set_value(_TrivialDerivedDecorator self, IntKey a0, IMP::Int a1)
6299 set_value(_TrivialDerivedDecorator self, StringKey a0, IMP::String a1)
6300 set_value(_TrivialDerivedDecorator self, ParticleIndexKey a0, Particle a1)
6301 set_value(_TrivialDerivedDecorator self, ObjectKey a0, Object a1)
6303 return _IMP_kernel._TrivialDerivedDecorator_set_value(self, *args)
6305 def remove_attribute(self, *args):
6307 remove_attribute(_TrivialDerivedDecorator self, FloatKey a0)
6308 remove_attribute(_TrivialDerivedDecorator self, IntKey a0)
6309 remove_attribute(_TrivialDerivedDecorator self, StringKey a0)
6310 remove_attribute(_TrivialDerivedDecorator self, ParticleIndexKey a0)
6311 remove_attribute(_TrivialDerivedDecorator self, ObjectKey a0)
6313 return _IMP_kernel._TrivialDerivedDecorator_remove_attribute(self, *args)
6315 def has_attribute(self, *args):
6317 has_attribute(_TrivialDerivedDecorator self, FloatKey a0) -> bool
6318 has_attribute(_TrivialDerivedDecorator self, IntKey a0) -> bool
6319 has_attribute(_TrivialDerivedDecorator self, StringKey a0) -> bool
6320 has_attribute(_TrivialDerivedDecorator self, ParticleIndexKey a0) -> bool
6321 has_attribute(_TrivialDerivedDecorator self, ObjectKey a0) -> bool
6323 return _IMP_kernel._TrivialDerivedDecorator_has_attribute(self, *args)
6325 def get_derivative(self, *args):
6326 """get_derivative(_TrivialDerivedDecorator self, FloatKey a0) -> double"""
6327 return _IMP_kernel._TrivialDerivedDecorator_get_derivative(self, *args)
6330 """get_name(_TrivialDerivedDecorator self) -> std::string"""
6331 return _IMP_kernel._TrivialDerivedDecorator_get_name(self)
6333 def clear_caches(self):
6334 """clear_caches(_TrivialDerivedDecorator self)"""
6335 return _IMP_kernel._TrivialDerivedDecorator_clear_caches(self)
6337 def set_name(self, *args):
6338 """set_name(_TrivialDerivedDecorator self, std::string a0)"""
6339 return _IMP_kernel._TrivialDerivedDecorator_set_name(self, *args)
6342 """set_check_level(_TrivialDerivedDecorator self, IMP::base::CheckLevel a0)"""
6343 return _IMP_kernel._TrivialDerivedDecorator_set_check_level(self, *args)
6345 def add_to_derivative(self, *args):
6346 """add_to_derivative(_TrivialDerivedDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6347 return _IMP_kernel._TrivialDerivedDecorator_add_to_derivative(self, *args)
6349 def set_is_optimized(self, *args):
6350 """set_is_optimized(_TrivialDerivedDecorator self, FloatKey a0, bool a1)"""
6351 return _IMP_kernel._TrivialDerivedDecorator_set_is_optimized(self, *args)
6353 def get_is_optimized(self, *args):
6354 """get_is_optimized(_TrivialDerivedDecorator self, FloatKey a0) -> bool"""
6355 return _IMP_kernel._TrivialDerivedDecorator_get_is_optimized(self, *args)
6358 """get_check_level(_TrivialDerivedDecorator self) -> IMP::base::CheckLevel"""
6359 return _IMP_kernel._TrivialDerivedDecorator_get_check_level(self)
6361 def __eq__(self, *args):
6363 __eq__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6364 __eq__(_TrivialDerivedDecorator self, Particle d) -> bool
6366 return _IMP_kernel._TrivialDerivedDecorator___eq__(self, *args)
6368 def __ne__(self, *args):
6370 __ne__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6371 __ne__(_TrivialDerivedDecorator self, Particle d) -> bool
6373 return _IMP_kernel._TrivialDerivedDecorator___ne__(self, *args)
6375 def __le__(self, *args):
6377 __le__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6378 __le__(_TrivialDerivedDecorator self, Particle d) -> bool
6380 return _IMP_kernel._TrivialDerivedDecorator___le__(self, *args)
6382 def __lt__(self, *args):
6384 __lt__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6385 __lt__(_TrivialDerivedDecorator self, Particle d) -> bool
6387 return _IMP_kernel._TrivialDerivedDecorator___lt__(self, *args)
6389 def __ge__(self, *args):
6391 __ge__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6392 __ge__(_TrivialDerivedDecorator self, Particle d) -> bool
6394 return _IMP_kernel._TrivialDerivedDecorator___ge__(self, *args)
6396 def __gt__(self, *args):
6398 __gt__(_TrivialDerivedDecorator self, _TrivialDerivedDecorator o) -> bool
6399 __gt__(_TrivialDerivedDecorator self, Particle d) -> bool
6401 return _IMP_kernel._TrivialDerivedDecorator___gt__(self, *args)
6404 """__str__(_TrivialDerivedDecorator self) -> std::string"""
6405 return _IMP_kernel._TrivialDerivedDecorator___str__(self)
6408 """__repr__(_TrivialDerivedDecorator self) -> std::string"""
6409 return _IMP_kernel._TrivialDerivedDecorator___repr__(self)
6411 __swig_destroy__ = _IMP_kernel.delete__TrivialDerivedDecorator
6412 __del__ =
lambda self :
None;
6413 _TrivialDerivedDecorator_swigregister = _IMP_kernel._TrivialDerivedDecorator_swigregister
6414 _TrivialDerivedDecorator_swigregister(_TrivialDerivedDecorator)
6416 def _TrivialDerivedDecorator_decorate_particle(*args):
6417 """_TrivialDerivedDecorator_decorate_particle(Particle p) -> _TrivialDerivedDecorator"""
6418 return _IMP_kernel._TrivialDerivedDecorator_decorate_particle(*args)
6420 def _TrivialDerivedDecorator_setup_particle(*args):
6422 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialDerivedDecorator
6423 _TrivialDerivedDecorator_setup_particle(_ParticleAdaptor decorator) -> _TrivialDerivedDecorator
6425 return _IMP_kernel._TrivialDerivedDecorator_setup_particle(*args)
6427 def _TrivialDerivedDecorator_get_is_setup(*args):
6429 get_is_setup(_ParticleAdaptor p) -> bool
6430 _TrivialDerivedDecorator_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6432 return _IMP_kernel._TrivialDerivedDecorator_get_is_setup(*args)
6434 class _TrivialTraitsDecorator(
Decorator):
6435 """Proxy of C++ IMP::kernel::internal::_TrivialTraitsDecorator class"""
6436 __swig_setmethods__ = {}
6437 for _s
in [Decorator]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6438 __setattr__ =
lambda self, name, value: _swig_setattr(self, _TrivialTraitsDecorator, name, value)
6439 __swig_getmethods__ = {}
6440 for _s
in [Decorator]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6441 __getattr__ =
lambda self, name: _swig_getattr(self, _TrivialTraitsDecorator, name)
6442 def get_decorator_traits(self):
6443 """get_decorator_traits(_TrivialTraitsDecorator self) -> StringKey"""
6444 return _IMP_kernel._TrivialTraitsDecorator_get_decorator_traits(self)
6446 def get_default_decorator_traits():
6447 """get_default_decorator_traits() -> StringKey"""
6448 return _IMP_kernel._TrivialTraitsDecorator_get_default_decorator_traits()
6450 if _newclass:get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6451 __swig_getmethods__[
"get_default_decorator_traits"] =
lambda x: get_default_decorator_traits
6452 def __init__(self, *args):
6454 __init__(IMP::kernel::internal::_TrivialTraitsDecorator self) -> _TrivialTraitsDecorator
6455 __init__(IMP::kernel::internal::_TrivialTraitsDecorator self, Model m, ::IMP::kernel::ParticleIndex id, StringKey tr=get_default_key()) -> _TrivialTraitsDecorator
6456 __init__(IMP::kernel::internal::_TrivialTraitsDecorator self, Model m, ::IMP::kernel::ParticleIndex id) -> _TrivialTraitsDecorator
6457 __init__(IMP::kernel::internal::_TrivialTraitsDecorator self, _ParticleAdaptor d, StringKey tr=get_default_key()) -> _TrivialTraitsDecorator
6458 __init__(IMP::kernel::internal::_TrivialTraitsDecorator self, _ParticleAdaptor d) -> _TrivialTraitsDecorator
6460 this = _IMP_kernel.new__TrivialTraitsDecorator(*args)
6461 try: self.this.append(this)
6462 except: self.this = this
6463 def decorate_particle(*args):
6465 decorate_particle(Particle p, StringKey tr=get_default_key()) -> _TrivialTraitsDecorator
6466 decorate_particle(Particle p) -> _TrivialTraitsDecorator
6468 return _IMP_kernel._TrivialTraitsDecorator_decorate_particle(*args)
6470 if _newclass:decorate_particle = staticmethod(decorate_particle)
6471 __swig_getmethods__[
"decorate_particle"] =
lambda x: decorate_particle
6472 def show(self, *args):
6474 show(_TrivialTraitsDecorator self, _ostream out=std::cout)
6475 show(_TrivialTraitsDecorator self)
6477 return _IMP_kernel._TrivialTraitsDecorator_show(self, *args)
6479 def setup_particle(*args):
6481 setup_particle(Model m, IMP::kernel::ParticleIndex pi, StringKey tr=IMP::kernel::internal::_TrivialTraitsDecorator::get_default_decorator_traits()) -> _TrivialTraitsDecorator
6482 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialTraitsDecorator
6483 setup_particle(_ParticleAdaptor d, StringKey tr=IMP::kernel::internal::_TrivialTraitsDecorator::get_default_decorator_traits()) -> _TrivialTraitsDecorator
6484 setup_particle(_ParticleAdaptor d) -> _TrivialTraitsDecorator
6486 return _IMP_kernel._TrivialTraitsDecorator_setup_particle(*args)
6488 if _newclass:setup_particle = staticmethod(setup_particle)
6489 __swig_getmethods__[
"setup_particle"] =
lambda x: setup_particle
6490 def get_is_setup(*args):
6492 get_is_setup(_ParticleAdaptor p, StringKey tr=get_default_key()) -> bool
6493 get_is_setup(_ParticleAdaptor p) -> bool
6494 get_is_setup(Model m, IMP::kernel::ParticleIndex pi, StringKey k=get_default_key()) -> bool
6495 get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6497 return _IMP_kernel._TrivialTraitsDecorator_get_is_setup(*args)
6499 if _newclass:get_is_setup = staticmethod(get_is_setup)
6500 __swig_getmethods__[
"get_is_setup"] =
lambda x: get_is_setup
6501 def get_default_key():
6502 """get_default_key() -> StringKey"""
6503 return _IMP_kernel._TrivialTraitsDecorator_get_default_key()
6505 if _newclass:get_default_key = staticmethod(get_default_key)
6506 __swig_getmethods__[
"get_default_key"] =
lambda x: get_default_key
6507 def add_attribute(self, *args):
6509 add_attribute(_TrivialTraitsDecorator self, FloatKey k, IMP::Float v, bool opt)
6510 add_attribute(_TrivialTraitsDecorator self, FloatKey a0, IMP::Float a1)
6511 add_attribute(_TrivialTraitsDecorator self, IntKey a0, IMP::Int a1)
6512 add_attribute(_TrivialTraitsDecorator self, StringKey a0, IMP::String a1)
6513 add_attribute(_TrivialTraitsDecorator self, ParticleIndexKey a0, Particle a1)
6514 add_attribute(_TrivialTraitsDecorator self, ObjectKey a0, Object a1)
6516 return _IMP_kernel._TrivialTraitsDecorator_add_attribute(self, *args)
6518 def get_value(self, *args):
6520 get_value(_TrivialTraitsDecorator self, FloatKey a0) -> IMP::Float
6521 get_value(_TrivialTraitsDecorator self, IntKey a0) -> IMP::Int
6522 get_value(_TrivialTraitsDecorator self, StringKey a0) -> IMP::String
6523 get_value(_TrivialTraitsDecorator self, ParticleIndexKey a0) -> Particle
6524 get_value(_TrivialTraitsDecorator self, ObjectKey a0) -> Object
6526 return _IMP_kernel._TrivialTraitsDecorator_get_value(self, *args)
6528 def set_value(self, *args):
6530 set_value(_TrivialTraitsDecorator self, FloatKey a0, IMP::Float a1)
6531 set_value(_TrivialTraitsDecorator self, IntKey a0, IMP::Int a1)
6532 set_value(_TrivialTraitsDecorator self, StringKey a0, IMP::String a1)
6533 set_value(_TrivialTraitsDecorator self, ParticleIndexKey a0, Particle a1)
6534 set_value(_TrivialTraitsDecorator self, ObjectKey a0, Object a1)
6536 return _IMP_kernel._TrivialTraitsDecorator_set_value(self, *args)
6538 def remove_attribute(self, *args):
6540 remove_attribute(_TrivialTraitsDecorator self, FloatKey a0)
6541 remove_attribute(_TrivialTraitsDecorator self, IntKey a0)
6542 remove_attribute(_TrivialTraitsDecorator self, StringKey a0)
6543 remove_attribute(_TrivialTraitsDecorator self, ParticleIndexKey a0)
6544 remove_attribute(_TrivialTraitsDecorator self, ObjectKey a0)
6546 return _IMP_kernel._TrivialTraitsDecorator_remove_attribute(self, *args)
6548 def has_attribute(self, *args):
6550 has_attribute(_TrivialTraitsDecorator self, FloatKey a0) -> bool
6551 has_attribute(_TrivialTraitsDecorator self, IntKey a0) -> bool
6552 has_attribute(_TrivialTraitsDecorator self, StringKey a0) -> bool
6553 has_attribute(_TrivialTraitsDecorator self, ParticleIndexKey a0) -> bool
6554 has_attribute(_TrivialTraitsDecorator self, ObjectKey a0) -> bool
6556 return _IMP_kernel._TrivialTraitsDecorator_has_attribute(self, *args)
6558 def get_derivative(self, *args):
6559 """get_derivative(_TrivialTraitsDecorator self, FloatKey a0) -> double"""
6560 return _IMP_kernel._TrivialTraitsDecorator_get_derivative(self, *args)
6563 """get_name(_TrivialTraitsDecorator self) -> std::string"""
6564 return _IMP_kernel._TrivialTraitsDecorator_get_name(self)
6566 def clear_caches(self):
6567 """clear_caches(_TrivialTraitsDecorator self)"""
6568 return _IMP_kernel._TrivialTraitsDecorator_clear_caches(self)
6570 def set_name(self, *args):
6571 """set_name(_TrivialTraitsDecorator self, std::string a0)"""
6572 return _IMP_kernel._TrivialTraitsDecorator_set_name(self, *args)
6575 """set_check_level(_TrivialTraitsDecorator self, IMP::base::CheckLevel a0)"""
6576 return _IMP_kernel._TrivialTraitsDecorator_set_check_level(self, *args)
6578 def add_to_derivative(self, *args):
6579 """add_to_derivative(_TrivialTraitsDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6580 return _IMP_kernel._TrivialTraitsDecorator_add_to_derivative(self, *args)
6582 def set_is_optimized(self, *args):
6583 """set_is_optimized(_TrivialTraitsDecorator self, FloatKey a0, bool a1)"""
6584 return _IMP_kernel._TrivialTraitsDecorator_set_is_optimized(self, *args)
6586 def get_is_optimized(self, *args):
6587 """get_is_optimized(_TrivialTraitsDecorator self, FloatKey a0) -> bool"""
6588 return _IMP_kernel._TrivialTraitsDecorator_get_is_optimized(self, *args)
6591 """get_check_level(_TrivialTraitsDecorator self) -> IMP::base::CheckLevel"""
6592 return _IMP_kernel._TrivialTraitsDecorator_get_check_level(self)
6594 def __eq__(self, *args):
6596 __eq__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6597 __eq__(_TrivialTraitsDecorator self, Particle d) -> bool
6599 return _IMP_kernel._TrivialTraitsDecorator___eq__(self, *args)
6601 def __ne__(self, *args):
6603 __ne__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6604 __ne__(_TrivialTraitsDecorator self, Particle d) -> bool
6606 return _IMP_kernel._TrivialTraitsDecorator___ne__(self, *args)
6608 def __le__(self, *args):
6610 __le__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6611 __le__(_TrivialTraitsDecorator self, Particle d) -> bool
6613 return _IMP_kernel._TrivialTraitsDecorator___le__(self, *args)
6615 def __lt__(self, *args):
6617 __lt__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6618 __lt__(_TrivialTraitsDecorator self, Particle d) -> bool
6620 return _IMP_kernel._TrivialTraitsDecorator___lt__(self, *args)
6622 def __ge__(self, *args):
6624 __ge__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6625 __ge__(_TrivialTraitsDecorator self, Particle d) -> bool
6627 return _IMP_kernel._TrivialTraitsDecorator___ge__(self, *args)
6629 def __gt__(self, *args):
6631 __gt__(_TrivialTraitsDecorator self, _TrivialTraitsDecorator o) -> bool
6632 __gt__(_TrivialTraitsDecorator self, Particle d) -> bool
6634 return _IMP_kernel._TrivialTraitsDecorator___gt__(self, *args)
6637 """__str__(_TrivialTraitsDecorator self) -> std::string"""
6638 return _IMP_kernel._TrivialTraitsDecorator___str__(self)
6641 """__repr__(_TrivialTraitsDecorator self) -> std::string"""
6642 return _IMP_kernel._TrivialTraitsDecorator___repr__(self)
6644 __swig_destroy__ = _IMP_kernel.delete__TrivialTraitsDecorator
6645 __del__ =
lambda self :
None;
6646 _TrivialTraitsDecorator_swigregister = _IMP_kernel._TrivialTraitsDecorator_swigregister
6647 _TrivialTraitsDecorator_swigregister(_TrivialTraitsDecorator)
6649 def _TrivialTraitsDecorator_get_default_decorator_traits():
6650 """_TrivialTraitsDecorator_get_default_decorator_traits() -> StringKey"""
6651 return _IMP_kernel._TrivialTraitsDecorator_get_default_decorator_traits()
6653 def _TrivialTraitsDecorator_decorate_particle(*args):
6655 decorate_particle(Particle p, StringKey tr=get_default_key()) -> _TrivialTraitsDecorator
6656 _TrivialTraitsDecorator_decorate_particle(Particle p) -> _TrivialTraitsDecorator
6658 return _IMP_kernel._TrivialTraitsDecorator_decorate_particle(*args)
6660 def _TrivialTraitsDecorator_setup_particle(*args):
6662 setup_particle(Model m, IMP::kernel::ParticleIndex pi, StringKey tr=IMP::kernel::internal::_TrivialTraitsDecorator::get_default_decorator_traits()) -> _TrivialTraitsDecorator
6663 setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> _TrivialTraitsDecorator
6664 setup_particle(_ParticleAdaptor d, StringKey tr=IMP::kernel::internal::_TrivialTraitsDecorator::get_default_decorator_traits()) -> _TrivialTraitsDecorator
6665 _TrivialTraitsDecorator_setup_particle(_ParticleAdaptor d) -> _TrivialTraitsDecorator
6667 return _IMP_kernel._TrivialTraitsDecorator_setup_particle(*args)
6669 def _TrivialTraitsDecorator_get_is_setup(*args):
6671 get_is_setup(_ParticleAdaptor p, StringKey tr=get_default_key()) -> bool
6672 get_is_setup(_ParticleAdaptor p) -> bool
6673 get_is_setup(Model m, IMP::kernel::ParticleIndex pi, StringKey k=get_default_key()) -> bool
6674 _TrivialTraitsDecorator_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
6676 return _IMP_kernel._TrivialTraitsDecorator_get_is_setup(*args)
6678 def _TrivialTraitsDecorator_get_default_key():
6679 """_TrivialTraitsDecorator_get_default_key() -> StringKey"""
6680 return _IMP_kernel._TrivialTraitsDecorator_get_default_key()
6683 def __lshift__(*args):
6685 __lshift__(_ostream out, _TrivialDecorator n) -> _ostream
6686 __lshift__(_ostream out, _TrivialDerivedDecorator n) -> _ostream
6687 __lshift__(_ostream out, _TrivialTraitsDecorator n) -> _ostream
6689 return _IMP_kernel.__lshift__(*args)
6691 """Proxy of C++ IMP::kernel::internal::_ConstOptimizer class"""
6692 __swig_setmethods__ = {}
6693 for _s
in [Optimizer]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6694 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ConstOptimizer, name, value)
6695 __swig_getmethods__ = {}
6696 for _s
in [Optimizer]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6697 __getattr__ =
lambda self, name: _swig_getattr(self, _ConstOptimizer, name)
6698 def __init__(self, *args):
6699 """__init__(IMP::kernel::internal::_ConstOptimizer self, Model m) -> _ConstOptimizer"""
6700 this = _IMP_kernel.new__ConstOptimizer(*args)
6701 try: self.this.append(this)
6702 except: self.this = this
6703 def do_optimize(self, *args):
6704 """do_optimize(_ConstOptimizer self, unsigned int max_steps) -> IMP::Float"""
6705 return _IMP_kernel._ConstOptimizer_do_optimize(self, *args)
6707 def get_version_info(self):
6708 """get_version_info(_ConstOptimizer self) -> VersionInfo"""
6709 return _IMP_kernel._ConstOptimizer_get_version_info(self)
6712 """__str__(_ConstOptimizer self) -> std::string"""
6713 return _IMP_kernel._ConstOptimizer___str__(self)
6716 """__repr__(_ConstOptimizer self) -> std::string"""
6717 return _IMP_kernel._ConstOptimizer___repr__(self)
6720 return _object_cast_to__ConstOptimizer(o)
6721 get_from = staticmethod(get_from)
6723 _ConstOptimizer_swigregister = _IMP_kernel._ConstOptimizer_swigregister
6724 _ConstOptimizer_swigregister(_ConstOptimizer)
6727 def get_particle(*args):
6728 """get_particle(Particle p) -> Particle"""
6729 return _IMP_kernel.get_particle(*args)
6731 def _decorator_test(*args):
6732 """_decorator_test(Particle p)"""
6733 return _IMP_kernel._decorator_test(*args)
6735 def _overloaded_decorator(*args):
6737 _overloaded_decorator(_TrivialDecorator a) -> int
6738 _overloaded_decorator(_TrivialDerivedDecorator a) -> int
6740 return _IMP_kernel._overloaded_decorator(*args)
6742 def _take_particles(*args):
6744 _take_particles(IMP::kernel::Particles const & ps) -> unsigned int
6745 _take_particles(Model m, IMP::kernel::Particles const & ps) -> unsigned int
6746 _take_particles(Model m, IMP::kernel::Particles const & ps, TextOutput out) -> unsigned int
6748 return _IMP_kernel._take_particles(*args)
6750 def _give_particles(*args):
6751 """_give_particles(Model m) -> IMP::kernel::Particles const &"""
6752 return _IMP_kernel._give_particles(*args)
6754 def _pass_particles(*args):
6755 """_pass_particles(IMP::kernel::Particles const & ps) -> IMP::kernel::Particles const &"""
6756 return _IMP_kernel._pass_particles(*args)
6758 def _pass_particle(*args):
6759 """_pass_particle(Particle ps) -> Particle"""
6760 return _IMP_kernel._pass_particle(*args)
6762 def _pass_particle_pair(*args):
6763 """_pass_particle_pair(IMP::kernel::ParticlePair const & pp) -> IMP::kernel::ParticlePair const &"""
6764 return _IMP_kernel._pass_particle_pair(*args)
6766 def _give_particles_copy(*args):
6767 """_give_particles_copy(Model m) -> IMP::kernel::Particles"""
6768 return _IMP_kernel._give_particles_copy(*args)
6770 def _pass_float_keys(*args):
6771 """_pass_float_keys(IMP::kernel::FloatKeys const & input) -> IMP::kernel::FloatKeys"""
6772 return _IMP_kernel._pass_float_keys(*args)
6776 _pass(IMP::kernel::Particles const & p) -> IMP::kernel::Particles const
6777 _pass(IMP::kernel::Restraints const & p) -> IMP::kernel::Restraints const &
6779 return _IMP_kernel._pass(*args)
6781 def _pass_decorators(*args):
6782 """_pass_decorators(IMP::kernel::internal::_TrivialDecorators const & p) -> IMP::kernel::internal::_TrivialDecorators const &"""
6783 return _IMP_kernel._pass_decorators(*args)
6785 def _pass_decorator_traits(*args):
6786 """_pass_decorator_traits(IMP::kernel::internal::_TrivialTraitsDecorators const & p) -> IMP::kernel::internal::_TrivialTraitsDecorators const &"""
6787 return _IMP_kernel._pass_decorator_traits(*args)
6789 def _pass_particle_pairs(*args):
6790 """_pass_particle_pairs(IMP::kernel::ParticlePairsTemp const & p) -> IMP::kernel::ParticlePairsTemp"""
6791 return _IMP_kernel._pass_particle_pairs(*args)
6793 def _pass_particle_index_pairs(*args):
6794 """_pass_particle_index_pairs(IMP::kernel::ParticleIndexPairs const & p) -> IMP::kernel::ParticleIndexPairs"""
6795 return _IMP_kernel._pass_particle_index_pairs(*args)
6797 def _pass_model_objects(*args):
6798 """_pass_model_objects(IMP::kernel::ModelObjectsTemp const & p) -> IMP::kernel::ModelObjectsTemp"""
6799 return _IMP_kernel._pass_model_objects(*args)
6801 def _pass_particles_temps(*args):
6802 """_pass_particles_temps(IMP::kernel::ParticlesTemps const & ps) -> IMP::kernel::ParticlesTemps"""
6803 return _IMP_kernel._pass_particles_temps(*args)
6805 def _test_overload(*args):
6807 _test_overload(IMP::kernel::Particles const & ps) -> int
6808 _test_overload(IMP::kernel::Restraints const & ps) -> int
6810 return _IMP_kernel._test_overload(*args)
6812 def _get_range(*args):
6813 """_get_range(Model m, FloatKey k) -> IMP::FloatRange"""
6814 return _IMP_kernel._get_range(*args)
6816 def _create_particles_from_pdb(*args):
6817 """_create_particles_from_pdb(std::string name, Model m) -> IMP::kernel::ParticlesTemp"""
6818 return _IMP_kernel._create_particles_from_pdb(*args)
6820 """Proxy of C++ IMP::kernel::internal::_LogPairScore class"""
6821 __swig_setmethods__ = {}
6822 for _s
in [PairScore]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6823 __setattr__ =
lambda self, name, value: _swig_setattr(self, _LogPairScore, name, value)
6824 __swig_getmethods__ = {}
6825 for _s
in [PairScore]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6826 __getattr__ =
lambda self, name: _swig_getattr(self, _LogPairScore, name)
6827 __repr__ = _swig_repr
6829 """__init__(IMP::kernel::internal::_LogPairScore self) -> _LogPairScore"""
6830 this = _IMP_kernel.new__LogPairScore()
6831 try: self.this.append(this)
6832 except: self.this = this
6833 def do_get_inputs(self, *args):
6834 """do_get_inputs(_LogPairScore self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> IMP::kernel::ModelObjectsTemp"""
6835 return _IMP_kernel._LogPairScore_do_get_inputs(self, *args)
6837 def get_version_info(self):
6838 """get_version_info(_LogPairScore self) -> VersionInfo"""
6839 return _IMP_kernel._LogPairScore_get_version_info(self)
6841 def get_particle_pairs(self):
6842 """get_particle_pairs(_LogPairScore self) -> IMP::kernel::ParticlePairsTemp"""
6843 return _IMP_kernel._LogPairScore_get_particle_pairs(self)
6846 """clear(_LogPairScore self)"""
6847 return _IMP_kernel._LogPairScore_clear(self)
6849 def get_contains(self, *args):
6850 """get_contains(_LogPairScore self, IMP::kernel::ParticlePair const & pp) -> bool"""
6851 return _IMP_kernel._LogPairScore_get_contains(self, *args)
6853 _LogPairScore_swigregister = _IMP_kernel._LogPairScore_swigregister
6854 _LogPairScore_swigregister(_LogPairScore)
6857 def _overloaded_particles(*args):
6859 _overloaded_particles(Particle arg1)
6860 _overloaded_particles(IMP::kernel::Particles const & arg1)
6861 _overloaded_particles(IMP::kernel::ParticlesTemp const & arg1)
6862 _overloaded_particles(Model arg1, IMP::kernel::ParticleIndexes const & arg2)
6863 _overloaded_particles(IMP::kernel::internal::_TrivialDecorators const & arg1)
6864 _overloaded_particles(_TrivialDecorator arg1)
6866 return _IMP_kernel._overloaded_particles(*args)
6867 class _ImplicitParticles(_object):
6868 """Proxy of C++ IMP::kernel::internal::_ImplicitParticles class"""
6869 __swig_setmethods__ = {}
6870 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ImplicitParticles, name, value)
6871 __swig_getmethods__ = {}
6872 __getattr__ =
lambda self, name: _swig_getattr(self, _ImplicitParticles, name)
6873 __repr__ = _swig_repr
6874 def __init__(self, *args):
6876 __init__(IMP::kernel::internal::_ImplicitParticles self, Particle arg2) -> _ImplicitParticles
6877 __init__(IMP::kernel::internal::_ImplicitParticles self, IMP::kernel::Particles const & arg2) -> _ImplicitParticles
6878 __init__(IMP::kernel::internal::_ImplicitParticles self, IMP::kernel::ParticlesTemp const & arg2) -> _ImplicitParticles
6879 __init__(IMP::kernel::internal::_ImplicitParticles self, Model arg2, IMP::kernel::ParticleIndexes const & arg3) -> _ImplicitParticles
6880 __init__(IMP::kernel::internal::_ImplicitParticles self, IMP::kernel::internal::_TrivialDecorators const & arg2) -> _ImplicitParticles
6881 __init__(IMP::kernel::internal::_ImplicitParticles self, _TrivialDecorator arg2) -> _ImplicitParticles
6883 this = _IMP_kernel.new__ImplicitParticles(*args)
6884 try: self.this.append(this)
6885 except: self.this = this
6886 __swig_destroy__ = _IMP_kernel.delete__ImplicitParticles
6887 __del__ =
lambda self :
None;
6888 _ImplicitParticles_swigregister = _IMP_kernel._ImplicitParticles_swigregister
6889 _ImplicitParticles_swigregister(_ImplicitParticles)
6892 def _implicit_particles(*args):
6893 """_implicit_particles(_ImplicitParticles arg1)"""
6894 return _IMP_kernel._implicit_particles(*args)
6896 def _take_particle_adaptor(*args):
6897 """_take_particle_adaptor(_ParticleAdaptor pa) -> IMP::kernel::ParticleIndex"""
6898 return _IMP_kernel._take_particle_adaptor(*args)
6900 def _take_particle_indexes_adaptor(*args):
6901 """_take_particle_indexes_adaptor(_ParticleIndexesAdaptor pa) -> IMP::kernel::ParticleIndexes"""
6902 return _IMP_kernel._take_particle_indexes_adaptor(*args)
6903 class ScopedSetFloatAttribute(IMP.base._RAII):
6904 """Proxy of C++ IMP::kernel::ScopedSetAttribute<(FloatKey,IMP::Float)> class"""
6905 __swig_setmethods__ = {}
6906 for _s
in [IMP.base._RAII]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
6907 __setattr__ =
lambda self, name, value: _swig_setattr(self, ScopedSetFloatAttribute, name, value)
6908 __swig_getmethods__ = {}
6909 for _s
in [IMP.base._RAII]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
6910 __getattr__ =
lambda self, name: _swig_getattr(self, ScopedSetFloatAttribute, name)
6911 def __init__(self, *args):
6913 __init__(IMP::kernel::ScopedSetAttribute<(FloatKey,IMP::Float)> self) -> ScopedSetFloatAttribute
6914 __init__(IMP::kernel::ScopedSetAttribute<(FloatKey,IMP::Float)> self, Particle p, FloatKey key, double const & value) -> ScopedSetFloatAttribute
6916 this = _IMP_kernel.new_ScopedSetFloatAttribute(*args)
6917 try: self.this.append(this)
6918 except: self.this = this
6919 def set(self, *args):
6920 """set(ScopedSetFloatAttribute self, Particle p, FloatKey key, double const & value)"""
6921 return _IMP_kernel.ScopedSetFloatAttribute_set(self, *args)
6924 """reset(ScopedSetFloatAttribute self)"""
6925 return _IMP_kernel.ScopedSetFloatAttribute_reset(self)
6927 __swig_destroy__ = _IMP_kernel.delete_ScopedSetFloatAttribute
6928 __del__ =
lambda self :
None;
6929 def show(self, *args):
6931 show(ScopedSetFloatAttribute self, _ostream out=std::cout)
6932 show(ScopedSetFloatAttribute self)
6934 return _IMP_kernel.ScopedSetFloatAttribute_show(self, *args)
6937 """__str__(ScopedSetFloatAttribute self) -> std::string"""
6938 return _IMP_kernel.ScopedSetFloatAttribute___str__(self)
6941 """__repr__(ScopedSetFloatAttribute self) -> std::string"""
6942 return _IMP_kernel.ScopedSetFloatAttribute___repr__(self)
6944 ScopedSetFloatAttribute_swigregister = _IMP_kernel.ScopedSetFloatAttribute_swigregister
6945 ScopedSetFloatAttribute_swigregister(ScopedSetFloatAttribute)
6954 get_networkx_graph=IMP.base.get_networkx_graph
6955 show_altgraph=IMP.base.show_altgraph
6956 show_graphviz=IMP.base.show_graphviz
6961 USAGE= IMP.base.USAGE
6962 USAGE_AND_INTERNAL= IMP.base.USAGE_AND_INTERNAL
6963 TERSE= IMP.base.TERSE
6964 SILENT= IMP.base.SILENT
6965 VERBOSE= IMP.base.VERBOSE
6966 WARNING= IMP.base.WARNING
6967 PROGRESS= IMP.base.PROGRESS
6968 MEMORY= IMP.base.MEMORY
6969 create_temporary_file= IMP.base.create_temporary_file
6970 create_temporary_file_name= IMP.base.create_temporary_file_name
6971 random_number_generator= IMP.base.random_number_generator
6972 set_log_level=IMP.base.set_log_level
6973 set_log_timer=IMP.base.set_log_timer
6974 get_log_level=IMP.base.get_log_level
6975 add_to_log= IMP.base.add_to_log
6976 set_check_level= IMP.base.set_check_level
6977 get_check_level= IMP.base.get_check_level
6981 if sys.platform ==
'win32' and 'IMP_LD_PATH' in os.environ:
6982 dirs = os.environ[
'IMP_LD_PATH'].split(
":")
6983 pathcomps = os.environ[
'PATH'].split(
";")
6985 if d
not in pathcomps:
6986 os.environ[
'PATH'] = d +
';' + os.environ[
'PATH']
6998 """Allow applications to easily implement commmands.
6999 Typically, an IMP application will use an instance of this class
7000 to provide a consistent interface to multiple distinct commands
7001 from a single binary, rather than providing a potentially large
7004 Each command is implemented with a Python module of the same name
7005 that can be imported from the module (for example, if module_name
7006 is 'IMP.foo', the 'bar' command is provided by the IMP.foo.bar Python
7007 module, which would usually be found as modules/foo/pyext/src/bar.py).
7008 Each such module should have a docstring (__doc__) and a main() method
7009 that takes no arguments (the module should also call its main() method
7010 if it is run directly, i.e. with something like
7011 'if __name__=="__main__": main()'). The encompassing module
7012 ('IMP.foo' in the example) should define _all_commands as a Python
7013 list of all valid commands.
7015 @param short_help A few words that describe the application.
7016 @param long_help Longer text, used in the 'help' command.
7017 @param module_name Name of the module (e.g. 'IMP.foo') that implements
7021 def __init__(self, short_help, long_help, module_name):
7022 self.short_help = short_help
7023 self.long_help = long_help
7024 self.module_name = module_name
7025 self._all_commands = self.import_module()._all_commands
7026 self._progname = os.path.basename(sys.argv[0])
7029 if len(sys.argv) <= 1:
7030 print self.short_help +
" Use '%s help' for help." % self._progname
7032 command = sys.argv[1]
7033 if command
in (
'help',
'--help',
'-h'):
7034 if len(sys.argv) == 3:
7035 self.show_command_help(sys.argv[2])
7038 elif command ==
'--version':
7040 elif command
in self._all_commands:
7041 self.do_command(command)
7043 self.unknown_command(command)
7045 def import_module(self, mod=None):
7046 modname = self.module_name
7048 modname +=
"." + mod
7049 return __import__(modname, {}, {}, [
''])
7051 def unknown_command(self, command):
7052 print "Unknown command: '%s'" % command
7053 print "Use '%s help' for help." % self._progname
7056 def _get_version(self):
7057 return self.import_module().get_module_version()
7059 def show_version(self):
7060 print self._progname +
' ' + self._get_version()
7062 def show_help(self):
7063 ver = self._get_version()
7064 print "%s, version %s." % (self._progname, ver)
7065 print self.long_help +
"""
7067 This program is part of IMP, the Integrative Modeling Platform,
7068 which is Copyright 2007-2014 IMP Inventors.
7069 For additional information about IMP, see <http://integrativemodeling.org>.
7071 Usage: %s <command> [options] [args]
7073 Commands:""" % self._progname
7074 commands = self._all_commands[:] + [
'help']
7076 cmdlen = max([len(c)
for c
in commands])
7079 doc =
'Get help on using %s.' % self._progname
7081 doc = self.import_module(c).__doc__
or "<no help>"
7082 c +=
' ' * (cmdlen - len(c))
7083 print ' ' + c +
' ' + doc
7085 Use "%s help <command>" for detailed help on any command
7086 or "%s --version" to see the version number.""" % (self._progname,
7089 def do_command(self, command):
7090 mod = self.import_module(command)
7091 sys.argv[0] = self._progname +
' ' + command
7095 def show_command_help(self, command):
7096 if command ==
'help':
7098 elif command
in self._all_commands
or command ==
'help':
7099 mod = self.import_module(command)
7100 sys.argv = [self._progname +
' ' + command,
'--help']
7103 self.unknown_command(command)
7110 """IMP-specific subclass of optparse.OptionParser.
7111 This adds options common to all IMP applications
7112 (see IMP::base::setup_from_argv()).
7115 _use_boost_parser =
True
7117 def __init__(self, *args, **kwargs):
7120 kwargs[
'add_help_option'] =
False
7121 kwargs[
'version'] =
None
7123 if 'imp_module' in kwargs:
7124 del kwargs[
'imp_module']
7126 optparse.OptionParser.__init__(self, *args, **kwargs)
7128 if 'epilog' in kwargs:
7130 del kwargs[
'epilog']
7131 optparse.OptionParser.__init__(self, *args, **kwargs)
7137 def _process_long_opt(self, rargs, values):
7138 if self._use_boost_parser:
7140 optparse.OptionParser._process_long_opt(self, rargs, values)
7141 except optparse.BadOptionError, err:
7142 if not hasattr(err,
'opt_str') \
7143 and err.msg.startswith(
'no such option:'):
7144 self.largs.append(err.msg[16:])
7146 self.largs.append(err.opt_str)
7148 optparse.OptionParser._process_long_opt(self, rargs, values)
7149 def _process_short_opts(self, rargs, values):
7150 if self._use_boost_parser:
7152 optparse.OptionParser._process_short_opts(self, rargs, values)
7153 except optparse.BadOptionError, err:
7154 self.largs.append(err.opt_str)
7156 optparse.OptionParser._process_short_opts(self, rargs, values)
7158 def _process_args(self, largs, rargs, values):
7159 if self._use_boost_parser:
7164 dashdash = rargs.index(
'--')
7166 dashdash = len(rargs)
7167 saved_args = rargs[dashdash:]
7168 del rargs[dashdash:]
7169 optparse.OptionParser._process_args(self, largs, rargs, values)
7170 rargs.extend(saved_args)
7172 optparse.OptionParser._process_args(self, largs, rargs, values)
7175 """Parse the command line and return options and positional arguments.
7176 This functions in the same way as the method in the base class
7177 optparse.OptionParser, except that it also processes options common
7178 to all IMP applications (these are not returned in opts, but can be
7179 obtained in the usual way, e.g. by calling
7180 IMP::base::get_string_flag()).
7181 @param[in] num_positional If a positive integer, exactly that
7182 many positional arguments must be specified on the
7183 command line; if a negative integer, that many or
7184 more must be given; if None, any number of positional
7185 arguments can be given.
7190 opts, args = optparse.OptionParser.parse_args(self)
7191 if not self._use_boost_parser:
7193 orig_desc = self.description
7194 orig_usage = self.usage
7196 usage = self.usage.replace(
'%prog ',
'')
7199 if num_positional
is None:
7203 args.append(
'dummy')
7205 numpos = num_positional
7207 self.usage = self.description =
None
7211 self.format_help() \
7212 +
"\nOptions common to all IMP applications:",
7215 self.description = orig_desc
7216 self.usage = orig_usage
7217 if num_positional
is None:
7222 def get_module_version():
7223 """get_module_version() -> std::string const"""
7224 return _IMP_kernel.get_module_version()
7227 """get_example_path(std::string fname) -> std::string"""
7228 return _IMP_kernel.get_example_path(*args)
7231 """get_data_path(std::string fname) -> std::string"""
7232 return _IMP_kernel.get_data_path(*args)
7233 import _version_check
7234 _version_check.check_version(get_module_version())
Restraints create_decomposition(const RestraintsTemp &rs)
IMP::kernel::PairModifier PairModifier
ParticleIndexes get_indexes(const ParticlesTemp &ps)
IMP::kernel::ModelObject ModelObject
base::Array< 3, base::WeakPointer< Particle >, Particle * > ParticleTriplet
IMP-specific subclass of optparse.OptionParser.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
An input/output exception.
IMP::kernel::ScoreState ScoreState
ParticlesTemp get_output_particles(const ModelObjectsTemp &mos)
ScoreStatesTemp get_dependent_score_states(ModelObject *p, const ModelObjectsTemp &all, const DependencyGraph &dg, const DependencyGraphVertexIndex &index)
IMP::kernel::PairScore PairScore
void show_restraint_hierarchy(ScoringFunctionAdaptor rs, std::ostream &out=std::cout)
Print the hierarchy of restraints.
IMP::kernel::DerivativeAccumulator DerivativeAccumulator
IMP::kernel::SingletonContainer SingletonContainer
IMP::kernel::EvaluationState EvaluationState
kernel::Restraints create_restraints(RMF::FileConstHandle fh, kernel::Model *m)
IMP::kernel::Constraint Constraint
IMP::kernel::TripletContainer TripletContainer
IMP::kernel::QuadContainer QuadContainer
void add_restraints(RMF::FileHandle fh, const kernel::Restraints &hs)
IMP::kernel::UnaryFunction UnaryFunction
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
IMP::kernel::ScoringFunction ScoringFunction
base::Array< 4, base::WeakPointer< Particle >, Particle * > ParticleQuad
See IMP.base for more information.
ContainersTemp get_output_containers(const ModelObjectsTemp &mos)
IMP::kernel::SingletonPredicate SingletonPredicate
std::string get_data_path(std::string file_name)
Return the full path to installed data.
DependencyGraph get_pruned_dependency_graph(kernel::Model *m)
IMP::kernel::QuadScore QuadScore
base::Array< 2, base::WeakPointer< Particle >, Particle * > ParticlePair
An exception which is thrown when the kernel::Model has attributes with invalid values.
IMP::kernel::Optimizer Optimizer
ParticlesTemp get_input_particles(const ModelObjectsTemp &mos)
ParticlesTemp get_dependent_particles(ModelObject *p, const ModelObjectsTemp &all, const DependencyGraph &dg, const DependencyGraphVertexIndex &index)
IMP::kernel::TripletModifier TripletModifier
A class to change and restore log state.
IMP::kernel::QuadModifier QuadModifier
ScoringFunction * create_scoring_function(RestraintType *rs, double weight=1.0, double max=NO_MAX, std::string name=std::string())
DependencyGraph get_dependency_graph(kernel::Model *m)
IMP::kernel::Container Container
IMP::kernel::SingletonModifier SingletonModifier
RestraintsTemp get_dependent_restraints(ModelObject *p, const ModelObjectsTemp &all, const DependencyGraph &dg, const DependencyGraphVertexIndex &index)
void read_particles_from_buffer(const base::Vector< char > &buffer, const ParticlesTemp &particles, const FloatKeys &keys)
load found attributes into the particles
ContainersTemp get_input_containers(const ModelObjectsTemp &mos)
IMP::kernel::SaveToConfigurationSetOptimizerState SaveToConfigurationSetOptimizerState
base::Vector< char > write_particles_to_buffer(const ParticlesTemp &particles, const FloatKeys &keys)
return a binary buffer with the data
IMP::kernel::Refiner Refiner
IMP::kernel::ScoreAccumulator ScoreAccumulator
std::string show_graphviz(Graph g)
IMP::kernel::QuadPredicate QuadPredicate
IMP::kernel::TripletScore TripletScore
Common base class for heavy weight IMP objects.
IMP::kernel::Sampler Sampler
def parse_args
Parse the command line and return options and positional arguments.
See IMP.algebra for more information.
Allow applications to easily implement commmands.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
IMP::kernel::Particle Particle
IMP::kernel::PairPredicate PairPredicate
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
IMP::kernel::ConfigurationSet ConfigurationSet
IMP::kernel::PairContainer PairContainer
base::Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 8 bounding points for the bounding box.
IMP::kernel::OptimizerState OptimizerState
IMP::kernel::TripletPredicate TripletPredicate
IMP::kernel::Decorator Decorator
Strings setup_from_argv(const Strings &argv, std::string description, std::string positional_description, int num_positional)
IMP::kernel::SingletonScore SingletonScore
void add_particle(RMF::FileHandle fh, kernel::Particle *hs)
CheckLevel get_check_level()
Get the current audit mode.
IMP::kernel::Restraint Restraint
IMP::kernel::RestraintSet RestraintSet
void add_restraint(RMF::FileHandle fh, kernel::Restraint *hs)
ScoreStatesTemp get_required_score_states(ModelObject *p, const ModelObjectsTemp &all, const DependencyGraph &dg, const DependencyGraphVertexIndex &index)
IMP::kernel::Configuration Configuration
ScoreStatesTemp get_update_order(ScoreStatesTemp input)
An exception for an invalid value being passed to IMP.