Open irina-dragoste opened 6 years ago
If nobody is working on this I would assign myself.
If nobody is working on this I would assign myself.
I am not sure we want to implement this in the near future. It also requires changes in VLog. Will let you know when this task becomes available.
Currently, the reasoning timeout can be set in infterface
Reasoner
, method voidsetReasoningTimeout(@Nullable Integer seconds)
. The timeout is currently anInteger
value in seconds, and the defaultnull
value represents no reasoning timeout.To be consistent with
OWLReasonerConfiguration
timeout ([getTimeOut()
](http://soft.vub.ac.be/svn-pub/PlatformKit/platformkit-kb-owlapi3-doc/doc/owlapi3/javadoc/org/semanticweb/owlapi/reasoner/OWLReasonerConfiguration.html#getTimeOut())), we want to change methodReasoner#void setReasoningTimeout(@Nullable Integer seconds)
to have:long
primitive value instead ofInteger
valueLong.MAX_VALUE
the value for which the reasoner DOES NOT timeout, instead ofnull.
TimeOutException
will be thrown in the thread that invoked the last reasoner operation.The new method signature should be:
Reasoner#void setReasoningTimeout(long miliseconds)
There should also be getter for the timeout:
Reasoner#long getReasoningTimeout()