- For now, set equal weights to the parameters.

This commit is contained in:
ccremers 2004-12-29 14:24:33 +00:00
parent 7309bb5550
commit d425bdb850

View File

@ -1342,9 +1342,9 @@ select_goal ()
// Bit 0: 1 constrain level // Bit 0: 1 constrain level
if (mode & 1) adapt (1, term_constrain_level (b->term)); if (mode & 1) adapt (1, term_constrain_level (b->term));
// Bit 1: 2 key level (inverted) // Bit 1: 2 key level (inverted)
if (mode & 2) adapt (2, 0.5 * (1 - b->level)); if (mode & 2) adapt (1, 0.5 * (1 - b->level));
// Bit 2: 4 consequence level // Bit 2: 4 consequence level
if (mode & 4) adapt (2, termBindConsequences (b->term)); if (mode & 4) adapt (1, termBindConsequences (b->term));
// Weigh result // Weigh result
if (buf_weight == 0 || buf_constrain <= min_constrain) if (buf_weight == 0 || buf_constrain <= min_constrain)