use of hex.grid.HyperSpaceSearchCriteria in project h2o-3 by h2oai.
the class HyperSpaceSearchCriteriaV99 method fillWithDefaults.
/**
* Fill with the default values from the corresponding Iced object.
*/
public S fillWithDefaults() {
HyperSpaceSearchCriteria defaults = null;
if (HyperSpaceSearchCriteria.Strategy.Cartesian == strategy) {
defaults = new HyperSpaceSearchCriteria.CartesianSearchCriteria();
} else if (HyperSpaceSearchCriteria.Strategy.RandomDiscrete == strategy) {
defaults = new HyperSpaceSearchCriteria.RandomDiscreteValueSearchCriteria();
} else {
throw new H2OIllegalArgumentException("search_criteria.strategy", strategy.toString());
}
fillFromImpl((I) defaults);
return (S) this;
}
Aggregations