Example #1
0
void pdbm_zero(PDBM &pdbm, cindex_t dim)
{
    assert(dim);

    pdbm_blank(pdbm, dim);
    dbm_zero(pdbm_matrix(pdbm), dim);
    pdbm_cost(pdbm) = 0;
    pdbm_cache(pdbm) = 0;
    base_resetSmall(pdbm_rates(pdbm), dim);

    assertx(pdbm_isValid(pdbm, dim));
}
void Clocks::initial() {
    dbm_zero( data, dim );
}