Free cookie consent management tool by TermsFeed Policy Generator

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

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

added initializeAlgorithm #1218

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