public abstract static class BamCpaRun.Builder
extends java.lang.Object
BamCpaRun
. It assumes either the best performing parameters or the most
basic one, if there is no absolute benefit.Modifier and Type | Field and Description |
---|---|
protected AbortOperator |
abortOperator |
protected int |
maxCallStackDepth |
protected boolean |
reduceHeap |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract BamCpaRun<?,?,?,?,?> |
build()
Returns the
BamCpaRun for given parameters. |
BamCpaRun.Builder |
setAbortOperator(AbortOperator abortOperator)
Sets the abort operator for premature CPA algorithm termination.
|
BamCpaRun.Builder |
setMaxCallStackDepth(int maxCallStackDepth)
Sets the call stack limit for the interprocedural analysis.
|
BamCpaRun.Builder |
setReduceHeap(boolean reduceHeap)
Sets whether the heap should be reduced before method calls.
|
protected int maxCallStackDepth
protected AbortOperator abortOperator
protected boolean reduceHeap
public BamCpaRun.Builder setMaxCallStackDepth(int maxCallStackDepth)
public BamCpaRun.Builder setAbortOperator(AbortOperator abortOperator)
public BamCpaRun.Builder setReduceHeap(boolean reduceHeap)