pub enum Decision {
Link {
entity: EntityId,
method: ResolutionMethod,
score: f64,
},
New {
method: ResolutionMethod,
score: f64,
},
Candidate {
new_entity: EntityId,
existing: EntityId,
score: f64,
},
}Expand description
The resolution decision for a mention against a set of candidates.
Variants§
Link
Link to existing entity. Score ≥ tau_high.
New
Create a new entity. Score ≤ tau_low.
Candidate
Create a new entity AND record a merge candidate. tau_low < score < tau_high.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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