GenericNFAITLogger

Struct GenericNFAITLogger 

Source
pub struct GenericNFAITLogger<Conf, Letter, BP>
where Conf: AbstractProcessConfiguration, Letter: AutLetter, BP: NFAITBuilderPrinter<Conf, Letter>,
{ pub builder_printer: BP, /* private fields */ }

Fields§

§builder_printer: BP

Implementations§

Source§

impl<Conf, Letter, BP> GenericNFAITLogger<Conf, Letter, BP>
where Conf: AbstractProcessConfiguration, Letter: AutLetter, BP: NFAITBuilderPrinter<Conf, Letter>,

Source

pub fn new( builder_printer: BP, name: String, draw: Option<(bool, GraphVizOutputFormat)>, parent_folder: String, ) -> Self

Source

pub fn get_nfait(&self) -> AutNFAIT<Letter>

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,

Source§

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, )

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, )

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, )

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, )

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, )

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, )

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, )

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>
where BP: RefUnwindSafe, Conf: RefUnwindSafe, Letter: RefUnwindSafe,

§

impl<Conf, Letter, BP> Send for GenericNFAITLogger<Conf, Letter, BP>
where BP: Send, Conf: Send, Letter: Send,

§

impl<Conf, Letter, BP> Sync for GenericNFAITLogger<Conf, Letter, BP>
where BP: Sync, Conf: Sync, Letter: Sync,

§

impl<Conf, Letter, BP> Unpin for GenericNFAITLogger<Conf, Letter, BP>
where BP: Unpin, Conf: Unpin, Letter: Unpin,

§

impl<Conf, Letter, BP> UnwindSafe for GenericNFAITLogger<Conf, Letter, BP>
where BP: UnwindSafe, Conf: UnwindSafe, Letter: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V