svf-lib 1.0.2607 → 1.0.2609
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -163,7 +163,13 @@ public:
|
|
|
163
163
|
/// or a subset, depending on the client's wish.
|
|
164
164
|
/// TODO: interfaces are getting unwieldy, an initialised object may be better.
|
|
165
165
|
/// TODO: kind of sucks pta can't be const here because getPts isn't.
|
|
166
|
-
static std::vector<NodeID> cluster(
|
|
166
|
+
static std::vector<NodeID> cluster(
|
|
167
|
+
BVDataPTAImpl *pta,
|
|
168
|
+
const std::vector<std::pair<NodeID, unsigned>> keys,
|
|
169
|
+
std::vector<std::pair<hclust_fast_methods, std::vector<NodeID>>> &candidates,
|
|
170
|
+
std::string evalSubtitle="",
|
|
171
|
+
bool printStat=true
|
|
172
|
+
);
|
|
167
173
|
|
|
168
174
|
// Returns a reverse node mapping for mapping generated by cluster().
|
|
169
175
|
static std::vector<NodeID> getReverseNodeMapping(const std::vector<NodeID> &nodeMapping);
|
|
@@ -207,8 +213,11 @@ public:
|
|
|
207
213
|
// From all the candidates, returns the best mapping for pointsToSets (points-to set -> # occurrences).
|
|
208
214
|
static inline std::pair<hclust_fast_methods, std::vector<NodeID>> determineBestMapping(
|
|
209
215
|
const std::vector<std::pair<hclust_fast_methods, std::vector<NodeID>>> &candidates,
|
|
210
|
-
Map<PointsTo, unsigned> pointsToSets,
|
|
211
|
-
|
|
216
|
+
Map<PointsTo, unsigned> pointsToSets,
|
|
217
|
+
const std::string &evalSubtitle,
|
|
218
|
+
double &evalTime,
|
|
219
|
+
bool printStat
|
|
220
|
+
);
|
|
212
221
|
};
|
|
213
222
|
};
|
|
214
223
|
|
|
Binary file
|