MCPcopy Create free account
hub / github.com/ModelInference/synoptic / chooseInvariants

Method chooseInvariants

csight/src/csight/main/CSightMain.java:1492–1570  ·  view source on GitHub ↗

Implements a heuristic for choosing a subset of the invariants that we want to check. The basic idea is that there may be events that are associated with multiple invariants. By choosing these events we optimize model-checking with Spin because we have to track/instrument fewer types of events. We t

(List<BinaryInvariant> invs, int minInvs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 15

newListMethod · 0.95
newMapMethod · 0.95
equalsMethod · 0.95
newSetMethod · 0.95
putMethod · 0.80
containsMethod · 0.80
equalsMethod · 0.65
addMethod · 0.65
getMethod · 0.65
clearMethod · 0.65
getFirstMethod · 0.45
removeMethod · 0.45