BaseCausaloidVec

Type Alias BaseCausaloidVec 

Source
pub type BaseCausaloidVec<I, O> = Vec<Causaloid<I, O, (), Arc<RwLock<BaseContext>>>>;
Expand description

A type alias for a Vec (vector) containing BaseCausaloid instances.

This alias provides a convenient shorthand for a collection of causaloids, where each causaloid adheres to a standard “base” configuration. It’s designed to represent an ordered list of Causaloid instances that share a common set of generic parameters, making it suitable for scenarios where multiple causaloids need to be grouped or processed together.

Each Causaloid within this vector is parameterized with the following concrete types, defining its default context and data handling:

  • Data<NumericalValue>: Represents the data component associated with each causaloid. NumberType is a generic numeric type, typically a floating-point or integer, allowing for flexible data representation.
  • EuclideanSpace: Defines the spatial context of the causaloids within a standard 3D Euclidean coordinate system. This implies that spatial relationships are governed by Euclidean geometry.
  • EuclideanTime: Specifies the temporal context, using a Euclidean representation of time. This typically refers to a continuous, linear progression of time.
  • EuclideanSpacetime: Combines the Euclidean spatial and temporal contexts into a unified spacetime representation, where both space and time are treated with Euclidean properties.
  • BaseSymbol: Provides a basic symbolic representation for the causaloids, useful for labeling, identification, or abstract reasoning.
  • FloatType (x2): Two FloatType parameters, typically used for internal calculations, scalar values, or other generic numeric requirements within the Causaloid structure, such as probabilities, weights, or magnitudes.

This BaseCausaloidVec is suitable for general-purpose use cases where a standard Euclidean and numerical context is sufficient for defining and managing ordered collections of causal entities. It offers a consistent and easily recognizable way to organize causaloids for common causal modeling scenarios, such as representing a sequence of events or a set of related causal agents.

Aliased Type§

pub struct BaseCausaloidVec<I, O> { /* private fields */ }