public class AllocationConfig
extends java.lang.Object
Constructor and Description |
---|
AllocationConfig(java.util.Set<Allocatable> choices,
int numOfAllocatables,
double probability,
Allocation.AllocType type) |
AllocationConfig(java.util.Set<Allocatable> choices,
int numOfAllocatables,
double probability,
Allocation.AllocType type,
StochasticNet.DistributionType distributionType) |
AllocationConfig(java.util.Set<Allocatable> setA,
java.util.Set<Allocatable> setB,
int numA,
int numB,
double probability,
Allocation.AllocType type) |
AllocationConfig(java.util.Set<Allocatable> setA,
java.util.Set<Allocatable> setB,
int numA,
int numB,
double probability,
Allocation.AllocType type,
StochasticNet.DistributionType distributionType)
Configure a cross product of two sets
|
Modifier and Type | Method and Description |
---|---|
double |
getProbability() |
Allocation |
getResultingAllocationDistribution() |
public AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type)
public AllocationConfig(java.util.Set<Allocatable> choices, int numOfAllocatables, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)
public AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type)
public AllocationConfig(java.util.Set<Allocatable> setA, java.util.Set<Allocatable> setB, int numA, int numB, double probability, Allocation.AllocType type, StochasticNet.DistributionType distributionType)
setA
- setB
- numA
- numB
- probability
- type
- public Allocation getResultingAllocationDistribution()
public double getProbability()