home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.22.0
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
include
IMP
spb
version 2.22.0
NuisanceRangeModifier.h
Go to the documentation of this file.
1
/**
2
* \file IMP/spb/NuisanceRangeModifier.h
3
* \brief Ensure that a Nuisance stays within its set range.
4
*
5
* Copyright 2007-2022 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPSPB_NUISANCE_RANGE_MODIFIER_H
9
#define IMPSPB_NUISANCE_RANGE_MODIFIER_H
10
11
#include <
IMP/SingletonModifier.h
>
12
#include <
IMP/isd/Nuisance.h
>
13
#include <
IMP/singleton_macros.h
>
14
#include <IMP/spb/spb_config.h>
15
16
IMPSPB_BEGIN_NAMESPACE
17
18
//! Ensure that a Nuisance stays within its set range.
19
class
IMPSPBEXPORT
NuisanceRangeModifier
:
public
SingletonModifier
{
20
public
:
21
NuisanceRangeModifier
(){};
22
23
// note, Doxygen wants a semicolon at the end of macro lines
24
virtual
void
apply_index
(
IMP::Model
*m,
25
IMP::ParticleIndex
p)
const override
;
26
virtual
IMP::ModelObjectsTemp
do_get_inputs
(
27
IMP::Model
*m,
const
IMP::ParticleIndexes
&pis)
const override
;
28
virtual
IMP::ModelObjectsTemp
do_get_outputs
(
29
IMP::Model
*m,
const
IMP::ParticleIndexes
&pis)
const override
;
30
31
IMP_SINGLETON_MODIFIER_METHODS
(
NuisanceRangeModifier
);
32
IMP_OBJECT_METHODS
(
NuisanceRangeModifier
);
33
34
IMP_SHOWABLE
(
NuisanceRangeModifier
);
35
};
36
37
IMPSPB_END_NAMESPACE
38
39
#endif
/* IMPSPB_NUISANCE_RANGE_MODIFIER_H */
IMP::SingletonModifier
A base class for modifiers of ParticlesTemp.
Definition:
SingletonModifier.h:32
SingletonModifier.h
A Modifier on ParticlesTemp.
IMP::spb::NuisanceRangeModifier
Ensure that a Nuisance stays within its set range.
Definition:
NuisanceRangeModifier.h:19
IMP_OBJECT_METHODS
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Definition:
object_macros.h:25
IMP::Index< ParticleIndexTag >
singleton_macros.h
Macros for various classes.
IMP_SHOWABLE
#define IMP_SHOWABLE(Name)
Definition:
showable_macros.h:41
Nuisance.h
A decorator for nuisance parameters particles.
IMP::ParticleOutputs::do_get_outputs
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
IMP::Vector
A more IMP-like version of the std::vector.
Definition:
Vector.h:50
IMP::Model
Class for storing model, its restraints, constraints, and particles.
Definition:
Model.h:86
IMP_SINGLETON_MODIFIER_METHODS
#define IMP_SINGLETON_MODIFIER_METHODS(Name)
Definition:
singleton_macros.h:124
IMP::ParticleInputs::do_get_inputs
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
IMP::SingletonModifier::apply_index
virtual void apply_index(Model *m, ParticleIndex v) const =0