Package owl.translations.canonical
Class LegacyFactory
- java.lang.Object
-
- owl.automaton.AbstractCachedStatesAutomaton<S,A>
-
- owl.translations.canonical.LegacyFactory
-
- All Implemented Interfaces:
Automaton<EquivalenceClass,NoneAcceptance>
,EdgeTreeAutomatonMixin<EquivalenceClass,NoneAcceptance>
@Deprecated public final class LegacyFactory extends AbstractCachedStatesAutomaton<S,A>
Deprecated.Legacy class giving other packages access to internals.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface owl.automaton.Automaton
Automaton.EdgeMapVisitor<S>, Automaton.EdgeTreeVisitor<S>, Automaton.EdgeVisitor<S>, Automaton.PreferredEdgeAccess, Automaton.Property, Automaton.Visitor<S>
-
-
Field Summary
-
Fields inherited from interface owl.automaton.EdgeTreeAutomatonMixin
ACCESS_MODES
-
-
Constructor Summary
Constructors Constructor Description LegacyFactory(Factories factories)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NoneAcceptance
acceptance()
Deprecated.Returns the acceptance condition of this automaton.Edge<EquivalenceClass>
edge(EquivalenceClass state, BitSet valuation)
Deprecated.Returns the successor edge of the specifiedstate
under the givenvaluation
.Set<Edge<S>>
edges(S state, BitSet valuation)
Returns the successor edges of the specifiedstate
under the givenvaluation
.ValuationTree<Edge<EquivalenceClass>>
edgeTree(EquivalenceClass state)
Deprecated.Returns a decision-tree with nodes labelled by literals and sets of edges as leaves.ValuationSetFactory
factory()
EquivalenceClass
initialStateInternal(EquivalenceClass clazz)
Deprecated.EquivalenceClass
initialStateInternal(EquivalenceClass clazz, EquivalenceClass environment)
Deprecated.Set<S>
initialStates()
Returns the set of initial states, which can potentially be empty.boolean
is(Automaton.Property property)
EquivalenceClass
onlyInitialState()
Deprecated.Returns the initial state.EquivalenceClass
successor(EquivalenceClass clazz, BitSet valuation, EquivalenceClass environment)
Deprecated.-
Methods inherited from class owl.automaton.AbstractCachedStatesAutomaton
accept, accept, accept, cache, states
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface owl.automaton.Automaton
accept, accept, accept, accept, name, predecessors, size, states, successor, successors, successors
-
Methods inherited from interface owl.automaton.EdgeTreeAutomatonMixin
edgeMap, edges, preferredEdgeAccess
-
-
-
-
Constructor Detail
-
LegacyFactory
public LegacyFactory(Factories factories)
Deprecated.
-
-
Method Detail
-
onlyInitialState
public EquivalenceClass onlyInitialState()
Deprecated.Description copied from interface:Automaton
Returns the initial state. Throws anNoSuchElementException
if there is no andIllegalStateException
if there are multiple initial states.- Specified by:
onlyInitialState
in interfaceAutomaton<EquivalenceClass,NoneAcceptance>
- Returns:
- The unique initial state.
- See Also:
Automaton.initialStates()
-
edge
@Nullable public Edge<EquivalenceClass> edge(EquivalenceClass state, BitSet valuation)
Deprecated.Description copied from interface:Automaton
Returns the successor edge of the specifiedstate
under the givenvaluation
. Returns some edge if there is a non-deterministic choice in this state for the specified valuation.If you want to check if this is the unique edge use the
Automaton.edges(Object, BitSet)
method.- Specified by:
edge
in interfaceAutomaton<EquivalenceClass,NoneAcceptance>
- Parameters:
state
- The starting state of the transition.valuation
- The valuation.- Returns:
- A successor edge or
null
if none. - See Also:
Automaton.edgeMap(Object)
-
edgeTree
public ValuationTree<Edge<EquivalenceClass>> edgeTree(EquivalenceClass state)
Deprecated.Description copied from interface:Automaton
Returns a decision-tree with nodes labelled by literals and sets of edges as leaves.- Specified by:
edgeTree
in interfaceAutomaton<EquivalenceClass,NoneAcceptance>
- Parameters:
state
- The state.- Returns:
- A tree.
-
acceptance
public NoneAcceptance acceptance()
Deprecated.Description copied from interface:Automaton
Returns the acceptance condition of this automaton.- Returns:
- The acceptance.
-
successor
public EquivalenceClass successor(EquivalenceClass clazz, BitSet valuation, EquivalenceClass environment)
Deprecated.
-
initialStateInternal
public EquivalenceClass initialStateInternal(EquivalenceClass clazz)
Deprecated.
-
initialStateInternal
public EquivalenceClass initialStateInternal(EquivalenceClass clazz, EquivalenceClass environment)
Deprecated.
-
factory
public final ValuationSetFactory factory()
- Specified by:
factory
in interfaceAutomaton<S,A extends OmegaAcceptance>
-
initialStates
public final Set<S> initialStates()
Description copied from interface:Automaton
Returns the set of initial states, which can potentially be empty.- Specified by:
initialStates
in interfaceAutomaton<S,A extends OmegaAcceptance>
- Returns:
- The set of initial states.
-
edges
public final Set<Edge<S>> edges(S state, BitSet valuation)
Description copied from interface:Automaton
Returns the successor edges of the specifiedstate
under the givenvaluation
.- Specified by:
edges
in interfaceAutomaton<S,A extends OmegaAcceptance>
- Specified by:
edges
in interfaceEdgeTreeAutomatonMixin<S,A extends OmegaAcceptance>
- Parameters:
state
- The starting state of the transition.valuation
- The valuation.- Returns:
- The successor edges, possibly empty.
-
is
public boolean is(Automaton.Property property)
- Specified by:
is
in interfaceAutomaton<S,A extends OmegaAcceptance>
-
-