TWiki> FST Web>FstQuickTour>VerifyDoc (revision 1)EditAttach

Verify

Description

This operation checks the sanity of a FST's contents. It returns false if the transducer is incomplete or ill-formed (e.g., a non-trivial FST that has no initial state or transitions to non-existent destination states).

Usage

template<class Arc>
bool Verify(const Fst<Arc> &fst);
doc [bad link?]

Complexity

Verify:

  • Time: O(V + E)
  • Space: O(1)
where V = # of states and E = # of arcs.

-- MichaelRiley - 03 Mar 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-03-03 - MichaelRiley
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback