Changeset 121 for trunk/CrossPare/src/de/ugoe/cs/cpdp/eval
- Timestamp:
- 06/03/16 15:55:22 (9 years ago)
- Location:
- trunk/CrossPare/src/de/ugoe/cs/cpdp/eval
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/IResultStorage.java
r98 r121 43 43 * @param productName 44 44 * name of the product 45 * @param classifierName 46 * name of the first classifier in the configuration 45 47 * @return number of contained resultsfor the given product and experiment 46 48 */ 47 public int containsResult(String experimentName, String productName );49 public int containsResult(String experimentName, String productName, String classifierName); 48 50 } -
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/MySQLResultStorage.java
r98 r121 162 162 */ 163 163 @Override 164 public int containsResult(String experimentName, String productName ) {164 public int containsResult(String experimentName, String productName, String classifierName) { 165 165 String sql = "SELECT COUNT(*) as cnt FROM crosspare.results WHERE configurationName=\'" + 166 experimentName + "\' AND productName=\'" + productName + "\' ;";166 experimentName + "\' AND productName=\'" + productName + "\' AND classifier=\'" + classifierName + "\';"; 167 167 Statement stmt; 168 168 try {
Note: See TracChangeset
for help on using the changeset viewer.