Struct dogs::tree_search::algo::greedy_pe::PEGreedy [−][src]
pub struct PEGreedy<N, B, G, Tree> { pub manager: SearchManager<N, B>, // some fields omitted }
Expand description
implements a partial expansion greedy algorithm
Fields
manager: SearchManager<N, B>
search manager
Implementations
Trait Implementations
impl<'a, N, B, G: Ord + Clone, Tree> SearchAlgorithm<N, B> for PEGreedy<N, B, G, Tree> where
N: Clone,
B: PartialOrd + Copy,
Tree: SearchSpace<N, B> + GuidedSpace<N, G> + PartialNeighborGeneration<N>,
impl<'a, N, B, G: Ord + Clone, Tree> SearchAlgorithm<N, B> for PEGreedy<N, B, G, Tree> where
N: Clone,
B: PartialOrd + Copy,
Tree: SearchSpace<N, B> + GuidedSpace<N, G> + PartialNeighborGeneration<N>,
returns true if the optimal value is found (thus we can stop the search). For this greedy, we set it to always false (it is not destined to prove optimality)
runs until the stopping_criterion is reached
Gets the search manager of the algorithm. It allows to get the best found solution and its value, etc. Read more
provides various statistics of events that occured during the search.