This release is 88 versions behind 0.155.18 — the latest version of @stsoftware/neat-ai. Jump to latest
@stsoftware/neat-ai@0.121.0Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
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.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697/** * @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";