IMP  2.0.0
The Integrative Modeling Platform
RefinedPairsPairScore.h
Go to the documentation of this file.
1 /**
2  * \file IMP/core/RefinedPairsPairScore.h
3  * \brief Generate pairs by applying a Refiner to the paricles.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPCORE_REFINED_PAIRS_PAIR_SCORE_H
9 #define IMPCORE_REFINED_PAIRS_PAIR_SCORE_H
10 
11 #include <IMP/core/core_config.h>
12 #include <IMP/PairScore.h>
13 #include <IMP/UnaryFunction.h>
14 #include <IMP/Pointer.h>
15 #include <IMP/Refiner.h>
16 #include <IMP/pair_macros.h>
17 
18 IMPCORE_BEGIN_NAMESPACE
19 
20 //! Generate pairs to score by applying a Refiner.
21 /** Each passed particle refined and then the PairScore applied
22  to all resulting pairs.
23  */
24 class IMPCOREEXPORT RefinedPairsPairScore : public PairScore
25 {
26  IMP::OwnerPointer<Refiner> r_;
27  IMP::OwnerPointer<PairScore> f_;
28 public:
29  /** \param[in] r The Refiner to call on each particle
30  \param[in] f The pair score to apply to the generated pairs
31  */
34 };
35 
36 IMPCORE_END_NAMESPACE
37 
38 #endif /* IMPCORE_REFINED_PAIRS_PAIR_SCORE_H */