defaults#

Default asset initializers for nodes, links and aggregator for links assets.

Default node assets are: cpu, ram, storage, gpu, availability, processing_time. Default link assets are: latency, bandwidth. Default path aggregators are: latency (sum), bandwidth (min).

Functions

availability([lower_bound, upper_bound, ...])

Create a new multiplicative asset for availability.

bandwidth([lower_bound, upper_bound, ...])

Create a new additive asset for bandwidth.

cpu([lower_bound, upper_bound, init_fn_or_value])

Create a new additive asset for CPU.

get_default_edge_assets([with_init])

Get the set of default edge assets.

get_default_node_assets([with_init])

Get the set of default node assets.

get_default_path_aggregators()

Get the set of default path aggregators.

gpu([lower_bound, upper_bound, init_fn_or_value])

Create a new additive asset for GPU.

latency([lower_bound, upper_bound, ...])

Create a new concave asset for latency.

processing_time([lower_bound, upper_bound, ...])

Create a new concave asset for processing time.

ram([lower_bound, upper_bound, init_fn_or_value])

Create a new additive asset for RAM.

storage([lower_bound, upper_bound, ...])

Create a new additive asset for storage.