src/ftable.cpp
/* 
 * Update the table after executing 'real' action.
 * On each entry the count is reset to 1 and the value reset to the current value discounted by the transition rate (1 = 100% of prior value).
 * Useful in domains where feature values may change drastically.
 */
Update the table after executing 'real' action.
On each entry the count is reset to 1 and the value reset to the current value discounted by the transition rate (1 = 100% of prior value).
Useful in domains where feature values may change drastically.
Update the table after executing ' real ' action . On each entry the count is reset to 1 and the value reset to the current value discounted by the transition rate ( 1 = 100% of prior value ) . Useful in domains where feature values may change drastically .
void FTABLE::transition(){
	double val = 0;
	for(int i=0; i < Table.size(); i++){
	    if(Table[i].value.GetCount()) {
            val = Table[i].value.GetValue();
            Table[i].value.Set(1, val);
        }
	}
}
void FTABLE :: transition ( ) { double val = 0 ; for ( int i = 0 ; i < Table . size ( ) ; i ++ ) { if ( Table [ i ] . value . GetCount ( ) ) { val = Table [ i ] . value . GetValue ( ) ; Table [ i ] . value . Set ( 1 , val ) ; } } }
Update the table after executing 'real' action.
Update the table after executing ' real ' action .
// * FTABLE::TRANSITION_RATE;