Struct atlatl::fst::FST [] [src]

pub struct FST<I, O> where
    I: Index,
    O: Output
{ pub da: Dart<I, O>, pub state_output: FnvHashMap<I, O>, }

Hybrid Dart representation for a finite subsequential transducer.

Fields

Methods

impl<I, O> FST<I, O> where
    I: Index,
    O: Output
[src]

Given a starting state and an input, returns the destination state, if any.

Returns whether the key is present in the FST.

Get the value associated to the key, if any.

Returns an iterator producing the values associated to all prefixes of the query, including the empty string and the query itself.

Returns an iterator producing the values associated to all prefixes of the query, including the query itself but excluding the empty string.

The number of nodes in the internal double array, including surplus.

Trait Implementations

impl<I: Clone, O: Clone> Clone for FST<I, O> where
    I: Index,
    O: Output
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I: Debug, O: Debug> Debug for FST<I, O> where
    I: Index,
    O: Output
[src]

Formats the value using the given formatter.

impl<I: Default, O: Default> Default for FST<I, O> where
    I: Index,
    O: Output
[src]

Returns the "default value" for a type. Read more

impl<I: Eq, O: Eq> Eq for FST<I, O> where
    I: Index,
    O: Output
[src]

impl<I: PartialEq, O: PartialEq> PartialEq for FST<I, O> where
    I: Index,
    O: Output
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.