|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectPpt
PptSlice
PptSlice1
public final class PptSlice1
Contains all of the invariants over a particular set of 1 variables
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class PptSlice |
|---|
PptSlice.ArityPptnameComparator, PptSlice.ArityVarnameComparator |
| Nested classes/interfaces inherited from class Ppt |
|---|
Ppt.NameComparator |
| Field Summary | |
|---|---|
static Logger |
debugMerge
|
static Logger |
debugSpecific
Debug tracer. |
| Fields inherited from class PptSlice |
|---|
debug, debugFlow, debugGeneral, debugGuarding, invs, lineSep, parent |
| Fields inherited from class Ppt |
|---|
emptyInvList, var_infos |
| Constructor Summary | |
|---|---|
PptSlice1(PptTopLevel parent,
VarInfo[] var_infos)
Create a new PptSlice1. |
|
| Method Summary | |
|---|---|
List<Invariant> |
add_val_bu(Object val1,
int mod1,
int count)
|
List<Invariant> |
add(ValueTuple full_vt,
int count)
This procedure accepts a sample (a ValueTuple), extracts the values from it, casts them to the proper types, and passes them along to the invariants proper. |
void |
addInvariant(Invariant invariant)
|
int |
arity()
|
protected PptSlice |
cloneAndPivot(VarInfo[] argNewVarInfos)
Copy invariants from this slice to a new slice over the variables argNewVarInfos. |
void |
instantiate_invariants()
Creates all of the the invariants that are appropriate for this slice. |
void |
instantiate_invariants(List<Invariant> proto_invs)
Creates all of the the invariants that are appropriate for this slice based on the list of invariants passed in. |
void |
merge_invariants()
Creates invariants at this ppt by merging invariants from each of its children. |
int |
num_samples()
Returns the number of (non-missing) samples observed at this slice. |
int |
num_values()
Returns (an approximation to) the number of distinct values observed at this slice. |
| Methods inherited from class PptSlice |
|---|
allPrestate, contains_inv_exact, contains_inv, containsOnlyGuardingPredicates, copy_new_invs, find_inv_by_class, find_inv_exact, is_inv_true, log, name, processOmissions, remove_falsified, removeInvariant, removeInvariants, repCheck, toString, trimToSize, usesVar, usesVar, usesVarDerived |
| Methods inherited from class Ppt |
|---|
containsVar, find_var_by_name, indexOf, varNames, varNames |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Logger debugSpecific
public static final Logger debugMerge
| Constructor Detail |
|---|
public PptSlice1(PptTopLevel parent,
VarInfo[] var_infos)
| Method Detail |
|---|
public final int arity()
arity in class PptSlicepublic void instantiate_invariants()
public void instantiate_invariants(List<Invariant> proto_invs)
public int num_samples()
num_samples in class PptSlicepublic int num_values()
num_values in class PptSlice
public List<Invariant> add(ValueTuple full_vt,
int count)
public List<Invariant> add_val_bu(Object val1,
int mod1,
int count)
public void addInvariant(Invariant invariant)
addInvariant in class PptSliceprotected PptSlice cloneAndPivot(VarInfo[] argNewVarInfos)
argNewVarInfos - to replace this.var_infos.
public void merge_invariants()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||