pub struct HeuristicPattern {
pub id: String,
pub name: String,
pub pattern_type: String,
pub context: String,
pub success_rate: f64,
pub usage_count: u64,
pub last_used: u64,
pub weight: f64,
}Expand description
Heurisztikus minta
Fields§
§id: String§name: String§pattern_type: String§context: StringMilyen kontextusban érvényes
success_rate: f64Milyen gyakran hozott helyes döntést (0.0 - 1.0)
usage_count: u64Hányszor használtuk
last_used: u64Utolsó használat időpontja
weight: f64A minta súlya a döntéshozatalban
Trait Implementations§
Source§impl Clone for HeuristicPattern
impl Clone for HeuristicPattern
Auto Trait Implementations§
impl Freeze for HeuristicPattern
impl RefUnwindSafe for HeuristicPattern
impl Send for HeuristicPattern
impl Sync for HeuristicPattern
impl Unpin for HeuristicPattern
impl UnsafeUnpin for HeuristicPattern
impl UnwindSafe for HeuristicPattern
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more