From: <jen...@us...> - 2008-09-16 22:30:34
|
Revision: 1222 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1222&view=rev Author: jenslehmann Date: 2008-09-17 05:30:32 +0000 (Wed, 17 Sep 2008) Log Message: ----------- small fix Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java Modified: trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java =================================================================== --- trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java 2008-09-16 18:17:33 UTC (rev 1221) +++ trunk/src/dl-learner/org/dllearner/algorithms/refexamples/ExampleBasedROLearner.java 2008-09-17 05:30:32 UTC (rev 1222) @@ -848,7 +848,7 @@ // it is often useful to continue expanding until a longer node is // reached (to replace atomic concepts with more specific ones) - if(forceRefinementLengthIncrease) { + if(forceRefinementLengthIncrease && !newNode.isTooWeak()) { // extend node again if its concept has the same length if(node.getConcept().getLength() == newNode.getConcept().getLength()) { extendNodeProper(newNode, refinement, maxLength, recDepth + 1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |