pub struct CoherenceParams {
pub activity_timestamps: Vec<i64>,
pub interaction_scores: Vec<f64>,
pub context_sensitivity: f64,
pub cross_reference_density: f64,
pub direct_connections: u32,
pub indirect_connections: u32,
pub max_connections: u32,
}Expand description
Parameters for coherence calculation
Fields§
§activity_timestamps: Vec<i64>Unix timestamps of activity events
interaction_scores: Vec<f64>Scores from past interactions (0.0 to 1.0)
context_sensitivity: f64Context sensitivity measure (0.0 to 1.0)
cross_reference_density: f64Cross-reference density (0.0 to 1.0)
direct_connections: u32Number of direct trust connections
indirect_connections: u32Number of indirect (transitive) trust connections
max_connections: u32Maximum expected connections for normalization
Trait Implementations§
Source§impl Clone for CoherenceParams
impl Clone for CoherenceParams
Source§impl Debug for CoherenceParams
impl Debug for CoherenceParams
Auto Trait Implementations§
impl Freeze for CoherenceParams
impl RefUnwindSafe for CoherenceParams
impl Send for CoherenceParams
impl Sync for CoherenceParams
impl Unpin for CoherenceParams
impl UnsafeUnpin for CoherenceParams
impl UnwindSafe for CoherenceParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more