2020-02-05 19:46:57 +01:00
|
|
|
#define STATUS_VECTOR_CPP
|
|
|
|
#include "status_vector.h"
|
|
|
|
|
|
|
|
void initStatusVector(){
|
|
|
|
currentSVIndex = 0;
|
|
|
|
|
2020-02-12 21:43:20 +01:00
|
|
|
for(int i=0; i<dim; i++){
|
2020-02-05 18:57:11 +01:00
|
|
|
inputs[i] = input();
|
|
|
|
datas[i] = data();
|
|
|
|
}
|
2020-02-05 19:46:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void updateStatusVector(){
|
|
|
|
currentSVIndex = (currentSVIndex+1) % dim;
|
2020-02-05 18:57:11 +01:00
|
|
|
}
|