Uses of Interface
net.bmahe.genetics4j.neat.Connection
Packages that use Connection
Package
Description
-
Uses of Connection in net.bmahe.genetics4j.neat
Classes in net.bmahe.genetics4j.neat that implement ConnectionFields in net.bmahe.genetics4j.neat with type parameters of type ConnectionModifier and TypeFieldDescriptionprivate final Map
<Integer, Set<Connection>> FeedForwardNetwork.backwardConnections
private final List
<Connection> FeedForwardNetwork.connections
Methods in net.bmahe.genetics4j.neat that return ConnectionModifier and TypeMethodDescriptionstatic Connection
Connection.copyOf
(Connection original) static Connection
Connection.of
(int from, int to, float weight, boolean isEnabled, int innovation) Methods in net.bmahe.genetics4j.neat that return types with arguments of type ConnectionModifier and TypeMethodDescriptionstatic Map
<Integer, Set<Connection>> NeatUtils.computeBackwardConnections
(List<Connection> connections) Methods in net.bmahe.genetics4j.neat with parameters of type ConnectionModifier and TypeMethodDescriptionstatic Connection
Connection.copyOf
(Connection original) static ImmutableConnection
ImmutableConnection.copyOf
(Connection instance) Creates an immutable copy of aConnection
value.final Connection.Builder
ImmutableConnection.Builder.from
(Connection instance) Fill a builder with attribute values from the providedConnection
instance.Method parameters in net.bmahe.genetics4j.neat with type arguments of type ConnectionModifier and TypeMethodDescriptionstatic float
NeatUtils.compatibilityDistance
(List<Connection> firstConnections, List<Connection> secondConnections, float c1, float c2, float c3) static Map
<Integer, Set<Connection>> NeatUtils.computeBackwardConnections
(List<Connection> connections) NeatUtils.computeBackwardLinks
(List<Connection> connections) NeatUtils.computeDeadNodes
(List<Connection> connections, Map<Integer, Set<Integer>> forwardConnections, Map<Integer, Set<Integer>> backwardConnections, Set<Integer> outputNodeIndices) Working backward from the output nodes, we identify the nodes that did not get visited as dead nodesNeatUtils.computeForwardLinks
(List<Connection> connections) NeatUtils.partitionLayersNodes
(Set<Integer> inputNodeIndices, Set<Integer> outputNodeIndices, List<Connection> connections) Constructor parameters in net.bmahe.genetics4j.neat with type arguments of type ConnectionModifierConstructorDescriptionFeedForwardNetwork
(Set<Integer> _inputNodeIndices, Set<Integer> _outputNodeIndices, List<Connection> _connections, Function<Float, Float> _activationFunction) -
Uses of Connection in net.bmahe.genetics4j.neat.chromosomes
Fields in net.bmahe.genetics4j.neat.chromosomes with type parameters of type ConnectionMethods in net.bmahe.genetics4j.neat.chromosomes that return types with arguments of type ConnectionConstructor parameters in net.bmahe.genetics4j.neat.chromosomes with type arguments of type ConnectionModifierConstructorDescriptionNeatChromosome
(int _numInputs, int _numOutputs, float _minWeightValue, float _maxWeightValue, List<Connection> _connections) -
Uses of Connection in net.bmahe.genetics4j.neat.combination
Methods in net.bmahe.genetics4j.neat.combination with parameters of type ConnectionModifier and TypeMethodDescriptionprivate void
NeatChromosomeCombinator.insertInlinksCache
(Map<Integer, Set<Integer>> linksCache, Connection connection) private boolean
NeatChromosomeCombinator.linksCacheContainsConnection
(Map<Integer, Set<Integer>> linksCache, Connection connection) protected boolean
NeatChromosomeCombinator.shouldReEnable
(Connection chosenParent, Connection otherParent) -
Uses of Connection in net.bmahe.genetics4j.neat.mutation.chromosome
Methods in net.bmahe.genetics4j.neat.mutation.chromosome that return ConnectionModifier and TypeMethodDescriptionprotected Connection
NeatChromosomeConnectionWeightMutationHandler.mutateConnection
(Connection connection, double perturbationRatio, Supplier<Float> distributionValueSupplier, Supplier<Float> distributionNewValueSupplier, float minValue, float maxValue) Methods in net.bmahe.genetics4j.neat.mutation.chromosome that return types with arguments of type ConnectionModifier and TypeMethodDescriptionprotected abstract List
<Connection> AbstractNeatChromosomeConnectionMutationHandler.mutateConnection
(T mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeAddNodeMutationHandler.mutateConnection
(AddNode mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeCreepMutationHandler.mutateConnection
(CreepMutation creepMutation, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeRandomMutationHandler.mutateConnection
(RandomMutation randomMutation, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeSwitchStateHandler.mutateConnection
(SwitchStateMutation switchStateMutation, NeatChromosome neatChromosome, Connection oldConnection, int i) Methods in net.bmahe.genetics4j.neat.mutation.chromosome with parameters of type ConnectionModifier and TypeMethodDescriptionprotected abstract List
<Connection> AbstractNeatChromosomeConnectionMutationHandler.mutateConnection
(T mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeAddNodeMutationHandler.mutateConnection
(AddNode mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) protected Connection
NeatChromosomeConnectionWeightMutationHandler.mutateConnection
(Connection connection, double perturbationRatio, Supplier<Float> distributionValueSupplier, Supplier<Float> distributionNewValueSupplier, float minValue, float maxValue) protected List
<Connection> NeatChromosomeCreepMutationHandler.mutateConnection
(CreepMutation creepMutation, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeRandomMutationHandler.mutateConnection
(RandomMutation randomMutation, NeatChromosome neatChromosome, Connection oldConnection, int i) protected List
<Connection> NeatChromosomeSwitchStateHandler.mutateConnection
(SwitchStateMutation switchStateMutation, NeatChromosome neatChromosome, Connection oldConnection, int i)