All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rationals.StateFactory Maven / Gradle / Ivy

Go to download

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 a value representing the OWLAPI release it is compatible with. Note that the group id for the upstream HermiT is com.hermit-reasoner, while this fork is released under net.sourceforge.owlapi. This fork exists to allow HermiT users to use newer OWLAPI versions than the ones supported by the original HermiT codebase. 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.

The newest version!
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 initial
     * @param terminal terminal
     * @return state
     */
    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 StateFactory object which is the same as this StateFactory.
     * 
     * @return an initialized StateFactory.
     * @throws CloneNotSupportedException if clone not supported
     */
    Object clone() throws CloneNotSupportedException;
}
// /*
// * $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 - 2024 Weber Informatics LLC | Privacy Policy