src/Edge.cpp
// Insert new edge in hashtable using Hash function.
Insert new edge in hashtable using Hash function.
Insert new edge in hashtable using Hash function .
void Edge::Insert() {
    int i = Hash(start_node, Sequence[first_char_index]);
    while (Edges[i].start_node != -1)
        i = ++i % HASH_TABLE_SIZE;
    Edges[i] = *this;
}
void Edge :: Insert ( ) { int i = Hash ( start_node , Sequence [ first_char_index ] ) ; while ( Edges [ i ] . start_node != -1 ) i = ++ i % HASH_TABLE_SIZE ; Edges [ i ] = * this ; }
Insert new edge in hashtable using Hash function.
Insert new edge in hashtable using Hash function .