pub struct HeuristicDecisionMaker { /* private fields */ }Expand description
A fő heurisztikus döntéshozó rendszer
Implementations§
Source§impl HeuristicDecisionMaker
impl HeuristicDecisionMaker
Sourcepub fn new(
salience: Arc<RwLock<SalienceState>>,
eureka: Arc<RwLock<EurekaLog>>,
meta_supervisor: Arc<RwLock<MetaSupervisor>>,
simulator: Arc<ArchitectureSimulator>,
knowledge_base: Arc<KnowledgeBase>,
) -> Self
pub fn new( salience: Arc<RwLock<SalienceState>>, eureka: Arc<RwLock<EurekaLog>>, meta_supervisor: Arc<RwLock<MetaSupervisor>>, simulator: Arc<ArchitectureSimulator>, knowledge_base: Arc<KnowledgeBase>, ) -> Self
Létrehoz egy új döntéshozót
Sourcepub fn set_preference(&mut self, preference: &str)
pub fn set_preference(&mut self, preference: &str)
Beállítja a döntési preferenciát
Sourcepub fn set_learning_rate(&mut self, rate: f64)
pub fn set_learning_rate(&mut self, rate: f64)
Beállítja a tanulási rátát
Sourcepub fn evaluate_options(
&self,
options: Vec<DecisionOption>,
) -> Vec<DecisionOption>
pub fn evaluate_options( &self, options: Vec<DecisionOption>, ) -> Vec<DecisionOption>
Döntési lehetőségek értékelése és rangsorolása
Sourcepub fn make_decision(&self, options: Vec<DecisionOption>) -> Option<Decision>
pub fn make_decision(&self, options: Vec<DecisionOption>) -> Option<Decision>
Döntés meghozatala a legjobb opció kiválasztásával
Sourcepub fn evaluate_decision_outcome(
&self,
decision_id: &str,
outcome_score: f64,
reflection: &str,
)
pub fn evaluate_decision_outcome( &self, decision_id: &str, outcome_score: f64, reflection: &str, )
Döntés utólagos értékelése (tanulás)
Sourcepub fn recommend_architecture(&self, requirements: &str) -> Option<Decision>
pub fn recommend_architecture(&self, requirements: &str) -> Option<Decision>
Architektúra ajánlás a szimulátor segítségével
Sourcepub fn quick_decision(
&self,
options: Vec<DecisionOption>,
time_budget_ms: u64,
) -> Option<Decision>
pub fn quick_decision( &self, options: Vec<DecisionOption>, time_budget_ms: u64, ) -> Option<Decision>
Gyors heurisztikus döntés (időkorlátos)
Sourcepub fn recognize_patterns(&self) -> Vec<HeuristicPattern>
pub fn recognize_patterns(&self) -> Vec<HeuristicPattern>
Mintázat felismerés a döntési naplóban
Sourcepub fn get_statistics(&self) -> DecisionStatistics
pub fn get_statistics(&self) -> DecisionStatistics
Döntési statisztikák lekérdezése
Sourcepub fn export_decision_log(&self) -> Vec<DecisionLogEntry>
pub fn export_decision_log(&self) -> Vec<DecisionLogEntry>
Döntési napló exportálása
Sourcepub fn export_patterns(&self) -> Vec<HeuristicPattern>
pub fn export_patterns(&self) -> Vec<HeuristicPattern>
Tanult minták exportálása
Auto Trait Implementations§
impl Freeze for HeuristicDecisionMaker
impl RefUnwindSafe for HeuristicDecisionMaker
impl Send for HeuristicDecisionMaker
impl Sync for HeuristicDecisionMaker
impl Unpin for HeuristicDecisionMaker
impl UnsafeUnpin for HeuristicDecisionMaker
impl UnwindSafe for HeuristicDecisionMaker
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
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