get_continuum_tiered#

eclypse.builders.infrastructure.patterns.continuum_tiered.get_continuum_tiered(device_count, edge_count, fog_count=0, cloud_count=1, infrastructure_id='continuum_tiered', symmetric=True, connectivity=None, cross_level_connectivity=None, update_policies=None, node_assets=None, link_assets=None, include_default_assets=False, strict=False, resource_init='max', path_algorithm=None, seed=None)[source]#

Create an IoT-edge-cloud continuum from the hierarchical generator.

Parameters:
  • device_count (int) – Number of device-tier nodes.

  • edge_count (int) – Number of edge-tier nodes.

  • fog_count (int) – Number of fog-tier nodes.

  • cloud_count (int) – Number of cloud-tier nodes.

  • infrastructure_id (str) – Identifier assigned to the infrastructure.

  • symmetric (bool) – Whether generated links should be mirrored.

  • connectivity (list[float] | None) – Cross-tier connectivity probabilities passed to get_hierarchical.

  • cross_level_connectivity (list[float] | None) – Intra-tier connectivity probabilities passed to get_hierarchical.

  • update_policies (UpdatePolicies) – Graph update policies executed during evolve().

  • node_assets (dict[str, Asset] | None) – Node asset definitions available to the infrastructure.

  • link_assets (dict[str, Asset] | None) – Edge asset definitions available to the infrastructure.

  • include_default_assets (bool) – Whether to include default ECLYPSE assets.

  • strict (bool) – Whether inconsistent asset values should raise.

  • resource_init (InitPolicy) – Initialisation policy used for graph assets.

  • path_algorithm (Callable[[nx.Graph, str, str], list[str]] | None) – Path computation function for infrastructure routing.

  • seed (int | None) – Seed forwarded to the underlying hierarchical generator.

Returns:

The generated continuum infrastructure.

Return type:

Infrastructure

Raises:

ValueError – If any tier count is negative or the total number of nodes is zero.