public abstract class AbstractFSA<S,I> extends AbstractAutomaton<S,I,S> implements FiniteStateAcceptor<S,I>
STATE_PROPERTIES, TRANSITION_PROPERTIES
Constructor and Description |
---|
AbstractFSA() |
Modifier and Type | Method and Description |
---|---|
static <S,I> Boolean |
computeOutput(FiniteStateAcceptor<S,I> $this,
Iterable<I> input) |
Boolean |
computeOutput(Iterable<I> input) |
static <S,I> Boolean |
computeSuffixOutput(FiniteStateAcceptor<S,I> $this,
Iterable<I> prefix,
Iterable<I> suffix) |
Boolean |
computeSuffixOutput(Iterable<I> prefix,
Iterable<I> suffix) |
static <S,I> Boolean |
getStateProperty(FiniteStateAcceptor<S,I> $this,
S state) |
Boolean |
getStateProperty(S state)
Retrieves the state property for the given state.
|
static <S,I> S |
getSuccessor(FiniteStateAcceptor<S,I> $this,
S transition) |
S |
getSuccessor(S transition)
Retrieves the successor state of a given transition.
|
static <S,I> Void |
getTransitionProperty(FiniteStateAcceptor<S,I> $this,
S transition) |
Void |
getTransitionProperty(S transition)
Retrieves the transition property for the given state.
|
iterator, iterator, size, size, stateIDs, stateIDs
createDynamicStateMapping, createDynamicStateMapping, createStaticStateMapping, createStaticStateMapping, getStates, getStates, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, powersetView, powersetView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accepts, isAccepting
getStates, size, stateIDs
forEach, iterator, spliterator
getTransitions, powersetView
createDynamicStateMapping, createStaticStateMapping, getInitialStates, getStates, getSuccessors, getSuccessors, getSuccessors
public AbstractFSA()
public static <S,I> Boolean getStateProperty(FiniteStateAcceptor<S,I> $this, S state)
public static <S,I> Void getTransitionProperty(FiniteStateAcceptor<S,I> $this, S transition)
public static <S,I> S getSuccessor(FiniteStateAcceptor<S,I> $this, S transition)
public static <S,I> Boolean computeOutput(FiniteStateAcceptor<S,I> $this, Iterable<I> input)
public static <S,I> Boolean computeSuffixOutput(FiniteStateAcceptor<S,I> $this, Iterable<I> prefix, Iterable<I> suffix)
public Boolean getStateProperty(S state)
UniversalTransitionSystem
getStateProperty
in interface UniversalTransitionSystem<S,I,S,Boolean,Void>
state
- the state.public Void getTransitionProperty(S transition)
UniversalTransitionSystem
getTransitionProperty
in interface UniversalTransitionSystem<S,I,S,Boolean,Void>
transition
- the transition.public S getSuccessor(S transition)
TransitionSystem
getSuccessor
in interface TransitionSystem<S,I,S>
transition
- the transition.public Boolean computeOutput(Iterable<I> input)
computeOutput
in interface Output<I,Boolean>
public Boolean computeSuffixOutput(Iterable<I> prefix, Iterable<I> suffix)
computeSuffixOutput
in interface SuffixOutput<I,Boolean>
Copyright © 2015. All Rights Reserved.