Package org.oristool.math.function
Class Erlang
java.lang.Object
org.oristool.math.function.GEN
org.oristool.math.function.Erlang
- All Implemented Interfaces:
Function
,PartitionedFunction
The Erlang PDF.
-
Constructor Summary
ConstructorDescriptionErlang
(Variable x, int k, BigDecimal lambda) Builds the functionlambda^k x^(k-1) e^(-lambda x) / (k-1)!
over[0, +infty)
.Builds a copy of the input Erlang. -
Method Summary
Modifier and TypeMethodDescriptionReturns the rate.int
getShape()
Returns the shape parameter.Returns the variable name.Methods inherited from class org.oristool.math.function.GEN
cartesianProduct, computeNonIntersectingZones, conditionToBound, conditionToMax, conditionToMin, constantShift, constantShift, equals, getDensity, getDETInstance, getDomain, getSubZonesInducted, hashCode, integrateOverDomain, newDeterministic, newExpolynomial, newHyperExp, newHypoExp, newShiftedExp, newTruncatedExp, newUniform, normalize, project, shiftAndProject, substitute, substitute, substituteAndShift, toMathematicaString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.oristool.math.function.Function
getFunctions
Methods inherited from interface org.oristool.math.function.PartitionedFunction
getDensities, getDomains, getDomainsEFT, getDomainsLFT
-
Constructor Details
-
Erlang
Builds the functionlambda^k x^(k-1) e^(-lambda x) / (k-1)!
over[0, +infty)
.- Parameters:
x
- variablek
- shapelambda
- rate
-
Erlang
Builds a copy of the input Erlang.- Parameters:
erlang
- input Erlang
-
-
Method Details
-
getShape
public int getShape()Returns the shape parameter.- Returns:
- shape parameter
-
getLambda
Returns the rate.- Returns:
- rate parameter
-
getVariable
Returns the variable name.- Returns:
- variable name
-