Package daikon.inv.unary
Class LowerBoundCore
- Object
-
- LowerBoundCore
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LowerBoundCore extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LowerBoundCore(Invariant wrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(LowerBoundCore lbc)
InvariantStatus
add_modified(long value, int count)
InvariantStatus
check(long value)
LowerBoundCore
clone()
double
computeConfidence()
double
computeProbability()
boolean
enoughSamples()
boolean
isExact()
boolean
isSameFormula(LowerBoundCore other)
boolean
matchConstant()
long
min()
String
repr()
boolean
wouldChange(long value)
Whether this would change if the given value was seen.
-
-
-
Constructor Detail
-
LowerBoundCore
public LowerBoundCore(Invariant wrapper)
-
-
Method Detail
-
min
public long min()
-
clone
@SideEffectFree public LowerBoundCore clone(@GuardSatisfied LowerBoundCore this)
-
wouldChange
public boolean wouldChange(long value)
Whether this would change if the given value was seen. Used to test for need of cloning and flowing before this would be changed.
-
add_modified
public InvariantStatus add_modified(long value, int count)
-
check
public InvariantStatus check(long value)
-
enoughSamples
public boolean enoughSamples(@GuardSatisfied LowerBoundCore this)
-
computeConfidence
public double computeConfidence()
-
matchConstant
public boolean matchConstant()
-
computeProbability
public double computeProbability()
-
isSameFormula
@Pure public boolean isSameFormula(LowerBoundCore other)
-
isExact
@Pure public boolean isExact()
-
add
public void add(LowerBoundCore lbc)
-
-