src/main/java/de/dfki/lt/loot/fsa/FiniteAutomaton.java
public boolean acceptsAll() {

    FinalStateCollector<EdgeInfo> dfsVisitor = new FinalStateCollector<>();
    this.dfs(dfsVisitor);
    return dfsVisitor.getFinalStates().cardinality()
      == this.getNumberOfActiveVertices();
  }
/**
   * Checks if this automaton accepts everything.
   *
   * @return a flag indicating if the automaton accepts all
   */
Checks if this automaton accepts everything.
@return a flag indicating if the automaton accepts all
Checks if this automaton accepts everything . @return a flag indicating if the automaton accepts all
public boolean acceptsAll() {
    FinalStateCollector<EdgeInfo> dfsVisitor = new FinalStateCollector<>();
    this.dfs(dfsVisitor);
    return dfsVisitor.getFinalStates().cardinality()
      == this.getNumberOfActiveVertices();
  }
public boolean acceptsAll ( ) { FinalStateCollector < EdgeInfo > dfsVisitor = new FinalStateCollector < > ( ) ; this . dfs ( dfsVisitor ) ; return dfsVisitor . getFinalStates ( ) . cardinality ( ) == this . getNumberOfActiveVertices ( ) ; }
Checks if this automaton accepts everything.
Checks if this automaton accepts everything .