Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/08/11 14:28:59 (13 years ago)
Author:
mholper
Message:

added createmissingAlgoParams Method #1218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKBJavaConnector/HLOKBWebClient/src/main/java/at/hl/okb/impl/ECJ19ConnectorImpl.java

    r5252 r5254  
    66import java.util.List;
    77import java.util.Map;
     8import java.util.Set;
    89
    910import com.sun.codemodel.writer.PrologCodeWriter;
     
    4142    Long algorithmId = okbClient.getAlgorithmId(algorithmName, platformId);
    4243    if (algorithmId == null)
    43       throw new Exception("Algorithm " + algorithmName + " for Platform" + platformName + " not found!");
     44      throw new Exception("Algorithm " + algorithmName + " for Platform " + platformName + " not found!");
    4445
    4546    Long problemId = okbClient.getProblemId(problemName);
     
    5556    // TODO Auto-generated method stub
    5657   
     58    Set<String> missingParamSet = algoParams.keySet();
     59    missingParamSet.removeAll(okbClient.getAlgorithmParameterMap(state.getAlgorithmId()).keySet());
     60   
     61    //fehlende Param Anlegen
     62   
     63    okbClient.createMissingAlgoParams(state.getAlgorithmId(), missingParamSet);   
    5764
    5865    //create Experiment if algoparams not exists in HL and problemparams not exits (in HL)
Note: See TracChangeset for help on using the changeset viewer.