MultiObjectiveOptimizer.AddIntegerStateVariableBlock(StringArray) Method

Top 

Description

Creates a new entry in the MultiObjectiveOptimizer.IntegerStateVariables array for every label provided. Integer state variables can have any real integer value between or equal to their lower and upper bounds.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

MultiObjectiveOptimizer.AddIntegerStateVariableBlock(

StringArray labels)

 

 

Arguments

labels


Description:

The labels for this block of state variables.

 

 

 

Return Value

Type:

number

 

 

Returns the index of the first added integer state variable.

 

Syntax

myVariable1 = myMultiObjectiveOptimizer1.AddIntegerStateVariableBlock(myStringArray1);

 

 

See also

MultiObjectiveOptimizer Object

MultiObjectiveOptimizer.AddIntegerStateVariableBlock