View Javadoc

1   package cz.cuni.amis.utils.statistic;
2   
3   public class MovingAverage<TYPE> implements IMovingAverage<TYPE> {
4   
5   	private IAveragator<TYPE> averagator;
6   
7   	public MovingAverage(IAveragator<TYPE> averagator) {
8   		this.averagator = averagator;
9   	}
10  	
11  	@Override
12  	public void add(TYPE item) {
13  		// TODO Auto-generated method stub
14  		
15  	}
16  
17  	@Override
18  	public TYPE getAverage() {
19  		// TODO Auto-generated method stub
20  		return null;
21  	}
22  
23  	@Override
24  	public int getCurrentLength() {
25  		// TODO Auto-generated method stub
26  		return 0;
27  	}
28  
29  	@Override
30  	public int getMaxLength() {
31  		// TODO Auto-generated method stub
32  		return 0;
33  	}
34  
35  	@Override
36  	public boolean isEnoughValues() {
37  		// TODO Auto-generated method stub
38  		return false;
39  	}
40  
41  	@Override
42  	public void reset() {
43  		// TODO Auto-generated method stub
44  		
45  	}
46  
47  	@Override
48  	public void setMaxLength(int length) {
49  		// TODO Auto-generated method stub
50  		
51  	}
52  
53  }