public class DecayFuncNumericParam extends DecayParam
DecayFunction中设置参数,适用于Long和Double类型field。origin,scale和offset是Double类型值,其中scale应大于0,offset应大于等于0。| Modifier and Type | Class and Description |
|---|---|
static class |
DecayFuncNumericParam.Builder |
DecayParam.DecayFuncUnknownParam, DecayParam.ParamType| Constructor and Description |
|---|
DecayFuncNumericParam() |
DecayFuncNumericParam(Double origin,
Double scale,
Double offset) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getOffset() |
Double |
getOrigin() |
Double |
getScale() |
DecayParam.ParamType |
getType()
获取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 in class DecayParampublic static DecayFuncNumericParam.Builder newBuilder()
Copyright © 2024. All Rights Reserved.