SignatureSimilarityTriple.java

// FILE. . . . . d:/hak/hlt/src/hlt/fot/fuz/SignatureSimilarityTriple.java
// EDIT BY . . . Hassan Ait-Kaci
// ON MACHINE. . Hak-Laptop
// STARTED ON. . Fri Jul 20 09:38:48 2018

//  Last modified on Fri Aug 03 06:01:01 2018 by hak

package hlt.fot.fuz;

import hlt.fot.Functor;



This is a class of objects of triples of the form [f,g,α] where f and g are two similar functors and α is their similarity degree.

See also:  SignatureSimilarity
Copyright:  © by the author
Author:  Hassan Aït-Kaci
Version:  Last modified on Thu Jul 19 08:39:21 2018 by hak



public class SignatureSimilarityTriple
{
  private Functor left;
  private Functor right;
  private double degree;

  public Functor left ()
  {
    return left;
  }
  
  public Functor right ()
  {
    return right;
  }
  
  public double degree ()
  {
    return degree;
  }

  public SignatureSimilarityTriple (Functor left, Functor right, double degree)
  {
    this.left = left;
    this.right = right;
    this.degree = degree;
  }

  public String toString ()
  {
    return left.name()+" "+right.name()+" "+degree;
  }
}


This file was generated on Sat Aug 25 08:03:09 CEST 2018 from file SignatureSimilarityTriple.java
by the hlt.language.tools.Hilite Java tool written by Hassan Aït-Kaci