UNPKG

@alenaksu/neatjs

Version:

NEAT (Neuroevolution of Augmenting Topologies) implementation in JavaScript

11 lines 288 B
export default class Link { constructor(from, to, weight = 0, enabled = true) { this.weight = 0; this.enabled = true; this.from = from; this.to = to; this.weight = weight; this.enabled = enabled; } } //# sourceMappingURL=Link.js.map