00001 /** 00002 * \file MinimumSingletonScore.h \brief Define SingletonScore. 00003 * 00004 * This file is generated by a script (tools/make-container). 00005 * Do not edit directly. 00006 * 00007 * Copyright 2007-2010 IMP Inventors. All rights reserved. 00008 */ 00009 00010 #ifndef IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H 00011 #define IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H 00012 00013 #include "container_config.h" 00014 #include <IMP/SingletonScore.h> 00015 00016 IMPCONTAINER_BEGIN_NAMESPACE 00017 00018 //! Evaluate the minimum n singleton scores of the passed set of SingletonScores 00019 /** Each of the set of SingletonScores is evaluated and the sum of the 00020 minimum n is returned. 00021 */ 00022 class IMPCONTAINEREXPORT MinimumSingletonScore : public SingletonScore 00023 { 00024 SingletonScores scores_; 00025 unsigned int n_; 00026 public: 00027 MinimumSingletonScore(const SingletonScoresTemp &scores, 00028 unsigned int n=1, 00029 std::string name="SingletonScore %1%"); 00030 IMP_SINGLETON_SCORE(MinimumSingletonScore); 00031 }; 00032 00033 IMPCONTAINER_END_NAMESPACE 00034 00035 #endif /* IMPCONTAINER_MINIMUM_SINGLETON_SCORE_H */