From: <ku...@us...> - 2008-09-28 11:51:44
|
Revision: 1286 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1286&view=rev Author: kurzum Date: 2008-09-28 11:51:41 +0000 (Sun, 28 Sep 2008) Log Message: ----------- turned off default negation in experiment Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/core/configurators/ExampleBasedROLComponentConfigurator.java trunk/src/dl-learner/org/dllearner/scripts/SemanticBibleComparison.java Modified: trunk/src/dl-learner/org/dllearner/core/configurators/ExampleBasedROLComponentConfigurator.java =================================================================== --- trunk/src/dl-learner/org/dllearner/core/configurators/ExampleBasedROLComponentConfigurator.java 2008-09-28 11:44:40 UTC (rev 1285) +++ trunk/src/dl-learner/org/dllearner/core/configurators/ExampleBasedROLComponentConfigurator.java 2008-09-28 11:51:41 UTC (rev 1286) @@ -214,6 +214,15 @@ return (Boolean) ComponentManager.getInstance().getConfigOptionValue(exampleBasedROLComponent, "useExistsConstructor") ; } /** +* useHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm. +* mandatory: false| reinit necessary: true +* default value: true +* @return boolean +**/ +public boolean getUseHasValueConstructor() { +return (Boolean) ComponentManager.getInstance().getConfigOptionValue(exampleBasedROLComponent, "useHasValueConstructor") ; +} +/** * useCardinalityRestrictions specifies whether CardinalityRestrictions is used in the learning algorithm. * mandatory: false| reinit necessary: true * default value: true @@ -494,6 +503,15 @@ reinitNecessary = true; } /** +* @param useHasValueConstructor specifies whether the hasValue constructor is used in the learning algorithm. +* mandatory: false| reinit necessary: true +* default value: true +**/ +public void setUseHasValueConstructor(boolean useHasValueConstructor) { +ComponentManager.getInstance().applyConfigEntry(exampleBasedROLComponent, "useHasValueConstructor", useHasValueConstructor); +reinitNecessary = true; +} +/** * @param useCardinalityRestrictions specifies whether CardinalityRestrictions is used in the learning algorithm. * mandatory: false| reinit necessary: true * default value: true Modified: trunk/src/dl-learner/org/dllearner/scripts/SemanticBibleComparison.java =================================================================== --- trunk/src/dl-learner/org/dllearner/scripts/SemanticBibleComparison.java 2008-09-28 11:44:40 UTC (rev 1285) +++ trunk/src/dl-learner/org/dllearner/scripts/SemanticBibleComparison.java 2008-09-28 11:51:41 UTC (rev 1286) @@ -467,6 +467,7 @@ // reasoner if(fic){ f = ComponentFactory.getFastInstanceChecker(tmp); + ((FastInstanceChecker)f).getConfigurator().setDefaultNegation(false); }else{ f = ComponentFactory.getOWLAPIReasoner(tmp); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |