add class Target
This commit is contained in:
parent
2b21708d9d
commit
7a9044c090
22
src/main/java/ru/ulstu/target/Target.java
Normal file
22
src/main/java/ru/ulstu/target/Target.java
Normal 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;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user