Skip to main content

AitStarConfig

Type Alias AitStarConfig 

Source
pub type AitStarConfig = BitStarConfig;
Expand description

Settings for AitStar: the same batch size, radius constant, k-nearest constant and edge cap as BIT*, with the same meaning, ranges and lower bounds (BitStarConfig::gamma_lower_bound, BitStarConfig::k_constant_lower_bound).

Aliased Type§

pub struct AitStarConfig {
    pub batch_size: usize,
    pub gamma: f64,
    pub k_nearest: Option<f64>,
    pub max_radius: f64,
}

Fields§

§batch_size: usize

The number of samples per batch, m in the paper. At least one.

§gamma: f64

The connection radius constant: with q states in the graph (vertices plus unconnected samples, minus the newest batch), states within gamma * (ln q / q)^(1/d) are neighbors. Asymptotic optimality needs gamma above BitStarConfig::gamma_lower_bound. Positive and finite. Unused when BitStarConfig::k_nearest is set.

§k_nearest: Option<f64>

When Some(k_constant), the neighbors are the ceil(k_constant * ln q) nearest states instead (eq. 2 of the paper); asymptotic optimality needs k_constant above BitStarConfig::k_constant_lower_bound. Positive and finite.

§max_radius: f64

Upper bound on the connection radius and on every edge, r_max in the paper. Positive; may be infinite.