pub enum AttractorFamily {
DeJong,
Clifford,
Thomas,
Lorenz,
Ifs(IfsFigure),
}Expand description
Which strange-attractor map the compute step iterates. Selected data-driven
via the optional [particles] config table (ADR-0007 configure hook); the
default is De Jong. Extend as follow-up plans add maps; unknown names are
rejected at load.
Variants§
DeJong
De Jong — a 2D discrete map, bounded in ~[-2, 2].
Clifford
Clifford — a 2D discrete map, bounded in ~[-2, 2].
Thomas
Thomas — a 3D cyclically-symmetric continuous flow.
Lorenz
Lorenz — the 3D convection flow (the butterfly), projected to 2D.
Ifs(IfsFigure)
Implementations§
Source§impl AttractorFamily
impl AttractorFamily
Sourcepub const MAPS: [AttractorFamily; 4]
pub const MAPS: [AttractorFamily; 4]
The four map families, in roster order. The IFS arm is not listed
here because it is IfsFigure::ALL — one roster, reached through the
type that owns it, so the schema export renders both without a copy of
either.
Sourcepub fn from_name(name: &str) -> Option<Self>
pub fn from_name(name: &str) -> Option<Self>
Parse a [particles] family name, or None if unknown.
The IFS figures sit in the same namespace as the map families rather
than behind a family = "ifs" + figure = "fern" pair: a preset picks
one figure, the way it picks one map today, and morph_to names the other
end out of the identical vocabulary.
Trait Implementations§
Source§impl Clone for AttractorFamily
impl Clone for AttractorFamily
Source§fn clone(&self) -> AttractorFamily
fn clone(&self) -> AttractorFamily
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AttractorFamily
impl Debug for AttractorFamily
Source§impl PartialEq for AttractorFamily
impl PartialEq for AttractorFamily
Source§fn eq(&self, other: &AttractorFamily) -> bool
fn eq(&self, other: &AttractorFamily) -> bool
self and other values to be equal, and is used by ==.impl Copy for AttractorFamily
impl Eq for AttractorFamily
impl StructuralPartialEq for AttractorFamily
Auto Trait Implementations§
impl Freeze for AttractorFamily
impl RefUnwindSafe for AttractorFamily
impl Send for AttractorFamily
impl Sync for AttractorFamily
impl Unpin for AttractorFamily
impl UnsafeUnpin for AttractorFamily
impl UnwindSafe for AttractorFamily
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.