public final class MRVMBand extends Band implements Serializable
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
calculateCAP(int quantity) |
static HashSet<MRVMBand> |
createBands(MRVMWorld world,
MRVMWorldSetup worldSetup,
MRVMRegionsMap regionsMap,
UniformDistributionRNG rng) |
boolean |
equals(Object obj) |
BigDecimal |
getBaseCapacity() |
Collection<MRVMLicense> |
getLicenses() |
int |
getNumberOfLicenses() |
int |
getNumberOfLots() |
BigDecimal |
getSynergy(int quantity) |
MRVMWorld |
getWorld() |
long |
getWorldId() |
int |
hashCode() |
void |
refreshFieldBackReferences(MRVMWorld world)
Method is called after deserialization, there is not need to call it on any other occasion.
|
public static HashSet<MRVMBand> createBands(MRVMWorld world, MRVMWorldSetup worldSetup, MRVMRegionsMap regionsMap, UniformDistributionRNG rng)
public BigDecimal getSynergy(int quantity)
quantity - number of licenses in this band in the same regionpublic BigDecimal calculateCAP(int quantity)
public BigDecimal getBaseCapacity()
public MRVMWorld getWorld()
public Collection<MRVMLicense> getLicenses()
public int getNumberOfLots()
public int getNumberOfLicenses()
getNumberOfLicenses in class Bandpublic long getWorldId()
public void refreshFieldBackReferences(MRVMWorld world)
for explanations.Copyright © 2017. All rights reserved.