partage
Class SpotComplexInstanceGenerator.ResourceConsumptionParameters
java.lang.Object
partage.SpotComplexInstanceGenerator.ResourceConsumptionParameters
- Enclosing class:
- SpotComplexInstanceGenerator
public static class SpotComplexInstanceGenerator.ResourceConsumptionParameters
- extends java.lang.Object
This static class represents the parameters for the resource consumption
constraints.
- Version:
- July 07
- Author:
- Sylvain Bouveret
Field Summary |
int |
availableResource
The available amount of onboard resource (e.g. memory) |
double |
consumptionPerSecond
The amount of onboard resource that an acquisition consumes per second. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
availableResource
public int availableResource
- The available amount of onboard resource (e.g. memory)
consumptionPerSecond
public double consumptionPerSecond
- The amount of onboard resource that an acquisition consumes per second.
SpotComplexInstanceGenerator.ResourceConsumptionParameters
public SpotComplexInstanceGenerator.ResourceConsumptionParameters(int _aR,
double _cPS)
- Instantiates the class
ResourceConsumptionParameters
- Parameters:
_aR
- The total amount of onboard resource._cPS
- The consumption per second.