Ignore:
Timestamp:
05/13/16 09:18:15 (9 years ago)
Author:
sherbold
Message:
  • added the new configuration parameter repetitions and implemented its usage in the AbstractCrossProjectExperiment?. It now allows for multiple storages of the same result in an IResultContainer to allow for repetitions of experiments with random components.
File:
1 edited

Legend:

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

    r86 r98  
    161161     */ 
    162162    private Boolean saveClassifier = null; 
     163     
     164    /** 
     165     * number of repetitions of an experiment (to account for randomness) 
     166     */ 
     167    private int repetitions = 1; 
    163168 
    164169    /** 
     
    421426        return saveClassifier; 
    422427    } 
     428     
     429    /** 
     430     * number of repetitions of an experiment 
     431     * 
     432     * @return number of repetitions 
     433     */ 
     434    public int getRepetitions() { 
     435        return repetitions; 
     436    } 
    423437 
    424438    /** 
     
    564578            else if (qName.equals("saveClassifier")) { 
    565579                saveClassifier = true; 
     580            } 
     581            else if( qName.equals("repetitions")) { 
     582                repetitions = Integer.parseInt(attributes.getValue("number")); 
    566583            } 
    567584            else if (qName.equals("executionStrategy")) { 
Note: See TracChangeset for help on using the changeset viewer.