NeuralNet class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- NeuralNet(int inputs, int outputs)
-
NeuralNet.fromJson(Map<
String, dynamic> json) -
factory
- NeuralNet.withOptions(int inputs, int outputs, NeuralNetOptions options)
Properties
-
currentGeneration
→ List<
Genome> -
no setter
- fittest → Genome
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputs ↔ int
-
getter/setter pair
- options ↔ NeuralNetOptions
-
getter/setter pair
- outputs ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
species
↔ Map<
int, Species> -
getter/setter pair
Methods
-
add(
Genome g) → void -
createNextGeneration(
) → void -
findCompatibleSpecies(
Genome g) → Species -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited