Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/IECJConnector.java @ 5249

Last change on this file since 5249 was 5249, checked in by mholper, 13 years ago

added some changed in Impl #1218

File size: 1.6 KB
Line 
1package at.hl.okb;
2
3import java.util.List;
4import java.util.Map;
5
6/**
7 * Interface for ECJ Connector
8 * @author HolperM
9 *
10 */
11public interface IECJConnector {
12 
13  /**
14   * checks if algorithm exists and returns AlgorithmParameterMap with AlgorithmParamName, AlgorithParamType
15   * @param algorithmName
16   * @param algorithmClassId
17   * @param platformId
18   * @param algorithParameterName
19   * @return
20   * @throws Exception
21   */
22//  public Map<String,AlgorithmParameter> initializeAlgorithm(String algorithmName, String algorithmClassId,
23//        String platformId, Iterable<String> algorithmParameterName) throws Exception;
24 
25  /**
26   * Does some logical Check against HL
27   * create missing Datatypes (if not found)
28   * saves algorithmParams, problemParams into HL
29   *
30   * @param algorithm Name of the Algorithm
31   * @param platform Name of the Platform
32   * @param problem Name of the Problem
33   * @param algoParams map<AlgoParamname, Paramvalue> (as JavaType)
34   * @param problemParams map<problemParamName, Paramvalue> (as JavaType)
35   * @param paramFile as Object (will be saved as BLOB)
36   * @throws Exception
37   */
38  public ECJConnectorState initialize(String algorithm, String platform, String problem) throws Exception; //, Map<String, Object> algoParams, Map<String,Object> problemParams, Object paramFile) throws Exception;
39
40  /**
41   * delivers Results to HL
42   * @param resultList
43   * @throws Exception
44   */
45  public void result(ECJConnectorState state, List<Object> resultList, Map<String, Object> algoParams, Map<String, Object> problemParams,
46      Object paramFile) throws Exception;
47}
Note: See TracBrowser for help on using the repository browser.