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.
public static bool IsFinished(this TrialState state)
Parameters
stateTrialStateTrial state to record or inspect.
Returns
- bool
True for every value other than Running or Waiting.