Changeset 123 for trunk/CrossPare/src/de


Ignore:
Timestamp:
06/06/16 10:09:10 (9 years ago)
Author:
sherbold
Message:
  • fixed minor bug in skipping of existing results
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/AbstractCrossProjectExperiment.java

    r121 r123  
    149149        int versionCount = 1; 
    150150        int testVersionCount = 0; 
    151         int numTrainers = 0; 
    152151 
    153152        for (SoftwareVersion testVersion : versions) { 
     
    157156        } 
    158157         
    159         numTrainers += config.getSetWiseTrainers().size(); 
    160         numTrainers += config.getSetWiseTestdataAwareTrainers().size(); 
    161         numTrainers += config.getTrainers().size(); 
    162         numTrainers += config.getTestAwareTrainers().size(); 
    163  
    164158        // sort versions 
    165159        Collections.sort(versions); 
     
    172166                                              testVersionCount, testVersion.getVersion())); 
    173167                int numResultsAvailable = resultsAvailable(testVersion); 
    174                 if (numResultsAvailable >= numTrainers*config.getRepetitions()) { 
     168                if (numResultsAvailable >= config.getRepetitions()) { 
    175169                    Console.traceln(Level.INFO, 
    176170                                    String.format( 
Note: See TracChangeset for help on using the changeset viewer.