public final class CalculatorConfig
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
CalculatorConfig.CurveImpl |
|
static class |
CalculatorConfig.NumImpl |
|
static class |
CalculatorConfig.OperationImpl |
Modifier and Type | Field | Description |
---|---|---|
private boolean |
ARRIVAL_CURVE_CHECKS |
|
private CalculatorConfig.CurveImpl |
CURVE_IMPLEMENTATION |
|
private boolean |
DECONVOLUTION_CHECKS |
|
private boolean |
FIFO_MUX_CHECKS |
|
private static CalculatorConfig |
instance |
|
private boolean |
MAX_SERVICE_CURVE_CHECKS |
|
private CalculatorConfig.NumImpl |
NUM_IMPLEMENTATION |
|
private CalculatorConfig.OperationImpl |
OPERATION_IMPLEMENTATION |
|
private boolean |
SERVICE_CURVE_CHECKS |
Modifier | Constructor | Description |
---|---|---|
protected |
CalculatorConfig() |
Modifier and Type | Method | Description |
---|---|---|
private void |
checkMPARTC() |
|
void |
disableAllChecks() |
|
void |
enableAllChecks() |
|
boolean |
exec_arrival_curve_checks() |
|
boolean |
exec_deconvolution_checks() |
|
boolean |
exec_fifo_mux_checks() |
|
boolean |
exec_max_service_curve_checks() |
|
boolean |
exec_service_curve_checks() |
|
CalculatorConfig.CurveImpl |
getCurveImpl() |
|
static CalculatorConfig |
getInstance() |
|
CalculatorConfig.NumImpl |
getNumImpl() |
|
CalculatorConfig.OperationImpl |
getOperationImpl() |
|
boolean |
setCurveImpl(CalculatorConfig.CurveImpl curve_impl) |
|
boolean |
setNumImpl(CalculatorConfig.NumImpl num_impl) |
|
void |
setOperationImpl(CalculatorConfig.OperationImpl operation_impl) |
|
java.lang.String |
toString() |
private static CalculatorConfig instance
private CalculatorConfig.NumImpl NUM_IMPLEMENTATION
private CalculatorConfig.CurveImpl CURVE_IMPLEMENTATION
private CalculatorConfig.OperationImpl OPERATION_IMPLEMENTATION
private boolean ARRIVAL_CURVE_CHECKS
private boolean SERVICE_CURVE_CHECKS
private boolean MAX_SERVICE_CURVE_CHECKS
private boolean FIFO_MUX_CHECKS
private boolean DECONVOLUTION_CHECKS
public static CalculatorConfig getInstance()
public CalculatorConfig.NumImpl getNumImpl()
public boolean setNumImpl(CalculatorConfig.NumImpl num_impl)
public CalculatorConfig.CurveImpl getCurveImpl()
private void checkMPARTC() throws java.lang.RuntimeException
java.lang.RuntimeException
public boolean setCurveImpl(CalculatorConfig.CurveImpl curve_impl)
public CalculatorConfig.OperationImpl getOperationImpl()
public void setOperationImpl(CalculatorConfig.OperationImpl operation_impl)
public void disableAllChecks()
public void enableAllChecks()
public boolean exec_arrival_curve_checks()
public boolean exec_service_curve_checks()
public boolean exec_max_service_curve_checks()
public boolean exec_fifo_mux_checks()
public boolean exec_deconvolution_checks()
public java.lang.String toString()
toString
in class java.lang.Object