Record Class ScenarioBand.Simulation
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.cost.ScenarioBand.Simulation
- Record Components:
seed- the seediterations- runsgrowthDistribution- the stated growth distributionegressDistribution- the stated egress-volume distributionmethod- the generator and percentile methodp10- 10th percentile of the total over the horizonp50- medianp90- 90th percentileunpricedRuns- runs whose total could not be priced (excluded from the percentiles)
- Enclosing class:
ScenarioBand
public static record ScenarioBand.Simulation(long seed, int iterations, String growthDistribution, String egressDistribution, String method, BigDecimal p10, BigDecimal p50, BigDecimal p90, int unpricedRuns)
extends Record
A seeded Monte Carlo summary: re-running with the same seed and inputs gives the same figures.
-
Constructor Summary
ConstructorsConstructorDescriptionSimulation(long seed, int iterations, String growthDistribution, String egressDistribution, String method, BigDecimal p10, BigDecimal p50, BigDecimal p90, int unpricedRuns) Creates an instance of aSimulationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theegressDistributionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegrowthDistributionrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theiterationsrecord component.method()Returns the value of themethodrecord component.p10()Returns the value of thep10record component.p50()Returns the value of thep50record component.p90()Returns the value of thep90record component.longseed()Returns the value of theseedrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of theunpricedRunsrecord component.
-
Constructor Details
-
Simulation
public Simulation(long seed, int iterations, String growthDistribution, String egressDistribution, String method, BigDecimal p10, BigDecimal p50, BigDecimal p90, int unpricedRuns) Creates an instance of aSimulationrecord class.- Parameters:
seed- the value for theseedrecord componentiterations- the value for theiterationsrecord componentgrowthDistribution- the value for thegrowthDistributionrecord componentegressDistribution- the value for theegressDistributionrecord componentmethod- the value for themethodrecord componentp10- the value for thep10record componentp50- the value for thep50record componentp90- the value for thep90record componentunpricedRuns- the value for theunpricedRunsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
seed
-
iterations
public int iterations()Returns the value of theiterationsrecord component.- Returns:
- the value of the
iterationsrecord component
-
growthDistribution
Returns the value of thegrowthDistributionrecord component.- Returns:
- the value of the
growthDistributionrecord component
-
egressDistribution
Returns the value of theegressDistributionrecord component.- Returns:
- the value of the
egressDistributionrecord component
-
method
-
p10
-
p50
-
p90
-
unpricedRuns
public int unpricedRuns()Returns the value of theunpricedRunsrecord component.- Returns:
- the value of the
unpricedRunsrecord component
-