UNPKG

@alenaksu/neatjs

Version:

NEAT (Neuroevolution of Augmenting Topologies) implementation in JavaScript

12 lines (11 loc) 257 B
import { NodeType } from '../types'; import Link from './Link'; export default class Neuron { id: string; value: number; bias: number; in: Array<Link>; out: Array<Link>; type: NodeType; constructor(type: NodeType, id: string); }