saaps.sapm
Class Model
java.lang.Object
|
+--saaps.sapm.Model
- Direct Known Subclasses:
- Anom001Model
- public abstract class Model
- extends java.lang.Object
Constructor Summary |
Model()
Creates new Model |
Method Summary |
protected java.util.Date |
addDate(java.util.Date d,
int field,
int amount)
Add time to a date object. |
abstract void |
createNetwork()
This method creates the network. |
abstract void |
loadData()
Load the data that are needed for the input. |
void |
plot()
Plot the output. |
abstract void |
postProcess()
Post-process the data. |
abstract void |
preProcess()
Pre-process the data. |
void |
run()
Run the network. |
void |
setPredictionDates(java.util.Date start,
java.util.Date end)
Set the start and end dates of the prediction. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
inputTS
protected TimeSeries inputTS
inputData
protected Data inputData
outputData
protected Data outputData
outputTS
protected TimeSeries outputTS
ann
protected Network ann
d1pred
protected java.util.Date d1pred
d2pred
protected java.util.Date d2pred
d1load
protected java.util.Date d1load
d2load
protected java.util.Date d2load
Model
public Model()
- Creates new Model
createNetwork
public abstract void createNetwork()
- This method creates the network.
loadData
public abstract void loadData()
- Load the data that are needed for the input.
preProcess
public abstract void preProcess()
- Pre-process the data.
run
public void run()
- Run the network.
postProcess
public abstract void postProcess()
- Post-process the data.
setPredictionDates
public void setPredictionDates(java.util.Date start,
java.util.Date end)
- Set the start and end dates of the prediction.
- Parameters:
start
- The start dateend
- The end date
addDate
protected java.util.Date addDate(java.util.Date d,
int field,
int amount)
- Add time to a date object.
- Parameters:
d
- The datefield
- Time field (@see Calendar)amount
- The amount to add
plot
public void plot()
- Plot the output.