Skip to main content
This release is 88 versions behind 0.155.18 — 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)
/** * @module * * Helpers for working with the AI * * This module provides various utilities and classes to facilitate the development, * manipulation, and evolution of AI entities within the NEAT (NeuroEvolution of Augmenting Topologies) framework. * * @example * ```ts * import { Creature } from "./mod.ts"; * * const creature = new Creature(2, 1); * creature.evolveDir('.training',{}); * ``` */ /** * Creature Class * * This class represents an AI entity in the system. It encapsulates the neural network and its associated behaviors. * * @see {@link module:src/Creature} */ export { Creature } from "./src/Creature.ts"; /** * Creature Interfaces * * These types define the structure of data used for exporting and tracing Creature instances. * * @see {@link module:src/architecture/CreatureInterfaces} */ export type { CreatureExport, CreatureTrace, } from "./src/architecture/CreatureInterfaces.ts"; /** * Creature Utilities * * This utility class provides additional functions and helpers for manipulating and working with Creature instances. * * @see {@link module:src/architecture/CreatureUtils} */ export { CreatureUtil } from "./src/architecture/CreatureUtils.ts"; /** * NEAT Options * * This type defines the configuration options available for setting up the NEAT algorithm. * * @see {@link module:src/config/NeatOptions} */ export type { NeatOptions } from "./src/config/NeatOptions.ts"; /** * Selection Class * * This class handles the selection process within the NEAT algorithm, responsible for selecting the fittest individuals for reproduction. * * @see {@link module:src/methods/Selection} */ export { Selection } from "./src/methods/Selection.ts"; /** * Mutation Class * * This class manages the mutation processes within the NEAT algorithm, allowing for genetic variations in the population. * * @see {@link module:src/methods/Mutation} */ export { Mutation } from "./src/NEAT/Mutation.ts"; /** * CRISPR Class * * This class provides methods for targeted genetic modifications, inspired by the CRISPR gene-editing technology. * * @see {@link module:src/reconstruct/CRISPR} */ export { CRISPR, type CrisprInterface } from "./src/reconstruct/CRISPR.ts"; /** * Upgrade Class * * This class facilitates the process of upgrading and evolving AI entities, ensuring the continued improvement of the population. * * @see {@link module:src/reconstruct/Upgrade} */ export { Upgrade } from "./src/reconstruct/Upgrade.ts"; /** * Connects missing neurons in the creature's brain. * @see {@link module:src/reconstruct/ConnectMissing} */ export { randomConnectMissing } from "./src/reconstruct/ConnectMissing.ts";