|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmorfologik.fsa.FSAInfo
public final class FSAInfo
Compute additional information about an FSA: number of arcs, nodes, etc.
| Field Summary | |
|---|---|
int |
arcsCount
Number of arcs in the automaton, excluding an arcs from the zero node (initial) and an arc from the start node to the root node. |
int |
arcsCountTotal
Total number of arcs, counting arcs that physically overlap due to merging. |
int |
finalStatesCount
Number of final states (number of input sequences stored in the automaton). |
int |
nodeCount
Number of nodes in the automaton. |
int |
size
Arcs size (in serialized form). |
| Constructor Summary | |
|---|---|
FSAInfo(FSA fsa)
|
|
FSAInfo(int nodeCount,
int arcsCount,
int arcsCountTotal,
int finalStatesCount)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int nodeCount
public final int arcsCount
public final int arcsCountTotal
public final int finalStatesCount
public final int size
| Constructor Detail |
|---|
public FSAInfo(FSA fsa)
public FSAInfo(int nodeCount,
int arcsCount,
int arcsCountTotal,
int finalStatesCount)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||