reinforce method

void reinforce({
  1. double amount = 0.2,
})

Reinforce the memory, increasing its strength.

Implementation

void reinforce({double amount = 0.2}) {
  strength = (strength + amount).clamp(0.0, 1.0);
  recallCount++;
}