Skip to main content
This release is 69 versions behind 0.154.3 — the latest version of @stsoftware/neat-ai. Jump to latest

Built and signed on GitHub Actions

NEAT Neural Network. This project is a unique implementation of a neural network based on the NEAT (NeuroEvolution of Augmenting Topologies) algorithm, written in DenoJS using TypeScript.

This package works with Deno
This package works with Deno
JSR Score
100%
Published
3 months ago (0.121.0)
method CreatureUtil.makeUUID
CreatureUtil.makeUUID(creature: Creature): string

Generate a UUID for a creature based on its neurons and synapses. If the creature already has a UUID, it returns the existing one.

Parameters

creature: Creature
  • The creature for which to generate the UUID.

Return Type

The generated UUID.

Throws

Will throw an error if the creature does not have synapses or neurons.

Add Package

deno add jsr:@stsoftware/neat-ai

Import symbol

import { CreatureUtil } from "@stsoftware/neat-ai";

---- OR ----

Import directly with a jsr specifier

import { CreatureUtil } from "jsr:@stsoftware/neat-ai";