public class DecayFuncNumericParam extends DecayParam
DecayFunction to set parameters, applicable to Long and Double type fields. origin, scale, and offset are Double type values, where scale should be greater than 0, and offset should be greater than or equal to 0.| 限定符和类型 | 类和说明 |
|---|---|
static class |
DecayFuncNumericParam.Builder |
DecayParam.DecayFuncUnknownParam, DecayParam.ParamType| 构造器和说明 |
|---|
DecayFuncNumericParam() |
DecayFuncNumericParam(Double origin,
Double scale,
Double offset) |
| 限定符和类型 | 方法和说明 |
|---|---|
Double |
getOffset() |
Double |
getOrigin() |
Double |
getScale() |
DecayParam.ParamType |
getType()
Get the type of param
|
static DecayFuncNumericParam.Builder |
newBuilder() |
void |
setOffset(Double offset) |
void |
setOrigin(Double origin) |
void |
setScale(Double scale) |
unknownTypeParampublic Double getOrigin()
public void setOrigin(Double origin)
public Double getScale()
public void setScale(Double scale)
public Double getOffset()
public void setOffset(Double offset)
public DecayParam.ParamType getType()
DecayParamgetType 在类中 DecayParampublic static DecayFuncNumericParam.Builder newBuilder()
Copyright © 2025. All Rights Reserved.