MutationSuite

Struct MutationSuite 

Source
pub struct MutationSuite {
    pub strategies: Vec<(Box<dyn MutationStrategy>, f32)>,
}

Fields§

§strategies: Vec<(Box<dyn MutationStrategy>, f32)>

Implementations§

Source§

impl MutationSuite

Source

pub fn new() -> Self

Source

pub fn add_strategy<S: MutationStrategy + 'static>( &mut self, strategy: S, weight: f32, )

Source

pub fn mutate(&self, field: &FractalField) -> FractalField

Trait Implementations§

Source§

impl Default for MutationSuite

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Resonance for T
where T: Default + 'static,

Source§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

fn resonance_score(&self) -> f64

Returns a scalar score representing intrinsic resonance. This could be based on phase coherence, symmetry, entropy, etc.
Source§

fn resonance_similarity(&self, _other: &dyn Resonance) -> f64

Compares resonance with another object. Returns a similarity score in [0.0, 1.0], where 1.0 means perfect resonance.
Source§

fn resonance_law(&self) -> ResonanceLaw

Classifies the resonance pattern or law governing this object.
Source§

fn is_resonant_with(&self, other: &dyn Resonance) -> bool

Returns true if resonance similarity exceeds a threshold.
Source§

fn resonance_signature(&self) -> Option<Vec<f64>>

Optionally returns a signature or fingerprint of resonance. Useful for entropy engines or transform matching.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V