pub struct GenerationParams {
pub min_components: usize,
pub max_components: usize,
pub min_connections: usize,
pub max_connections: usize,
pub target_latency_ms: f64,
pub target_throughput: f64,
pub reliability_requirement: f64,
pub strategy: GenerationStrategy,
pub generations: u32,
pub mutation_rate: f64,
}Expand description
Generálási paraméterek
Fields§
§min_components: usizeHány komponens legyen
max_components: usize§min_connections: usizeHány kapcsolat legyen
max_connections: usize§target_latency_ms: f64Cél késleltetés (ms)
target_throughput: f64Cél áteresztőképesség (req/s)
reliability_requirement: f64Megbízhatósági követelmény (0.0 - 1.0)
strategy: GenerationStrategyGenerálási stratégia
generations: u32Generációk száma (evolúciós stratégiánál)
mutation_rate: f64Mutációs ráta (0.0 - 1.0)
Trait Implementations§
Source§impl Clone for GenerationParams
impl Clone for GenerationParams
Source§impl Debug for GenerationParams
impl Debug for GenerationParams
Auto Trait Implementations§
impl Freeze for GenerationParams
impl RefUnwindSafe for GenerationParams
impl Send for GenerationParams
impl Sync for GenerationParams
impl Unpin for GenerationParams
impl UnsafeUnpin for GenerationParams
impl UnwindSafe for GenerationParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more