Class InferenceModelUpdater
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.tboxreasoner.InferenceModelUpdater
-
public class InferenceModelUpdater extends Object
A tool that will adjust the inferences model to match the reasoner model, after applying the proper filters to both.
-
-
Constructor Summary
Constructors Constructor Description InferenceModelUpdater(TBoxReasoner reasoner, LockableModel lockableInferencesModel, LockableOntModel lockableFullModel, ConfiguredReasonerListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAddCount()intgetRetractCount()voidupdate(List<ReasonerStatementPattern> patternList)Synchronize the inferences model with the reasoner model, with this proviso: If a statement exists anywhere in the full TBox, don't bother adding it to the inferences model.
-
-
-
Constructor Detail
-
InferenceModelUpdater
public InferenceModelUpdater(TBoxReasoner reasoner, LockableModel lockableInferencesModel, LockableOntModel lockableFullModel, ConfiguredReasonerListener listener)
-
-
Method Detail
-
getAddCount
public int getAddCount()
-
getRetractCount
public int getRetractCount()
-
update
public void update(List<ReasonerStatementPattern> patternList)
Synchronize the inferences model with the reasoner model, with this proviso: If a statement exists anywhere in the full TBox, don't bother adding it to the inferences model.
-
-