System.Beacon.TMeanCalculator.GetAsInteger

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetAsInteger: Integer;

C++

int __fastcall GetAsInteger();

プロパティ

種類 可視性 ソース ユニット
function public
System.Beacon.pas
System.Beacon.hpp
System.Beacon TMeanCalculator


説明

計算した安定化値を Integer として返します。

T の配列が一杯の場合、GetAsInteger では GetMedianAsInteger を呼び出し、計算された中央値(メジアン)を返します。T の配列が一杯でない場合、GetAsInteger では、T の配列の平均値を計算し、その計算値を返します。

これにより、ビーコンが移動している場合の計算値の精度が高まります。T の配列のサイズをコンストラクタで設定できます。

Get からこの関数が呼び出されます。

関連項目