Table of Contents

Struct ConditionalParams.ActivationBuilder

Namespace
OptunaSharp.Samplers.NsgaiiiCpt
Assembly
OptunaSharp.dll

The second half of a When(string, params object?[]?) rule.

public readonly struct ConditionalParams.ActivationBuilder
Inherited Members

Methods

Activates(params string[])

Names the parameters the rule activates (one or more); returns the owner for chaining.

public ConditionalParams Activates(params string[] parameters)

Parameters

parameters string[]

One or more dependent parameter names to attach to this activator rule.

Returns

ConditionalParams

The owning rule collection, enabling another fluent activation declaration.

Exceptions

ValueError

The dependent list is empty, a name is blank, or a declaration introduces self-activation or a cycle.

ArgumentNullException

A dependent parameter name is null.