Returns an EndpointWeightTransition which returns a non-linearly increasing weight
based on an aggression factor. Higher aggression factors will assign higher weights for lower steps.
You may also specify a minWeightPercent to specify a lower bound for the computed weights.
Refer to the following
link
for more information.
compute
intcompute(Endpoint endpoint,
int currentStep,
int totalSteps)
Returns the computed weight of the given Endpoint using the given currentStep and
totalSteps.