|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibspan.ecap.merchant.shopdecisions.forecasting.FixedHorizonEstimator
public class FixedHorizonEstimator
Constructor Summary | |
---|---|
FixedHorizonEstimator(int defaultHorizonLength)
|
Method Summary | |
---|---|
int |
estimateHorizon(java.lang.String productId,
java.util.Date forecastStart)
Returns the forecast period length (in days) for the prediction of the given product starting at the specified date. |
void |
setProductHorizon(java.lang.String productId,
int horizonLength)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedHorizonEstimator(int defaultHorizonLength)
Method Detail |
---|
public void setProductHorizon(java.lang.String productId, int horizonLength)
public int estimateHorizon(java.lang.String productId, java.util.Date forecastStart)
HorizonEstimator
estimateHorizon
in interface HorizonEstimator
productId
- the id of the product whose sales are forecastedforecastStart
- the date when the forecast starts
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |