Revision 45:8db4a1f096f0 NoteHypothesis.h

View differences:

NoteHypothesis.h
40 40
public:
41 41
    enum State {
42 42

  
43
	/// Just constructed, will provisionally accept any estimate
44
	New,
43
        /// Just constructed, will provisionally accept any estimate
44
        New,
45 45

  
46
	/// Accepted at least one estimate, but not enough evidence to satisfy
47
	Provisional,
46
        /// Accepted at least one estimate, but not enough evidence to satisfy
47
        Provisional,
48 48

  
49
	/// Could not find enough consistency in offered estimates
50
	Rejected,
49
        /// Could not find enough consistency in offered estimates
50
        Rejected,
51 51

  
52
	/// Have accepted enough consistent estimates to satisfy hypothesis
53
	Satisfied,
52
        /// Have accepted enough consistent estimates to satisfy hypothesis
53
        Satisfied,
54 54

  
55
	/// Have been satisfied, but evidence has now changed: we're done
56
	Expired
55
        /// Have been satisfied, but evidence has now changed: we're done
56
        Expired
57 57
    };
58 58
    
59 59
    /**
......
74 74
        bool operator==(const Estimate &e) const {
75 75
            return e.freq == freq && e.time == time && e.confidence == confidence;
76 76
        }
77
	double freq;
77
        double freq;
78 78
        Vamp::RealTime time;
79
	double confidence;
79
        double confidence;
80 80
    };
81 81
    typedef std::vector<Estimate> Estimates;
82 82

  
......
107 107
        bool operator==(const Note &e) const {
108 108
            return e.freq == freq && e.time == time && e.duration == duration;
109 109
        }
110
	double freq;
111
	Vamp::RealTime time;
112
	Vamp::RealTime duration;
110
        double freq;
111
        Vamp::RealTime time;
112
        Vamp::RealTime duration;
113 113
    };
114 114
    
115 115
    /**

Also available in: Unified diff