pub struct HybridEvaluationEngine { /* private fields */ }Expand description
Advanced hybrid evaluation system that intelligently blends multiple evaluation methods
Implementations§
Source§impl HybridEvaluationEngine
impl HybridEvaluationEngine
Sourcepub fn with_nnue_evaluator<T>(self, evaluator: T) -> Self
pub fn with_nnue_evaluator<T>(self, evaluator: T) -> Self
Register an NNUE evaluator
Sourcepub fn with_pattern_evaluator<T>(self, evaluator: T) -> Self
pub fn with_pattern_evaluator<T>(self, evaluator: T) -> Self
Register a pattern evaluator
Sourcepub fn with_tactical_evaluator<T>(self, evaluator: T) -> Self
pub fn with_tactical_evaluator<T>(self, evaluator: T) -> Self
Register a tactical evaluator
Sourcepub fn with_strategic_evaluator<T>(self, evaluator: T) -> Self
pub fn with_strategic_evaluator<T>(self, evaluator: T) -> Self
Register a strategic evaluator
Sourcepub fn with_strategic_initiative_evaluator(self) -> Self
pub fn with_strategic_initiative_evaluator(self) -> Self
Register the strategic initiative evaluator
Sourcepub fn evaluate_position(&self, board: &Board) -> Result<HybridEvaluationResult>
pub fn evaluate_position(&self, board: &Board) -> Result<HybridEvaluationResult>
Perform comprehensive hybrid evaluation of a position
Sourcepub fn get_statistics(&self) -> HybridEvaluationStats
pub fn get_statistics(&self) -> HybridEvaluationStats
Get evaluation statistics
Sourcepub fn set_adaptive_learning(&mut self, enabled: bool)
pub fn set_adaptive_learning(&mut self, enabled: bool)
Enable or disable adaptive weight learning
Sourcepub fn update_evaluation_performance(
&self,
board: &Board,
predicted_evaluation: f32,
actual_result: Option<f32>,
evaluation_accuracy: f32,
) -> Result<()>
pub fn update_evaluation_performance( &self, board: &Board, predicted_evaluation: f32, actual_result: Option<f32>, evaluation_accuracy: f32, ) -> Result<()>
Update performance metrics for adaptive learning
Sourcepub fn get_adaptive_learning_stats(&self) -> AdaptiveLearningStats
pub fn get_adaptive_learning_stats(&self) -> AdaptiveLearningStats
Get adaptive learning statistics
Sourcepub fn analyze_position_complexity(
&self,
board: &Board,
) -> ComplexityAnalysisResult
pub fn analyze_position_complexity( &self, board: &Board, ) -> ComplexityAnalysisResult
Get detailed complexity analysis for a position
Sourcepub fn configure_complexity_analyzer(
&mut self,
weights: ComplexityWeights,
depth: AnalysisDepth,
)
pub fn configure_complexity_analyzer( &mut self, weights: ComplexityWeights, depth: AnalysisDepth, )
Configure the complexity analyzer
Sourcepub fn analyze_game_phase(&self, board: &Board) -> GamePhaseAnalysisResult
pub fn analyze_game_phase(&self, board: &Board) -> GamePhaseAnalysisResult
Get detailed game phase analysis for a position
Sourcepub fn configure_phase_detector(
&mut self,
weights: PhaseDetectionWeights,
settings: PhaseAdaptationSettings,
)
pub fn configure_phase_detector( &mut self, weights: PhaseDetectionWeights, settings: PhaseAdaptationSettings, )
Configure the game phase detector
Sourcepub fn apply_phase_adaptations(&self, board: &Board) -> BlendWeights
pub fn apply_phase_adaptations(&self, board: &Board) -> BlendWeights
Apply phase-specific adaptations to evaluation weights
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for HybridEvaluationEngine
impl !RefUnwindSafe for HybridEvaluationEngine
impl Send for HybridEvaluationEngine
impl Sync for HybridEvaluationEngine
impl Unpin for HybridEvaluationEngine
impl !UnwindSafe for HybridEvaluationEngine
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> 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