Skip to main content

Neuralyzer::Entity::Lineage::EntityMappedLineage

Neuralyzer::Entity::Lineage::EntityMappedLineage

Explicit entity-to-entity mapping for entity-bearing derived containers. More…

#include <LineageTypes.hpp>

Public Attributes

Name
std::string source_key
std::unordered_map< EntityId, std::vector< EntityId > > entity_mapping
derived_entity_id → [parent_entity_ids]

Detailed Description

struct Neuralyzer::Entity::Lineage::EntityMappedLineage;

Explicit entity-to-entity mapping for entity-bearing derived containers.

When both source and derived containers have their own EntityIds, this maps from derived EntityId to parent EntityId(s).

Example: LineData from MaskData via skeletonization

For 1:1: each derived EntityId maps to exactly one parent For N:1: one derived EntityId maps to multiple parents For 1:N: multiple derived EntityIds map to the same parent

Public Attributes Documentation

variable source_key

std::string source_key;

variable entity_mapping

std::unordered_map< EntityId, std::vector< EntityId > > entity_mapping;

derived_entity_id → [parent_entity_ids]


Updated on 2026-11-13 at 20:25:41 +0000