Package smile.vq.hebb

Class Edge

java.lang.Object
smile.vq.hebb.Edge
All Implemented Interfaces:
Serializable

public class Edge extends Object implements Serializable
The connection between neurons.
See Also:
  • Field Details

    • neighbor

      public final Neuron neighbor
      The neighbor neuron.
    • age

      public int age
      The age of the edges.
  • Constructor Details

    • Edge

      public Edge(Neuron neighbor)
      Constructor.
      Parameters:
      neighbor - the neighbor neuron.
    • Edge

      public Edge(Neuron neighbor, int age)
      Constructor.
      Parameters:
      neighbor - the neighbor neuron.
      age - the age of edge.