protected Taxonomy < ElkClass > restoreTaxonomy ( ) throws ElkInconsistentOntologyException , ElkException { ruleAndConclusionStats . reset ( ) ; // also restores saturation and cleans the taxonomy if necessary restoreConsistencyCheck ( ) ; if ( consistencyCheckingState . isInconsistent ( ) ) { throw new ElkInconsistentOntologyException ( ) ; } complete ( stageManager . classTaxonomyComputationStage ) ; return classTaxonomyState . getTaxonomy ( ) ; }
Complete the taxonomy computation stage and the stages it depends on if it has not been done yet .