/** * \file IMP/container/MinimumClassnameScore.h * \brief Define ClassnameScore. * * This file is generated by a script (tools/make-container). * Do not edit directly. * * Copyright 2007-2013 IMP Inventors. All rights reserved. */ #ifndef IMPCONTAINER_MINIMUM_CLASSNAME_SCORE_H #define IMPCONTAINER_MINIMUM_CLASSNAME_SCORE_H #include #include #include IMPCONTAINER_BEGIN_NAMESPACE //! Evaluate the min or max n FUNCTIONNAME scores of the passed set /** Each of the set of ClassnameScores is evaluated and the sum of the minimum n is returned. */ class IMPCONTAINEREXPORT MinimumClassnameScore : public ClassnameScore { ClassnameScores scores_; unsigned int n_; public: MinimumClassnameScore(const ClassnameScoresTemp &scores, unsigned int n=1, std::string name="ClassnameScore %1%"); IMP_INDEX_CLASSNAME_SCORE(MinimumClassnameScore); IMP_IMPLEMENT(Restraints do_create_current_decomposition(Model *m, PASSINDEXTYPE vt) const IMP_OVERRIDE); }; IMP_OBJECTS(MinimumClassnameScore,MinimumClassnameScores); IMPCONTAINER_END_NAMESPACE #endif /* IMPCONTAINER_MINIMUM_CLASSNAME_SCORE_H */