Interface Connection

All Known Implementing Classes:
ImmutableConnection

@Immutable public interface Connection
  • 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

      static Connection.Builder builder()
    • of

      static Connection of(int from, int to, float weight, boolean isEnabled, int innovation)
    • copyOf

      static Connection copyOf(Connection original)