共用方式為


SamplingAlgorithmUnion type

type SamplingAlgorithmUnion =
  | SamplingAlgorithm
  | BayesianSamplingAlgorithm
  | GridSamplingAlgorithm
  | RandomSamplingAlgorithm