Class BSimSearchSettings
java.lang.Object
ghidra.features.bsim.gui.search.dialog.BSimSearchSettings
Class to hold all the settings for a BSim similar functions search
-
Constructor Summary
ConstructorsConstructorDescriptionBSimSearchSettings
(double similarity, double confidence, int maxResults, BSimFilterSet filterSet) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Returns a copy of this settings.Returns the filters to be used for the querydouble
Returns the confidence criteria.int
Returns the maximum number of matches for a single function.double
Returns the similarity criteria.
-
Constructor Details
-
BSimSearchSettings
public BSimSearchSettings() -
BSimSearchSettings
public BSimSearchSettings(double similarity, double confidence, int maxResults, BSimFilterSet filterSet)
-
-
Method Details
-
getSimilarity
public double getSimilarity()Returns the similarity criteria.- Returns:
- the similarity criteria.
-
getConfidence
public double getConfidence()Returns the confidence criteria.- Returns:
- the confidence criteria.
-
getMaxResults
public int getMaxResults()Returns the maximum number of matches for a single function.- Returns:
- the maximum number of matches for a single function
-
getBSimFilterSet
Returns the filters to be used for the query- Returns:
- the filters to be used for the query
-
copy
Returns a copy of this settings.- Returns:
- a copy of this settings.
-