00001
00002
00003
00004
00005
00006
00007 #ifndef IMPCORE_CHECKS_SCORE_STATE_H
00008 #define IMPCORE_CHECKS_SCORE_STATE_H
00009
00010 #include "core_config.h"
00011 #include <IMP/macros.h>
00012 #include <IMP/ScoreState.h>
00013
00014 IMPCORE_BEGIN_NAMESPACE
00015
00016
00017
00018 class IMPCOREEXPORT ChecksScoreState : public ScoreState
00019 {
00020 double probability_;
00021 unsigned int count_;
00022 public:
00023 ChecksScoreState(double probability);
00024
00025 unsigned int get_number_of_checked() const {
00026 return count_;
00027 }
00028
00029 IMP_SCORE_STATE(ChecksScoreState);
00030 };
00031
00032 IMPCORE_END_NAMESPACE
00033
00034 #endif