Sets minimum resistance for the shortest path algorithm.
int
tpm_tracesetminres(
ade_id trace_id,
ads_real minres);
Returns RTNORM or an error code.
trace_id | The tracing model ID, returned from tpm_tracealloc. |
minres | The minimum accumulated allowed path resistance. |
This function sets an accumulated resistance value for path tracing. For the shortest path trace to succeed, the total calculated resistance cannot be greater than the value set for the maximum resistance or less than the value set for the minimum resistance. See tpm_tracesetmaxres. See tpm_traceshort.