com.clarkparsia.modularity
Class IncrementalClassifier.PersistedState

java.lang.Object
  extended by com.clarkparsia.modularity.IncrementalClassifier.PersistedState
Enclosing class:
IncrementalClassifier

public static class IncrementalClassifier.PersistedState
extends java.lang.Object

A class that has access to all the internal parts of the IncrementalClassifier that has to be persisted when saving the state to the stream. This class enables the separation between the I/O code and the reasoning code. This class should not be used any other parts of code than the I/O code. This class is a variation of Memento design pattern (as it encapsulates the state) with the important difference that actually no state is being copied; instead, this class only contains the references to the data structures to be saved. (The I/O code is thought as actually performing the copy, and therefore completing the Memento pattern.)

Copyright: Copyright (c) 2009

Company: Clark & Parsia, LLC.

Author:
Blazej Bulka

Constructor Summary
IncrementalClassifier.PersistedState(IncrementalClassifier incrementalClassifier)
           
IncrementalClassifier.PersistedState(ModuleExtractor extractor, Taxonomy<org.semanticweb.owlapi.model.OWLClass> taxonomy, boolean realized)
           
 
Method Summary
 ModuleExtractor getModuleExtractor()
           
 Taxonomy<org.semanticweb.owlapi.model.OWLClass> getTaxonomy()
           
 boolean isRealized()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementalClassifier.PersistedState

public IncrementalClassifier.PersistedState(IncrementalClassifier incrementalClassifier)

IncrementalClassifier.PersistedState

public IncrementalClassifier.PersistedState(ModuleExtractor extractor,
                                            Taxonomy<org.semanticweb.owlapi.model.OWLClass> taxonomy,
                                            boolean realized)
Method Detail

getModuleExtractor

public ModuleExtractor getModuleExtractor()

getTaxonomy

public Taxonomy<org.semanticweb.owlapi.model.OWLClass> getTaxonomy()

isRealized

public boolean isRealized()


Copyright © 2004 Evren Sirin. All Rights Reserved.