atomspace/truthvalue/
mod.rs1mod simple;
2
3pub use self::simple::SimpleTruthValue;
4
5pub type Strength = f64;
6pub type Confidence = f64;
7pub type Count = f64;
8
9pub trait TruthValue {
10 fn mean(&self) -> Strength;
11 fn confidence(&self) -> Confidence;
12 fn count(&self) -> Count;
13}