atomspace 0.1.0

OpenCog's atomspace re-implementation in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod simple;

pub use self::simple::SimpleTruthValue;

pub type Strength = f64;
pub type Confidence = f64;
pub type Count = f64;

pub trait TruthValue {
    fn mean(&self) -> Strength;
    fn confidence(&self) -> Confidence;
    fn count(&self) -> Count;
}