weight property
int
get
weight
Implementation
int get weight {
if (hasDataRequest()) {
int _weight = dataRequest.body.weight;
return _weight;
}
if (hasValueTransfer()) {
int _weight = 0;
int numInputs = valueTransfer.body.inputs.length;
int numOutputs = valueTransfer.body.outputs.length;
_weight = 1 * numInputs * 3 * numOutputs * GAMMA;
return _weight;
}
return 0;
}