pub struct DynamicalSystem<S, D, N, E>where
S: LocalHyperGraph<N, E> + Debug + Clone,
D: LocalDynamic<N, E> + Debug + Clone,
N: Clone + Sync + Send + Hash + Eq + Stateable + Debug,
E: Clone + Sync + Send + Eq + PartialEq + Hash + Sized + Debug,{ /* private fields */ }Implementations§
Source§impl<S, D, N, E> DynamicalSystem<S, D, N, E>
impl<S, D, N, E> DynamicalSystem<S, D, N, E>
Source§impl<S, D, N, E> DynamicalSystem<S, D, N, E>
impl<S, D, N, E> DynamicalSystem<S, D, N, E>
pub fn space_state(&self) -> Vec<N>
pub fn space(&self) -> &S
pub fn dynamic(&self) -> &D
pub fn describe(&self) -> String
pub fn set_dynamic(&mut self, dynamic: Box<D>)
pub fn set_space(&mut self, space: Box<S>)
pub fn update_space(&mut self, mutator: impl FnMut(&mut Vec<N>))
pub fn compute_sync(&mut self)
Source§impl<S, D, N, E> DynamicalSystem<S, D, N, E>
impl<S, D, N, E> DynamicalSystem<S, D, N, E>
pub async fn compute_sync_wgpu(&mut self, device: &GpuDevice)
Trait Implementations§
Source§impl<S, D, N, E> Clone for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> Clone for DynamicalSystem<S, D, N, E>
Source§fn clone(&self) -> DynamicalSystem<S, D, N, E>
fn clone(&self) -> DynamicalSystem<S, D, N, E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S, D, N, E> Debug for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> Debug for DynamicalSystem<S, D, N, E>
Source§impl<N, E> LatticeComputable<N, E> for DynamicalSystem<HyperGraphHeap<DiscreteState, (), (u32, u32)>, CyclicAutomaton, DiscreteState, ()>
impl<N, E> LatticeComputable<N, E> for DynamicalSystem<HyperGraphHeap<DiscreteState, (), (u32, u32)>, CyclicAutomaton, DiscreteState, ()>
fn shape(&self) -> Vec<usize>
fn observation_neighbors(&self) -> Vec<Vec<i32>>
fn update_wgsl_code(&self) -> ShaderSource<'_>
fn wgsl_compute( &self, kernel: &Kernel, image: &Image, device: &GpuDevice, shader: ShaderSource<'_>, ) -> (Image, u64, Buffer, Buffer, BindGroup, ComputePipeline)
Source§impl<N, E> LatticeComputable<N, E> for DynamicalSystem<HyperGraphHeap<DiscreteState, (), (u32, u32)>, LifeLike, DiscreteState, ()>
impl<N, E> LatticeComputable<N, E> for DynamicalSystem<HyperGraphHeap<DiscreteState, (), (u32, u32)>, LifeLike, DiscreteState, ()>
fn shape(&self) -> Vec<usize>
fn observation_neighbors(&self) -> Vec<Vec<i32>>
fn update_wgsl_code(&self) -> ShaderSource<'_>
fn wgsl_compute( &self, kernel: &Kernel, image: &Image, device: &GpuDevice, shader: ShaderSource<'_>, ) -> (Image, u64, Buffer, Buffer, BindGroup, ComputePipeline)
Auto Trait Implementations§
impl<S, D, N, E> Freeze for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> RefUnwindSafe for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> Send for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> Sync for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> Unpin for DynamicalSystem<S, D, N, E>
impl<S, D, N, E> UnwindSafe for DynamicalSystem<S, D, N, E>
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,
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