BaseContext

Type Alias BaseContext 

Source
pub type BaseContext = Context<Data<NumericalValue>, EuclideanSpace, EuclideanTime, EuclideanSpacetime, BaseSymbol, FloatType, FloatType>;
Expand description

A type alias for a default, general-purpose Context configuration.

This BaseContext alias represents a Context instance specifically configured with a standard set of generic parameters, making it suitable for common causal modeling scenarios that operate within a Euclidean and numerical framework.

It provides a convenient and readable shorthand for defining a Context that encapsulates:

  • Data<NumericalValue>: For handling general numerical data. NumberType is typically an alias for a floating-point or integer type, allowing for flexible data representation within the context.
  • EuclideanSpace: Defines the spatial context using a standard Euclidean coordinate system. This implies that spatial relationships within this context adhere to Euclidean geometry.
  • EuclideanTime: Specifies the temporal context, utilizing 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 elements within the context, useful for labeling, identification, or abstract reasoning.
  • FloatType (x2): Two FloatType parameters, which are typically used for internal calculations, scalar values, metrics, or other generic numerical requirements within the Context structure, such as probabilities, weights, or magnitudes.

This BaseContext is designed to be a sensible default for many applications, offering a consistent and easily recognizable context structure for general-purpose causal reasoning and data representation.

Aliased Typeยง

pub struct BaseContext { /* private fields */ }