Package de.julielab.smac
Class HttpParamOptClient
- java.lang.Object
-
- de.julielab.smac.HttpParamOptClient
-
public class HttpParamOptClient extends Object
Simple HTTP client to connect to
HttpParamOptServer.While this class could be used in a SMAC wrapper, the preferred method to run SMAC is the bash script in scripts/smacOverHttpWrapper.sh. This class is here to reproduce results later, e.g. for evaluating best found configurations on a dev or test set.
-
-
Constructor Summary
Constructors Constructor Description HttpParamOptClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DoublerequestScoreFromServer(Map<String,String> configuration, String instance, String host, String endpoint, int port)
-
-
-
Method Detail
-
requestScoreFromServer
public static Double requestScoreFromServer(Map<String,String> configuration, String instance, String host, String endpoint, int port) throws IOException
- Throws:
IOException
-
-