Beispiel #1
0
func NewUniGradSettings() *UniGradSettings {
	return &UniGradSettings{
		CommonSettings:    common.NewCommonSettings(),
		GradientSettings:  uni.NewGradientSettings(),
		ObjectiveSettings: uni.NewObjectiveSettings(),
		LocationSettings:  uni.NewLocationSettings(),
	}
}
Beispiel #2
0
func NewMultiGradSettings() *MultiGradSettings {
	return &MultiGradSettings{
		CommonSettings:    common.NewCommonSettings(),
		ObjectiveSettings: uni.NewObjectiveSettings(),
		GradientSettings:  multi.NewGradientSettings(),
		LocationSettings:  multi.NewLocationSettings(),
	}
}