pub struct LaserLogic { /* private fields */ }Expand description
LaserLogic reasoning module for precision deductive analysis.
Provides formal logical analysis including:
- Argument structure validation
- Fallacy detection
- Validity and soundness checking
- Syllogism analysis
Implementations§
Source§impl LaserLogic
impl LaserLogic
Sourcepub fn with_config(analysis_config: LaserLogicConfig) -> Self
pub fn with_config(analysis_config: LaserLogicConfig) -> Self
Create with custom configuration
Sourcepub fn analysis_config(&self) -> &LaserLogicConfig
pub fn analysis_config(&self) -> &LaserLogicConfig
Get the analysis configuration
Sourcepub fn analyze_argument(
&self,
premises: &[&str],
conclusion: &str,
) -> Result<LaserLogicResult>
pub fn analyze_argument( &self, premises: &[&str], conclusion: &str, ) -> Result<LaserLogicResult>
Analyze an argument given premises and conclusion
Sourcepub fn analyze(&self, argument: Argument) -> Result<LaserLogicResult>
pub fn analyze(&self, argument: Argument) -> Result<LaserLogicResult>
Analyze a structured argument
Trait Implementations§
Source§impl Default for LaserLogic
impl Default for LaserLogic
Source§impl ThinkToolModule for LaserLogic
impl ThinkToolModule for LaserLogic
Source§fn config(&self) -> &ThinkToolModuleConfig
fn config(&self) -> &ThinkToolModuleConfig
Get the module configuration
Source§fn execute(&self, context: &ThinkToolContext) -> Result<ThinkToolOutput>
fn execute(&self, context: &ThinkToolContext) -> Result<ThinkToolOutput>
Execute the module synchronously Read more
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get the module description (convenience method)
Source§fn confidence_weight(&self) -> f64
fn confidence_weight(&self) -> f64
Get the confidence weight for this module
Auto Trait Implementations§
impl Freeze for LaserLogic
impl RefUnwindSafe for LaserLogic
impl Send for LaserLogic
impl Sync for LaserLogic
impl Unpin for LaserLogic
impl UnwindSafe for LaserLogic
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