src/ftable.cpp
//Update all entries in tables for action a with value v
Update all entries in tables for action a with value v
Update all entries in tables for action a with value v
void FTABLE::valueUpdate(int action, double value){
	int weight = 1;
	for(int i=0; i < Table.size(); i++){
		if(Table[i].action == action){
			Table[i].value.Add(value);
		}
	}
}
void FTABLE :: valueUpdate ( int action , double value ) { int weight = 1 ; for ( int i = 0 ; i < Table . size ( ) ; i ++ ) { if ( Table [ i ] . action == action ) { Table [ i ] . value . Add ( value ) ; } } }
Update all entries in tables for action a with value v
Update all entries in tables for action a with value v