Class LogisticFunctionMS
java.lang.Object
solvers.queueingnet.montecarloLogistic.numericalIntegration.SafeFunction
solvers.queueingnet.montecarloLogistic.solver.LogisticFunctionMS
- All Implemented Interfaces:
Function
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected cern.colt.matrix.linalg.Algebraprotected cern.colt.matrix.DoubleMatrix2Dprotected doubleprotected intprotected MathContextprotected intprotected cern.colt.matrix.DoubleMatrix1Dprotected intprotected cern.colt.matrix.DoubleMatrix1Dprotected cern.colt.matrix.DoubleMatrix2Dprotected ArrayList<solvers.queueingnet.montecarloLogistic.solver.LogisticFunctionMS.state> Fields inherited from class SafeFunction
ndim -
Constructor Summary
ConstructorsConstructorDescriptionLogisticFunctionMS(int ndim, int[] population, double[][] demands, double[] servers, double epsilon) LogisticFunctionMS(int ndim, int[] population, double[][] demands, double[] servers, double epsilon, MathContext MC) LogisticFunctionMS(int ndim, cern.colt.matrix.DoubleMatrix1D population, cern.colt.matrix.DoubleMatrix2D demands, cern.colt.matrix.DoubleMatrix1D servers, double epsilon) LogisticFunctionMS(int ndim, cern.colt.matrix.DoubleMatrix1D population, cern.colt.matrix.DoubleMatrix2D demands, cern.colt.matrix.DoubleMatrix1D servers, double epsilon, MathContext MC) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckInDomain(double[] point) Function that checks point in within the domain of the functioncopy()double[][]evaluateHessStat(double[] stat_point) double[]evaluateJac(double[] point) protected BigDecimalsafeEvaluate(double[] point) Implements the safeEvaluate abstract method.Methods inherited from class SafeFunction
checkPoint, evaluate
-
Field Details
-
N
protected int N -
R
protected int R -
K
protected int K -
epsilon
protected double epsilon -
demands
protected cern.colt.matrix.DoubleMatrix2D demands -
sigma
protected cern.colt.matrix.DoubleMatrix2D sigma -
servers
protected cern.colt.matrix.DoubleMatrix1D servers -
pop
protected cern.colt.matrix.DoubleMatrix1D pop -
A
protected cern.colt.matrix.linalg.Algebra A -
MC
-
States
-
-
Constructor Details
-
LogisticFunctionMS
public LogisticFunctionMS(int ndim, int[] population, double[][] demands, double[] servers, double epsilon) throws InternalErrorException - Throws:
InternalErrorException
-
LogisticFunctionMS
public LogisticFunctionMS(int ndim, cern.colt.matrix.DoubleMatrix1D population, cern.colt.matrix.DoubleMatrix2D demands, cern.colt.matrix.DoubleMatrix1D servers, double epsilon) throws InternalErrorException - Throws:
InternalErrorException
-
LogisticFunctionMS
public LogisticFunctionMS(int ndim, cern.colt.matrix.DoubleMatrix1D population, cern.colt.matrix.DoubleMatrix2D demands, cern.colt.matrix.DoubleMatrix1D servers, double epsilon, MathContext MC) throws InternalErrorException - Throws:
InternalErrorException
-
LogisticFunctionMS
public LogisticFunctionMS(int ndim, int[] population, double[][] demands, double[] servers, double epsilon, MathContext MC) throws InternalErrorException - Throws:
InternalErrorException
-
LogisticFunctionMS
- Throws:
InternalErrorException
-
-
Method Details
-
safeEvaluate
Implements the safeEvaluate abstract method. Computes the logistic additive function at the point given by point- Specified by:
safeEvaluatein classSafeFunction- Parameters:
point- Array representing point to be evaluated- Returns:
- BigDecimal equal to the function value at that point
- Throws:
InternalErrorException- if the operation cannot be completed
-
checkInDomain
Description copied from class:SafeFunctionFunction that checks point in within the domain of the function- Specified by:
checkInDomainin classSafeFunction- Parameters:
point- Point to be checked- Throws:
InternalErrorException- When point is invalid
-
copy
- Throws:
InternalErrorException
-
evaluateHessStat
- Throws:
InternalErrorException
-
evaluateJac
- Throws:
InternalErrorException
-