Properties

Type

ComputableDAGs.GraphPropertiesType

GraphProperties

Representation of a DAG's properties.

Fields:

.data: The total data transfer.
.computeEffort: The total compute effort.
.computeIntensity: The compute intensity, will always equal .computeEffort / .data.
.noNodes: Number of Nodes.
.noEdges: 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. .computeIntensity will not be negated because .data and .computeEffort both are.

source