2018-01-23 02:39:23 +00:00
|
|
|
//
|
|
|
|
// ConfidenceSource.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 21/01/2018.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-01-23 02:39:23 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef ConfidenceSource_hpp
|
|
|
|
#define ConfidenceSource_hpp
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Analyser::Dynamic {
|
2018-01-23 02:39:23 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
Provides an abstract interface through which objects can declare the probability
|
|
|
|
that they are the proper target for their input; e.g. if an Acorn Electron is asked
|
|
|
|
to run an Atari 2600 program then its confidence should shrink towards 0.0; if the
|
|
|
|
program is handed to an Atari 2600 then its confidence should grow towards 1.0.
|
|
|
|
*/
|
|
|
|
struct ConfidenceSource {
|
2018-01-26 00:02:16 +00:00
|
|
|
virtual float get_confidence() = 0;
|
2018-01-23 02:39:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ConfidenceSource_hpp */
|