pub struct AnalogicalParams {
pub anchor: AnalogicalAnchor,
pub context_depth: u32,
pub max_results: usize,
pub min_similarity: f32,
pub exclude_sessions: Vec<u32>,
}Expand description
Parameters for an analogical query.
Fields§
§anchor: AnalogicalAnchorThe anchor to find analogies for.
context_depth: u32Depth of context to extract around the anchor and candidates.
max_results: usizeMaximum number of analogies to return.
min_similarity: f32Minimum combined similarity to include.
exclude_sessions: Vec<u32>Sessions to exclude from results.
Trait Implementations§
Source§impl Clone for AnalogicalParams
impl Clone for AnalogicalParams
Source§fn clone(&self) -> AnalogicalParams
fn clone(&self) -> AnalogicalParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnalogicalParams
impl RefUnwindSafe for AnalogicalParams
impl Send for AnalogicalParams
impl Sync for AnalogicalParams
impl Unpin for AnalogicalParams
impl UnsafeUnpin for AnalogicalParams
impl UnwindSafe for AnalogicalParams
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