Struct dogs::tree_search::decorators::stats::StatTsDecorator [−][src]
pub struct StatTsDecorator<Space, B> { /* fields omitted */ }
Expand description
stats decorator. Stores statistics data-structures and reference to the logger.
Implementations
binds to a logger (to display statistics in the console)
generates pareto diagram to visualize the search statistics
Trait Implementations
impl<N, G, Space, B> GuidedSpace<N, G> for StatTsDecorator<Space, B> where
Space: GuidedSpace<N, G>,
B: Serialize,
impl<N, G, Space, B> GuidedSpace<N, G> for StatTsDecorator<Space, B> where
Space: GuidedSpace<N, G>,
B: Serialize,
impl<N, B, Id, Space> Identifiable<N, Id> for StatTsDecorator<Space, B> where
Space: Identifiable<N, Id>,
B: Serialize,
impl<N, B, Id, Space> Identifiable<N, Id> for StatTsDecorator<Space, B> where
Space: Identifiable<N, Id>,
B: Serialize,
impl<N, Space, B> ParetoDominanceSpace<N> for StatTsDecorator<Space, B> where
Space: ParetoDominanceSpace<N>,
B: Serialize,
impl<N, Space, B> ParetoDominanceSpace<N> for StatTsDecorator<Space, B> where
Space: ParetoDominanceSpace<N>,
B: Serialize,
impl<N, Space, B> PartialNeighborGeneration<N> for StatTsDecorator<Space, B> where
Space: PartialNeighborGeneration<N>,
B: Serialize,
impl<N, Space, B> PartialNeighborGeneration<N> for StatTsDecorator<Space, B> where
Space: PartialNeighborGeneration<N>,
B: Serialize,
returns the next neighbor if it exists, or None
impl<N, Space, B> SearchSpace<N, B> for StatTsDecorator<Space, B> where
Space: SearchSpace<N, B>,
B: Clone + Serialize + Into<i64> + PartialOrd + Copy + Display,
impl<N, Space, B> SearchSpace<N, B> for StatTsDecorator<Space, B> where
Space: SearchSpace<N, B>,
B: Clone + Serialize + Into<i64> + PartialOrd + Copy + Display,
adds factice point when the search stops
returns the g-cost of the node the h-cost can be computed by substracting the f-cost (SearchSpace.bound) by the g-cost Read more
called when the algorithm finds a new-best-known solution
registers information about the search statistics in a json file
displays various statistics about the search (nb nodes, etc.) TODO: use export_statistics to get the statistics in the JSON format, and display them Read more
called when the algorithm starts
requests log headers (does nothing if there is no logging decorator within the algorithm)
requests a logging to appear (does nothing if there is no logging decorator within the algorithm)