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

builds the decorator around a search space

binds to a logger (to display statistics in the console)

generates pareto diagram to visualize the search statistics

Trait Implementations

Formats the value using the given formatter. Read more

returns the guide value of the node

returns the ID of the node

returns true if a dominates b

returns the next neighbor if it exists, or None

adds factice point when the search stops

returns the initial (or root) node

returns the bound value of the node (i.e. f-cost)

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

returns true if and only if the node is goal

called when the algorithm restarts

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)

gets the underlying search space

constructs a solution from a goal node panics if the node is not a goal Read more

returns all neighbors of a given node

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.