communicationCost

open override fun communicationCost(source: Protocol, destination: Protocol, host: Host?): Cost<IntegerCost>

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.