Package daikon.inv.unary
Class UpperBoundCoreFloat
- Object
-
- UpperBoundCoreFloat
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class UpperBoundCoreFloat extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpperBoundCoreFloat(Invariant wrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(UpperBoundCoreFloat lbc)
InvariantStatus
add_modified(double value, int count)
InvariantStatus
check(double value)
UpperBoundCoreFloat
clone()
double
computeConfidence()
double
computeProbability()
boolean
enoughSamples()
boolean
isExact()
boolean
isSameFormula(UpperBoundCoreFloat other)
boolean
matchConstant()
double
max()
String
repr()
boolean
wouldChange(double value)
Whether this would change if the given value was seen.
-
-
-
Constructor Detail
-
UpperBoundCoreFloat
public UpperBoundCoreFloat(Invariant wrapper)
-
-
Method Detail
-
max
public double max()
-
clone
@SideEffectFree public UpperBoundCoreFloat clone(@GuardSatisfied UpperBoundCoreFloat this)
-
wouldChange
public boolean wouldChange(double 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(double value, int count)
-
check
public InvariantStatus check(double value)
-
enoughSamples
public boolean enoughSamples(@GuardSatisfied UpperBoundCoreFloat this)
-
computeConfidence
public double computeConfidence()
-
matchConstant
public boolean matchConstant()
-
computeProbability
public double computeProbability()
-
isSameFormula
@Pure public boolean isSameFormula(UpperBoundCoreFloat other)
-
isExact
@Pure public boolean isExact()
-
add
public void add(UpperBoundCoreFloat lbc)
-
-