Properties

Type

ComputableDAGs.GraphPropertiesType

GraphProperties

Representation of a DAG's properties.

Fields:

  • data::Float64: The total data transfer.
  • compute_effort::Float64: The total compute effort.
  • compute_intensity::Float64: The compute intensity, will always equal compute_effort / data.
  • number_of_nodes::Int: Number of Nodes.
  • number_of_edges::Int: Number of Edges.
source

Create

Utility

Base.:+Method
+(prop1::GraphProperties, prop2::GraphProperties)

Add prop1 and prop2 and return the result as a new GraphProperties. Also take care to keep consistent compute intensity.

source
Base.:-Method
-(prop1::GraphProperties, prop2::GraphProperties)

Subtract prop1 from prop2 and return the result as a new GraphProperties. Also take care to keep consistent compute intensity.

source
Base.:-Method
-(prop::GraphProperties)

Unary negation of the graph properties. .compute_intensity will not be negated because .data and .compute_effort both are.

source