reinforce method
Strengthen this fact when confirmed by new evidence.
Implementation
void reinforce({double amount = 0.1}) {
confidence = math.min(1.0, confidence + amount);
occurrences++;
lastSeen = DateTime.now();
}
Strengthen this fact when confirmed by new evidence.
void reinforce({double amount = 0.1}) {
confidence = math.min(1.0, confidence + amount);
occurrences++;
lastSeen = DateTime.now();
}