Table of Contents

Class TrialStateExtensions

Namespace
OptunaSharp
Assembly
OptunaSharp.dll

Provides completion checks and Python-compatible trial state names.

public static class TrialStateExtensions
Inheritance
TrialStateExtensions
Inherited Members

Methods

IsFinished(TrialState)

Return a bool value to represent whether the trial state is unfinished or not.

The unfinished state is either Running or Waiting.

public static bool IsFinished(this TrialState state)

Parameters

state TrialState

Trial state to record or inspect.

Returns

bool

True for every value other than Running or Waiting.