add class Target

This commit is contained in:
Антон Скалкин 2023-04-03 22:50:42 +04:00
parent 2b21708d9d
commit 7a9044c090

View File

@ -0,0 +1,22 @@
package ru.ulstu.target;
import ru.ulstu.datamodel.exception.ModelingException;
import ru.ulstu.datamodel.ts.TimeSeries;
import java.lang.reflect.InvocationTargetException;
import java.util.concurrent.ExecutionException;
public abstract class Target {
private final String name;
public Target(String name) {
this.name = name;
}
public String getName() {
return name;
}
public abstract TimeSeries calculate(TimeSeries model) throws ModelingException, ExecutionException, InterruptedException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException;
}