Public Member Functions | |
Occurrences (StateRepository repos) | |
Map< CFGNode, Counter > | get (State state) |
void | addOccurrence (State state, CFGNode node, int increment) |
Collection< State > | getAllStates () |
void | addOcurrences (Occurrences occurrencesToAdd, VarTransformations varTransformations) |
Collection< Pair< Pair< State, Double >, Pair< State, Double > > > | getZStatsPairs (boolean countZStatisticUsingFlows) |
cz::muni::stanse::lockchecker::Occurrences::Occurrences | ( | StateRepository | repos | ) | [inline] |
Construct occurrences
repos | state repostiory |
Returns map (node, counter) of occurrences in given state
state |
void cz::muni::stanse::lockchecker::Occurrences::addOccurrence | ( | State | state, | |
CFGNode | node, | |||
int | increment | |||
) | [inline] |
Add occurrence in the given state and node
state | of the occurrence | |
node | of the occurrence | |
increment | how much increment the occurrence - should be 1 or -1 |
Collection<State> cz::muni::stanse::lockchecker::Occurrences::getAllStates | ( | ) | [inline] |
void cz::muni::stanse::lockchecker::Occurrences::addOcurrences | ( | Occurrences | occurrencesToAdd, | |
VarTransformations | varTransformations | |||
) | [inline] |
Joins this occurrences with occurrencesToAdd while transforming identifiers
occurrencesToAdd | occurrences to be added to this occurrences | |
varTransformations | variable identifiers transformations between caller and callee |
Collection<Pair<Pair<State,Double>, Pair<State,Double> > > cz::muni::stanse::lockchecker::Occurrences::getZStatsPairs | ( | boolean | countZStatisticUsingFlows | ) | [inline] |
Counts z-statistic using pairs. Only two pairs are used to count z-statistic and to be compared.
countZStatisticUsingFlows | should we count z-statistic using flows? |