CostEstimator
A modular cost model for estimating the cost of executing a program given a protocol assignment.
The cost model is modular because it is local: it cannot look at the entire program, instead, it is restricted to viewing a single computation or a message at a time.
Functions
Link copied to clipboard
abstract fun communicationCost(source: Protocol, destination: Protocol, host: Host? = null): Cost<C>
Estimated cost of sending a message from source to destination relative to host in destination. If host is null, then computes the cost for all the hosts in destination.
Link copied to clipboard
Link copied to clipboard
Cost weights of features.