it.unife.ml.probowlapi.core.ReasonerResultImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prob-owlapi Show documentation
Show all versions of prob-owlapi Show documentation
This package encapsulates OWL API adding tools for managing DISPONTE probabilistic semantics. Used by the reasoner BUNDLE.
The newest version!
/**
* This file is part of BUNDLE.
*
* BUNDLE is a probabilistic reasoner for OWL 2 ontologies.
*
* BUNDLE can be used both as module and as standalone.
*
* LEAP was implemented as a plugin of DL-Learner http://dl-learner.org,
* but some components can be used as stand-alone.
*
* BUNDLE and all its parts are distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
*/
package it.unife.ml.probowlapi.core;
import org.mindswap.pellet.utils.Timers;
import org.semanticweb.owlapi.model.OWLAxiom;
/**
*
* @author Giuseppe Cota
*/
public class ReasonerResultImpl implements ReasonerResult {
/**
* The query used to obtain the explanations.
*/
private final OWLAxiom query;
private Timers timers;
public ReasonerResultImpl(OWLAxiom query) {
this.query = query;
}
/**
* @return the query
*/
@Override
public OWLAxiom getQuery() {
return query;
}
/**
* @return the timers
*/
@Override
public Timers getTimers() {
return timers;
}
@Override
public void setTimers(Timers timers) {
this.timers = timers;
}
}