Neuralyzer::Entity::Lineage::ImplicitEntityMapping
Neuralyzer::Entity::Lineage::ImplicitEntityMapping
Implicit entity mapping (computed on demand, no storage). More…
#include <LineageTypes.hpp>
Public Types
| Name | |
|---|---|
| enum class | Cardinality { OneToOne, AllToOne, OneToAll} |
Public Attributes
| Name | |
|---|---|
| std::string | source_key |
| Cardinality | cardinality |
Detailed Description
struct Neuralyzer::Entity::Lineage::ImplicitEntityMapping;Implicit entity mapping (computed on demand, no storage).
When both containers have the same time structure, the mapping can be computed implicitly based on position.
Example: LineData from MaskData (1:1 transform)
- Line at (T0, idx=0) came from Mask at (T0, idx=0)
- No explicit storage needed
Public Types Documentation
enum Cardinality
| Enumerator | Value | Description |
|---|---|---|
| OneToOne | derived[time, i] ← source[time, i] | |
| AllToOne | derived[time, 0] ← all source[time, *] | |
| OneToAll | derived[time, *] ← source[time, 0] |
Public Attributes Documentation
variable source_key
std::string source_key;variable cardinality
Cardinality cardinality = Cardinality::OneToOne;Updated on 2026-11-13 at 20:25:41 +0000