Struct metaheuristics_nature::FA [−][src]
Firefly Algorithm type.
Implementations
impl<F: ObjFunc> FA<F>
[src]
Trait Implementations
impl<F: ObjFunc> Algorithm<F> for FA<F>
[src]
fn base(&self) -> &AlgorithmBase<F>
[src]
fn base_mut(&mut self) -> &mut AlgorithmBase<F>
[src]
fn init(&mut self)
[src]
fn generation(&mut self)
[src]
fn lb(&self, i: usize) -> f64
[src]
fn ub(&self, i: usize) -> f64
[src]
fn assign(&mut self, i: usize, j: usize)
[src]
fn assign_from(&mut self, i: usize, f: f64, v: Vec<f64>)
[src]
fn set_best(&mut self, i: usize)
[src]
fn find_best(&mut self)
[src]
fn init_pop(&mut self)
[src]
fn check(&self, s: usize, v: f64) -> f64
[src]
fn report(&mut self)
[src]
fn history(&self) -> Vec<Report>
[src]
fn result(&self) -> (Vec<f64>, f64)
[src]
fn run(&mut self) -> F::Result
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for FA<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for FA<F> where
F: Send,
F: Send,
impl<F> Sync for FA<F> where
F: Sync,
F: Sync,
impl<F> Unpin for FA<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for FA<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,