Network.NeuronIdentifierComparator (Apache Commons Math 3.6.1 API)

org.apache.commons.math3.ml.neuralnet

## Class Network.NeuronIdentifierComparator

- java.lang.Object
- - org.apache.commons.math3.ml.neuralnet.Network.NeuronIdentifierComparator

- All Implemented Interfaces:
    Serializable, Comparator<Neuron>
  Enclosing class:
    Network

      public static class Network.NeuronIdentifierComparator
      extends Object
      implements Comparator<Neuron>, Serializable

  Comparator that prescribes an order of the neurons according to the increasing order of their identifier.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Network.NeuronIdentifierComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

- - ### Constructor Detail

    - #### Network.NeuronIdentifierComparator

          public Network.NeuronIdentifierComparator()

  - ### Method Detail

    - #### compare

          public int compare(Neuron a,
                    Neuron b)

      Specified by:
        `compare` in interface `Comparator<Neuron>`

Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.