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