Package ghidra.features.bsim.query.protocol

# Class PairNote

java.lang.Object
ghidra.features.bsim.query.protocol.PairNote

public class PairNote extends Object
Result of a comparison between two functions. Includes descriptors for the original functions, the similarity and significance scores and other score information.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PairNote()`
  `PairNote(FunctionDescription f1, FunctionDescription f2, double sm, double sf, double dp, int c1, int c2, int ic)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `double`
  `getDotProduct()`
  `int`
  `getFunc1HashCount()`
  `int`
  `getFunc2HashCount()`
  `int`
  `getIntersectionCount()`
  `double`
  `getSignificance()`
  `double`
  `getSimilarity()`
  `void`
  `restoreXml(XmlPullParser parser)`
  `void`
  `saveXml(Writer writer)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PairNote

    public PairNote()

  - ### PairNote

    public PairNote(FunctionDescription f1, FunctionDescription f2, double sm, double sf, double dp, int c1, int c2, int ic)

- ## Method Details

  - ### getSimilarity

    public double getSimilarity()

  - ### getSignificance

    public double getSignificance()

  - ### getDotProduct

    public double getDotProduct()

  - ### getFunc1HashCount

    public int getFunc1HashCount()

  - ### getFunc2HashCount

    public int getFunc2HashCount()

  - ### getIntersectionCount

    public int getIntersectionCount()

  - ### saveXml

    public void saveXml(Writer writer) throws IOException
    Throws:
      `IOException`

  - ### restoreXml

    public void restoreXml(XmlPullParser parser)