Description
Figure of Merit using an Analysis Workbench scalar calculation component as the metric.
Public Properties
CalcScalar | Reference Scalar Calculation component. |
ShouldUpdateAccesses | Update Accesses computed outside Coverage. |
TimeStep | Gets or sets the value to be used during the sampling of the dynamic definition for use in the static definition. |
Interfaces
CoClasses that Implement IAgFmDefScalarCalculation
Example
Configure figure of merit Scalar Calculation definition
[C#] |
---|
// Set the Scalar Calculation definition.
IAgFmDefScalarCalculation scalarCalculation = fom.SetScalarCalculationDefinition("CentralBody/Earth ElapsedTimeFromStart");
|
|
Configure figure of merit Scalar Calculation definition using VGT
[C#] |
---|
// Get the qualified path of a Scalar Calculation (e.g.
IAgCrdnProvider provider = stkRoot.VgtRoot.GetProvider("CentralBody/Sun");
IAgCrdnCalcScalar calcScalar = provider.CalcScalars[0];
string calcScalarQualifiedPath = (calcScalar as IAgCrdn).QualifiedPath;
// Set the Scalar Calculation definition using the qualified path
IAgFmDefScalarCalculation scalarCalculation = fom.SetScalarCalculationDefinition(calcScalarQualifiedPath);
|
|
Configure figure of merit Scalar Calculation definition
[Visual Basic .NET] |
---|
' Set the Scalar Calculation definition.
Dim scalarCalculation As IAgFmDefScalarCalculation = fom.SetScalarCalculationDefinition("CentralBody/Earth ElapsedTimeFromStart")
|
|
Configure figure of merit Scalar Calculation definition using VGT
[Visual Basic .NET] |
---|
' Get the qualified path of a Scalar Calculation (e.g.
Dim provider As IAgCrdnProvider = stkRoot.VgtRoot.GetProvider("CentralBody/Sun")
Dim calcScalar As IAgCrdnCalcScalar = provider.CalcScalars(0)
Dim calcScalarQualifiedPath As String = TryCast(calcScalar, IAgCrdn).QualifiedPath
' Set the Scalar Calculation definition using the qualified path
Dim scalarCalculation As IAgFmDefScalarCalculation = fom.SetScalarCalculationDefinition(calcScalarQualifiedPath)
|
|