public class NfaSubModel extends Object implements NfaBuilder
Modifier and Type | Method and Description |
---|---|
org.biojava.utils.automata.FiniteAutomaton.Transition |
addEpsilonTransition(org.biojava.utils.automata.FiniteAutomaton.Node start,
org.biojava.utils.automata.FiniteAutomaton.Node end) |
org.biojava.utils.automata.FiniteAutomaton.Transition |
addLambdaTransition(org.biojava.utils.automata.FiniteAutomaton.Node start,
org.biojava.utils.automata.FiniteAutomaton.Node end) |
org.biojava.utils.automata.FiniteAutomaton.Node |
addNode(boolean isTerminal) |
org.biojava.utils.automata.FiniteAutomaton.Transition |
addTransition(org.biojava.utils.automata.FiniteAutomaton.Node start,
org.biojava.utils.automata.FiniteAutomaton.Node end,
Symbol sym) |
void |
append(NfaSubModel submodel) |
org.biojava.utils.automata.FiniteAutomaton.NodeSet |
createNodeSet() |
NfaSubModel |
duplicate()
Makes a deep clone of this instance.
|
FiniteAutomaton |
getAutomaton() |
org.biojava.utils.automata.FiniteAutomaton.Node |
getEnd() |
org.biojava.utils.automata.FiniteAutomaton.NodeSet |
getNodes() |
org.biojava.utils.automata.FiniteAutomaton.Node |
getStart() |
Set |
getTransitions() |
String |
toString() |
public FiniteAutomaton getAutomaton()
getAutomaton
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Node getStart()
getStart
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Node getEnd()
getEnd
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Node addNode(boolean isTerminal)
addNode
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Transition addTransition(org.biojava.utils.automata.FiniteAutomaton.Node start, org.biojava.utils.automata.FiniteAutomaton.Node end, Symbol sym)
addTransition
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Transition addEpsilonTransition(org.biojava.utils.automata.FiniteAutomaton.Node start, org.biojava.utils.automata.FiniteAutomaton.Node end)
addEpsilonTransition
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.Transition addLambdaTransition(org.biojava.utils.automata.FiniteAutomaton.Node start, org.biojava.utils.automata.FiniteAutomaton.Node end)
addLambdaTransition
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.NodeSet getNodes()
getNodes
in interface NfaBuilder
public Set getTransitions()
getTransitions
in interface NfaBuilder
public org.biojava.utils.automata.FiniteAutomaton.NodeSet createNodeSet()
createNodeSet
in interface NfaBuilder
public NfaSubModel duplicate()
public void append(NfaSubModel submodel)
Copyright © 2014 BioJava. All rights reserved.