1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Anytime search: [`ara_star`] and [`ana_star`] find a first solution quickly and then
//! improve it until it is provably optimal or the [`Budget`](crate::Budget) runs out.
//!
//! Both report every improved solution through a callback, together with a lower bound on
//! the optimal cost, and return an [`AnytimeResult`] with the best solution found.
//!
//! | Algorithm | Order | Needs | Parameters |
//! | ------------ | ----------------------------- | --------------------- | --------------- |
//! | [`ara_star`] | `g + w * h`, `w` decreasing | consistent `h` | weight schedule |
//! | [`ana_star`] | largest `(G - g) / h` | admissible `h` | none |
pub use ;
pub use ;
use crate;
use crateSuccessors;
/// What an anytime search returns: the best solution found and whether the search ran to
/// completion.
/// The result type of anytime searches over graph `G`.
pub type AnytimeGraphResult<G> =
;