Class ExtrapolationServiceClient<C>
- java.lang.Object
-
- ai.libs.jaicore.ml.functionprediction.learner.learningcurveextrapolation.client.ExtrapolationServiceClient<C>
-
public class ExtrapolationServiceClient<C> extends java.lang.Object
This class describes the client that is responsible for the communication with an Extrapolation Service. The client accepts x- and y-values of anchor points, creates a request and sends this request to an Extrapolation Service. The configuration which was computed by the Extrapolation Service is returned after the response has been received.
-
-
Constructor Summary
Constructors Constructor Description ExtrapolationServiceClient(java.lang.String serviceUrl, java.lang.Class<C> configClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description C
getConfigForAnchorPoints(int[] xValuesArr, double[] yValuesArr)
-
-
-
Constructor Detail
-
ExtrapolationServiceClient
public ExtrapolationServiceClient(java.lang.String serviceUrl, java.lang.Class<C> configClass)
-
-
Method Detail
-
getConfigForAnchorPoints
public C getConfigForAnchorPoints(int[] xValuesArr, double[] yValuesArr) throws InvalidAnchorPointsException, java.lang.InterruptedException, java.util.concurrent.ExecutionException
- Throws:
InvalidAnchorPointsException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
-
-