10#ifndef IMPNPCTRANSPORT_PORE_RADIUS_SINGLETON_SCORE_H
11#define IMPNPCTRANSPORT_PORE_RADIUS_SINGLETON_SCORE_H
13#include "npctransport_config.h"
19IMPNPCTRANSPORT_BEGIN_NAMESPACE
23class IMPNPCTRANSPORTEXPORT
34 P(new
core::Harmonic(mean, k),
54IMPNPCTRANSPORT_END_NAMESPACE
A score based on the unmodified value of an attribute.
Class for storing model, its restraints, constraints, and particles.
Apply a function to an attribute.
core::Harmonic * get_unary_function()
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const override
Overload this method to specify the inputs.
PoreRadiusSingletonScore(Float mean, Float k)
void set_k(double k)
set the coefficient of the score harmonic to k
Basic functionality that is expected to be used by a wide variety of IMP users.
double Float
Basic floating-point value (could be float, double...).
Vector< ParticleIndex, std::allocator< ParticleIndex > > ParticleIndexes
A list of particles, each identified by its ParticleIndex.
IMP::Vector< IMP::WeakPointer< ModelObject > > ModelObjectsTemp
A decorator for a particle that's a slab with a cylindrical pore.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A harmonic score on the negative directed distance between a pair of particles. The score equals zero...
#define IMP_SINGLETON_SCORE_METHODS(Name)