const ActivationKind_Sigmoid = 0; type ActivationKind = 0; const NodeKind_Input = 0, NodeKind_Hidden = 1, NodeKind_Output = 2; type NodeKind = 0 | 1 | 2; type NodeGene = { id : number; kind : NodeKind; bias : number; activation : ActivationKind; }; type ConnectionGene = { in : number, out : number, weight : number, enabled : boolean, innovation : number // really dislike this term }; export { NodeGene, ConnectionGene, NodeKind, NodeKind_Input, NodeKind_Hidden, NodeKind_Output, ActivationKind, ActivationKind_Sigmoid };