rationals.StateFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.semanticweb.hermit Show documentation
Show all versions of org.semanticweb.hermit Show documentation
HermiT is reasoner for ontologies written using the Web
Ontology Language (OWL). Given an OWL file, HermiT can determine whether or
not the ontology is consistent, identify subsumption relationships between
classes, and much more.
This is the maven build of HermiT and is designed for people who wish to use
HermiT from within the OWL API. It is now versioned in the main HermiT
version repository, although not officially supported by the HermiT
developers.
The version number of this package is a composite of the HermiT version and
an value representing releases of this packaged version. So, 1.3.7.1 is the
first release of the mavenized version of HermiT based on the 1.3.7 release
of HermiT.
This package includes the Jautomata library
(http://jautomata.sourceforge.net/), and builds with it directly. This
library appears to be no longer under active development, and so a "fork"
seems appropriate. No development is intended or anticipated on this code
base.
package rationals;
import java.util.Set;
/**
* This class is used by Automaton objects to create new states on A user can
* implement its own version of StateFactory by providing an implementation for
* createState
*
* @author Arnaud.Bailly - [email protected]
* @version $Id: StateFactory.java 10 2007-05-30 17:25:00Z oqube $
*/
public interface StateFactory {
/**
*
* @param initial
* @param terminal
* @return
*/
State create(boolean initial, boolean terminal);
/**
* Return a new empty set that can contains State instances created by this
* factory. This method is provided for optimisation purposes so that more
* efficient implementations than plain sets can be used for handling sets of
* states.
*
* @return an - opaque - implementation of Set.
*/
Set stateSet();
/**
* Returns a new Set which is a copy of s
. The given set s
* must have been created through this StateFactory object
* to ensure consistent behavior.
*
* @param s
* a Set
* @return a shallow copy of s
*/
Set stateSet(Set s);
/**
* Returns a new StateFactory object which is the same as this StateFactory.
*
* @return an initialized StateFactory.
*/
Object clone();
/**
* @param automaton
*/
void setAutomaton(Automaton automaton);
}
// /*
// * $Log: StateFactory.java,v $
// * Revision 1.3 2004/07/20 13:21:25 bonte
// * *** empty log message ***
// *
// */=======
// /*
// * $Log: StateFactory.java,v $
// * Revision 1.3 2004/07/20 13:21:25 bonte
// * *** empty log message ***
// *
// * Revision 1.2 2004/07/19 06:39:02 bailly
// * made Automaton, State and Transition subclasses of Graph API
// * modified StateFactory API
// *
© 2015 - 2025 Weber Informatics LLC | Privacy Policy