00001 /** 00002 * \file MinimumTripletScore.h \brief Define TripletScore. 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_TRIPLET_SCORE_H 00011 #define IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H 00012 00013 #include "container_config.h" 00014 #include <IMP/TripletScore.h> 00015 00016 IMPCONTAINER_BEGIN_NAMESPACE 00017 00018 //! Evaluate the minimum n triplet scores of the passed set of TripletScores 00019 /** Each of the set of TripletScores is evaluated and the sum of the 00020 minimum n is returned. 00021 */ 00022 class IMPCONTAINEREXPORT MinimumTripletScore : public TripletScore 00023 { 00024 TripletScores scores_; 00025 unsigned int n_; 00026 public: 00027 MinimumTripletScore(const TripletScoresTemp &scores, 00028 unsigned int n=1, 00029 std::string name="TripletScore %1%"); 00030 IMP_TRIPLET_SCORE(MinimumTripletScore); 00031 }; 00032 00033 IMPCONTAINER_END_NAMESPACE 00034 00035 #endif /* IMPCONTAINER_MINIMUM_TRIPLET_SCORE_H */