Rename Movements to Journal
This commit is contained in:
@ -16,8 +16,8 @@ export default class Daemon {
|
||||
this.epsilon = epsilon;
|
||||
}
|
||||
|
||||
predict(movements) {
|
||||
const steps = this._getStepSlice(movements);
|
||||
predict(journal) {
|
||||
const steps = this._getStepSlice(journal);
|
||||
const w0 = this._getWeight([...steps, 0]);
|
||||
const w1 = this._getWeight([...steps, 1]);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Move from './Move';
|
||||
|
||||
export default class Movements {
|
||||
export default class Journal {
|
||||
moves = [];
|
||||
|
||||
constructor(moves = []) {
|
@ -1,4 +1,4 @@
|
||||
import Movements from './Movements';
|
||||
import History from './Journal';
|
||||
import Supervisor from './Supervisor';
|
||||
|
||||
export default class Predictor {
|
||||
@ -7,7 +7,7 @@ export default class Predictor {
|
||||
score = 0;
|
||||
|
||||
constructor() {
|
||||
this.movements = new Movements();
|
||||
this.movements = new History();
|
||||
this.supervisor = new Supervisor();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user