From: <jen...@us...> - 2008-07-24 16:42:42
|
Revision: 1018 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1018&view=rev Author: jenslehmann Date: 2008-07-24 16:42:40 +0000 (Thu, 24 Jul 2008) Log Message: ----------- - removed ToDo-Taglet from Javadoc ant task - slightly improved Javadoc Modified Paths: -------------- trunk/build.xml trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java trunk/src/dl-learner/org/dllearner/core/ComponentManager.java Modified: trunk/build.xml =================================================================== --- trunk/build.xml 2008-07-24 11:06:45 UTC (rev 1017) +++ trunk/build.xml 2008-07-24 16:42:40 UTC (rev 1018) @@ -246,7 +246,7 @@ <pathconvert refid="classpath" property="jdocclasspath"/> <javadoc access="public" author="true" - classpath="${jdocclasspath};${java.home}/../lib/tools.jar" + classpath="${jdocclasspath}" destdir="doc/javadoc" doctitle="DL-Learner Javadoc" nodeprecated="false" @@ -265,7 +265,6 @@ bottom="<img style='float:right' src='http://sflogo.sourceforge.net/sflogo.php?group_id=203619&type=1' width='88' height='31' border='0' alt='SourceForge.net Logo' /> DL-Learner is licenced under the terms of the GNU General Public License.<br />Copyright &#169; 2007 Jens Lehmann" Encoding="ISO-8859-1" windowtitle="DL-Learner Javadoc"> - <taglet name="org.dllearner.utilities.ToDoTaglet" path="classes" /> <link href="http://java.sun.com/javase/6/docs/api/"/> </javadoc> </target> Modified: trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java =================================================================== --- trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java 2008-07-24 11:06:45 UTC (rev 1017) +++ trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java 2008-07-24 16:42:40 UTC (rev 1018) @@ -434,7 +434,9 @@ System.out.println("best child of this node: " + bestChild); System.out.println(bestNode.getChildConcepts()); System.out.println("TODO: needs to be integrated with other stopping criteria"); - System.exit(0); + System.out.println("You tried to use this algorithm for positive only learning, which is not recommended (yet)."); +// System.out.println("Exiting."); +// System.exit(0); } else { // tag as non-candidate so we do not need to search again bestNode.setPosOnlyCandidate(false); Modified: trunk/src/dl-learner/org/dllearner/core/ComponentManager.java =================================================================== --- trunk/src/dl-learner/org/dllearner/core/ComponentManager.java 2008-07-24 11:06:45 UTC (rev 1017) +++ trunk/src/dl-learner/org/dllearner/core/ComponentManager.java 2008-07-24 16:42:40 UTC (rev 1018) @@ -1,5 +1,5 @@ /** - * Copyright (C) 2007, Jens Lehmann + * Copyright (C) 2007-2008, Jens Lehmann * * This file is part of DL-Learner. * @@ -178,6 +178,16 @@ return cm; } + /** + * Set the classes, which can be used as components. By default, + * this is read from components.ini, but this method can be used + * to set the components programmatically. This method must be + * used before the first call to {@link #getInstance()}, otherwise + * it has no effect. + * + * @param componentClasses A list of class names, e.g. + * org.dllearner.refinement.ROLearner. + */ public static void setComponentClasses(String[] componentClasses) { ComponentManager.componentClasses = componentClasses; } @@ -211,9 +221,9 @@ * value is correct, it is preferable to create a ConfigEntry object and * apply it to the component (no type checking necessary). * - * @param component - * @param optionName - * @param value + * @param component A component. + * @param optionName The name of the config option. + * @param value The value of the config option. */ @SuppressWarnings( { "unchecked" }) public <T> void applyConfigEntry(Component component, String optionName, T value) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |