Uses of Class
net.bmahe.genetics4j.neat.ImmutableConnection
-
Uses of ImmutableConnection in net.bmahe.genetics4j.neat
Modifier and TypeMethodDescriptionImmutableConnection.Builder.build()
Builds a newImmutableConnection
.static ImmutableConnection
ImmutableConnection.copyOf
(Connection instance) Creates an immutable copy of aConnection
value.static ImmutableConnection
ImmutableConnection.of
(int fromNodeIndex, int toNodeIndex, float weight, boolean isEnabled, int innovation) Construct a new immutableConnection
instance.private static ImmutableConnection
ImmutableConnection.validate
(ImmutableConnection instance) final ImmutableConnection
ImmutableConnection.withFromNodeIndex
(int value) Copy the current immutable object by setting a value for thefromNodeIndex
attribute.final ImmutableConnection
ImmutableConnection.withInnovation
(int value) Copy the current immutable object by setting a value for theinnovation
attribute.final ImmutableConnection
ImmutableConnection.withIsEnabled
(boolean value) Copy the current immutable object by setting a value for theisEnabled
attribute.final ImmutableConnection
ImmutableConnection.withToNodeIndex
(int value) Copy the current immutable object by setting a value for thetoNodeIndex
attribute.final ImmutableConnection
ImmutableConnection.withWeight
(float value) Copy the current immutable object by setting a value for theweight
attribute.Modifier and TypeMethodDescriptionprivate boolean
ImmutableConnection.equalTo
(int synthetic, ImmutableConnection another) private static ImmutableConnection
ImmutableConnection.validate
(ImmutableConnection instance)