- Timestamp:
- 06/06/16 10:09:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/AbstractCrossProjectExperiment.java
r121 r123 149 149 int versionCount = 1; 150 150 int testVersionCount = 0; 151 int numTrainers = 0;152 151 153 152 for (SoftwareVersion testVersion : versions) { … … 157 156 } 158 157 159 numTrainers += config.getSetWiseTrainers().size();160 numTrainers += config.getSetWiseTestdataAwareTrainers().size();161 numTrainers += config.getTrainers().size();162 numTrainers += config.getTestAwareTrainers().size();163 164 158 // sort versions 165 159 Collections.sort(versions); … … 172 166 testVersionCount, testVersion.getVersion())); 173 167 int numResultsAvailable = resultsAvailable(testVersion); 174 if (numResultsAvailable >= numTrainers*config.getRepetitions()) {168 if (numResultsAvailable >= config.getRepetitions()) { 175 169 Console.traceln(Level.INFO, 176 170 String.format(
Note: See TracChangeset
for help on using the changeset viewer.