Package net.bmahe.genetics4j.neat
Interface Connection
- All Known Implementing Classes:
ImmutableConnection
@Immutable
public interface Connection
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Connection.Builder
builder()
default void
check()
static Connection
copyOf
(Connection original) int
int
boolean
static Connection
of
(int from, int to, float weight, boolean isEnabled, int innovation) int
float
weight()
-
Method Details
-
fromNodeIndex
@Parameter int fromNodeIndex() -
toNodeIndex
@Parameter int toNodeIndex() -
weight
@Parameter float weight() -
isEnabled
@Parameter boolean isEnabled() -
innovation
@Parameter int innovation() -
check
@Check default void check() -
builder
-
of
-
copyOf
-