Properties
Type
ComputableDAGs.GraphProperties
— TypeGraphProperties
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 Node
s..noEdges
: Number of Edge
s.
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.
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.
Base.:-
— Method-(prop::GraphProperties)
Unary negation of the graph properties. .computeIntensity
will not be negated because .data
and .computeEffort
both are.