From: <ku...@us...> - 2008-04-22 17:43:54
|
Revision: 814 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=814&view=rev Author: kurzum Date: 2008-04-22 10:43:49 -0700 (Tue, 22 Apr 2008) Log Message: ----------- new configoption.txt configgenerator moved to scripts Modified Paths: -------------- trunk/doc/configOptions.txt trunk/src/dl-learner/org/dllearner/utilities/LearnSparql.java Added Paths: ----------- trunk/src/dl-learner/org/dllearner/scripts/ConfigDocumentationGenerator.java Removed Paths: ------------- trunk/src/dl-learner/org/dllearner/core/config/ConfigDocumentationGenerator.java Modified: trunk/doc/configOptions.txt =================================================================== --- trunk/doc/configOptions.txt 2008-04-22 17:34:43 UTC (rev 813) +++ trunk/doc/configOptions.txt 2008-04-22 17:43:49 UTC (rev 814) @@ -603,6 +603,24 @@ default value: true CLI usage: refexamples.useBooleanDatatypes = true; +option name: maxExecutionTimeInSeconds +description: algorithm will stop after specified seconds +values: class org.dllearner.core.config.IntegerConfigOption +default value: 0 +CLI usage: refexamples.maxExecutionTimeInSeconds = 0; + +option name: minExecutionTimeInSeconds +description: algorithm will run at least specified seconds +values: class org.dllearner.core.config.IntegerConfigOption +default value: 0 +CLI usage: refexamples.minExecutionTimeInSeconds = 0; + +option name: guaranteeXgoodDescriptions +description: algorithm will run until X good (100%) concept descritpions are found +values: class org.dllearner.core.config.IntegerConfigOption +default value: 1 +CLI usage: refexamples.guaranteeXgoodDescriptions = 1; + option name: noisePercentage description: the (approximated) percentage of noise within the examples values: class org.dllearner.core.config.DoubleConfigOption min 0.0 max 100.0 Deleted: trunk/src/dl-learner/org/dllearner/core/config/ConfigDocumentationGenerator.java =================================================================== --- trunk/src/dl-learner/org/dllearner/core/config/ConfigDocumentationGenerator.java 2008-04-22 17:34:43 UTC (rev 813) +++ trunk/src/dl-learner/org/dllearner/core/config/ConfigDocumentationGenerator.java 2008-04-22 17:43:49 UTC (rev 814) @@ -1,45 +0,0 @@ -/** - * Copyright (C) 2007, Jens Lehmann - * - * This file is part of DL-Learner. - * - * DL-Learner 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. - * - * DL-Learner 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.dllearner.core.config; - -import java.io.File; - -import org.dllearner.core.ComponentManager; - -/** - * Collects information about all used configuration options and - * writes them into a file. This way the documentation is always - * in sync with the source code. - * - * @author Jens Lehmann - * - */ -public class ConfigDocumentationGenerator { - - /** - * @param args - */ - public static void main(String[] args) { - File file = new File("doc/configOptions.txt"); - ComponentManager cm = ComponentManager.getInstance(); - cm.writeConfigDocumentation(file); - } - -} Copied: trunk/src/dl-learner/org/dllearner/scripts/ConfigDocumentationGenerator.java (from rev 808, trunk/src/dl-learner/org/dllearner/core/config/ConfigDocumentationGenerator.java) =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/ConfigDocumentationGenerator.java (rev 0) +++ trunk/src/dl-learner/org/dllearner/scripts/ConfigDocumentationGenerator.java 2008-04-22 17:43:49 UTC (rev 814) @@ -0,0 +1,46 @@ +/** + * Copyright (C) 2007, Jens Lehmann + * + * This file is part of DL-Learner. + * + * DL-Learner 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. + * + * DL-Learner 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.dllearner.scripts; + +import java.io.File; + +import org.dllearner.core.ComponentManager; + +/** + * Collects information about all used configuration options and + * writes them into a file. This way the documentation is always + * in sync with the source code. + * + * @author Jens Lehmann + * + */ +public class ConfigDocumentationGenerator { + + /** + * @param args + */ + public static void main(String[] args) { + File file = new File("doc/configOptions.txt"); + ComponentManager cm = ComponentManager.getInstance(); + cm.writeConfigDocumentation(file); + System.out.println("Done"); + } + +} Modified: trunk/src/dl-learner/org/dllearner/utilities/LearnSparql.java =================================================================== --- trunk/src/dl-learner/org/dllearner/utilities/LearnSparql.java 2008-04-22 17:34:43 UTC (rev 813) +++ trunk/src/dl-learner/org/dllearner/utilities/LearnSparql.java 2008-04-22 17:43:49 UTC (rev 814) @@ -70,7 +70,7 @@ cm.applyConfigEntry(la,"useCardinalityRestrictions",false); cm.applyConfigEntry(la,"useNegation",false); cm.applyConfigEntry(la,"minExecutionTimeInSeconds",0); - cm.applyConfigEntry(la,"maxExecutionTimeInSeconds",1800); + cm.applyConfigEntry(la,"maxExecutionTimeInSeconds",900); cm.applyConfigEntry(la,"guaranteeXgoodDescriptions",999999); //cm.applyConfigEntry(la,"quiet",false); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |