Documentation of 'jhpro.nnet.jknnl.Coords' Java class
Coords
jhpro.nnet.jknnl

Class Coords



  • public class Coords
    extends java.lang.Object
    Class used to get or set neuron coordinate in topology.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      int x
      x coordinate
      int y
      y coordinate
    • Constructor Summary

      Constructors 
      Constructor and Description
      Coords()
      Creates a new instance of Coords with default coordinates (0,0).
      Coords(int x, int y)
      Creates a new instance of Coords with specified x and y coordinate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Indicates whether some other object is "equal to" Coords class..
      int getX()
      Return x coordinate
      int getY()
      Return y coordinate
      java.lang.String toString()
      Returns a string representation of the Coords object [ x = ,y = ]
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • x

        public int x
        x coordinate
      • y

        public int y
        y coordinate
    • Constructor Detail

      • Coords

        public Coords()
        Creates a new instance of Coords with default coordinates (0,0).
      • Coords

        public Coords(int x,
                      int y)
        Creates a new instance of Coords with specified x and y coordinate.
        Parameters:
        x - value of x
        y - value of y
    • Method Detail

      • getX

        public int getX()
        Return x coordinate
        Returns:
        coordinate x
      • getY

        public int getY()
        Return y coordinate
        Returns:
        coordinate y
      • equals

        public boolean equals(java.lang.Object obj)
        Indicates whether some other object is "equal to" Coords class..
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - obj - the reference object with which to compare.
        Returns:
        true if this object is the same as the obj argument; false otherwise.
      • toString

        public java.lang.String toString()
        Returns a string representation of the Coords object [ x = ,y = ]
        Overrides:
        toString in class java.lang.Object
        Returns:
        Returns a string representation of the Coords object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.