00001 /** 00002 * \file QuadraticClosePairsFinder.h 00003 * \brief Test all pairs of particles to find close pairs. 00004 * 00005 * Copyright 2007-2010 IMP Inventors. All rights reserved. 00006 */ 00007 00008 #ifndef IMPCORE_QUADRATIC_CLOSE_PAIRS_FINDER_H 00009 #define IMPCORE_QUADRATIC_CLOSE_PAIRS_FINDER_H 00010 00011 #include "ClosePairsFinder.h" 00012 #include "core_macros.h" 00013 #include "core_config.h" 00014 00015 IMPCORE_BEGIN_NAMESPACE 00016 00017 //! Find all nearby pairs by testing all pairs 00018 /** \see ClosePairsScoreState 00019 */ 00020 class IMPCOREEXPORT QuadraticClosePairsFinder : public ClosePairsFinder 00021 { 00022 public: 00023 QuadraticClosePairsFinder(); 00024 bool get_are_close(Particle *a, Particle *b) const; 00025 IMP_CLOSE_PAIRS_FINDER(QuadraticClosePairsFinder); 00026 00027 }; 00028 00029 IMPCORE_END_NAMESPACE 00030 00031 #endif /* IMPCORE_QUADRATIC_CLOSE_PAIRS_FINDER_H */