partage
Class SpotComplexInstanceGenerator.ResourceConsumptionParameters

java.lang.Object
  extended by 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.
 
Constructor Summary
SpotComplexInstanceGenerator.ResourceConsumptionParameters(int _aR, double _cPS)
          Instantiates the class ResourceConsumptionParameters
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.