pub struct GenericNFAITLogger<Conf, Letter, BP>{
pub builder_printer: BP,
/* private fields */
}Fields§
§builder_printer: BPImplementations§
Source§impl<Conf, Letter, BP> GenericNFAITLogger<Conf, Letter, BP>
impl<Conf, Letter, BP> GenericNFAITLogger<Conf, Letter, BP>
Trait Implementations§
Source§impl<Conf, Letter, BP> AbstractProcessLogger<Conf> for GenericNFAITLogger<Conf, Letter, BP>where
Conf: AbstractProcessConfiguration + 'static,
Letter: AutLetter + 'static,
BP: NFAITBuilderPrinter<Conf, Letter> + 'static,
impl<Conf, Letter, BP> AbstractProcessLogger<Conf> for GenericNFAITLogger<Conf, Letter, BP>where
Conf: AbstractProcessConfiguration + 'static,
Letter: AutLetter + 'static,
BP: NFAITBuilderPrinter<Conf, Letter> + 'static,
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Used to downcast the abstract logger into any concrete type that implements it.
*
Source§fn log_initialize(
&mut self,
_context_and_param: &Conf::ContextAndParameterization,
_strategy: &QueueSearchStrategy,
_priorities: &GenericProcessPriorities<Conf::Priorities>,
_filters_manager: &GenericFiltersManager<Conf>,
_initial_global_state: &Conf::MutablePersistentState,
_use_memoization: bool,
)
fn log_initialize( &mut self, _context_and_param: &Conf::ContextAndParameterization, _strategy: &QueueSearchStrategy, _priorities: &GenericProcessPriorities<Conf::Priorities>, _filters_manager: &GenericFiltersManager<Conf>, _initial_global_state: &Conf::MutablePersistentState, _use_memoization: bool, )
Initializes the logger. Read more
Source§fn log_new_node(
&mut self,
context_and_param: &Conf::ContextAndParameterization,
new_node_id: u32,
new_node: &Conf::DomainSpecificNode,
)
fn log_new_node( &mut self, context_and_param: &Conf::ContextAndParameterization, new_node_id: u32, new_node: &Conf::DomainSpecificNode, )
Notifies the logger that a new node has been encountered and added to the graph structure.
*
Source§fn log_new_step(
&mut self,
context_and_param: &Conf::ContextAndParameterization,
origin_node_id: u32,
step: &Conf::DomainSpecificStep,
target_node_id: u32,
_target_node: &Conf::DomainSpecificNode,
)
fn log_new_step( &mut self, context_and_param: &Conf::ContextAndParameterization, origin_node_id: u32, step: &Conf::DomainSpecificStep, target_node_id: u32, _target_node: &Conf::DomainSpecificNode, )
Notifies the logger that a new step has been processed.
This is done separately from “log_new_node” because
processing a new step does not necessarily cause a new node to be added.
Indeed, if memoization is used, it may cycle back to an already known node.
*
Source§fn log_notify_last_child_step_of_node_processed(
&mut self,
_context_and_param: &Conf::ContextAndParameterization,
_parent_node_id: u32,
)
fn log_notify_last_child_step_of_node_processed( &mut self, _context_and_param: &Conf::ContextAndParameterization, _parent_node_id: u32, )
Notifies the logger that all steps that could be fired from a given node
have been processed.
*
Source§fn log_notify_node_without_children(
&mut self,
_context_and_param: &Conf::ContextAndParameterization,
_node_id: u32,
)
fn log_notify_node_without_children( &mut self, _context_and_param: &Conf::ContextAndParameterization, _node_id: u32, )
Notifies the logger that the given node does not have any children.
Being notified of such terminal nodes is sometimes relevant.
*
Source§fn log_filtered(
&mut self,
_context_and_param: &Conf::ContextAndParameterization,
_parent_node_id: u32,
_filtration_result_id: u32,
_filtration_result: &Conf::FiltrationResult,
)
fn log_filtered( &mut self, _context_and_param: &Conf::ContextAndParameterization, _parent_node_id: u32, _filtration_result_id: u32, _filtration_result: &Conf::FiltrationResult, )
Notifies the logger that a filter has yielded a “FiltrationResult”
and therefore prevented the exploration of parts of the graph structure
that correspond to successors of a given node (here identified by “parent_node_id”).
*
Source§fn log_terminate_process(
&mut self,
_context_and_param: &Conf::ContextAndParameterization,
_global_state: &Conf::MutablePersistentState,
)
fn log_terminate_process( &mut self, _context_and_param: &Conf::ContextAndParameterization, _global_state: &Conf::MutablePersistentState, )
Notifies the logger that the process has terminated.
Carries the information of the final global state.
*
Auto Trait Implementations§
impl<Conf, Letter, BP> Freeze for GenericNFAITLogger<Conf, Letter, BP>where
BP: Freeze,
impl<Conf, Letter, BP> RefUnwindSafe for GenericNFAITLogger<Conf, Letter, BP>
impl<Conf, Letter, BP> Send for GenericNFAITLogger<Conf, Letter, BP>
impl<Conf, Letter, BP> Sync for GenericNFAITLogger<Conf, Letter, BP>
impl<Conf, Letter, BP> Unpin for GenericNFAITLogger<Conf, Letter, BP>
impl<Conf, Letter, BP> UnwindSafe for GenericNFAITLogger<Conf, Letter, BP>
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> 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