Class Network.NeuronIdentifierComparator

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Comparator<Neuron>
    Enclosing class:
    Network

    public static class Network.NeuronIdentifierComparator
    extends java.lang.Object
    implements java.util.Comparator<Neuron>, java.io.Serializable
    Comparator that prescribes an order of the neurons according to the increasing order of their identifier.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Version identifier.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Neuron a, Neuron b)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Version identifier.
        See Also:
        Constant Field Values
    • Constructor Detail

      • NeuronIdentifierComparator

        public NeuronIdentifierComparator()
    • Method Detail

      • compare

        public int compare​(Neuron a,
                           Neuron b)
        Specified by:
        compare in interface java.util.Comparator<Neuron>