Class Contact

  • All Implemented Interfaces:
    java.io.Serializable

    public class Contact
    extends java.lang.Object
    implements java.io.Serializable
    A simple class to store contacts in the form of pairs of indices and a distance associated to them.
    Since:
    5.0
    Author:
    Jose Duarte
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Contact​(int i, int j, double distance)  
    • Constructor Detail

      • Contact

        public Contact​(int i,
                       int j,
                       double distance)
    • Method Detail

      • getIndexPair

        public Pair<java.lang.Integer> getIndexPair()
      • getI

        public int getI()
      • getJ

        public int getJ()
      • getDistance

        public double getDistance()