From: <jen...@us...> - 2012-01-09 16:05:39
|
Revision: 3548 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3548&view=rev Author: jenslehmann Date: 2012-01-09 16:05:33 +0000 (Mon, 09 Jan 2012) Log Message: ----------- fixed a bug when self configuring a heuristic Modified Paths: -------------- trunk/components-core/src/main/java/org/dllearner/algorithms/celoe/CELOE.java trunk/components-core/src/main/java/org/dllearner/algorithms/ocel/OCEL.java Modified: trunk/components-core/src/main/java/org/dllearner/algorithms/celoe/CELOE.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/algorithms/celoe/CELOE.java 2012-01-09 15:29:14 UTC (rev 3547) +++ trunk/components-core/src/main/java/org/dllearner/algorithms/celoe/CELOE.java 2012-01-09 16:05:33 UTC (rev 3548) @@ -1014,6 +1014,7 @@ return heuristic; } + @Autowired(required=false) public void setHeuristic(OEHeuristicRuntime heuristic) { this.heuristic = heuristic; } Modified: trunk/components-core/src/main/java/org/dllearner/algorithms/ocel/OCEL.java =================================================================== --- trunk/components-core/src/main/java/org/dllearner/algorithms/ocel/OCEL.java 2012-01-09 15:29:14 UTC (rev 3547) +++ trunk/components-core/src/main/java/org/dllearner/algorithms/ocel/OCEL.java 2012-01-09 16:05:33 UTC (rev 3548) @@ -145,7 +145,7 @@ private int maxClassDescriptionTests = CommonConfigOptions.maxClassDescriptionTestsDefault; private double negativeWeight = 1.0; - private double startNodeBonus = 1.0; + private double startNodeBonus = 0.1; // 1.0; private double expansionPenaltyFactor = 0.02; private int negationPenalty = 0; private boolean terminateOnNoiseReached = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |