40 строки
1,4 КиБ
Java
40 строки
1,4 КиБ
Java
/*
|
|
* Copyright (C) 2011-2016 clueminer.org
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package org.clueminer.clustering.benchmark;
|
|
|
|
import com.beust.jcommander.Parameter;
|
|
import java.io.File;
|
|
import org.clueminer.utils.FileUtils;
|
|
import org.openide.util.NbBundle;
|
|
|
|
/**
|
|
*
|
|
* @author Tomas Barton
|
|
*/
|
|
public class AbsParams {
|
|
|
|
@Parameter(names = "--dir", description = "directory for results", required = false)
|
|
public String home = System.getProperty("user.home") + File.separatorChar
|
|
+ NbBundle.getMessage(FileUtils.class, "FOLDER_Home");
|
|
|
|
@Parameter(names = "--repeat", description = "number of repetitions of each experiment")
|
|
public int repeat = 5;
|
|
|
|
@Parameter(names = "--log", description = "java log level")
|
|
public String log = "INFO";
|
|
|
|
}
|