daikon.inv.unary
Class UpperBoundCore
Object
UpperBoundCore
- All Implemented Interfaces:
- Serializable, Cloneable
public class UpperBoundCore
- extends Object
- implements Serializable, Cloneable
- See Also:
- Serialized Form
max1
public long max1
num_max1
public int num_max1
max2
public long max2
num_max2
public int num_max2
max3
public long max3
num_max3
public int num_max3
min
public long min
wrapper
public Invariant wrapper
UpperBoundCore
public UpperBoundCore(Invariant wrapper)
max
public long max()
clone
public UpperBoundCore clone()
- Overrides:
clone in class Object
repr
public String repr()
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()
computeConfidence
public double computeConfidence()
matchConstant
public boolean matchConstant()
computeProbability
public double computeProbability()
isSameFormula
public boolean isSameFormula(UpperBoundCore other)
isExact
public boolean isExact()
add
public void add(UpperBoundCore lbc)