Class SimilarityResult
java.lang.Object
ghidra.features.bsim.query.protocol.SimilarityResult
- All Implemented Interfaces:
Iterable<SimilarityNote>
A collection of matches to an (originally) queried function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNote(FunctionDescription f, double similarity, double significance) getBase()intiterator()voidrestoreXml(XmlPullParser parser, DescriptionManager qmanage, DescriptionManager rmanage, Map<Integer, ExecutableRecord> qMap, Map<Integer, ExecutableRecord> rMap) voidvoidsetTotalCount(int count) voidsetTransfer(SimilarityResult op2, DescriptionManager qmanage, DescriptionManager rmanage, boolean transsig) intsize()voidtoString()voidtransfer(DescriptionManager manage, boolean transsig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SimilarityResult
public SimilarityResult() -
SimilarityResult
-
-
Method Details
-
addNote
-
getBase
-
size
public int size() -
setTotalCount
public void setTotalCount(int count) -
getTotalCount
public int getTotalCount() -
iterator
- Specified by:
iteratorin interfaceIterable<SimilarityNote>
-
transfer
- Throws:
LSHException
-
setTransfer
public void setTransfer(SimilarityResult op2, DescriptionManager qmanage, DescriptionManager rmanage, boolean transsig) throws LSHException - Throws:
LSHException
-
saveXml
- Throws:
IOException
-
restoreXml
public void restoreXml(XmlPullParser parser, DescriptionManager qmanage, DescriptionManager rmanage, Map<Integer, ExecutableRecord> qMap, Map<Integer, throws LSHExceptionExecutableRecord> rMap) - Throws:
LSHException
-
sortNotes
public void sortNotes() -
toString
-