Skip to main content

BaseCausalMap

Type Alias BaseCausalMap 

Source
pub type BaseCausalMap = HashMap<usize, Causaloid<bool, bool, (), Arc<RwLock<BaseContext>>>>;
Expand description

A type alias for a HashMap that stores BaseCausaloid instances, typically indexed by their unique identifiers.

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 a mapping from an integer ID (e.g., a node index or a unique identifier) to a Causaloid instance.

The BaseCausaloid type, which forms the value of this map, is parameterized with the following concrete types:

  • Data<NumericalValue>: Represents the data component associated with each causaloid. NumberType is a generic numeric type, typically a floating-point or integer.
  • EuclideanSpace: Defines the spatial context of the causaloids within a standard Euclidean coordinate system.
  • EuclideanTime: Specifies the temporal context, using a Euclidean representation of time.
  • EuclideanSpacetime: Combines the Euclidean spatial and temporal contexts into a unified spacetime representation.
  • BaseSymbol: Provides a basic symbolic representation for the causaloids.
  • FloatType (x2): Two FloatType parameters, typically used for internal calculations, scalar values, or other generic numeric requirements within the Causaloid structure.

This BaseCausalMap is suitable for general-purpose use cases where a standard Euclidean and numerical context is sufficient for defining and managing causal entities within a map structure. It offers a consistent and easily recognizable way to organize causaloids for common causal modeling scenarios.

Aliased Type§

pub struct BaseCausalMap { /* private fields */ }