Skip to main content
Table of Contents

TTMSMCPSamplingModelPreferences.CostPriority Property

Weight given to keeping the cost of the completion low, from 0 (unimportant) to 1 (most important).

API unit family: TMS.MCP.Sampling Declaring type: TTMSMCPSamplingModelPreferences Type: Double

Syntax

TMS.MCP.Sampling.hppPascalC++
property CostPriority: Double;
__property double CostPriority = {read=FCostPriority, write=SetCostPriority};

Remarks

Defaults to 0.5, and an assigned value outside the range is clamped to it. The preferences are only sent with a request when a hint has been added or one of the three weights differs from its default.