Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Commit

Permalink
added documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mallamanis committed Apr 6, 2012
1 parent dcf969c commit 0a1d262
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/gr/auth/ee/lcs/FoldEvaluator.java
Expand Up @@ -43,15 +43,31 @@
*/
public class FoldEvaluator {

/**
* An inner class representing a fold of training. To be run as a thread
*
* @author Miltiadis Allamanis
*
*/
private final class FoldRunnable implements Runnable {
private final int metricOptimizationIndex;
private final int i;
private final int numOfFoldRepetitions;

private FoldRunnable(int metricOptimizationIndex, int i,
/**
* Constructor
*
* @param metricOptimizationIndex
* the index of the metric to optimize on
* @param nFold
* the fold number
* @param numOfFoldRepetitions
* the number of repetitions to perform
*/
private FoldRunnable(int metricOptimizationIndex, int nFold,
int numOfFoldRepetitions) {
this.metricOptimizationIndex = metricOptimizationIndex;
this.i = i;
this.i = nFold;
this.numOfFoldRepetitions = numOfFoldRepetitions;
}

Expand Down

0 comments on commit 0a1d262

Please sign in to comment.