Optimisation

An optimisation object.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Add an optimisation using the genetic search algorithm

project.Optimisation.Searches:Add(cf.Enums.OptimisationMethodTypeEnum.GeneticAlgorithm)

    -- Get the number of optimisation masks 
    
maskCount = project.Optimisation.Masks.Count

Usage locations (object properties)

The following objects have properties using the Optimisation object:

Property List

Type
The object type string. (Read only string)

Collection List

Masks
A collection of optimisation masks. (OptimisationMaskCollection of OptimisationMask.)
Searches
A collection of optimisation searches. (OptimisationSearchCollection of OptimisationSearch.)

Property Details

Type
The object type string.
Type
string
Access
Read only

Collection Details

Masks
A collection of optimisation masks.
Type
OptimisationMaskCollection
Searches
A collection of optimisation searches.
Type
OptimisationSearchCollection