Skip to main content
This release is 64 versions behind 0.153.7 — 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
2 months ago (0.121.0)
class CreatureUtil

Utility class for Creature-related operations.

Static Properties

Static Methods

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

shuffle(array: Int32Array): void

Shuffle an array in place using the Fisher-Yates shuffle algorithm.

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";